/* ===== Web Fonts ===== */

/* Bangers - latin-ext */
@font-face {
    font-family: 'Bangers';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/bangers-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Bangers - latin */
@font-face {
    font-family: 'Bangers';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/bangers-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Open Sans - latin-ext (weights 400, 600, 700 via variable font) */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('fonts/opensans-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Open Sans - latin (weights 400, 600, 700 via variable font) */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('fonts/opensans-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
    --teal: #1a9ca0;
    --teal-dark: #137275;
    --teal-light: #2cc5c9;
    --teal-bg: #e8f7f7;
    --dark: #2a2a2a;
    --gray: #555;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background-color: var(--white);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('flyer_front_small.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 156, 160, 0.88) 0%,
        rgba(19, 114, 117, 0.92) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 24px;
    max-width: 700px;
}

.hero-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--white);
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    margin-bottom: 8px;
    line-height: 1.1;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-family: 'Bangers', cursive;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--white);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 36px;
    font-style: italic;
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
    text-align: left;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.hero-detail {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.detail-label {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: var(--white);
    text-transform: uppercase;
    min-width: 70px;
    letter-spacing: 1px;
}

.detail-value {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
}

.hero-hosts {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
}

.hero-hosts strong {
    display: block;
    margin-top: 4px;
    font-size: 1.2rem;
    color: var(--white);
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--teal-bg);
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--teal);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 rgba(26, 156, 160, 0.15);
}

/* ===== Info Card ===== */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow);
}

.section-alt .info-card {
    background: var(--white);
}

.info-card p {
    margin-bottom: 12px;
    font-size: 1.08rem;
    color: var(--gray);
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: var(--dark);
}

/* ===== Address & Map ===== */
.address {
    font-size: 1.15rem !important;
    margin-bottom: 20px !important;
}

.map-container {
    margin: 24px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    display: block;
}

.parking-info {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--teal-bg);
    border-left: 4px solid var(--teal);
    border-radius: 0 8px 8px 0;
    font-size: 1rem !important;
    color: var(--teal-dark) !important;
}

/* ===== Registration Form ===== */
.registration-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--dark);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26, 156, 160, 0.15);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ===== Checkboxes ===== */
.checkbox-group {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400 !important;
    font-size: 1.05rem !important;
    user-select: none;
    position: relative;
    padding-left: 36px;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: var(--light-gray);
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.checkbox-label input:checked ~ .checkmark {
    background: var(--teal);
    border-color: var(--teal);
}

.checkbox-label input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-label:hover .checkmark {
    border-color: var(--teal-light);
}

/* ===== Submit Button ===== */
.submit-btn {
    display: block;
    width: 100%;
    padding: 16px 32px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 156, 160, 0.3);
    margin-top: 8px;
}

.submit-btn:hover {
    background: var(--teal-dark);
    box-shadow: 0 6px 20px rgba(26, 156, 160, 0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===== Messages ===== */
.success-message,
.error-message {
    padding: 20px 24px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-message {
    background: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #a5d6a7;
}

.error-message {
    background: #fce4ec;
    color: #c62828;
    border: 2px solid #ef9a9a;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 32px 0;
    font-size: 0.95rem;
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding: 32px 16px;
    }

    .hero-details {
        padding: 20px;
    }

    .hero-detail {
        flex-direction: column;
        gap: 2px;
    }

    .detail-label {
        min-width: unset;
    }

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

    .registration-form {
        padding: 24px 20px;
    }

    .section {
        padding: 56px 0;
    }

    .info-card {
        padding: 24px 20px;
    }
}

/* ===== Result Page (submit.php) ===== */
.result-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.result-card-inner {
    text-align: center;
}

.result-card-inner p {
    font-size: 1.08rem;
    color: var(--gray);
    margin-bottom: 12px;
}

.result-card-inner p:last-child {
    margin-bottom: 0;
}

.result-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.result-icon--success {
    background: #e8f5e9;
    color: #2e7d32;
}

.result-icon--error {
    background: #fce4ec;
    color: #c62828;
}

.result-title--error {
    color: #c62828 !important;
}

.result-back {
    margin-top: 32px;
    text-align: center;
}

.result-back-btn {
    display: inline-block;
    width: auto;
    text-decoration: none;
}
