/* ============================================
   SIKULA TENNIS CLUB - MODERN DESIGN 2025/2026
   Sport-themed, Dynamic, Interactive
   ============================================ */

/* === MODERN CSS VARIABLES === */
:root {
    /* Brand Colors - Sport Energy */
    --primary: #00B894;          /* Vibrant Green */
    --primary-dark: #00876B;
    --primary-light: #55EFC4;
    --secondary: #FF6B6B;         /* Energy Red/Orange */
    --accent: #FFD93D;            /* Sunshine Yellow */
    --accent-glow: #FFC30F;
    
    /* Sport Palette */
    --tennis-green: #2ECC71;
    --court-orange: #FF8C42;
    --energy-blue: #4A90E2;
    --victory-gold: #F39C12;
    
    /* Neutrals - Modern */
    --dark: #0A0E27;
    --dark-glass: rgba(10, 14, 39, 0.6);
    --surface: #1A1F3A;
    --surface-light: #2C3354;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* Light Mode */
    --light-bg: #F8FAFC;
    --light-surface: #FFFFFF;
    --light-text: #1A1F3A;
    --light-text-secondary: #64748B;
    
    /* Gradients - Sport Energy */
    --gradient-hero: linear-gradient(135deg, #00B894 0%, #00876B 50%, #006F5A 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 184, 148, 0.1) 0%, rgba(0, 135, 107, 0.05) 100%);
    --gradient-accent: linear-gradient(90deg, #FFD93D 0%, #FF6B6B 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    
    /* Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --glass-blur: blur(12px);
    
    /* Shadows - Modern Depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.24);
    --shadow-neon: 0 0 20px rgba(0, 184, 148, 0.4);
    
    /* Typography - Sport Dynamic */
    --font-display: 'Poppins', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing - 8px Grid */
    --space-1: 0.25rem;  /* 4px */
    --space-2: 0.5rem;   /* 8px */
    --space-3: 0.75rem;  /* 12px */
    --space-4: 1rem;     /* 16px */
    --space-5: 1.5rem;   /* 24px */
    --space-6: 2rem;     /* 32px */
    --space-8: 3rem;     /* 48px */
    --space-10: 4rem;    /* 64px */
    --space-12: 6rem;    /* 96px */
    
    /* Border Radius - Modern */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Animation */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

*, *::before, *::after {
    max-width: 100%;
}

/* Animated Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 184, 148, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 217, 61, 0.08) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-5);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-4);
}

p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

/* Gradient Text Effect */
.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 20px rgba(0, 184, 148, 0.6);
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Fix per header fisso - aggiungi padding-top alle sezioni dopo header-inline */
.header-inline ~ section,
.header-inline ~ .container,
body > section:first-of-type {
    padding-top: 100px;
}

.section {
    padding: var(--space-12) 0;
    position: relative;
}

/* === GLASS MORPHISM COMPONENTS === */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

/* === MODERN HEADER === */
.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.modern-header.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: 1280px;
    margin: 0 auto;
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-neon);
}

/* === NAVIGATION === */
.nav-modern {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.nav-link {
    padding: var(--space-3) var(--space-4);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-50%);
    transition: width var(--transition-base);
}

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

.nav-link:hover::before {
    width: 80%;
}

.nav-link.active {
    color: var(--text-primary);
    background: var(--glass-bg);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: var(--space-2);
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* === HERO SECTION - SPORT ENERGY === */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

/* Animated Tennis Ball */
.hero-modern::after {
    content: '🎾';
    position: absolute;
    font-size: 200px;
    opacity: 0.03;
    right: -50px;
    top: 20%;
    animation: floatBall 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatBall {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-30px, -50px) rotate(90deg); }
    50% { transform: translate(0, -80px) rotate(180deg); }
    75% { transform: translate(30px, -50px) rotate(270deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-subtitle {
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-4);
    animation: slideUp 0.6s ease-out;
}

.hero-title {
    margin-bottom: var(--space-5);
    animation: slideUp 0.6s ease-out 0.2s backwards;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
    animation: slideUp 0.6s ease-out 0.4s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === MODERN BUTTONS === */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary-modern {
    background: var(--gradient-hero);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.4);
}

.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 184, 148, 0.6);
}

.btn-secondary-modern {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
}

.btn-secondary-modern:hover {
    background: var(--glass-bg);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

/* === BUTTON VARIANTS === */
.btn-primary-glow {
    background: linear-gradient(135deg, #00B894 0%, #00876B 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.4), 0 0 40px rgba(0, 184, 148, 0.2);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.btn-primary-glow:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 35px rgba(0, 184, 148, 0.6), 0 0 60px rgba(0, 184, 148, 0.3);
}

.btn-primary-glow:hover::before {
    width: 400px;
    height: 400px;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.18);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 184, 148, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 184, 148, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00B894;
    color: #00B894;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(0, 184, 148, 0.15);
}

.btn-outline:hover {
    background: rgba(0, 184, 148, 0.1);
    border-color: #55EFC4;
    color: #55EFC4;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.3);
}

.btn-primary-solid {
    background: #00B894;
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 184, 148, 0.3);
}

.btn-primary-solid:hover {
    background: #00A080;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 184, 148, 0.5);
}

/* Button size variants */
.btn-lg {
    padding: var(--space-5) var(--space-8);
    font-size: 1.125rem;
}

.btn-sm {
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
}

/* Icon spacing in buttons */
.btn-modern i,
.btn-primary-glow i,
.btn-glass i,
.btn-outline i,
.btn-primary-solid i {
    margin-right: var(--space-2);
}

/* === PROFILE ICON === */
.btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B894 0%, #00876B 100%);
    color: white !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 184, 148, 0.3);
    font-size: 20px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-profile::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-profile:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 184, 148, 0.5);
}

