/*
Theme Name: Winter Case Cup
Theme URI: https://wintercasecup.pl
Author: WCC Team
Description: Nowoczesny, sportowy motyw WordPress dla konferencji medycznej Winter Case Cup V Edycja.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: winter-case-cup
Tags: conference, medical, one-page, responsive, modern, sport
*/

/* =================================================================
   ZMIENNE CSS
   ================================================================= */
:root {
    --color-primary: #0f172a;
    --color-secondary: #f59e0b;
    --color-accent: #06b6d4;
    --color-dark: #020617;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-electric: #3b82f6;
    --color-neon: #22d3ee;

    --gradient-mountain: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0891b2 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-sport: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

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

a:hover {
    color: var(--color-secondary);
}

ul {
    list-style: none;
}

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

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

/* =================================================================
   BUTTONS - SPORT STYLE
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-dark);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
    color: var(--color-dark);
}

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

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
}

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

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

.btn-sport {
    background: var(--gradient-sport);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.btn-sport:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-icon {
    margin-left: 10px;
}

/* =================================================================
   LANGUAGE SWITCHER
   ================================================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 10px;
}

.lang-btn {
    padding: 10px 10px;
    font-size: var(--text-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-btn.active {
    color: var(--color-secondary);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--text-xs);
}

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(26, 54, 93, 0.85);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo img {
    height: 60px;
    width: 60px;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px;
    object-fit: cover;
}

.scrolled .site-logo img {
    height: 45px;
    width: 45px;
    padding: 4px;
}

/* Hero logo */
.hero-logo {
    margin-bottom: 12px;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    animation: logoFloat 3s ease-in-out infinite;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.nav-menu {
    display: flex;
    gap: 3px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 8px 12px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-secondary);
}

/* Dropdown menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: rgba(26, 54, 93, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-secondary);
    padding-left: 25px;
}

.nav-cta {
    margin-left: 20px;
}

.menu-toggle {
    display: none;
}

/* =================================================================
   HERO
   ================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh; /* Dynamic viewport height for mobile */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-mountain);
    overflow: hidden;
    padding: 20px 0;
}

.snowflakes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 80px 20px 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(251, 191, 36, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--radius-md);
    color: var(--color-dark);
    font-size: var(--text-xs);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6); }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-title span {
    display: block;
    color: var(--color-secondary);
    font-size: 0.4em;
    margin-top: 6px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: none; /* Ukryj aby zaoszczędzić miejsce */
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    font-size: var(--text-sm);
    margin-bottom: 20px;
}

.hero-date i {
    color: var(--color-secondary);
}

.hero-date .separator {
    opacity: 0.5;
}

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

/* Countdown - Sport Style */
.countdown-wrapper {
    margin-top: 25px;
}

.countdown-title {
    color: var(--color-secondary);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.countdown {
    display: flex;
    gap: 10px;
    justify-content: center;
}

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

.countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(6, 182, 212, 0.5);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.countdown-value::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.countdown-label {
    margin-top: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* =================================================================
   SECTIONS
   ================================================================= */
.section {
    padding: 100px 0;
}

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

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

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    color: var(--color-secondary);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.section-dark .section-badge {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
}

.section-title {
    font-size: var(--text-4xl);
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 1px;
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray-500);
    font-size: var(--text-lg);
}

.section-dark .section-description {
    color: rgba(255, 255, 255, 0.7);
}

/* =================================================================
   ABOUT
   ================================================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--gradient-gold);
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-features {
    margin-top: 30px;
}

.about-feature {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--text-xl);
}

.about-feature-content h4 {
    font-size: var(--text-lg);
    margin-bottom: 5px;
}

.about-feature-content p {
    color: var(--color-gray-500);
    margin: 0;
    font-size: var(--text-sm);
}

/* =================================================================
   SCHEDULE
   ================================================================= */
.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.schedule-tab {
    padding: 15px 30px;
    background: var(--color-white);
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-gray-600);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.schedule-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.schedule-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.schedule-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gray-200);
}

.schedule-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}

.schedule-time {
    flex-shrink: 0;
    width: 100px;
    text-align: right;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    padding-top: 20px;
}

.schedule-dot {
    position: absolute;
    left: 112px;
    top: 20px;
    width: 18px;
    height: 18px;
    background: var(--color-white);
    border: 3px solid var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.schedule-item.highlight .schedule-dot {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

.schedule-content {
    flex: 1;
    background: var(--color-white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.schedule-content:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
}

.schedule-item.highlight .schedule-content {
    background: var(--gradient-mountain);
    color: var(--color-white);
}

.schedule-item.highlight .schedule-content h4 {
    color: var(--color-white);
}

.schedule-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 165, 54, 0.1);
    color: var(--color-secondary);
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}

/* =================================================================
   SPONSORS
   ================================================================= */
.sponsors-tier {
    margin-bottom: 60px;
}

.sponsors-tier-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: var(--text-lg);
    color: var(--color-gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sponsors-tier-title.gold {
    color: var(--color-secondary);
}

.sponsors-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    min-width: 200px;
    min-height: 100px;
}

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

.sponsor-placeholder {
    color: var(--color-gray-400);
    font-weight: 500;
}

.sponsors-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: var(--color-light);
    border-radius: var(--radius-xl);
}

.sponsors-cta h3 {
    margin-bottom: 15px;
}

.sponsors-cta p {
    color: var(--color-gray-500);
    margin-bottom: 25px;
}

