/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Colors */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #e94560;
    --accent-light: #ff6b88;
    --text-dark: #1a1a2e;
    --text-light: #f5f5f5;
    --text-gray: #6c757d;
    --background-light: #f8f9fa;
    --background-dark: #0f1419;
    
    /* Belt Colors */
    --white-belt: #ffffff;
    --blue-belt: #0066cc;
    --purple-belt: #8b00ff;
    --brown-belt: #654321;
    --black-belt: #000000;
    
    /* Medal Colors */
    --gold: #ffd700;
    --silver: #c0c0c0;
    --bronze: #cd7f32;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Typography */
    --font-heading: 'Bebas Neue', cursive;
    --font-subheading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.fade-in-up.delay-1 { animation-delay: 0.2s; }
.fade-in-up.delay-2 { animation-delay: 0.4s; }
.fade-in-up.delay-3 { animation-delay: 0.6s; }
.fade-in-up.delay-4 { animation-delay: 0.8s; }

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .athlete-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    font-family: var(--font-subheading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: 
        linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 100%),
        url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-belt {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.belt-rank {
    color: var(--blue-belt);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

.belt-separator {
    margin: 0 15px;
    color: var(--accent-color);
}

.hero-motto {
    font-style: italic;
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--accent-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===================================
   About Section
   =================================== */
.about {
    padding: var(--section-padding);
    background: var(--background-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: start;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 102, 204, 0.9);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-family: var(--font-subheading);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    font-family: var(--font-subheading);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.highlight-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.highlight-content h4 {
    font-family: var(--font-subheading);
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.highlight-content p {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.training-schedule {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
}

.training-schedule h4 {
    font-family: var(--font-subheading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

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

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-light);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Belt Progression */
.belt-progression {
    margin-top: 60px;
}

.belt-progression h3 {
    font-family: var(--font-subheading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.progression-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.progression-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.belt-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 4px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    margin-bottom: 15px;
    transition: all var(--transition-normal);
}

.progression-item.completed .belt-dot {
    border-color: var(--accent-color);
    animation: pulse 2s infinite;
}

.progression-item.current .belt-dot {
    border-color: var(--blue-belt);
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
    animation: pulse 2s infinite;
}

.white-belt { background: var(--white-belt) !important; }
.blue-belt { background: var(--blue-belt) !important; }
.purple-belt { background: var(--purple-belt) !important; }
.brown-belt { background: var(--brown-belt) !important; }
.black-belt { background: var(--black-belt) !important; }

.progression-line {
    flex: 1;
    height: 4px;
    background: #ddd;
    position: relative;
}

.progression-line.completed {
    background: var(--accent-color);
}

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

.progression-info h4 {
    font-family: var(--font-subheading);
    font-size: 1rem;
    margin-bottom: 5px;
}

.progression-info p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ===================================
   Competitions Section
   =================================== */
.competitions {
    padding: var(--section-padding);
    background: white;
}

.medal-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.medal-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.medal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gold-card {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
}

.silver-card {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
}

.bronze-card {
    background: linear-gradient(135deg, #cd7f32, #d4926f);
}

.total-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.medal-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.medal-count {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    display: block;
    margin-bottom: 10px;
}

.medal-label {
    font-family: var(--font-subheading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Competition Filters */
.competition-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

/* Competition Timeline */
.competition-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item.hidden {
    display: none;
}

.timeline-date {
    min-width: 120px;
    text-align: right;
    padding-top: 10px;
}

.timeline-date .month {
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color);
    display: block;
}

.timeline-date .year {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.timeline-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--accent-color);
    position: relative;
    z-index: 2;
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: var(--accent-color);
    opacity: 0.3;
}

.timeline-content {
    flex: 1;
    background: var(--background-light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.timeline-content:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.competition-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.competition-name {
    font-family: var(--font-subheading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.medal-badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.medal-badge.gold {
    background: var(--gold);
    color: #000;
}

.medal-badge.silver {
    background: var(--silver);
    color: #000;
}

.medal-badge.bronze {
    background: var(--bronze);
    color: #fff;
}

.competition-details {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.competition-details p {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.competition-details i {
    color: var(--accent-color);
    width: 20px;
}

.competition-stats {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.stat-value {
    font-weight: 700;
    color: var(--primary-color);
}

.timeline-actions {
    text-align: center;
    margin-top: 40px;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    padding: var(--section-padding);
    background: var(--background-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    aspect-ratio: 1;
}

.gallery-item.hidden {
    display: none;
}

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

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: white;
    font-family: var(--font-subheading);
    font-weight: 600;
}

/* Video Section */
.video-section {
    margin-top: 60px;
}

.video-section h3 {
    font-family: var(--font-subheading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.video-placeholder p {
    font-family: var(--font-subheading);
    font-size: 1.1rem;
}

/* ===================================
   Stats Section
   =================================== */
.stats {
    padding: var(--section-padding);
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.stat-card.full-width {
    grid-column: 1 / -1;
}

.stat-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.stat-card canvas {
    max-height: 300px;
}

.key-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.key-stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.key-stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.key-stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
}

.key-stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    padding: var(--section-padding);
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

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

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

.social-links {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.social-links h3 {
    font-family: var(--font-subheading);
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.sponsors-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.sponsors-section h3 {
    font-family: var(--font-subheading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: center;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.sponsor-placeholder {
    aspect-ratio: 16/9;
    background: var(--background-light);
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group label {
    font-family: var(--font-subheading);
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* ===================================
   Lightbox
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    animation: fadeIn 0.3s ease;
}

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

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 50px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.5rem;
    }
    
    .medal-summary {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .progression-timeline {
        flex-direction: column;
        align-items: start;
    }
    
    .progression-line {
        width: 4px;
        height: 50px;
        margin-left: 28px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--primary-color);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: left var(--transition-normal);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    /* Competitions */
    .medal-summary {
        grid-template-columns: 1fr;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
    }
    
    .timeline-date {
        text-align: left;
        padding-top: 0;
    }
    
    .timeline-marker {
        display: none;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Lightbox */
    .lightbox-nav {
        font-size: 2rem;
        padding: 15px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .navbar,
    .scroll-indicator,
    .hero-buttons,
    .competition-filters,
    .gallery-filters,
    .contact-form-wrapper,
    .lightbox {
        display: none;
    }
    
    .hero {
        height: auto;
        padding: 50px 0;
    }
    
    section {
        page-break-inside: avoid;
    }
}