/* ============================================= */
/* CK² Wedding Website – Style                   */
/* Farben: Navy #1B2E4F, Magenta #C41670,        */
/*         Cream #FDFBF7, Gold #C9A94E           */
/* Fonts: Playfair Display, Alex Brush            */
/* ============================================= */

/* FONTS (self-hosted, DSGVO-konform) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/playfair-display-latin-400-italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Alex Brush';
    src: url('../fonts/alex-brush-latin-400-normal.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --navy: #1B2E4F;
    --navy-dark: #0F1A33;
    --magenta: #C41670;
    --magenta-light: #D4408A;
    --cream: #FDFBF7;
    --cream-dark: #F5F0E8;
    --gold: #C9A94E;
    --text: #2C2C2C;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-script: 'Alex Brush', cursive;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.hidden { display: none !important; }

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

/* ============================================= */
/* PASSWORD GATE                                  */
/* ============================================= */
#password-gate {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#password-gate.fade-out {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}

.gate-content {
    text-align: center;
    color: var(--cream);
}

.gate-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 5rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    user-select: none;
}

.gate-C, .gate-K { color: var(--cream); }
.gate-sup {
    font-size: 2rem;
    vertical-align: super;
    color: var(--magenta);
    position: relative;
    top: -20px;
    margin-left: -4px;
}

.gate-subtitle {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.gate-date {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: rgba(253, 251, 247, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.gate-input-wrap {
    display: flex;
    gap: 0;
    max-width: 320px;
    margin: 0 auto;
    border: 1px solid rgba(253, 251, 247, 0.3);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.gate-input-wrap:focus-within {
    border-color: var(--gold);
}

#gate-password {
    flex: 1;
    padding: 14px 24px;
    background: transparent;
    border: none;
    color: var(--cream);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
}

#gate-password::placeholder {
    color: rgba(253, 251, 247, 0.4);
}

#gate-submit {
    padding: 14px 24px;
    background: var(--magenta);
    border: none;
    color: var(--cream);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background var(--transition);
}

#gate-submit:hover {
    background: var(--magenta-light);
}

.gate-error {
    margin-top: 16px;
    color: var(--magenta-light);
    font-size: 0.9rem;
    min-height: 1.4em;
}

/* ============================================= */
/* NAVIGATION                                     */
/* ============================================= */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    background: rgba(27, 46, 79, 0.95);
    backdrop-filter: blur(12px);
    transition: all var(--transition);
}

#main-nav.scrolled {
    padding: 10px 32px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--cream);
    letter-spacing: 0.05em;
    user-select: none;
}

.nav-logo sup {
    font-size: 0.7rem;
    color: var(--magenta);
    position: relative;
    top: -8px;
    margin-left: -2px;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cream);
    transition: all var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 28px;
}

.nav-links a {
    color: rgba(253, 251, 247, 0.75);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* ============================================= */
/* SECTIONS – General                             */
/* ============================================= */
.section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 12px;
}

.script-accent {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 2.8rem;
    color: var(--magenta);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.section-intro {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ============================================= */
/* HERO                                           */
/* ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    overflow: hidden;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(196, 22, 112, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(201, 169, 78, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    text-align: center;
    color: var(--cream);
    padding: 24px;
}

.hero-script {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
}

.hero-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 7rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.hero-C, .hero-K { color: var(--cream); }
.hero-sup {
    font-size: 2.8rem;
    color: var(--magenta);
    position: relative;
    top: -30px;
    margin-left: -5px;
}

.hero-names {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.hero-names .amp {
    font-style: italic;
    color: var(--gold);
    margin: 0 8px;
}

.hero-date {
    font-size: 1rem;
    color: rgba(253, 251, 247, 0.6);
    letter-spacing: 0.15em;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 1s 1.2s forwards;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    gap: 32px;
    justify-content: center;
    opacity: 0;
    animation: fadeUp 1s 1.5s forwards;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
    min-width: 60px;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(253, 251, 247, 0.5);
    margin-top: 4px;
}

.scroll-hint {
    display: inline-block;
    margin-top: 48px;
    font-size: 1.5rem;
    color: rgba(253, 251, 247, 0.4);
    text-decoration: none;
    animation: bounce 2s infinite 2.5s;
    opacity: 0;
    animation: fadeUp 1s 1.8s forwards, bounce 2s infinite 3s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

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

/* ============================================= */
/* TIMELINE                                       */
/* ============================================= */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--magenta), var(--gold));
}

.timeline-day {
    position: relative;
    margin-bottom: 16px;
    margin-top: 32px;
    padding-left: 68px;
}

.timeline-day:first-child { margin-top: 0; }

.timeline-day-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.day-name {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
}

.day-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-item {
    position: relative;
    padding-left: 68px;
    padding-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-icon {
    position: absolute;
    left: 12px;
    top: 4px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: var(--cream);
    border: 2px solid var(--magenta);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.timeline-meta {
    font-size: 0.85rem;
    color: var(--magenta);
    font-weight: 500;
    margin-bottom: 8px;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.dresscode-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--navy);
    border-radius: 6px;
    font-size: 0.85rem;
}

.dresscode-label {
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
}

.dresscode-value {
    color: var(--cream);
    font-family: var(--font-serif);
}

/* ============================================= */
/* RSVP FORM                                      */
/* ============================================= */
.rsvp-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #D4CFC5;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--magenta);
    box-shadow: 0 0 0 3px rgba(196, 22, 112, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #D4CFC5;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all var(--transition);
}

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

.checkbox-label input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--magenta-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 22, 112, 0.3);
}

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

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

.btn-inline {
    flex-shrink: 0;
    white-space: nowrap;
}