/* =================================================================
   NEWS
   ================================================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

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

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

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-placeholder {
    width: 100%;
    height: 100%;
}

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 14px;
    background: var(--color-secondary);
    color: var(--color-dark);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

.news-card-content {
    padding: 25px;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gray-500);
    font-size: var(--text-sm);
    margin-bottom: 10px;
}

.news-card-title {
    font-size: var(--text-xl);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card-title a {
    color: var(--color-dark);
}

.news-card-excerpt {
    color: var(--color-gray-500);
    margin-bottom: 20px;
}

.news-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: var(--text-sm);
}

.news-more {
    text-align: center;
    margin-top: 50px;
}

/* =================================================================
   CONTACT
   ================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-secondary);
    font-size: var(--text-xl);
}

.contact-item-content h4 {
    color: var(--color-white);
    font-size: var(--text-base);
    margin-bottom: 5px;
}

.contact-item-content p,
.contact-item-content a {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.contact-social a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-white);
    font-size: var(--text-lg);
    transition: all var(--transition-fast);
}

.contact-social a:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form-wrapper h3 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-gray-700);
}

.form-label .required {
    color: #dc2626;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
}

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

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

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-checkbox input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
}

.form-submit {
    margin-top: 30px;
}

.form-submit .btn {
    width: 100%;
}

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

.footer-title {
    color: var(--color-white);
    font-size: var(--text-lg);
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
    color: var(--color-secondary);
    width: 20px;
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-sm);
}

/* =================================================================
   BACK TO TOP
   ================================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    border: none;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-secondary);
    color: var(--color-dark);
    transform: translateY(-5px);
}

/* =================================================================
   SCROLL PROGRESS BAR
   ================================================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 2px 10px rgba(212, 165, 54, 0.5);
}

/* =================================================================
   FLOATING PARTICLES
   ================================================================= */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-secondary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* =================================================================
   TILT EFFECT ON CARDS
   ================================================================= */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px);
}

/* =================================================================
   MAGNETIC BUTTONS
   ================================================================= */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================================================================
   GLOWING SECTION BADGES
   ================================================================= */
.section-badge {
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        box-shadow: 0 0 5px rgba(212, 165, 54, 0.2);
    }
    to {
        box-shadow: 0 0 20px rgba(212, 165, 54, 0.4);
    }
}

/* =================================================================
   ANIMATED GRADIENT BACKGROUND FOR HERO
   ================================================================= */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        rgba(26, 54, 93, 0.9) 0%,
        rgba(45, 90, 135, 0.8) 25%,
        rgba(74, 144, 164, 0.7) 50%,
        rgba(45, 90, 135, 0.8) 75%,
        rgba(26, 54, 93, 0.9) 100%);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    z-index: 1;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* =================================================================
   STATS COUNTER
   ================================================================= */
.stats-section {
    background: var(--gradient-mountain);
    padding: 60px 0;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
}

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

.stat-label {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stat-number {
        font-size: 2.5rem;
    }
}

/* =================================================================
   SESSIONS
   ================================================================= */
.session-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .sessions-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .sessions-grid {
        grid-template-columns: 1fr !important;
    }
}

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 992px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 58, 95, 0.98) 100%);
        backdrop-filter: blur(20px);
        padding: 80px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        overflow-y: auto;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-menu > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu > li:last-child {
        border-bottom: none;
    }

    .nav-menu > li > a {
        display: block;
        padding: 18px 0;
        font-size: 14px;
        letter-spacing: 1px;
        border-radius: 0;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: transparent;
        color: var(--color-secondary);
        padding-left: 10px;
    }

    /* Mobile dropdown */
    .nav-dropdown > a::after {
        float: right;
        margin-top: 2px;
        transition: transform 0.3s ease;
    }

    .nav-dropdown.open > a::after {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        min-width: auto;
        background: rgba(0, 0, 0, 0.2);
        border-radius: var(--radius-md);
        padding: 10px 0;
        opacity: 1;
        visibility: visible;
        display: none;
        margin: 10px 0;
        box-shadow: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 13px;
    }

    .dropdown-menu a:hover {
        padding-left: 25px;
    }

    /* Language switcher in mobile */
    .lang-switcher {
        margin: 30px 0 0 0;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
    }

    .lang-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* Menu toggle button */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: var(--radius-md);
        cursor: pointer;
        z-index: 1002;
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--color-white);
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .menu-toggle.active {
        background: var(--color-secondary);
    }

    .menu-toggle.active span {
        background: var(--color-dark);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        animation: fadeIn 0.3s ease;
    }

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

    body.menu-open {
        overflow: hidden;
    }

    .nav-cta {
        display: none;
    }

    .schedule-timeline::before {
        left: 20px;
    }

    .schedule-time {
        display: none;
    }

    .schedule-dot {
        left: 12px;
    }

    .schedule-item {
        padding-left: 50px;
    }
}

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

    .section-title {
        font-size: var(--text-3xl);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-value {
        width: 60px;
        height: 60px;
        font-size: var(--text-2xl);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Transport grid mobile */
    .transport-grid {
        grid-template-columns: 1fr !important;
    }

    /* Schedule tabs mobile */
    .schedule-tabs {
        flex-direction: column;
        gap: 10px;
    }

    .schedule-tab {
        width: 100%;
        text-align: center;
    }

    /* Regulamin info boxes */
    section#regulamin > .container > div:nth-child(2) > div {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Abstract requirements */
    section#abstrakt div[style*="grid-template-columns: repeat(3"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .countdown-value {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }

    .countdown-label {
        font-size: 9px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .hero-badge {
        padding: 6px 15px;
        font-size: 10px;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    /* Regulamin info boxes on very small screens */
    section#regulamin > .container > div:nth-child(2) > div {
        grid-template-columns: 1fr !important;
    }
}
