/* ==========================================================================
   #HOME PAGE STYLES
   ========================================================================== */

/**
 * CONTENTS:
 *
 * HEADER
 * Navigation.............Main navigation styles
 * Mobile menu...........Mobile menu styles
 *
 * HERO
 * Hero section..........Hero section styles
 * Hero slider...........Hero image slider
 *
 * ABOUT PREVIEW
 * About preview.........About company preview section
 * Stats................Statistics counter
 *
 * PRODUCTS TEASER
 * Products teaser.......Products preview section
 * Product card.........Product card styles
 *
 * BUYERS CTA
 * Buyers CTA...........Buyers call to action
 * Benefits list........Benefits list styles
 *
 * TESTIMONIALS
 * Testimonials.........Testimonials slider
 *
 * NEWSLETTER
 * Newsletter...........Newsletter signup form
 *
 * FOOTER
 * Footer...............Footer styles
 */

/* ==========================================================================
   #HEADER
   ========================================================================== */

   .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: all var(--transition-medium);
  }
  
  .header--scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
  }
  
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav__list {
    display: flex;
    list-style: none;
  }
  
  .nav__item {
    margin-left: var(--space-lg);
  }
  
  .nav__link {
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-white);
    position: relative;
    padding: 0.5rem 0;
  }
  
  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width var(--transition-fast);
  }
  
  .nav__link:hover::after,
  .nav__link.active::after {
    width: 100%;
  }
  
  .nav__link.active {
    color: var(--color-gold);
  }
  
  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all var(--transition-medium);
  }
  
  .mobile-menu--active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
  
  .mobile-nav__list {
    list-style: none;
    text-align: center;
  }
  
  .mobile-nav__item {
    margin-bottom: var(--space-lg);
  }
  
  .mobile-nav__link {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    color: var(--color-white);
    transition: color var(--transition-fast);
  }
  
  .mobile-nav__link:hover,
  .mobile-nav__link.active {
    color: var(--color-gold);
  }
  
  /* ==========================================================================
     #HERO
     ========================================================================== */
  
 
  
     .hero {
        position: relative;
        height: 100vh;
        min-height: 600px;
        display: flex;
        align-items: center;
        overflow: hidden;
        background-color: var(--color-black); /* Fallback if images don't load */
      }
      
      .hero__overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
        z-index: 1;
      }
      
      .hero__content {
        position: relative;
        z-index: 3;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--container-padding);
      }
      
      .hero-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
      }
      
      .hero-slider__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1.5s ease;
      }
      
      .hero-slider__slide:first-child {
        opacity: 1;
      }
  
  
  /* Scroll indicator */
 /* Scroll Indicator Positioning Fix */
