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

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #1d3557;
    --secondary-light: #457b9d;
    --accent: #f1c40f;
    --bg: #f8f9fa;
    --bg-white: #ffffff;
    --text: #2b2d42;
    --text-light: #6c757d;
    --border: #dee2e6;
    --success: #2d6a4f;
    --error: #c1121f;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a:hover {
    color: var(--primary-dark);
}

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

/* === Container === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 800px;
}

/* === Header / Nav === */
.site-header {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 1px;
}

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

.logo-icon {
    font-size: 1.6rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition);
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--accent);
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero === */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0d1b2a 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.02)"/><circle cx="50" cy="80" r="1.5" fill="rgba(255,255,255,0.04)"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
    animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(230, 57, 70, 0.7); }
}

.badge-pulse {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

/* === Sections === */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* === Info / Features === */
.info-section {
    padding: 4rem 0;
}

.info-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

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

/* === Date Section === */
.date-section {
    background: var(--bg-white);
}

.date-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: #fff;
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.date-card h2 {
    color: #fff;
    font-size: 1.8rem;
}

.date-tbd {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.date-card p:last-child {
    color: rgba(255,255,255,0.8);
}

/* === Registration / CTA === */
.registration-section {
    text-align: center;
    background: var(--bg);
}

.registration-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--secondary), #0d1b2a);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
}

/* === Page Content === */
.page-content {
    padding: 3rem 0 4rem;
}

.page-content h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.page-content h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.page-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* === Cookie Table === */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cookie-table th {
    background: var(--secondary);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table td {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4);
}

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

.btn-secondary:hover {
    border-color: var(--text);
    color: var(--text);
}

.btn-lg, .btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* === Contact Form === */
.contact-form {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
}

.required {
    color: var(--primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-light);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.15);
    background: #fff;
}

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

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
}

/* === Alerts === */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.alert-success {
    background: #d1e7dd;
    color: var(--success);
    border: 1px solid #a3cfbb;
}

.alert-error {
    background: #f8d7da;
    color: var(--error);
    border: 1px solid #f1aeb5;
}

.alert ul {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}

/* === Footer === */
.site-footer {
    margin-top: auto;
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 2rem 0;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 27, 42, 0.97);
    color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}

.cookie-content {
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-content p {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 280px;
}

.cookie-content a {
    color: var(--accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.cookie-buttons .btn-secondary {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.3);
}

.cookie-buttons .btn-secondary:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.95rem;
        padding: 0.6rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--secondary);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .date-card {
        padding: 2rem 1.5rem;
    }

    .date-tbd {
        font-size: 1.5rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .btn-lg, .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
}