.form-success {
    text-align: center;
    padding: 24px;
    margin-top: 16px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2ECC71;
    color: var(--white);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.form-success p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--navy);
}

/* ============================================= */
/* LOCATION CARDS                                 */
/* ============================================= */
.location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.location-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.location-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.location-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-name {
    font-size: 0.85rem;
    color: var(--magenta);
    font-weight: 600;
    margin-bottom: 8px;
}

.location-card p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ============================================= */
/* GALLERY & UPLOAD                               */
/* ============================================= */
.upload-area {
    max-width: 600px;
    margin: 0 auto 48px;
}

.upload-dropzone {
    border: 2px dashed #D4CFC5;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--magenta);
    background: rgba(196, 22, 112, 0.03);
}

.upload-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.upload-text {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 8px;
}

.upload-link {
    color: var(--magenta);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.upload-hint {
    font-size: 0.8rem;
    color: var(--text-light);
}

.upload-progress {
    margin-top: 16px;
}

.upload-progress-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.85rem;
}

.upload-progress-bar {
    flex: 1;
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    overflow: hidden;
}

.upload-progress-fill {
    height: 100%;
    background: var(--magenta);
    border-radius: 2px;
    transition: width 0.3s;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 40px 0;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    padding: 16px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }

.lightbox-close { top: 16px; right: 24px; font-size: 2.4rem; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ============================================= */
/* QUIZ                                           */
/* ============================================= */
.quiz-container {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.quiz-start { padding: 40px 0; }
.quiz-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.quiz-progress {
    height: 4px;
    background: #E0E0E0;
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--magenta), var(--gold));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-counter {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.quiz-q-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 28px;
    line-height: 1.4;
}

.quiz-answers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-answer-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: var(--white);
    border: 2px solid #D4CFC5;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
    text-align: left;
}

.quiz-answer-btn:hover {
    border-color: var(--magenta);
    background: rgba(196, 22, 112, 0.03);
}

.quiz-answer-btn.correct {
    border-color: #2ECC71;
    background: rgba(46, 204, 113, 0.1);
    color: #1A8F4B;
}

.quiz-answer-btn.wrong {
    border-color: #E74C3C;
    background: rgba(231, 76, 60, 0.1);
    color: #C0392B;
}

.quiz-result { padding: 40px 0; }

.quiz-score-circle {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
}

.quiz-score {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 700;
    color: var(--magenta);
    line-height: 1;
}

.quiz-score-label {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--text-light);
}

.quiz-result-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ============================================= */
/* SONGWÜNSCHE                                    */
/* ============================================= */
.song-form .form-row {
    align-items: flex-end;
}

.flex-2 { flex: 2; }
.flex-1 { flex: 1; }

.song-form .form-group {
    margin-bottom: 0;
}

.song-list {
    max-width: 640px;
    margin: 32px auto 0;
}

.song-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.song-item-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.song-item-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text);
}

.song-item-by {
    font-size: 0.8rem;
    color: var(--text-light);
    flex-shrink: 0;
}

/* ============================================= */
/* GÄSTEBUCH                                      */
/* ============================================= */
.guestbook-form {
    max-width: 640px;
    margin: 0 auto 40px;
}

.gb-entries {
    max-width: 640px;
    margin: 0 auto;
}

.gb-entry {
    padding: 24px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.gb-entry-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.gb-entry-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 0.85rem;
}

.gb-entry-name {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.gb-entry-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: auto;
}

.gb-entry-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================= */
/* SITZORDNUNG                                    */
/* ============================================= */
.seating-search {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto 32px;
}

.seating-search input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid #D4CFC5;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition);
}

.seating-search input:focus {
    border-color: var(--magenta);
}

.seating-result {
    max-width: 400px;
    margin: 0 auto 32px;
}

.seating-card {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--magenta);
}

.seating-table-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.seating-table-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.seating-neighbors {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.seating-not-found {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

.seating-plan {
    text-align: center;
    margin-top: 32px;
}

.seating-plan-hint {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

/* ============================================= */
/* FOOTER                                         */
/* ============================================= */
.site-footer {
    text-align: center;
    padding: 60px 24px;
    background: var(--navy);
    color: var(--cream);
}

.footer-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-logo sup {
    font-size: 0.8rem;
    color: var(--magenta);
    position: relative;
    top: -12px;
    margin-left: -2px;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(253, 251, 247, 0.6);
    margin-bottom: 8px;
}

.footer-heart {
    font-size: 0.8rem;
    color: rgba(253, 251, 247, 0.3);
}

/* ============================================= */
/* RESPONSIVE                                     */
/* ============================================= */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 20px;
        transition: right var(--transition);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        font-size: 1rem;
        color: var(--cream);
    }

    .hero-logo { font-size: 4.5rem; }
    .hero-sup { font-size: 1.8rem; top: -18px; }
    .hero-names { font-size: 1.1rem; letter-spacing: 0.12em; }
    .countdown { gap: 16px; }
    .countdown-num { font-size: 2rem; }

    .section { padding: 64px 0; }
    .section-title { font-size: 1.8rem; }
    .script-accent { font-size: 2.2rem; }

    .form-row { flex-direction: column; gap: 0; }
    .song-form .form-row { gap: 12px; }

    .location-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }

    .gate-logo { font-size: 3.5rem; }
    .gate-sup { font-size: 1.4rem; top: -14px; }
    .gate-subtitle { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    #main-nav { padding: 12px 16px; }
    .container { padding: 0 16px; }
    .hero-logo { font-size: 3.5rem; }
    .hero-sup { font-size: 1.4rem; top: -14px; }
    .countdown { gap: 12px; }
    .countdown-num { font-size: 1.6rem; }
    .seating-search { flex-direction: column; }
}
