/* ========================================
   PAGE HERO COMPONENT STYLES
   ======================================== */

/* CSS Variables for Page Hero */
:root {
    --page-hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --page-hero-text-color: white;
    --page-hero-padding: 6rem 0 4rem;
    --hero-title-size: 3rem;
    --hero-subtitle-size: 1.25rem;
    --hero-date-size: 1rem;
}

/* ========================================
   MAIN PAGE HERO STYLES
   ======================================== */

.page-hero {
    background: var(--page-hero-gradient);
    color: var(--page-hero-text-color);
    padding: var(--page-hero-padding);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional overlay for better text readability */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Ensure hero content is above overlay */
.page-hero > * {
    position: relative;
    z-index: 2;
}

/* ========================================
   HERO TEXT STYLES
   ======================================== */

.hero-title {
    font-size: var(--hero-title-size);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: var(--hero-subtitle-size);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-date {
    font-size: var(--hero-date-size);
    opacity: 0.8;
    font-weight: 400;
}

/* ========================================
   HERO VARIATIONS
   ======================================== */

/* Hero with different gradient */
.page-hero.gradient-alt {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Hero with background image */
.page-hero.with-background {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3)), 
                url('/images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Hero with different padding */
.page-hero.compact {
    padding: 4rem 0 3rem;
}

.page-hero.large {
    padding: 8rem 0 6rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet styles */
@media (max-width: 1024px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .page-hero {
        padding: 4rem 0 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 0.75rem;
        padding: 0 1rem;
    }
    
    .hero-date {
        font-size: 0.875rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .page-hero {
        padding: 3rem 0 2rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
}

/* ========================================
   ACCESSIBILITY & MOTION
   ======================================== */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .page-hero.with-background {
        background-attachment: scroll;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .page-hero {
        background: #000;
        color: #fff;
    }
    
    .page-hero::before {
        background: rgba(0, 0, 0, 0.3);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .page-hero {
        background: none !important;
        color: #000 !important;
        padding: 2rem 0 !important;
    }
    
    .page-hero::before {
        display: none;
    }
    
    .hero-title {
        color: #000 !important;
    }
    
    .hero-subtitle {
        color: #333 !important;
    }
}
