@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

/* =====================================================
    SITE COLOR THEME
    Edit your site's main colors here.
=====================================================
*/
:root {
    /* Background Colors */
    --color-bg-dark: #0f172a;       /* slate-900 */
    --color-bg-darker: #020617;     /* slate-950 */
    --color-bg-medium: #1e293b;    /* slate-800 */
    --color-bg-light: #334155;     /* slate-700 */
    --color-border: #334155;       /* slate-700 */

    /* Text Colors */
    --color-text-light: #f8fafc;   /* slate-50 */
    --color-text-medium: #cbd5e1;  /* slate-300 */
    --color-text-dark: #94a3b8;    /* slate-400 */

    /* Brand Colors (Gold) */
    --color-brand-gold: #f59e0b;   /* amber-400 */
    --color-brand-gold-hover: #fcd34d; /* amber-300 */
    --color-text-on-gold: #0f172a; /* slate-900 */
}
/* =====================================================
    END OF THEME
=====================================================
*/

/* =====================================================
    BASE & LAYOUT
    Mobile-first styles and layout helpers.
=====================================================
*/
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg-dark);
}

/* Sleek dark blue gradient */
.gradient-bg {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
}

/* Video Overlay */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: 1; /* Sits on top of the body bg */
    opacity: 0.15; /* Adjust for subtlety */
    pointer-events: none; /* Allows clicking through */
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2; /* Sits on top of the overlay */
    background-color: transparent; 
}

/* New Stacking Context for Sections */
.section-bg {
    position: relative;
    z-index: 2; /* Sits above overlay */
}
.section-content {
    position: relative;
    z-index: 3; /* Sits above section-bg and overlay */
}

/* =====================================================
    COMPONENTS
    Styles for specific components like Hero, Cards, etc.
=====================================================
*/

/* Hero Section (Homepage) */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1; /* Hero video bg */
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2; /* Sits on top of hero video */
}

.hero-content {
    position: relative;
    z-index: 3; /* Sits on top of hero overlay */
}

/* Subpage Hero Banner (All other pages) */
.subpage-hero {
    position: relative;
    height: 40vh; /* Shorter than homepage hero */
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem; /* Account for fixed header height */
}

.subpage-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1; /* Subpage video bg */
    object-fit: cover;
}

.subpage-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2; /* Sits on top of subpage video */
}

.subpage-hero-content {
    position: relative;
    z-index: 3; /* Sits on top of subpage overlay */
    text-align: center;
}


/* Header */
header {
    transition: background-color 0.3s ease-in-out;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Membership Card Hover Effect */
.membership-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.2), 0 10px 10px -5px rgba(245, 158, 11, 0.1);
}

/* Service Image Hover */
.service-image-container img,
.service-image-container video {
    transition: transform 0.4s ease-out;
}

.service-image-container:hover img,
.service-image-container:hover video {
    transform: scale(1.05);
}

/* Gradient Button */
.btn-gradient {
    background-image: linear-gradient(to right, var(--color-brand-gold) 0%, var(--color-brand-gold-hover) 50%, var(--color-brand-gold) 100%);
    background-size: 200% auto;
    color: var(--color-text-on-gold);
    transition: 0.5s;
}

.btn-gradient:hover {
    background-position: right center; /* change the direction of the change here */
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
}

/* Membership Tab Button Styles */
.tab-btn {
    /* Applying Tailwind classes via CSS */
    background-color: var(--color-bg-medium);
    color: var(--color-text-light);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.75rem;
    transition: all 0.3s ease-in-out;
}

.tab-btn.active {
    background-color: var(--color-brand-gold) !important;
    color: var(--color-text-on-gold) !important;
    box-shadow: 0 4px 14px 0 rgba(245, 158, 11, 0.3);
}

.tab-btn:hover:not(.active) {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
}

/* Schedule Tab Button Styles */
.schedule-tab-btn {
    /* Applying Tailwind classes via CSS */
    font-size: 0.875rem; /* text-sm */
    line-height: 1.25rem;
    font-weight: 600; /* font-semibold */
    padding-top: 0.75rem; /* py-3 */
    padding-bottom: 0.75rem;
    padding-left: 1rem; /* px-4 */
    padding-right: 1rem;
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.3s ease-in-out;
    background-color: var(--color-bg-medium);
    color: var(--color-text-light);
}
/* Apply responsive sizing */
@media (min-width: 768px) {
    .schedule-tab-btn {
        font-size: 1.125rem; /* md:text-lg */
        line-height: 1.75rem;
        padding-left: 1.5rem; /* md:px-6 */
        padding-right: 1.5rem;
    }
}

.schedule-tab-btn.active {
    background-color: var(--color-brand-gold) !important;
    color: var(--color-text-on-gold) !important;
}

.schedule-tab-btn:hover:not(.active) {
    background-color: var(--color-bg-light);
    transform: translateY(-2px);
}

/* Class Description Highlight */
.highlight {
    box-shadow: 0 0 25px var(--color-brand-gold-hover);
    transform: scale(1.02);
    transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}

