/* ==========================================
   HERO SECTION - Student Cycle
   Uses global-typography.css variables
========================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 850px;
    min-height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-dark, #3B56D9) 0%, var(--color-primary, #4D6AFF) 100%);
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Darker overlay - increased opacity for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-inner {
    max-width: 750px;
}

/* Eyebrow text */
.hero-eyebrow {
    display: inline-block;
    font-size: var(--font-hero-eyebrow, 0.875rem);
    font-weight: var(--font-weight-semibold, 600);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-wider, 0.1em);
    color: var(--color-primary-light, #7B93FF);
    margin-bottom: var(--space-md, 0.75rem);
    line-height: var(--line-none, 1);
}

/* Bigger title */
.hero-title {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: var(--font-weight-bold, 700);
    line-height: var(--line-tight, 1.2);
    margin-bottom: var(--space-lg, 1rem);
    color: var(--color-white);
}

/* Better line height for description - more breathing room */
.hero-text {
    font-size: var(--font-hero-text, 1.125rem);
    line-height: var(--line-relaxed, 1.7);
    margin-bottom: var(--space-xl, 1.75rem);
    color: var(--color-white);
    opacity: 0.92;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Button sizes for hero */
.hero-actions .btn-lg {
    min-height: 52px;
    padding: 14px 32px;
    font-size: var(--font-base, 1rem);
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
========================================== */

/* Desktop (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .hero-inner {
        max-width: 750px;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    }
    
    .hero-text {
        font-size: 1rem;
    }
}

/* Extra Large Desktops (1600px+) */
@media (min-width: 1600px) {
    .hero {
        max-height: 900px;
    }
    
    .hero-inner {
        max-width: 850px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 4rem);
    }
    
    .hero-text {
        font-size: 1.125rem;
        max-width: 650px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .hero {
        height: 100vh;
        max-height: 100vh;
        min-height: 600px;
    }
    
    .hero-inner {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    }
    
    .hero-text {
        font-size: 0.95rem;
        line-height: 1.65;
    }
    
    .hero-actions .btn-lg {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        align-items: flex-end;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-text {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .hero-eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-actions .btn-lg {
        width: 100%;
        justify-content: center;
        min-height: 48px;
        padding: 12px 20px;
    }
}

/* Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero {
        min-height: 550px;
    }
    
    .hero-content {
        padding-bottom: 40px;
    }
    
    .hero-title {
        font-size: clamp(1.4rem, 4.5vw, 1.8rem);
    }
    
    .hero-text {
        font-size: 0.85rem;
        line-height: 1.55;
    }
}

/* Landscape orientation for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }
    
    .hero-content {
        align-items: center;
        padding-bottom: 0;
    }
    
    .hero-title {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
    }
    
    .hero-text {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        flex-direction: row;
        gap: 1rem;
    }
    
    .hero-actions .btn-lg {
        width: auto;
        min-height: 42px;
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero {
        transition: none;
    }
}