/*
Theme Name: Forbal Child
Theme URI: https://forbal.com.br
Description: Child theme for Forbal WordPress site, built with Elementor
Author: DZA Team
Author URI: https://dza.com.br
Template: hello-elementor
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forbal-child
Domain Path: /languages
*/

/* ========================================================================
   FORBAL DESIGN SYSTEM
   ======================================================================== */

/* Color Palette */
:root {
  --color-primary: #00447a;
  --color-secondary: #f5821f;
  --color-text: #717171;
  --color-background: #ffffff;
  --color-surface: #efefef;
  --color-overlay: rgba(0, 68, 122, 0.95);
  --color-white: #ffffff;
  --color-black: #000000;
}

/* ========================================================================
   TYPOGRAPHY
   ======================================================================== */

html, body {
  font-family: 'Exo', sans-serif;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo', sans-serif;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 2.5rem;
  line-height: 2.5rem;
  color: var(--color-primary);
  padding: 10px 0;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.5rem;
  color: var(--color-primary);
}

p {
  font-size: 0.8rem;
  line-height: 1.5rem;
  margin: 0;
  padding: 0;
}

/* ========================================================================
   SECTION STYLES
   ======================================================================== */

section {
  position: relative;
  float: left;
  display: block;
  width: 100%;
}

.defsec {
  padding: 80px 0;
}

.defsec h2 {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 2.5rem;
  line-height: 2.5rem;
  padding: 10px 0;
}

.defsec h2 strong {
  color: var(--color-secondary);
}

.defsec p {
  font-size: 0.8rem;
  line-height: 1.5rem;
}

/* ========================================================================
   BUTTON STYLES
   ======================================================================== */

.btn {
  border-radius: 100px;
  padding: 10px 50px;
  font-size: 0.8rem;
  line-height: 1rem;
  font-weight: 700;
  font-family: 'Exo', sans-serif;
  transition: all 0.25s ease-out;
  text-transform: uppercase;
}

.btn i {
  opacity: 0.5;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-white);
  border-color: var(--color-white);
  color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-white);
}

/* ========================================================================
   PRODUCT/SERVICE CARDS
   ======================================================================== */

.prod-serv .items {
  margin-top: 8px;
}

.prod-serv .items .card {
  position: relative;
  margin-top: 50px;
  border: none;
}

.prod-serv .items .card .inner {
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.25s ease-out, border 0.25s ease-out;
  min-height: 250px;
}

.prod-serv .items .card .content {
  position: relative;
  padding: 20px;
  padding-top: 50px;
}

.prod-serv .items .card .content.img-pad {
  padding-top: 56.25%;
}

.prod-serv .items .card .content.img-pad h3 {
  margin-top: 30px;
}

.prod-serv .items .card .content h3,
.prod-serv .items .card .content .cham {
  transition: color 0.25s ease-out;
  font-weight: 700;
  color: var(--color-primary);
}

.prod-serv .items .card .content .cham {
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.5rem;
  margin-top: 20px;
}

.prod-serv .items .card .icon {
  min-height: 52px;
  min-width: 48px;
  padding: 10px;
  box-sizing: border-box;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  z-index: 10;
  background: var(--color-white);
  border-radius: 100px;
  box-shadow: 0px -6px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.25s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-serv .items .card .icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  padding: 15px;
  background: var(--color-secondary);
  border-radius: 50%;
  color: var(--color-white);
  width: 80px;
  height: 80px;
}

.prod-serv .items .card .img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  box-sizing: border-box;
  padding-top: 60%;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.prod-serv .items .card:hover .content h3,
.prod-serv .items .card:hover .content .cham {
  color: var(--color-secondary);
}

.prod-serv .items .card:hover .inner {
  border: 1px solid rgba(245, 130, 31, 0.15);
  box-shadow: 0px 0px 10px rgba(245, 130, 31, 0.15);
}

