/* ==========================================================================
   FNS Padel Academy CSS - Premium Modern Sports Design (Responsive & SEO Optimized)
   ========================================================================== */

/* --- DESIGN SYSTEM VARIABLES (Default Dark Theme) --- */
:root {
    --bg-primary: #07090e;
    --bg-secondary: #0e121a;
    --bg-card: rgba(20, 27, 41, 0.55);
    --bg-input: rgba(14, 18, 26, 0.8);
    
    --accent: #ccff00;      /* Neon Padel Yellow */
    --accent-rgb: 204, 255, 0;
    --accent-hover: #b8e600;
    --accent-glow: rgba(204, 255, 0, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(204, 255, 0, 0.2);
    
    --glass-bg: rgba(11, 15, 23, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --- SYSTEM LIGHT THEME OVERRIDES --- */
@media (prefers-color-scheme: light) {
    :root {
        --bg-primary: #f8fafc;
        --bg-secondary: #ffffff;
        --bg-card: #ffffff;
        --bg-input: #f1f5f9;
        
        --accent: #1e3a8a; /* Deep Navy Blue for high contrast on light backgrounds */
        --accent-rgb: 30, 58, 138;
        --accent-hover: #172554;
        --accent-glow: rgba(30, 58, 138, 0.15);
        
        --text-primary: #0f172a;
        --text-secondary: #475569;
        --text-muted: #64748b;
        
        --border-color: #e2e8f0;
        --border-glow: #cbd5e1;
        
        --glass-bg: rgba(255, 255, 255, 0.85);
        --glass-border: rgba(226, 232, 240, 0.8);
        --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    }
    
    /* Adapt buttons for high-contrast light theme accessibility */
    .btn-primary {
        background-color: #15803d !important; /* Sporty green for primary CTA */
        color: #ffffff !important;
        box-shadow: 0 4px 15px rgba(21, 128, 61, 0.2) !important;
    }
    
    .btn-primary:hover {
        background-color: #166534 !important;
        box-shadow: 0 6px 20px rgba(21, 128, 61, 0.3) !important;
    }
    
    .btn-accent {
        background-color: #1e3a8a !important;
        color: #ffffff !important;
    }
    
    .btn-accent:hover {
        background-color: #1d4ed8 !important;
        box-shadow: 0 6px 20px rgba(30, 58, 138, 0.2) !important;
    }
    
    .btn-outline {
        border-color: #15803d !important;
        color: #15803d !important;
    }
    
    .btn-outline:hover {
        background-color: #15803d !important;
        color: #ffffff !important;
    }
    
    /* Invert logo in light mode so the neon lines show as dark charcoal */
    .logo-img {
        filter: brightness(0.1) contrast(1.2);
    }
    
    .hero-overlay {
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.78) 0%, rgba(248, 250, 252, 0.68) 50%, rgba(248, 250, 252, 0.88) 100%) !important;
    }
    
    .gradient-text {
        background: linear-gradient(135deg, #1e3a8a 0%, #15803d 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }
    
    .hero-wave .shape-fill {
        fill: #f8fafc !important;
    }
    
    .about-image-card {
        border-color: #e2e8f0;
    }
    
    .experience-badge {
        background-color: #15803d !important;
        color: #ffffff !important;
        box-shadow: 0 10px 30px rgba(21, 128, 61, 0.2) !important;
    }
    
    .feature-icon {
        background-color: rgba(21, 128, 61, 0.1) !important;
        color: #15803d !important;
        border-color: rgba(21, 128, 61, 0.2) !important;
    }
    
    .info-card {
        background-color: #ffffff !important;
    }
    
    .icon-location {
        background-color: rgba(21, 128, 61, 0.1) !important;
        color: #15803d !important;
        border-color: rgba(21, 128, 61, 0.2) !important;
    }
    
    .map-placeholder {
        background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%23f1f5f9"/%3E%3Cpath d="M10 0 L10 100 M20 0 L20 100 M30 0 L30 100 M40 0 L40 100 M50 0 L50 100 M60 0 L60 100 M70 0 L70 100 M80 0 L80 100 M90 0 L90 100 M0 10 L100 10 M0 20 L100 20 M0 30 L100 30 M0 40 L100 40 M0 50 L100 50 M0 60 L100 60 M0 70 L100 70 M0 80 L100 80 M0 90 L100 90" stroke="%23e2e8f0" stroke-width="0.5"/%3E%3C/svg%3E') !important;
    }
    
    .map-overlay {
        background-color: rgba(255, 255, 255, 0.88) !important;
    }
    
    .map-overlay i {
        color: #15803d !important;
    }
    
    .footer {
        background-color: #0d121c !important; /* Keep footer dark for premium styling consistency */
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .footer .logo-img {
        filter: none !important; /* Keep original neon yellow logo on the dark footer */
    }
    
    .footer-bottom {
        background-color: #07090e !important;
    }
}

/* --- RESET & GLOBAL STYLES --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section {
    padding: 80px 0;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 100px 0;
    }
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- COMMON COMPONENTS --- */
.section-header {
    margin-bottom: 50px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 60px;
    }
}

.section-subtitle {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.8rem;
    }
}

.section-description {
    color: var(--text-secondary);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

/* --- BUTTONS (Touch Targets Optimized) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    min-height: 48px; /* Touch target size optimization */
    min-width: 44px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(204, 255, 0, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(204, 255, 0, 0.35);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-accent:hover {
    background-color: var(--accent);
    color: var(--bg-primary);
    box-shadow: 0 6px 25px rgba(204, 255, 0, 0.3);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
    min-height: 40px;
}

/* --- CARDS --- */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

.header.scrolled {
    background-color: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    box-shadow: var(--glass-shadow);
}

.header-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px; /* Accessible Touch Area */
}

.logo-img {
    height: 44px;
    width: auto;
    transition: filter var(--transition-fast);
}

.logo-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    line-height: 1.05;
    width: fit-content;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 3px;
    margin-bottom: 3px;
    display: block;
    width: 100%;
    text-align: center;
    transition: border-bottom-color var(--transition-normal);
}

.logo-subtext {
    font-family: var(--font-heading);
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    width: 100%;
    line-height: 1;
    letter-spacing: 0;
}

.accent-text {
    color: var(--accent);
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 12px 0; /* Increase touch target area */
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    background: rgba(7, 9, 14, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1200;
    flex: 0 0 auto;
}

.language-link {
    min-width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    place-items: center;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 0.85;
    filter: grayscale(0.35);
    opacity: 0.72;
    transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast), filter var(--transition-fast);
}

.language-link small {
    margin-top: 3px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.language-link:hover,
.language-link.active {
    background-color: rgba(var(--accent-rgb), 0.16);
    filter: none;
    opacity: 1;
    transform: translateY(-1px);
}

.language-link.active {
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.45);
}

/* Menu Toggle Button (Touch Area optimized) */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px; /* Optimized 44x44 touch target */
    height: 44px;
    padding: 13px 9px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (min-width: 992px) {
    .nav {
        display: block;
    }
    
    .menu-toggle {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .header-container > .logo-container .logo-brand,
    .header-btn,
    .btn-music {
        display: none;
    }

    .nav-list {
        gap: 15px;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .header-actions {
        gap: 8px;
    }

    .language-link {
        min-width: 32px;
        width: 32px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Mobile Menu Active State */
@media (max-width: 991px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background-color: var(--bg-secondary);
        z-index: 1050;
        padding: 100px 30px 40px;
        transition: var(--transition-normal);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.45);
        border-left: 1px solid var(--border-color);
        display: block;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-link {
        font-size: 1.25rem;
        width: 100%;
    }
    
    .header-btn {
        display: none; /* Hide playtomic header button on mobile to save space */
    }

    .header-actions {
        gap: 8px;
    }

    .language-link {
        min-width: 36px;
        height: 38px;
        font-size: 1.05rem;
    }
    
    /* Toggle Hamburger Animation */
    .menu-toggle.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 520px) {
    .btn-music {
        display: none;
    }

    .logo-brand {
        display: none;
    }

    .language-switcher {
        gap: 2px;
        padding: 3px;
    }

    .header-container {
        padding-right: 10px;
        padding-left: 12px;
    }

    .language-link {
        min-width: 32px;
        width: 32px;
        height: 36px;
    }

    .language-link small {
        font-size: 0.48rem;
    }

    .menu-toggle {
        width: 40px;
        padding-right: 7px;
        padding-left: 7px;
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 80px;
    background-image: url('assets/fns-hero.webp');
    background-size: cover;
    background-position: center 8%; /* Shifted down slightly to frame heads perfectly */
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 9, 14, 0.88) 0%, rgba(7, 9, 14, 0.68) 50%, rgba(7, 9, 14, 0.98) 100%);
    z-index: 1;
    transition: background var(--transition-normal);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 750px;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(204, 255, 0, 0.08);
    border: 1px solid rgba(204, 255, 0, 0.2);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
    transition: color var(--transition-normal);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 35px;
}

.hero-wave .shape-fill {
    fill: var(--bg-primary);
    transition: fill var(--transition-normal);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .stat-number {
        font-size: 2.4rem;
    }
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--bg-primary);
}

.about-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--glass-shadow);
}

.about-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center top; /* Prevent cutting heads off */
}

