/* ============================================
   HERO CORE STYLES
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background-color: var(--dark-bg);
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll; /* Changed from fixed for better scroll performance */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -80px;
    padding-top: 80px;
    overflow: hidden;
}

/* Overlay System */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Standard overlay */
    z-index: 1;
}

/* Content Layout */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    max-width: 900px;
    margin: 0 auto;
}

/* Typography */
.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #f0f0f0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* ============================================
   BACKGROUND VARIANTS
   ============================================ */

/* Video Background (Home) */
.hero-bg-video {
    background-color: #000;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Background */
.hero-bg-contact {
    background-image: url('../images/static/contactHero-1600.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Pricing Background */
.hero-bg-pricing {
  background-image: url('../images/static/hero-1600.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Pricing specific overlay adjustment to match original design */
.hero-bg-pricing .hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(18, 18, 18, 0.8));
}

.hero-bg-pricing::before {
    /* Gradient overlay from original pricing css */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 4, 4, 0.15) 0%, transparent 50%, rgba(252, 4, 4, 0.15) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Transformations Background */
.hero-bg-transformations {
  background-image: url('../images/static/transformationHero-1600.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg-transformations .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        margin-top: -70px;
        padding-top: 70px;
        /* Match body padding */
        min-height: 550px;
        background-attachment: scroll;
        /* Fix for mobile browser address bar jumps */
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
        /* Prevent text touching edges */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 80%;
        /* Consistent button width */
        max-width: 280px;
    }
    .hero-bg-pricing {
    background-image: url('../images/static/hero-1600.webp');
  }
    .hero-bg-contact {
    background-image: url('../images/static/contactHero-1600.webp');
  }
  .hero-bg-transformations {
    background-image: url('../images/static/transformationHero-1600.webp');
  }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 100vh;
        /* Full viewport height on mobile */
        margin-top: -60px;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-content {
        padding: 0 10px;
    }

    /* Focus on object for pricing hero */
    .hero-bg-pricing {
        background-position: 20% center;
        /* Move focus to the right */
    }

    /* Focus on object for transformations hero */
    .hero-bg-transformations {
        background-position: 75% center;
    }

    /* Focus on object for contact hero */
    .hero-bg-contact {
        background-position: 60% center;
        background-image: url('../images/static/DSC07601.jpg');
    }
    .hero-bg-pricing {
    background-image: url('../images/static/hero-1600.webp');
  }
}

@media (min-width: 1400px) {
  .hero-bg-transformations {
    background-image: url('../images/static/transformationHero-2200.webp');
  }
  .hero-bg-contact {
    background-image: url('../images/static/contactHero-2200.webp');
  }
}