/*--------------------------------------------------------------
# General & Foundational Styles
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

a {
  color: #002850;
  text-decoration: none;
}

a:hover {
  color: #f19900;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #002850;
  border-top-color: #f19900;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #002850;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #f19900;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  background: #002850;
}

#header.header-transparent {
  background: transparent;
}

#header.header-scrolled {
  background: linear-gradient(to right, #003A70, #002850);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 55px;
}

/* Desktop Navigation */
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
}
.navbar > ul > li > a::before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 3px;
  left: 30px;
  background-color: #f19900;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}
.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active:before {
  visibility: visible;
  width: 25px;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #fff;
}

/* Language Selector */
.language-selector {
  margin-left: 15px;
  display: flex;
  align-items: center;
}
.language-selector a {
  padding: 0 5px !important;
  display: inline-flex;
}
.language-selector a::before {
  display: none !important;
}
.language-selector .lang-flag {
  width: 24px;
  opacity: 0.9;
  transition: all 0.3s;
  border-radius: 3px;
}
.language-selector .lang-flag:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}

#hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

#hero h1 span {
  color: #f19900;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px;
  margin-bottom: 40px;
}

#hero .btn-get-started {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #f19900;
  display: inline-block;
}

#hero .btn-get-started:hover {
  background: #002850;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f5f5ff;
}

.section-title {
  padding-bottom: 40px;
}
.section-title p {
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #343a40;
}
.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f19900;
  font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Quem Somos & Logística Sections
--------------------------------------------------------------*/
.quem_somos, .logistica {
  padding: 0 !important;
  margin-top: -2px;
}

.highlight-box {
  background-color: rgba(241, 153, 0, 0.13);
  border-left: 4px solid #f19900;
}

.bg-image-quem_somos,
.bg-image-logistica {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Define apenas a imagem de fundo, sem o degradê, como padrão */
.bg-image-quem_somos { 
  background-image: url('../img/quem-somos.jpg');
}
.bg-image-logistica {
  background-image: url('../img/logistica.jpg');
}

.logistica ul {
  list-style: none;
  padding: 0;
}
.logistica ul li {
  padding-bottom: 10px;
  display: flex;
  align-items: flex-start;
}
.logistica ul i {
  font-size: 20px;
  color: #f19900;
  padding-right: 8px;
  line-height: 0;
}

/* Fullscreen behavior and Gradient for XL screens only */
@media (min-width: 1200px) {
  .fullscreen-section {
    height: calc(100vh - 80px);
    display: block;
  }
  .fullscreen-section > .container-fluid,
  .fullscreen-section > .container-fluid > .row {
    height: 100%;
  }
  .fullscreen-section > .container-fluid > .row {
    display: flex;
    align-items: center;
  }
  
  /* APLICA O DEGRADÊ APENAS EM TELAS GRANDES */
  .bg-image-quem_somos {
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(255,255,255,1) 100%), 
                url('../img/quem-somos.jpg') center center no-repeat;
    background-size: cover;
    height: 100%;
    min-height: 500px;
  }
  .bg-image-logistica {
    background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(255,255,255,1) 100%), 
                url('../img/logistica.jpg') center center no-repeat;
    background-size: cover;
    height: 100%;
    min-height: 500px;
  }
}

/*--------------------------------------------------------------
# Produtos Section
--------------------------------------------------------------*/
.produtos .card {
  border: 0;
  width: 100%;
  box-shadow: 0px 0 30px rgba(54, 71, 124, 0.08);
  transition: 0.3s;
  height: 100%;
}
.produtos .card-img-top {
  height: 220px;
  object-fit: cover;
}
.produtos .card .card-body {
  padding: 30px;
}
.produtos .card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #002850;
}
.produtos .card p {
  font-size: 15px;
  color: #555;
}

/*--------------------------------------------------------------
# Diferenciais Section
--------------------------------------------------------------*/
.diferenciais .icon-box {
  text-align: center;
  border: 1px solid #e6e6e6;
  padding: 40px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  height: 100%;
}
.diferenciais .icon-box .icon {
  margin: 0 auto 20px auto;
  width: 64px;
  height: 64px;
  background: #f19900;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.diferenciais .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}
.diferenciais .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  color: #002850;
}
.diferenciais .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.diferenciais .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Contato Section
--------------------------------------------------------------*/
.contact .info i {
  font-size: 20px;
  color: #002850;
  float: left;
  width: 44px;
  height: 44px;
  background: #f0f0ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}
.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #343a40;
}
.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #343a40;
}
.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}
.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #002850;
  color: #fff;
}
.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}
.contact .php-email-form input {
  height: 44px;
}
.contact .php-email-form textarea {
  padding: 10px 12px;
}
.contact .php-email-form button[type=submit] {
  background: #002850;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}
.contact .php-email-form button[type=submit]:hover {
  background: #f19900;
}
.contact .php-email-form .loading { display: none; background: #fff; text-align: center; padding: 15px; }
.contact .php-email-form .error-message { display: none; color: #fff; background: #ed3c0d; text-align: left; padding: 15px; font-weight: 600; }
.contact .php-email-form .sent-message { display: none; color: #fff; background: #18d26e; text-align: center; padding: 15px; font-weight: 600; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #002850;
  padding: 30px 0;
  color: #fff;
  font-size: 14px;
}
#footer .copyright {
  text-align: center;
}
#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}
#footer .credits a {
  color: #f19900;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 1199px) { /* Affects Tablets (like iPad Pro) and smaller */
  
  /* Make fullscreen sections behave like normal sections */
  .fullscreen-section {
    height: auto;
  }
  
  /* Show images on Quem Somos and Logística as banners */
  .bg-image-quem_somos,
  .bg-image-logistica {
    display: block !important;
    height: 300px;
    min-height: auto;
  }

  /* Adjust text padding below banner images */
  .quem_somos .col-xl-7,
  .logistica .col-xl-7 {
    padding: 40px 20px;
  }
}

@media (max-width: 991px) { /* Affects small tablets and phones */
  
  /* General Section Padding */
  section {
    padding: 40px 0;
  }

  /* Mobile Navigation */
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
  }
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    border-radius: 8px;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
  }
  .navbar-mobile a, .navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: #343a40;
  }
  .navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
    color: #002850;
  }
  .navbar-mobile > ul > li > a:before {
    left: 20px;
  }

  /* Center language flags in mobile menu */
  .navbar-mobile .language-selector {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    margin-left: 0;
  }
  .navbar-mobile .language-selector a {
    padding: 0 15px;
  }

  /* Spacing for Diferenciais on mobile */
  .diferenciais .col-md-6 {
    margin-bottom: 30px;
  }
  .diferenciais .row > .col-md-6:last-child {
    margin-bottom: 0;
  }

  /* Padding for Produtos cards on mobile */
  .produtos .card .card-body {
    padding: 20px;
  }
}

@media (max-width: 767px) {
  /* Disable AOS animation delays on mobile */
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  /* Hero Section font sizes */
  #hero h1 {
    font-size: 32px;
    line-height: 38px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}