/* ========================================
   Hero Banner - Full Width Responsive
   Covers entire screen width with image background
   ======================================== */

/* Hero Banner Container - Full Width */
.hero-banner-fullwidth {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8fdf9;
}

/* Background Image - Cover entire width */
.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Gradient Overlay for Text Readability */
.hero-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.88) 25%,
        rgba(255, 255, 255, 0.70) 50%,
        rgba(255, 255, 255, 0.40) 75%,
        rgba(255, 255, 255, 0.10) 100%
    );
    z-index: 2;
}

/* Content Container - Centered */
.hero-banner-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px;
    text-align: center;
}

/* Main Headline */
.hero-banner-headline {
    font-size: 3.2rem;
    font-family: 'Barlow Condensed', sans-serif;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

.hero-banner-headline strong {
    color: var(--primary-green);
    font-weight: 800;
}

/* Supporting Text */
.hero-banner-subtext {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9);
}

/* ========================================
   Responsive Styles - 7 Breakpoints
   ======================================== */

/* Large Desktop (1441px+) */
@media (min-width: 1441px) {
    .hero-banner-fullwidth {
        min-height: 800px;
    }
    
    .hero-banner-content {
        padding: 80px 60px;
        max-width: 1000px;
    }
    
    .hero-banner-headline {
        font-size: 3.8rem;
        margin-bottom: 30px;
        line-height: 1.2;
    }
    
    .hero-banner-subtext {
        font-size: 1.3rem;
        max-width: 900px;
    }
}

/* Desktop (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-banner-fullwidth {
        min-height: 720px;
    }
    
    .hero-banner-content {
        padding: 70px 50px;
        max-width: 850px;
    }
    
    .hero-banner-headline {
        font-size: 3rem;
        margin-bottom: 28px;
    }
    
    .hero-banner-subtext {
        font-size: 1.15rem;
        max-width: 750px;
    }
}

/* Large Tablet (992px - 1024px) */
@media (min-width: 992px) and (max-width: 1024px) {
    .hero-banner-fullwidth {
        min-height: 660px;
    }
    
    .hero-banner-content {
        padding: 60px 40px;
        max-width: 750px;
    }
    
    .hero-banner-headline {
        font-size: 2.6rem;
        margin-bottom: 25px;
    }
    
    .hero-banner-subtext {
        font-size: 1.1rem;
        max-width: 700px;
    }
}

/* Medium Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-banner-fullwidth {
        min-height: 620px;
    }
    
    .hero-banner-content {
        padding: 55px 35px;
        max-width: 650px;
    }
    
    .hero-banner-headline {
        font-size: 2.3rem;
        line-height: 1.3;
        margin-bottom: 22px;
    }
    
    .hero-banner-subtext {
        font-size: 1.05rem;
        line-height: 1.65;
        max-width: 600px;
    }
    
    .hero-banner-overlay {
        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.93) 0%,
            rgba(255, 255, 255, 0.85) 30%,
            rgba(255, 255, 255, 0.65) 60%,
            rgba(255, 255, 255, 0.35) 100%
        );
    }
}

/* Small Tablet / Landscape Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-banner-fullwidth {
        min-height: 560px;
    }
    
    .hero-banner-content {
        padding: 50px 30px;
        max-width: 550px;
    }
    
    .hero-banner-headline {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .hero-banner-subtext {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 520px;
    }
    
    .hero-banner-overlay {
        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.87) 30%,
            rgba(255, 255, 255, 0.68) 60%,
            rgba(255, 255, 255, 0.38) 100%
        );
    }
}

/* Small Mobile (481px - 575px) */
@media (min-width: 481px) and (max-width: 575px) {
    .hero-banner-fullwidth {
        min-height: 530px;
    }
    
    .hero-banner-content {
        padding: 45px 25px;
        max-width: 100%;
    }
    
    .hero-banner-headline {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-bottom: 18px;
    }
    
    .hero-banner-subtext {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .hero-banner-overlay {
        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.88) 30%,
            rgba(255, 255, 255, 0.70) 60%,
            rgba(255, 255, 255, 0.40) 100%
        );
    }
}

/* Extra Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .hero-banner-fullwidth {
        min-height: 500px;
    }
    
    .hero-banner-content {
        padding: 40px 20px;
        max-width: 100%;
    }
    
    .hero-banner-headline {
        font-size: 1.6rem;
        line-height: 1.35;
        margin-bottom: 16px;
        padding: 0 5px;
    }
    
    .hero-banner-headline strong {
        display: inline;
    }
    
    .hero-banner-subtext {
        font-size: 0.9rem;
        line-height: 1.55;
        max-width: 100%;
        padding: 0 5px;
    }
    
    .hero-banner-overlay {
        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.90) 30%,
            rgba(255, 255, 255, 0.72) 60%,
            rgba(255, 255, 255, 0.42) 100%
        );
    }
}

/* ========================================
   Landscape Mode Optimization
   ======================================== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-banner-fullwidth {
        min-height: 450px;
    }
    
    .hero-banner-content {
        padding: 35px 25px;
    }
    
    .hero-banner-headline {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }
    
    .hero-banner-subtext {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ========================================
   Performance Optimizations
   ======================================== */

/* GPU Acceleration */
.hero-banner-fullwidth,
.hero-banner-image,
.hero-banner-overlay,
.hero-banner-content {
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Image Loading Optimization */
.hero-banner-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   Accessibility & Print Styles
   ======================================== */

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero-banner-overlay {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .hero-banner-headline {
        color: #000;
        text-shadow: none;
    }
    
    .hero-banner-headline strong {
        color: #2C3E2E;
        text-decoration: underline;
    }
    
    .hero-banner-subtext {
        color: #000;
        text-shadow: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-banner-fullwidth,
    .hero-banner-image,
    .hero-banner-overlay,
    .hero-banner-content {
        transition: none !important;
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .hero-banner-fullwidth {
        min-height: 400px;
        page-break-after: avoid;
    }
    
    .hero-banner-image {
        opacity: 0.3;
    }
    
    .hero-banner-overlay {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .hero-banner-headline {
        font-size: 2rem;
        color: #000;
        text-shadow: none;
    }
    
    .hero-banner-headline strong {
        color: #2C3E2E;
    }
    
    .hero-banner-subtext {
        font-size: 1rem;
        color: #000;
        text-shadow: none;
    }
}