@media (min-width: 768px) {
    .about-img {
        height: 480px;
    }
}

.experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: var(--accent);
    color: var(--bg-primary);
    padding: 14px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.badge-years {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.features-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(204, 255, 0, 0.08);
    color: var(--accent);
    border: 1px solid rgba(204, 255, 0, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- PROGRAMS SECTION --- */
.programs {
    background-color: var(--bg-secondary);
}

.program-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-img-wrapper {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Ensure heads/faces aren't cut off */
    transition: var(--transition-normal);
}

.program-card:hover .card-img {
    transform: scale(1.06);
}

.card-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--border-color);
}

.tag-featured {
    background-color: var(--accent);
    color: var(--bg-primary);
    border: none;
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .card-body {
        padding: 30px;
    }
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-features {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-features li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-features i {
    color: var(--accent);
}

.featured-card {
    border: 1px solid var(--border-glow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- FACILITIES SECTION --- */
.facilities {
    background-color: var(--bg-primary);
}

.facilities-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.facilities-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.facilities-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 35px;
}

@media (min-width: 480px) {
    .facilities-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.spec-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.spec-icon {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 12px;
}

.spec-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.spec-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.facilities-gallery {
    display: flex;
    align-items: center;
}

.gallery-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    width: 100%;
}

.gallery-img-main {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery-img-main {
        height: 450px;
    }
}

.gallery-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background-color: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-fast);
}

.gallery-map-link {
    display: block;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
}

.gallery-map-link .gallery-img-main {
    transition: transform var(--transition-normal);
}

.gallery-map-link:hover .gallery-img-main {
    transform: scale(1.04);
}

.gallery-map-link:hover .gallery-badge {
    background-color: var(--accent);
    color: var(--bg-primary);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* --- TESTIMONIALS SECTION --- */
.testimonials {
    background-color: var(--bg-secondary);
}

.testimonial-card {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 35px;
    }
}

.rating {
    color: #f59e0b; /* Bright Amber for Star ratings (good contrast in light/dark) */
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    gap: 4px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}

.user-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.user-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.google-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-badge i {
    color: #4285F4;
}

.featured-testimonial {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-link-wrapper {
    margin-top: 40px;
}

/* --- FREQUENTLY ASKED QUESTIONS SECTION --- */
.faq {
    background-color: var(--bg-primary);
}

.faq-list {
    display: grid;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover,
.faq-item[open] {
    border-color: var(--border-glow);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 18px 22px;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-full);
    background-color: rgba(var(--accent-rgb), 0.1);
    color: var(--accent);
    font-size: 1.35rem;
    font-weight: 500;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] summary::after {
    content: '−';
    transform: rotate(180deg);
    background-color: rgba(var(--accent-rgb), 0.18);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -3px;
    border-radius: var(--radius-md);
}

.faq-answer {
    padding: 0 22px 22px;
    color: var(--text-secondary);
}

.faq-answer p {
    line-height: 1.75;
}

.faq-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.faq-link:hover {
    color: var(--accent-hover);
}

@media (min-width: 768px) {
    .faq-item summary {
        min-height: 72px;
        padding: 20px 28px;
        font-size: 1.12rem;
    }

    .faq-answer {
        padding: 0 28px 24px;
    }
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--bg-primary);
}

.contact-card {
    padding: 30px;
}

@media (min-width: 768px) {
    .contact-card {
        padding: 40px;
    }
}

.contact-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 576px) {
    .form-group-row {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

input, select, textarea {
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px; /* Mandated 16px to prevent iOS Safari auto-zooming */
    outline: none;
    transition: var(--transition-fast);
    width: 100%;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='gray' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

textarea {
    resize: none;
}

.error-msg {
    color: #ef4444;
    font-size: 0.8rem;
    display: none;
    margin-top: 4px;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition-fast);
    min-height: 48px; /* Touch target */
}

.info-card:hover {
    border-color: var(--border-glow);
    transform: translateX(4px);
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.icon-whatsapp {
    background-color: rgba(37, 211, 102, 0.08);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.icon-instagram {
    background-color: rgba(225, 48, 108, 0.08);
    color: #E1306C;
    border: 1px solid rgba(225, 48, 108, 0.15);
}

.icon-location {
    background-color: rgba(204, 255, 0, 0.08);
    color: var(--accent);
    border: 1px solid rgba(204, 255, 0, 0.15);
    transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal);
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.info-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

/* Map Placement */
.map-placeholder {
    height: 250px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(rgba(7, 9, 14, 0.5), rgba(7, 9, 14, 0.5)), url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="100" height="100" fill="%230e121a"/%3E%3Cpath d="M10 0 L10 100 M20 0 L20 100 M30 0 L30 100 M40 0 L40 100 M50 0 L50 100 M60 0 L60 100 M70 0 L70 100 M80 0 L80 100 M90 0 L90 100 M0 10 L100 10 M0 20 L100 20 M0 30 L100 30 M0 40 L100 40 M0 50 L100 50 M0 60 L100 60 M0 70 L100 70 M0 80 L100 80 M0 90 L100 90" stroke="%231a2233" stroke-width="0.5"/%3E%3C/svg%3E');
    background-size: 40px 40px;
    transition: background-image var(--transition-normal);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 14, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: background-color var(--transition-normal);
}

.map-overlay i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
    transition: color var(--transition-normal);
}

.map-overlay h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.map-overlay p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* --- FOOTER --- */
.footer {
    background-color: #040508;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
    transition: background-color var(--transition-normal), border-top var(--transition-normal);
}

@media (min-width: 768px) {
    .footer {
        padding-top: 80px;
    }
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 1.8fr 1fr 1.2fr;
        gap: 50px;
        padding-bottom: 50px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 44px; /* Touch target minimum */
    height: 44px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.social-links a:hover {
    color: #07090e;
    background-color: #ccff00;
    border-color: #ccff00;
    transform: translateY(-2px);
}

.footer-links h4, .footer-hours h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::before, .footer-hours h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: inline-block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hours li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    background-color: #020305;
    transition: background-color var(--transition-normal);
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-secondary);
    border-bottom: 1px solid var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

@media (min-width: 768px) {
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* --- FLOATING WHATSAPP BUTTON (Touch Area Optimized) --- */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-floating:hover {
    transform: scale(1.08);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-floating .tooltip-text {
    position: absolute;
    right: 75px;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    box-shadow: var(--glass-shadow);
}

.whatsapp-floating:hover .tooltip-text {
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* --- SCROLL ANIMATIONS (INTERSECTION OBSERVER) --- */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity var(--transition-slow), transform var(--transition-slow);
    will-change: transform, opacity; /* Browser performance optimization */
}

.reveal-up {
    transform: translateY(18px);
}

.reveal-left {
    transform: translateX(-18px);
}

.reveal-right {
    transform: translateX(18px);
}

.reveal-up.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* --- MUSIC TOGGLE BUTTON --- */
.btn-music {
    width: 44px; /* Touch target minimum */
    height: 44px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    outline: none;
    position: relative;
}

.btn-music:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transform: scale(1.05);
}

.btn-music.playing {
    color: var(--bg-primary);
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Pulse animation when playing */
.btn-music.playing::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    animation: music-pulse 1.5s infinite;
    pointer-events: none;
}

@keyframes music-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Light mode overrides for music button */
@media (prefers-color-scheme: light) {
    .btn-music {
        background-color: #ffffff !important;
        border-color: #e2e8f0 !important;
        color: #475569 !important;
    }
    
    .btn-music:hover {
        color: #15803d !important;
        border-color: #15803d !important;
        box-shadow: 0 0 12px rgba(21, 128, 61, 0.15) !important;
    }
    
    .btn-music.playing {
        background-color: #15803d !important;
        border-color: #15803d !important;
        color: #ffffff !important;
        box-shadow: 0 0 15px rgba(21, 128, 61, 0.3) !important;
    }
    
    .btn-music.playing::after {
        border-color: #15803d !important;
    }
}

/* --- WELCOME MESSAGE --- */
.welcome-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 9, 14, 0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 280ms ease, visibility 280ms ease;
}

.welcome-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.welcome-card {
    position: relative;
    width: min(560px, calc(100vw - 40px));
    padding: 42px 38px 36px;
    overflow: hidden;
    border: 1px solid rgba(var(--accent-rgb), 0.45);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top, rgba(var(--accent-rgb), 0.12), transparent 48%),
        #07090e;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.58), 0 0 35px rgba(var(--accent-rgb), 0.12);
    text-align: center;
    transform: translateY(18px) scale(0.98);
    transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.welcome-overlay.active .welcome-card {
    transform: translateY(0) scale(1);
}

.welcome-logo {
    display: block;
    width: 72px;
    height: 86px;
    margin: 0 auto 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), 0.22));
}

