/* ==================== PAGE HERO STANDARD ==================== */
/* Unified Hero Styles for Subpages (About, Schedule, Gallery, Contact, Testimonials) */

:root {
    --hero-height-desktop: 450px;
    --hero-height-tablet: 400px;
    --hero-height-mobile: 350px;
}

.page-hero {
    position: relative;
    height: var(--hero-height-desktop);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0; /* Ensure no margin pushes it down */
}

.page-hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.page-hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Subtle zoom effect */
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

@keyframes heroKenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 29, 95, 0.75); /* Consistent overlay opacity */
    z-index: 2;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    /* Optical correction for centered text due to navbar height if transparent */
    padding-top: 40px; 
}

/* Breadcrumbs */
.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    animation: heroFadeIn 0.8s ease 0.2s backwards;
}

.hero-breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.hero-breadcrumb a:hover {
    opacity: 0.8;
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
}

/* Typography */
.page-hero h1 {
    font-family: 'Lora', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-hero h1 .word {
    display: inline-block;
    animation: heroFadeInUp 0.8s ease backwards;
}

.page-hero h1 .word:nth-child(1) { animation-delay: 0.3s; }
.page-hero h1 .word:nth-child(2) { animation-delay: 0.4s; }
.page-hero h1 .word:nth-child(3) { animation-delay: 0.5s; }

.page-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: heroFadeIn 1s ease 0.6s backwards;
}

.page-hero .hero-tagline {
    font-weight: 600;
    color: #D4AF37; /* Gold accent */
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Animations */
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .page-hero { height: var(--hero-height-desktop); }
}

@media (max-width: 768px) {
    .page-hero { height: var(--hero-height-tablet); }
    
    .page-hero h1 { font-size: 2.5rem; }
    .page-hero p { font-size: 1rem; padding: 0 10px; }
    .hero-breadcrumb { padding: 6px 20px; font-size: 0.85rem; }
}

@media (max-width: 480px) {
    .page-hero { height: var(--hero-height-mobile); }
    
    .page-hero h1 { font-size: 2rem; }
    .page-hero-content { padding-top: 20px; }
}