.scroll-indicator {
    position: absolute;
    bottom: 40px; /* Distance from bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Precise centering */
    z-index: 10; /* Ensure it's above other elements */
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    width: auto; /* Don't constrain width */
  }
  
  .scroll-indicator__text {
    font-family: var(--font-secondary);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 8px;
    text-align: center; /* Ensure text alignment */
  }
  
  .scroll-indicator__line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollLine 2s infinite;
  }
  
  /* Make sure hero has proper positioning context */
  .hero {
    position: relative; /* Essential for absolute positioning of children */
    height: 100vh;
    overflow: hidden; /* Only if you want to clip overflow */
  }
  
  .scroll-indicator__dot {
    position: absolute;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--color-gold);
    border-radius: 50%;
    transform: translateX(-50%);
  }
  
  .dot-1 {
    top: 0;
    animation: floatDot 3s infinite ease-in-out;
  }
  .dot-2 {
    top: 15px;
    animation: floatDot 3s infinite 0.3s ease-in-out;
  }
  .dot-3 {
    top: 30px;
    animation: floatDot 3s infinite 0.6s ease-in-out;
  }
  
  @keyframes floatDot {
    0% {
      transform: translate(-50%, 0);
      opacity: 0;
    }
    20% {
      opacity: 1;
    }
    90% {
      opacity: 0.8;
    }
    100% {
      transform: translate(-50%, 50px);
      opacity: 0;
    }
  }
  
  /* ==========================================================================
     #ABOUT PREVIEW
     ========================================================================== */
  
  .about-preview {
    background-color: var(--color-black);
    position: relative;
    overflow: hidden;
  }
  
  .about-preview__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .about-preview__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
  }
  
  /* Stats */
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
  }
  
  .stat {
    text-align: center;
  }
  
  .stat__number {
    font-family: var(--font-primary);
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
    display: block;
  }
  
  .stat__label {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* Image frame */
  .image-frame {
    position: relative;
  }
  
  .image-frame img {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
  }
  
  .image-frame__decor {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-gold);
    border-radius: var(--radius-sm);
    top: 20px;
    left: 20px;
    z-index: -1;
  }
  
  /* ==========================================================================
     #PRODUCTS TEASER
     ========================================================================== */
  
  .products-teaser {
    background-color: var(--color-black-soft);
  }
  
  .products-teaser__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
  }
  
  /* Product card */
  .product-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-medium);
  }
  
  .product-card:hover {
    transform: translateY(-10px);
  }
  
  .product-card__image {
    height: 300px;
    overflow: hidden;
  }
  
  .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
  }
  
  .product-card:hover .product-card__image img {
    transform: scale(1.05);
  }
  
  .product-card__content {
    padding: var(--space-md);
    background-color: var(--color-gray);
    position: relative;
  }
  
  .product-card__title {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
  }
  
  .product-card__desc {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-sm);
  }
  
  .product-card__cta {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
  }
  
  .product-card__cta::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background-color: var(--color-gold);
    margin-left: var(--space-sm);
    transition: width var(--transition-fast);
  }
  
  .product-card:hover .product-card__cta::after {
    width: 40px;
  }
  
  /* ==========================================================================
     #BUYERS CTA
     ========================================================================== */
  
  .buyers-cta {
    background-color: var(--color-black);
    position: relative;
  }
  
  .buyers-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .buyers-cta__text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
  }
  
  .buyers-cta__buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
  }
  
  /* Benefits list */
  .benefits-list {
    list-style: none;
    margin: var(--space-lg) 0;
  }
  
  .benefits-list__item {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
  }
  
  .benefits-list__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: var(--space-sm);
    height: 2px;
    background-color: var(--color-gold);
  }
  
  /* Image stack */
  .image-stack {
    position: relative;
  }
  
  .image-stack__top,
  .image-stack__bottom {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
  }
  
  .image-stack__top {
    position: relative;
    z-index: 1;
    transform: rotate(-3deg);
  }
  
  .image-stack__bottom {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 80%;
    transform: rotate(3deg);
  }
  
  
  /* ==========================================================================
     #NEWSLETTER
     ========================================================================== */
  
  .newsletter {
    background-color: var(--color-black);
    padding: var(--space-xl) 0;
  }
  
  .newsletter__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
  }
  
  .newsletter__title {
    font-size: 3.2rem;
    margin-bottom: var(--space-md);
  }
  
  .newsletter__text {
    color: rgba(255, 255, 255, 0.8);
    max-width: 400px;
  }
  
  /* ==========================================================================
     #FOOTER
     ========================================================================== */
  
  .footer {
    background-color: var(--color-black);
    padding: var(--space-xxl) 0 0;
  }
  
  .footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xxl);
  }
  
  .footer__title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
  }
  
  .footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
  }
  
  .footer__list {
    list-style: none;
  }
  
  .footer__item {
    margin-bottom: var(--space-sm);
  }
  
  .footer__link {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
  }
  
  .footer__link:hover {
    color: var(--color-gold);
  }
  
  .footer__contact {
    list-style: none;
  }
  
  .footer__contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--space-md);
  }
  
  .footer__contact-item svg {
    flex-shrink: 0;
    margin-right: var(--space-sm);
    margin-top: 0.2rem;
    color: var(--color-gold);
  }
  
  .footer__contact-item span {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
  }
  
  .footer__social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
  }
  
  .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transition: all var(--transition-fast);
  }
  
  .social-link:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    border-color: var(--color-gold);
    transform: translateY(-3px);
  }
  
  .footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-lg) 0;
  }
  
  .footer__copyright {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--space-sm);
  }
  
  .footer__legal {
    display: flex;
    gap: var(--space-md);
  }
  
  .footer__legal-link {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
  }
  
  .footer__legal-link:hover {
    color: var(--color-gold);
  }
  
  /* ==========================================================================
     #RESPONSIVE
     ========================================================================== */
  
  @media (max-width: 992px) {
    .section {
      padding: var(--space-xl) 0;
    }
  
    .hero__content {
      max-width: 500px;
    }
  
    .about-preview__grid,
    .buyers-cta__grid,
    .newsletter__grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  
    .about-preview__image,
    .buyers-cta__image {
      order: -1;
    }
  
    .image-stack__bottom {
      right: 0;
      bottom: -20px;
    }
  
    .stats {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }
  
    .stat {
      text-align: left;
      display: flex;
      align-items: center;
      gap: var(--space-md);
    }
  
    .stat__number {
      margin-bottom: 0;
      font-size: 3.6rem;
    }
  }
  
  @media (max-width: 768px) {
    .nav {
      display: none;
    }
  
    .hamburger {
      display: block;
    }
  
    .hero__title {
      font-size: 4.8rem;
    }
  
    .hero__buttons {
      flex-direction: column;
    }
  
    .btn {
      width: 100%;
    }
  
    .footer__grid {
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-lg);
    }
  }
  
  @media (max-width: 576px) {
    :root {
      --container-padding: 1rem;
    }
  
    h1 {
      font-size: 4rem;
    }
  
    h2 {
      font-size: 3.2rem;
    }
  
    h3 {
      font-size: 2.4rem;
    }
  
    .hero {
      min-height: 500px;
    }
  
    .hero__content {
      text-align: center;
    }
  
    .hero__title-line {
      display: inline;
    }
  
    .testimonial__content {
      padding: var(--space-lg) var(--space-md);
    }
  
    .testimonial__text {
      font-size: 1.6rem;
    }
  
    .footer__grid {
      grid-template-columns: 1fr;
    }
  
    .footer__bottom {
      text-align: center;
    }
  
    .footer__legal {
      flex-direction: column;
      gap: var(--space-sm);
    }
  }