.welcome-card h2 {
    margin-bottom: 24px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.welcome-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #07090e;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.2);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.welcome-link:hover,
.welcome-link:focus-visible {
    background: var(--accent-hover);
    color: #07090e;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.3);
    outline: none;
}

.welcome-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0 0 4px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1.85rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.welcome-close:hover,
.welcome-close:focus-visible {
    background: var(--accent);
    color: #07090e;
    border-color: var(--accent);
    outline: none;
}

.welcome-timer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

.welcome-timer span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform-origin: left;
    animation: welcome-countdown 3s linear forwards;
    animation-play-state: paused;
}

.welcome-overlay.active .welcome-timer span {
    animation-play-state: running;
}

@keyframes welcome-countdown {
    to { transform: scaleX(0); }
}

@media (max-width: 480px) {
    .welcome-card {
        width: calc(100vw - 28px);
        padding: 36px 22px 30px;
        border-radius: 18px;
    }

    .welcome-logo {
        width: 62px;
        height: 74px;
        margin-bottom: 16px;
    }

    .welcome-card h2 {
        margin-bottom: 20px;
    }

    .welcome-link {
        width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (prefers-color-scheme: light) {
    .welcome-link {
        background: #15803d;
        color: #ffffff;
        box-shadow: 0 8px 24px rgba(21, 128, 61, 0.24);
    }

    .welcome-link:hover,
    .welcome-link:focus-visible {
        background: #166534;
        color: #ffffff;
        box-shadow: 0 10px 28px rgba(21, 128, 61, 0.32);
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-overlay,
    .welcome-card {
        transition: none;
    }
}

/* --- PACKS SECTION --- */
.packs {
    background-color: var(--bg-secondary);
    position: relative;
}

.pack-card {
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.pack-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-glow);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.pack-badge {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pack-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: rgba(204, 255, 0, 0.08);
    border-radius: var(--radius-full);
    border: 1px solid rgba(204, 255, 0, 0.15);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.05);
}

.pack-hours {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.hours-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.hours-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-top: 2px;
}

.pack-features {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-grow: 1;
}

.pack-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.pack-features li i {
    color: var(--accent);
    margin-top: 3px;
    font-size: 1rem;
}

.pack-action {
    width: 100%;
}

/* Featured Pack Style (FNS Pro) */
.featured-pack {
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.03) 0%, rgba(7, 9, 14, 0.2) 100%);
    border-color: rgba(204, 255, 0, 0.3);
    box-shadow: 0 10px 30px rgba(204, 255, 0, 0.05);
}

