/* Modern Premium CSS for Gallant FA */

:root {
    /* Color Palette */
    --color-primary: #00ff87; /* Neon green / turf */
    --color-primary-dark: #00c268;
    --color-bg-dark: #050b14; /* Deep midnight blue */
    --color-bg-light: #f5f7fa; 
    --color-surface: #0a1426;
    --color-surface-light: #12203b;
    --color-text: #334155;
    --color-text-light: #94a3b8;
    --color-white: #ffffff;
    
    /* Typography */
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,255,135,0.1);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.4);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Variables */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.text-white { color: var(--color-white); }
.text-center { text-align: center; }
.highlight-text { color: var(--color-primary); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.bg-light { background-color: var(--color-bg-light); }
.dark-section {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}

/* Base Titles */
.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--color-bg-dark);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 1rem auto 3rem;
}
.title-underline {
    height: 4px;
    width: 60px;
    background-color: var(--color-primary);
    margin-bottom: 3rem;
    border-radius: 2px;
}
.center-underline { margin: 0 auto 3rem; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 15px rgba(0, 255, 135, 0.3);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 135, 0.4);
}
.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-bg-dark);
}
.btn-block {
    width: 100%;
    margin-top: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(5, 11, 20, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    z-index: 1001;
}
.site-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.logo-bold { font-weight: 800; }
.logo-light { 
    font-weight: 400; 
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}
.nav-link {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }
.btn-contact {
    background-color: rgba(255,255,255,0.1);
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
}
.btn-contact:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
}
.btn-contact::after { display: none; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-menu.active { transform: translateY(0); }
.mobile-link {
    font-size: 2rem;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
}
.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.5s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.6s; }
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* slightly scaled for animation */
    animation: slowZoom 20s infinite alternate linear;
}
@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5, 11, 20, 0.9), rgba(5, 11, 20, 0.4));
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: var(--container-width);
    width: 100%;
    padding: 0 2rem;
}
.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    font-weight: 300;
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-fade-up-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}
.animate-fade-up-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.active.reveal-up { opacity: 1; transform: translateY(0); }
.active.reveal-left { opacity: 1; transform: translateX(0); }
.active.reveal-right { opacity: 1; transform: translateX(0); }

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
}
.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/5;
    transition: transform 0.5s;
}
.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--color-primary);
    padding: 2rem;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-bg-dark);
    box-shadow: var(--shadow-md);
    z-index: 3;
    transform: scale(0.9);
}
.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}
.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
}
.about-text {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}
.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}
.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0,255,135,0.1);
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}
.feature-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-bg-dark);
}

/* Coaches Section */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}
.coach-card {
    background-color: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}
.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: rgba(0, 255, 135, 0.3);
}
.coach-img-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.coach-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.coach-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
}
.coach-card:hover .coach-overlay { opacity: 1; }
.coach-card:hover .coach-img { transform: scale(1.1); }
.coach-socials {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: var(--transition);
}
.coach-card:hover .coach-socials { transform: translateY(0); }
.coach-socials a {
    width: 40px; height: 40px;
    background-color: var(--color-primary);
    color: var(--color-bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}
.coach-socials a:hover {
    background-color: var(--color-white);
}
.coach-info {
    padding: 1.5rem;
    text-align: center;
}
.coach-name {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}
.coach-role {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.quote-container {
    background: linear-gradient(135deg, var(--color-surface), var(--color-surface-light));
    padding: 4rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}
.quote-container::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 40px;
    font-size: 8rem;
    font-family: var(--font-heading);
    color: rgba(0,255,135,0.1);
    line-height: 1;
}
.coach-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}


/* Batches */
.batches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.batch-card {
    padding: 3rem 2rem;
    background-color: var(--color-white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.batch-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.batch-card:hover {  box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.batch-card:hover::before { transform: scaleX(1); }
.active-batch {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}
.active-batch .batch-title, .active-batch .batch-days { color: var(--color-white); }
.active-batch .batch-desc { color: rgba(255,255,255,0.7); }
.active-batch::before {
    transform: scaleX(1);
}
.batch-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.batch-title {
    font-size: 1.8rem;
    color: var(--color-bg-dark);
    margin-bottom: 0.5rem;
}
.batch-days {
    color: var(--color-primary-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.batch-desc { color: var(--color-text); }


/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 400px;
    grid-auto-flow: dense;
    gap: 1.5rem;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item-wide {
    grid-column: span 2;
}
.gallery-item-tall {
    grid-row: span 2;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5,11,20,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}
.gallery-overlay span {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: var(--transition);
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

/* Contact Section */
.contact-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 3rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}
.contact-map {
    width: 100%;
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.contact-map:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
}
.contact-map iframe {
    display: block;
}
.contact-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    background: rgba(255,255,255,0.03);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    max-width: 500px;
    transition: var(--transition);
}
.contact-item:hover {
    background: rgba(0,255,135,0.05);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,255,135,0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-text h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}
.contact-text p { color: rgba(255,255,255,0.6); }



/* Footer */
.footer {
    background-color: #03080e;
    padding: 3rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-text {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a {
    color: var(--color-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.footer-socials a:hover { color: var(--color-primary); }


/* Responsiveness */
@media (max-width: 992px) {
    .about-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    .about-image-wrapper { margin-bottom: 3rem; max-width: 600px; margin: 0 auto; }
    .batches-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 250px;
    }
    .gallery-item-large, .gallery-item-wide, .gallery-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .section { padding: 5rem 0; }
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 2.5rem; }
    .batches-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 11, 20, 0.95);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: 50px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