.btn-profile:hover::before {
    width: 100px;
    height: 100px;
}

.btn-profile i {
    position: relative;
    z-index: 1;
    margin: 0;
}


/* === AUTH LINK STYLES === */
.auth-link {
    color: #00B894 !important;
    text-decoration: none;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.auth-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00B894, #55EFC4);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.auth-link:hover {
    color: #55EFC4 !important;
    background: rgba(0, 184, 148, 0.1);
}

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

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* === CONTACT LINKS === */
a[href^="tel:"],
a[href^="mailto:"] {
    color: #00B894 !important;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    color: #55EFC4 !important;
    background: rgba(0, 184, 148, 0.1);
    transform: translateX(2px);
}

a[href^="tel:"]::before {
    content: "📞 ";
    margin-right: 4px;
}

a[href^="mailto:"]::before {
    content: "✉️ ";
    margin-right: 4px;
}


.btn-group {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    animation: slideUp 0.6s ease-out 0.6s backwards;
}

/* === CARD GRID - ASYMMETRIC LAYOUT === */
.card-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.sport-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-slow);
    cursor: pointer;
}

.sport-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 1;
}

.sport-card:hover::before {
    opacity: 1;
}

.sport-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.sport-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-accent);
    color: var(--dark);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    z-index: 2;
}

.card-content {
    padding: var(--space-6);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
}

/* === SERVICE CARDS – ALTERNATING HORIZONTAL LAYOUT === */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 184, 148, 0.12);
}

.service-card-reverse {
    flex-direction: row-reverse;
}

.service-card-image {
    position: relative;
    flex: 0 0 55%;
    max-width: 55%;
}

.service-card-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.service-card-image .card-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
}

.service-card-body {
    flex: 1;
    padding: 2.5rem 2.5rem 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-card-reverse .service-card-body {
    padding: 2.5rem 0 2.5rem 2.5rem;
}

/* === HOME NEWS GRID === */
.home-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.home-news-card {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.home-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 184, 148, 0.15);
    border-color: rgba(0, 184, 148, 0.35);
    color: inherit;
    text-decoration: none;
}

.home-news-image {
    width: 100%;
    overflow: hidden;
}

.home-news-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.home-news-card:hover .home-news-image img {
    transform: scale(1.04);
}

.home-news-body {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.4rem;
    flex: 1;
}

.home-news-date {
    font-size: .8rem;
    color: var(--text-secondary);
}

.home-news-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0;
}

.home-news-excerpt {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

/* === STATS SECTION - SPORT METRICS === */
.stats-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin: var(--space-8) 0;
}

.stat-card {
    text-align: center;
    padding: var(--space-6);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: var(--space-2);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* === FLOATING ACTION BUTTON === */
.fab {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 999;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-neon);
}

/* === SCROLL TO TOP === */
.scroll-top {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    /* Tablet Landscape */
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: clamp(32px, 5vw, 40px);
    }
    
    .card-grid-asymmetric {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-featured {
        grid-column: span 2;
    }
}