.prod-serv .items .card:hover .icon {
  box-shadow: 0px -6px 10px rgba(245, 130, 31, 0.1);
}

/* ========================================================================
   TITLE LINE
   ======================================================================== */

.title-line {
  border-bottom: 1px solid var(--color-primary);
  padding-left: 0px;
  position: relative;
}

.title-line span {
  color: var(--color-primary);
  padding: 10px;
  background: var(--color-white);
  display: inline-block;
  position: absolute;
  top: -17px;
  z-index: 2;
  margin-left: -20px;
}

/* ========================================================================
   HIGHLIGHT SECTIONS (Blue/Orange alternating)
   ======================================================================== */

.highlight {
  background-position: center center;
  background-color: var(--color-secondary);
  padding: 50px 0;
}

.highlight .retornoPost {
  color: var(--color-white);
}

.highlight .white {
  color: var(--color-white);
}

.highlight p.white,
.highlight label {
  color: var(--color-white);
  font-weight: 700;
}

.highlight label {
  font-size: 0.8rem;
  line-height: 1.5rem;
  margin-bottom: 0;
}

.highlight .inner {
  padding: 50px 0;
  width: 70%;
  margin-left: 10%;
  margin-right: 20%;
}

.highlight:first-child {
  background-color: var(--color-primary);
}

.highlight:first-child .inner {
  width: 70%;
  margin-left: 20%;
  margin-right: 10%;
}

.highlight .content {
  text-align: left;
}

.highlight .content h3 {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1rem;
}

.highlight .content h2 {
  font-weight: 700;
  color: var(--color-white);
  font-size: 4rem;
  line-height: 4rem;
}

.highlight .content p {
  color: var(--color-text);
}

/* ========================================================================
   CAROUSEL / SLIDER STYLES
   ======================================================================== */

.carousel-item {
  background-size: cover;
  background-position: center center;
  min-height: 600px;
}

.carousel-caption {
  text-align: left;
  position: absolute;
  bottom: 40%;
  max-width: 50%;
}

.carousel-caption h3 {
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1rem;
}

.carousel-caption h2 {
  font-weight: 700;
  color: var(--color-white);
  font-size: 4rem;
  line-height: 4rem;
}

.carousel-caption p {
  color: var(--color-text);
}

/* Carousel Indicators */
.carousel-indicators li {
  width: auto;
  height: auto;
  border-radius: 24px;
  padding: 5px;
  background: none;
  border: 1px solid var(--color-white);
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.5);
}

.carousel-indicators li:before {
  width: 20px;
  height: 20px;
  background: var(--color-white);
  content: "";
  border-radius: 24px;
  display: block;
}

.carousel-indicators li:hover,
.carousel-indicators li.active {
  border-color: var(--color-secondary);
}

.carousel-indicators li:hover:before,
.carousel-indicators li.active:before {
  background: var(--color-secondary);
}

/* ========================================================================
   SWIPER / CAROUSEL LOGOS
   ======================================================================== */

.swiper-wrapper {
  z-index: 11;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  position: relative;
  aspect-ratio: 3/2;
}