.featured-pack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.featured-pack .pack-icon {
    background: var(--accent-gradient);
    color: var(--bg-primary);
    border: none;
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Ribbons / Tags */
.pack-tag-ribbon {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 1px;
}

/* --- LIGHT MODE ADJUSTMENTS FOR PACKS --- */
@media (prefers-color-scheme: light) {
    .packs {
        background-color: #f8fafc;
    }
    
    .pack-card {
        background-color: #ffffff;
        border-color: #e2e8f0;
        box-shadow: 0 4px 6px rgba(15, 23, 42, 0.03);
    }
    
    .pack-card:hover {
        border-color: #15803d;
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    }
    
    .pack-icon {
        background: rgba(21, 128, 61, 0.08);
        color: #15803d;
        border-color: rgba(21, 128, 61, 0.15);
        box-shadow: none;
    }
    
    .hours-label {
        color: #15803d;
    }
    
    .featured-pack {
        background: linear-gradient(135deg, rgba(21, 128, 61, 0.03) 0%, rgba(255, 255, 255, 1) 100%);
        border-color: rgba(21, 128, 61, 0.25);
    }
    
    .featured-pack .pack-icon {
        background: linear-gradient(135deg, #15803d 0%, #166534 100%);
        color: #ffffff;
    }
    
    .featured-pack::before {
        background: linear-gradient(90deg, #15803d, #166534);
    }
    
    .pack-tag-ribbon {
        background-color: #15803d;
        color: #ffffff;
    }
    
    .pack-features li i {
        color: #15803d;
    }
}
