/* Smooth scroll */
html {
    scroll-behavior: smooth;
}
/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #0f172a; /* Deep slate navy */
    color: #f1f5f9; /* Soft light gray-white */
    line-height: 1.65;
    min-height: 100vh;
}
/* Header – Vibrant gold gradient */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFAA00 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.75rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}
.admin-btn {
    color: #1e293b;
    font-size: 1.65rem;
    font-weight: 800;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.admin-btn:hover {
    background: rgba(255,255,255,0.4);
    color: #000;
    transform: scale(1.05);
}
.menu-btn {
    display: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: #1e293b;
}
header nav {
    display: flex;
    gap: 1.2rem;
}
header nav a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    padding: 0.6rem 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}
header nav a:hover {
    background: rgba(0,0,0,0.18);
    color: white;
}
/* Mobile Menu – FIXED SPACING */
@media (max-width: 768px) {
    .menu-btn { display: block; }
    
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 1rem;
        background: linear-gradient(135deg, #FFD700 0%, #FFAA00 100%);
        flex-direction: column;
        width: 240px;
        padding: 0.8rem 0;               /* Reduced top/bottom padding */
        border-radius: 0 0 14px 14px;
        box-shadow: 0 10px 35px rgba(0,0,0,0.45);
    }
    
    header nav.show { display: flex; }
    
    header nav a {
        margin: 0.3rem 0.8rem;           /* Much smaller vertical margin between items */
        padding: 0.7rem 1rem;            /* Reduced vertical padding for tighter buttons */
        font-size: 1rem;                 /* Slightly smaller text for better fit */
        color: #1e293b;
        border-radius: 8px;              /* Nice rounding on each item */
    }
    
    /* Optional: subtle hover effect for better touch feedback */
    header nav a:hover {
        background: rgba(0,0,0,0.15);
    }
}
/* Hero Section */
.hero {
    margin-top: 85px;
    text-align: center;
    padding: 140px 1.5rem 110px;
    background: linear-gradient(rgba(30, 41, 59, 0.68), rgba(30, 41, 59, 0.38)),
                url("https://lh3.googleusercontent.com/pw/AP1GczNEaYxmiDMUMVKoGLqqW7NuYh9gnfU1DMzOQT4f0iu8V2X9dcmUAn4WwX4t9PRxee7qIahoauOlZkjvO0_pl-8oydh7nsu_hpvJdaP1L5xmVU3RBRQJYVfOuUXRuQGvIe5br6ckzZC-Gm_zodoxhITo=w954-h636-s-no-gm") center/cover fixed no-repeat;
    background-position: center 35%;
}
.hero h1 {
    font-size: clamp(3.2rem, 8vw, 5.2rem);
    font-weight: 900;
    color: #FFEA00;
    text-shadow: 0 5px 18px rgba(0,0,0,0.75);
    margin-bottom: 0.8rem;
}
.hero p {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 500;
    color: #ffea80;
    text-shadow: 0 3px 12px rgba(0,0,0,0.65);
}
/* Section Titles */
.title, h2, h3, h4 {
    text-align: center;
    margin: 3.5rem 0 1.8rem;
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
h2 { font-size: clamp(2.4rem, 6vw, 3.2rem); }
h3 { font-size: clamp(1.9rem, 5vw, 2.5rem); }
h4 { font-size: 1.7rem; margin-top: 2.5rem; }
.anchor { scroll-margin-top: 110px; }
/* Gallery */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    padding: 0 1.8rem 4rem;
    max-width: 1600px;
    margin: 0 auto;
}
.card {
    background: rgba(30, 41, 59, 0.82);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
    backdrop-filter: blur(8px);
}
.card:hover {
    transform: translateY(-12px) scale(1.025);
    box-shadow: 0 20px 50px rgba(255,215,0,0.28);
    border-color: #FFD700;
}
.card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.card:hover img { transform: scale(1.1); }
.card h3 {
    text-align: center;
    margin: 1rem 0 0.6rem;
    color: #FFEA80;
    font-size: 1.45rem;
    padding: 0 1rem;
}
.card p {
    padding: 0 1.25rem 1.5rem;
    font-size: 1rem;
    color: #cbd5e1;
}
/* Programs & Reviews */
.programs-list,
.milestones-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0 2.5rem;
}
.programs-list li,
.milestones-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    padding-left: 2.2rem;
    position: relative;
}
.arrow {
    position: absolute;
    left: 0;
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: bold;
}
.flagship {
    font-size: 1.15rem;
    font-style: italic;
    margin: 2rem 0;
    padding: 1.2rem 1.5rem;
    background: rgba(255,215,0,0.1);
    border-left: 6px solid #FFD700;
    border-radius: 8px;
}
.image-gallery-small {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    justify-content: center;
    margin: 2rem 0;
}
.image-gallery-small img,
.image-gallery-small grok-card {
    max-width: 360px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform 0.35s;
}
.image-gallery-small img:hover,
.image-gallery-small grok-card:hover {
    transform: scale(1.04);
}
.pack {
    margin: 1.2rem auto;
    padding: 1.5rem;
    max-width: 720px;
    background: linear-gradient(135deg, #FFAA00, #FFD700);
    color: #1e293b;
    font-weight: 700;
    font-size: 1.35rem;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.review {
    margin: 1.2rem auto;
    padding: 1.5rem;
    max-width: 720px;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.35);
    border-radius: 14px;
    font-style: italic;
    color: #ffea80;
    text-align: center;
}
/* Events Section – NEW & IMPROVED */
#events {
    padding: 4rem 1.5rem;
}
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.8rem;
    margin: 1.5rem 0 3rem;
}
.event-month,
.event-workshops {
    background: rgba(30,41,59,0.75);
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255,215,0,0.22);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}
.event-month:hover,
.event-workshops:hover {
    transform: translateY(-6px);
}
.event-month h4,
.event-workshops h4 {
    color: #FFEA00;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(255,215,0,0.4);
}
.event-month ul,
.event-workshops ul {
    list-style: none;
    padding: 0;
}
.event-month li,
.event-workshops li {
    margin: 0.8rem 0;
    font-size: 1.05rem;
}
.event-month li strong {
    color: #FFEA80;
}
.note {
    font-style: italic;
    color: #94a3b8;
    margin-top: 1.2rem;
    display: block;
}
.call-to-action {
    text-align: center;
    font-size: 1.3rem;
    margin: 3rem 0 1rem;
    padding: 1.5rem;
    background: rgba(255,215,0,0.12);
    border-radius: 12px;
    border: 1px solid rgba(255,215,0,0.3);
}
.call-to-action a {
    color: #FFD700;
    font-weight: bold;
    text-decoration: underline;
}
.call-to-action a:hover {
    color: #FFEA00;
}
/* Book Form */
.book {
    max-width: 500px;
    margin: 3rem auto 6rem;
    background: rgba(30,41,59,0.85);
    padding: 2.2rem;
    border-radius: 16px;
    border: 1px solid rgba(255,215,0,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.book input {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid #FFD700;
    background: rgba(255,255,255,0.08);
    color: white;
    font-size: 1.1rem;
}
.book button {
    background: #FFD700;
    color: #1e293b;
    padding: 1rem;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.35s ease;
}
.book button:hover {
    background: #FFEA00;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,215,0,0.45);
}
/* Lightbox */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.96);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
#lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 14px;
    box-shadow: 0 0 70px rgba(255,215,0,0.45);
}
/* WhatsApp Floating Button with Icon */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366; /* Official WhatsApp green */
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem; /* Icon size */
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}
.whatsapp:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}
/* Optional: slight bounce on load */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.whatsapp {
    animation: pulse 2s infinite;
}
/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 5rem;
    border-top: 4px solid #FFD700;
    color: #94a3b8;
    font-size: 0.95rem;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero { padding: 100px 1rem 80px; }
    .grid { gap: 1.4rem; padding: 0 1rem 3rem; }
    .card img { height: 220px; }
    .events-grid { grid-template-columns: 1fr; }
}
/* FORCE tighter mobile menu spacing – high priority overrides */
@media (max-width: 768px) {
    /* Target the container more aggressively */
    header nav,
    header nav.show,
    .mobile-menu,               /* fallback if platform renames it */
    [class*="menu"],            /* any class containing 'menu' */
    nav[style*="display: flex"] {  /* if inline style is forcing display */
        padding: 0.6rem 0 !important;   /* even smaller top/bottom */
        margin: 0 !important;
        gap: 0 !important;              /* kill any flex gap if present */
    }

    /* Target each link/item directly */
    header nav a,
    header nav.show a,
    header nav a:link,
    header nav a:visited {
        margin: 0.2rem 0.6rem !important;   /* tiny vertical gaps */
        padding: 0.6rem 1rem !important;    /* shorter height per item */
        font-size: 1rem !important;
        line-height: 1.3 !important;        /* tighter text lines */
        min-height: unset !important;       /* remove any forced min-height */
        border-radius: 6px !important;
    }

    /* If items are in a <ul>/<li> structure (common override) */
    header nav ul,
    header nav li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    header nav li {
        margin-bottom: 0.3rem !important;
    }

    /* Prevent excessive overall height or overflow issues */
    header nav.show {
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    /* Optional: make items feel more compact */
    header nav a:hover {
        background: rgba(0,0,0,0.2) !important;
    }
}