/**
 * Page Hero Styles
 * Styles for dedicated page hero sections (speaking, videos, articles)
 */

/* Section Hero Base Styles */
.section-hero {
    position: relative;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.section-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.section-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    color: var(--text-white);
}

.section-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.section-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Page-specific hero styles */
.speaking-hero {
    background-color: #1a1a1a; /* Fallback color */
}

.videos-hero {
    background-color: #2a2a2a; /* Fallback color */
}

.articles-hero {
    background-color: #3a3a3a; /* Fallback color */
}

/* Content Section Styles */
.speaking-events-section,
.videos-content-section,
.articles-content-section {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-hero {
        height: 50vh;
        min-height: 300px;
        background-attachment: scroll;
    }
    
    .section-hero-content {
        padding: 1.5rem;
    }
    
    .section-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .section-hero-content p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .section-hero {
        height: 40vh;
        min-height: 250px;
    }
    
    .section-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-hero-content p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* High DPI / Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .section-hero {
        background-attachment: scroll; /* Better performance on high DPI displays */
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .section-hero {
        height: 80vh;
        min-height: 300px;
    }
    
    .section-hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-hero-content p {
        font-size: 1rem;
    }
}