/* ===== Custom Styles for Blooming Minds Early Learning Center ===== */

/* --- CSS Variables --- */
:root {
    --navy-900: #102a43;
    --navy-800: #243b53;
    --gold-400: #d4a843;
    --gold-300: #e9be4a;
    --gold-100: #f9ecbf;
}

/* --- Base --- */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav-fixed.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(16, 42, 67, 0.08);
}

.nav-fixed .nav-link {
    position: relative;
}

.nav-fixed .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-400);
    transition: width 0.3s ease;
}

.nav-fixed .nav-link:hover::after {
    width: 100%;
}

/* --- Mobile Menu --- */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
}

/* --- Hero --- */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(16, 42, 67, 0.88) 0%,
        rgba(36, 59, 83, 0.75) 50%,
        rgba(16, 42, 67, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

/* --- Program Cards --- */
.program-card {
    transform: translateY(0);
}

.program-card:hover {
    transform: translateY(-8px);
}

/* --- Testimonial Cards --- */
.testimonial-card {
    transition: transform 0.4s ease, background 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .program-card:hover {
        transform: none;
    }
    
    .testimonial-card:hover {
        transform: none;
    }
}

/* --- Decorative Blooms --- */
.bloom-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

/* --- Form Focus States --- */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.2);
}

/* --- Button Hover Glow --- */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* --- Section Divider --- */
.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
    border-radius: 2px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h1 br {
        display: none;
    }
}

/* --- Print --- */
@media print {
    .nav-fixed,
    .scroll-indicator,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
}