.swiper-slide .img {
  width: 90%;
  height: 90%;
  top: 50%;
  transform: translateY(-50%);
  left: 5%;
  position: absolute;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.swiper-prev,
.swiper-next {
  background: none;
  position: absolute;
  top: 50%;
  left: -30px;
  margin-top: 24px;
  transform: translateY(-50%);
  border: 1px solid var(--color-primary);
  border-radius: 100px;
  padding: 3px 10px;
  z-index: 99;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.swiper-next {
  left: auto;
  right: -30px;
}

.swiper-prev:hover,
.swiper-next:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.swiper-prev i,
.swiper-next i {
  color: var(--color-primary);
}

.swiper-prev:hover i,
.swiper-next:hover i {
  color: var(--color-white);
}

/* ========================================================================
   RESPONSIVE DESIGN
   ======================================================================== */

@media screen and (max-width: 1199px) {
  .defsec h2 {
    font-size: 2rem;
    line-height: 2rem;
  }

  .highlight .inner {
    width: 80%;
    margin-right: 10%;
  }

  .highlight:first-child .inner {
    width: 80%;
    margin-left: 10%;
  }
}

@media screen and (max-width: 991px) {
  header {
    height: 70px !important;
  }

  .defsec {
    padding: 50px 0;
  }

  .defsec h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .carousel-caption {
    max-width: 100%;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .highlight .content h2 {
    font-size: 2rem;
    line-height: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .defsec {
    padding: 40px 0;
  }

  .defsec h2 {
    font-size: 1.3rem;
    line-height: 1.5rem;
    margin-bottom: 15px;
  }

  .carousel-item {
    min-height: 400px;
  }

  .carousel-caption h2 {
    font-size: 1.2rem;
    line-height: 1.4rem;
  }

  .highlight .inner {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  .highlight:first-child .inner {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  .btn {
    padding: 8px 30px;
    font-size: 0.75rem;
  }

  .swiper-prev,
  .swiper-next {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  .defsec h2 {
    font-size: 1.1rem;
  }

  .carousel-caption {
    bottom: 15%;
  }

  .carousel-caption h2 {
    font-size: 1rem;
  }

  .title-line span {
    margin-left: 0;
  }

  .prod-serv .items .card {
    margin-top: 20px;
  }

  .prod-serv .items .card .icon {
    top: -40px;
  }
}

/* ========================================================================
   FOOTER STYLES
   ======================================================================== */

footer {
  background: var(--color-white);
}

footer strong {
  color: var(--color-primary);
  font-weight: 700;
}

footer .infos {
  padding: 50px 15px;
  color: var(--color-text);
  font-size: 0.8rem;
  line-height: 1.2rem;
}

footer .infos strong {
  color: var(--color-primary);
  font-weight: 700;
}

footer .social {
  display: inline-block;
  width: auto;
  margin-left: 10px;
}

footer .social li {
  font-size: 1rem;
  width: auto;
  padding: 10px 0;
  margin-right: 5px;
  display: inline-block;
}

footer .social li a {
  color: var(--color-secondary);
}

footer .copyright {
  width: 100%;
  padding: 20px 0;
  background: var(--color-surface);
  font-size: 0.8rem;
  text-align: center;
}

footer a {
  color: var(--color-text);
}

footer a:hover {
  color: var(--color-secondary);
}

/* ========================================================================
   ELEMENTOR OVERRIDES
   ======================================================================== */

.elementor-heading-title {
  font-family: 'Exo', sans-serif;
}

.elementor-button {
  font-family: 'Exo', sans-serif;
  border-radius: 100px;
}

.elementor-button.elementor-button-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.elementor-button.elementor-button-primary:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.elementor-icon-box-title {
  color: var(--color-primary);
  font-weight: 700;
}

.elementor-widget-text-editor {
  color: var(--color-text);
  font-family: 'Exo', sans-serif;
}

/* ========================================================================
   CUSTOM ELEMENTOR STYLES
   ======================================================================== */

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0 15px;
}

.elementor-section {
  padding: 0;
}

.elementor-inner-section {
  margin: 0 !important;
}

/* ========================================================================
   CONTAINER STYLES
   ======================================================================== */

.container,
.elementor-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

@media screen and (max-width: 767px) {
  .container,
  .elementor-container {
    padding: 0 10px;
  }
}

/* ========================================================================
   UTILITY CLASSES
   ======================================================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 1px;
}

.mt-21 {
  margin-top: 21px;
}

.mb-1 {
  margin-bottom: 1px;
}

.ml-1 {
  margin-left: 1px;
}

.mr-1 {
  margin-right: 1px;
}

/* ========================================================================
   END OF STYLESHEET
   ======================================================================== */