@media (max-width: 820px) {
    /* iPad Air Portrait & Tablets */
    :root {
        --space-12: 5rem;
        --space-10: 4rem;
        --space-8: 3rem;
    }
    
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 18px;
    }
    
    /* Hero iPad */
    .hero-modern {
        min-height: 85vh;
        padding-top: 140px;
    }
    
    .hero-title-modern {
        font-size: clamp(36px, 6vw, 48px);
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats-inline {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat-inline {
        min-width: 150px;
    }
    
    /* Cards iPad */
    .card-grid-asymmetric,
    .card-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
    
    .card-featured {
        grid-column: span 2;
    }
    
    /* Stats iPad */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    :root {
        --space-12: 4rem;
        --space-10: 3rem;
        --space-8: 2.5rem;
    }
    
    body {
        font-size: 15px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    /* Hero Modern Mobile */
    .hero-modern {
        min-height: 90vh;
        padding-top: 120px;
        padding-bottom: var(--space-8);
    }
    
    .hero-content-modern {
        max-width: 100%;
        padding: 0 var(--space-2);
    }
    
    .hero-badge {
        font-size: 12px;
        padding: var(--space-2) var(--space-4);
    }
    
    .hero-title-modern {
        font-size: clamp(32px, 8vw, 42px);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .hero-stats-inline {
        flex-direction: column;
        gap: var(--space-3);
        width: 100%;
    }
    
    .stat-inline {
        flex: 1;
        min-width: 100%;
        padding: var(--space-3);
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }
    
    .btn-modern {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .hero-scroll-hint {
        margin-top: var(--space-6);
        font-size: 13px;
    }
    
    /* Sections Mobile */
    .section-modern {
        padding: var(--space-8) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-6);
    }
    
    .section-title {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: var(--space-3);
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    /* Cards Mobile */
    .card-grid-asymmetric,
    .card-grid-modern,
    .card-grid-tornei,
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .card-modern {
        border-radius: var(--radius-lg);
    }

    .card-featured {
        grid-column: 1;
    }

    /* Service cards mobile – stack vertically */
    .service-card,
    .service-card-reverse {
        flex-direction: column;
        gap: 0;
    }

    .service-card-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .service-card-body,
    .service-card-reverse .service-card-body {
        padding: 1.5rem;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .card-meta {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    /* Stats Mobile */
    .stats-section {
        padding: var(--space-8) 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .stat-card {
        padding: var(--space-4);
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: var(--space-8) var(--space-4);
    }
    
    .cta-title {
        font-size: clamp(28px, 7vw, 36px);
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-lg {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
    
    /* Scroll to Top Mobile */
    .scroll-to-top {
        bottom: 70px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    /* Hero Extra Small */
    .hero-modern {
        min-height: 85vh;
        padding-top: 100px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .hero-title-modern {
        font-size: clamp(28px, 7vw, 36px);
        margin-bottom: var(--space-4);
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: var(--space-5);
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .btn-modern {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-modern i {
        font-size: 14px;
    }
    
    /* Sections Extra Small */
    .section-modern {
        padding: var(--space-6) 0;
    }
    
    .section-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    /* Cards Extra Small */
    .card-grid-asymmetric,
    .card-grid-modern,
    .card-grid-tornei,
    .news-grid {
        gap: var(--space-4);
    }
    
    .card-modern {
        border-radius: var(--radius-md);
    }
    
    .card-content-modern {
        padding: var(--space-4);
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    .card-meta {
        font-size: 11px;
    }
    
    /* Stats Extra Small */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    
    .stat-card {
        padding: var(--space-4);
    }
    
    .stat-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* CTA Extra Small */
    .cta-section {
        padding: var(--space-6) var(--space-3);
    }
    
    .cta-title {
        font-size: clamp(24px, 6vw, 32px);
    }
    
    .cta-subtitle {
        font-size: 13px;
    }
    
    .btn-lg {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    /* Scroll to Top Extra Small */
    .scroll-to-top {
        bottom: 60px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* News Cards */
    .news-card {
        border-radius: var(--radius-md);
    }
    
    .news-title {
        font-size: 16px;
    }
    
    .news-excerpt {
        font-size: 13px;
    }
    
    .news-meta {
        font-size: 11px;
    }
}
}


/* === LOADING ANIMATION === */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.hidden { display: none; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: var(--space-4); }


/* === SIMPLE HEADER STYLES === */
.header-simple {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 184, 148, 0.3);
}

.logo-simple img {
    height: 50px;
}

.hamburger-simple {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    background: rgba(10, 14, 39, 0.95);
    border: 2px solid #00B894;
    border-radius: 12px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 10002;
}

.hamburger-simple span {
    display: block;
    width: 24px;
    height: 2px;
    background: #00B894;
    transition: all 0.3s;
}

.hamburger-simple.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-simple.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-simple.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-simple {
    display: flex;
    gap: 20px;
}

.nav-simple a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
}

.nav-simple a:hover {
    background: rgba(0, 184, 148, 0.2);
    color: #00B894;
}

.overlay-simple {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

.overlay-simple.active {
    opacity: 1;
}

@media (max-width: 768px) {
    .hamburger-simple {
        display: flex;
    }
    
    .overlay-simple {
        display: block;
    }
    
    .nav-simple {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 180px;
        max-width: 45vw;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(30px);
        border-left: 3px solid #00B894;
        padding: 10px;
        flex-direction: column;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.3s;
        z-index: 10001;
        overflow-y: auto;
    }
    
    .nav-simple.active {
        transform: translateX(0);
    }
    
    .nav-simple a {
        padding: 12px 10px;
        font-size: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }
}

