:root {
    --primary: #fcce3a;
    --primary-hover: #FCA63A;
    --dark: #111111;
    --light: #F8F9FA;
    --gray: #6c757d;
    --section-spacing: 6rem;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
  }
  
  h1 {
    font-size: 3.5rem;
  }
  
  h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
  }
  
  h2::after {
    content: "";
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
  }
  
  .text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  p {
    font-weight: 400;
    line-height: 1.7;
    color: #444;
  }
  
  /* Header/Navbar */
  header {
    background-color: rgba(17, 17, 17, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  header.navbar-nav{
    height: 76px;
  }
  
  .navbar-nav .nav-link {
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1rem;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }
  
  .navbar-nav .nav-link:hover::after,
  .navbar-nav .nav-link.active::after {
    width: 70%;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--primary);
  }
  
  /* Hero Section */
  .hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), url('../images/atron_motores.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 0 !important; /* Removido o margin-top de 76px */
    padding-top: 76px; /* Adicionado padding-top para compensar a altura da navbar */
  }
  
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.) 100%);
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease;
  }
  
  .hero h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--light);
  }
  
  .hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white;
    animation: fadeInUp 1.2s ease;
  }
  
  .btn-primary {
    background-color: var(--primary);
    border: none;
    color: var(--dark);
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-hover);
    transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    z-index: -1;
  }
  
  .btn-primary:hover::before {
    width: 100%;
  }
  
  .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(252, 206, 58, 0.4);
    color: var(--dark);
  }
  
  /* Espaçamento de seções*/
  section {
    padding: var(--section-spacing) 0;
  }
  
  section:nth-child(even) {
    background-color: white;
  }
  
  /* Sobre  */
  .about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }
  
  /* MVV Cards */
  .mvv-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .mvv-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    z-index: -1;
  }
  
  .mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }
  
  .mvv-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
  }
  
  /* Timeline */
  .timeline {
    position: relative;
    padding: 3rem 0;
  }
  
  .timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: translateX(-50%);
  }
  
  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
  }


  
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  
  .timeline-item::after {
    content: "";
    display: table;
    clear: both;
  }
  
  .timeline-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    float: left;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    float: right;
  }
  
  .timeline-date {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--primary);
    color: var(--dark);
    font-weight: 700;
    border-radius: 30px;
    margin-bottom: 1rem;
  }
  
  .timeline-content::after {
    content: "";
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    border: 4px solid var(--primary);
  }
  
  .timeline-item:nth-child(odd) .timeline-content::after {
    right: -60px;
  }
  
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -60px;
  }
  
  /* Gallery */
  .gallery-section {
    background-color: var(--light);
  }
  
  .gallery-title {
    margin-bottom: 3rem;
  }
  
  .gallery-item {
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }
  
  .gallery-item img {
    transition: all 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .gallery-item:hover .gallery-caption {
    opacity: 1;
  }
  
  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, #222 0%, #444 100%);
    color: white;
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .cta-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(252, 206, 58, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: -1;
  }
  
  .cta-section::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(252, 206, 58, 0.1);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    z-index: -1;
  }
  
  .cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    color: white;
  }
  
  .btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    padding: 5rem 0 2rem;
    color: #f8f9fa;
  }
  
  .footer-logo {
    margin-bottom: 1.5rem;
  }
  
  .footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
  }
  
  .footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary);
  }
  
  .footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
  }
  
  .footer-contact li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 18px;
    margin-top: 3px;
  }
  
  .footer-contact a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-contact a:hover {
    color: var(--primary-hover);
  }
  
  .footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    background-color: #111;
    padding: 20px 0;
  }
  
 /* WhatsApp Button */
    .whatsapp-btn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 60px;
      height: 60px;
      background-color: #25d366;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
      z-index: 999;
      transition: all 0.3s ease;
    }

    .whatsapp-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }

  
  /* Modal */
  .modal-gallery .modal-content {
    background-color: transparent;
    border: none;
  }
  
  .modal-gallery .modal-body {
    padding: 0;
  }
  
  .modal-gallery .modal-caption {
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    border-radius: 0 0 5px 5px;
  }
  
  .modal-gallery .modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .modal-nav-btn {
    background-color: rgba(0,0,0,0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .modal-nav-btn:hover {
    background-color: var(--primary);
    color: var(--dark);
  }
  
  /* Responsive */
  @media (max-width: 992px) {
    h1 {
      font-size: 3rem;
    }
    
    h2 {
      font-size: 2rem;
    }

    .navbar-brand img {
      height: 35px;
    }
    
    .hero {
      height: 60vh;
    }
  }
  
  @media (max-width: 768px) {
    :root {
      --section-spacing: 4rem;
    }
    
    .hero {
      height: 50vh;
      text-align: center;
    }
    
    .hero h1 {
      font-size: 2.5rem;
    }
    
    .timeline::before {
      left: 30px;
    }
    
    .timeline-content {
      width: 80%;
      float: right;
      margin-left: 60px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
      left: -60px;
    }
    
    .cta-section {
      padding: 3rem 2rem;
      text-align: center;
    }
    
    .cta-btn {
      margin-top: 1.5rem;
    }
  }