/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== LANDING PAGE - ORNATE DOORS ===== */
.landing-page {
    background: linear-gradient(160deg, #1a0f0a 0%, #2c1810 30%, #1a0f0a 70%, #0d0805 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.landing-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.08) 0%, rgba(139, 105, 20, 0.03) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

.landing-particles {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(212, 175, 55, 0.15), transparent),
        radial-gradient(2px 2px at 80% 70%, rgba(212, 175, 55, 0.1), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.08), transparent);
    background-size: 200px 200px, 180px 180px, 100px 100px;
    pointer-events: none;
    z-index: 0;
    animation: particles-float 20s linear infinite;
}

@keyframes particles-float {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 200px 0, -180px 0, 100px 0; }
}

.doors-container {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.door-frame {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 520px;
    max-height: 720px;
    border: 14px solid #3d2817;
    border-radius: 4px;
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.6),
        inset 0 0 0 2px rgba(212, 175, 55, 0.2),
        0 0 0 4px #5c3d2e,
        0 0 0 8px #3d2817,
        0 0 60px rgba(0, 0, 0, 0.6),
        0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

/* Mughal-style pointed arch (iwan) */
.frame-arch {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 112%;
    height: 90px;
    z-index: 6;
    filter: drop-shadow(0 -2px 12px rgba(139, 105, 20, 0.4));
}

.door {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background:
        linear-gradient(165deg, transparent 35%, rgba(255, 255, 255, 0.04) 50%, transparent 65%),
        linear-gradient(180deg, #6b4423 0%, #5c3d2e 15%, #4a2f1a 35%, #3d2817 50%, #2d1b10 70%, #4a2f1a 88%, #5c3d2e 100%);
    background-color: #4a2f1a;
    transition: transform 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4), inset -10px 0 30px rgba(0, 0, 0, 0.2);
}

.door::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(0, 0, 0, 0.12) 3px, rgba(0, 0, 0, 0.12) 6px),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='%233d2817' stroke-width='1.5' opacity='0.4'/%3E%3C/svg%3E");
    pointer-events: none;
}

.door-panels {
    position: absolute;
    top: 10%;
    left: 6%;
    right: 6%;
    bottom: 10%;
    border: 2px solid #5c3d2e;
    border-radius: 2px;
    box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    overflow: hidden;
}

/* Mihrab-style arched top within panel (Taj / mosque iwan) */
.door-panel-arch {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    border-bottom: 2px solid #8b6914;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    box-shadow: 0 3px 0 rgba(212, 175, 55, 0.25);
    pointer-events: none;
}

/* Islamic geometric pattern (8-point star / girih style) */
.door-geometric {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d4af37' stroke-width='0.6'%3E%3Cpath d='M40 0 L44 16 L40 32 L36 16 Z'/%3E%3Cpath d='M40 80 L36 64 L40 48 L44 64 Z'/%3E%3Cpath d='M0 40 L16 44 L32 40 L16 36 Z'/%3E%3Cpath d='M80 40 L64 36 L48 40 L64 44 Z'/%3E%3Cpath d='M14 14 L26 26 L14 38 L2 26 Z'/%3E%3Cpath d='M66 14 L74 26 L66 38 L58 26 Z'/%3E%3Cpath d='M66 66 L58 54 L66 42 L74 54 Z'/%3E%3Cpath d='M14 66 L2 54 L14 42 L26 54 Z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
}

.door-hinge {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 60px;
    margin-top: -30px;
    background: linear-gradient(90deg, #5a4a3a 0%, #8b6914 50%, #5a4a3a 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(139, 105, 20, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.door-hinge-left {
    left: 8px;
}

.door-hinge-right {
    right: 8px;
    left: auto;
}

.door-handle {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 14px;
    height: 40px;
    background: linear-gradient(90deg, #6b5b4b, #d4af37, #8b6914, #6b5b4b);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.door-handle-left {
    right: 12px;
}

.door-handle-right {
    left: 12px;
}

.door-left {
    left: 0;
    transform-origin: left center;
    border-right: 3px solid #2d1b10;
}

.door-right {
    right: 0;
    left: auto;
    transform-origin: right center;
    border-left: 3px solid #2d1b10;
}

.door-left.open {
    transform: perspective(1400px) rotateY(-105deg);
}

.door-right.open {
    transform: perspective(1400px) rotateY(105deg);
}

.door-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 80% at 50% 50%, transparent 25%, rgba(0, 0, 0, 0.35) 100%);
}

.reveal-light {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(245, 240, 232, 0.95) 0%, rgba(232, 224, 213, 0.7) 40%, transparent 70%);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    transition: opacity 1.2s ease-out 0.6s;
}

.reveal-light.reveal {
    opacity: 1;
}

.invite-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 26px 52px;
    font-size: 1.5rem;
    font-family: 'Georgia', serif;
    color: #d4af37;
    background: linear-gradient(180deg, rgba(107, 68, 35, 0.98) 0%, rgba(61, 40, 23, 0.98) 100%);
    border: 3px solid #8b6914;
    border-radius: 6px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.5s ease;
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(212, 175, 55, 0.15);
    overflow: hidden;
}

.invite-button:hover {
    color: #f0d878;
    border-color: #d4af37;
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow:
        0 8px 35px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 50px rgba(212, 175, 55, 0.35);
}

.invite-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: button-shine 3s ease-in-out infinite;
}

@keyframes button-shine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

.invite-button.fade-out {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(1.15);
    transition: all 0.6s ease;
}

/* ===== MAIN PAGE ===== */
.main-page {
    background: linear-gradient(180deg, #f5f0e8 0%, #e8e0d5 100%);
    min-height: 100vh;
    position: relative;
}

/* Arabesque-style border frame - flows with content */
.main-frame {
    margin: 20px;
    padding: 24px;
    border: 3px solid #5c3d2e;
    box-shadow: inset 0 0 0 2px #8b6914;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' preserveAspectRatio='none'%3E%3Cpath d='M0 35 Q0 0 35 0 M165 0 Q200 0 200 35 M200 165 Q200 200 165 200 M35 200 Q0 200 0 165' fill='none' stroke='%23d4af37' stroke-width='2' opacity='0.5'/%3E%3Cpath d='M0 25 Q0 0 25 0 M175 0 Q200 0 200 25 M200 175 Q200 200 175 200 M25 200 Q0 200 0 175' fill='none' stroke='%238b6914' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-position: center;
    min-height: calc(100vh - 88px);
}

@media (max-width: 600px) {
    .main-frame {
        margin: 12px;
        padding: 16px;
    }
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 20px;
    background: rgba(92, 61, 46, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: #f5f0e8;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.dropdown-trigger:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-trigger::after {
    content: '▼';
    font-size: 0.6rem;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #f5f0e8;
    border: 2px solid #5c3d2e;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 200;
}

.nav-item:hover .dropdown-menu,
.nav-item.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #3d2817;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(92, 61, 46, 0.15);
}

.couple-hero {
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.couple-image-container {
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 8px #5c3d2e;
}

.couple-image {
    width: 100%;
    height: auto;
    display: block;
}

.couple-intro {
    max-width: 600px;
    margin: 0 auto 32px;
    padding: 0 20px;
    text-align: center;
}

.couple-intro-heading {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    color: #6b5010;
    margin: 0 0 16px;
    letter-spacing: 0.06em;
    position: relative;
    padding-bottom: 12px;
}

.couple-intro-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6b5010, transparent);
}

.couple-intro-body {
    margin: 0;
    color: #5c4d3d;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Team Groom / Team Bride buttons */
.team-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.team-btn {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    color: #f5f0e8;
    border: 2px solid #5c3d2e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.team-btn-groom {
    background: linear-gradient(180deg, #5c3d2e 0%, #3d2817 100%);
}

.team-btn-groom:hover {
    background: linear-gradient(180deg, #6b4423 0%, #5c3d2e 100%);
    border-color: #8b6914;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 61, 46, 0.4);
}

.team-btn-bride {
    background: linear-gradient(180deg, #6b4423 0%, #5c3d2e 100%);
}

.team-btn-bride:hover {
    background: linear-gradient(180deg, #7a5235 0%, #6b4423 100%);
    border-color: #8b6914;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 61, 46, 0.4);
}

/* Team view (replaces couple photo + shows single photo + side nav) */
.team-view {
    display: none;
    padding: 40px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.team-view.is-visible {
    display: block;
}

.hero-default.is-hidden {
    display: none;
}

.team-view-inner {
    display: none;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.team-view-inner.is-visible {
    display: flex;
}

.team-banner {
    flex: 0 0 100%;
    width: 100%;
    order: 0;
    text-align: center;
    padding: 24px 28px;
    font-size: 5.25rem;
    font-weight: bold;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    letter-spacing: 0.06em;
    color: #6b5010;
    background: transparent;
    position: relative;
}

.team-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6b5010, transparent);
}

.team-banner-groom {
    background: transparent;
}

.team-banner-bride {
    background: transparent;
}

/* Team Groom: photo left, links right (list view) */
.team-groom-view .team-photo-wrap {
    order: 1;
}
.team-groom-view .team-side-nav {
    order: 2;
}

/* Team Bride: links left (list view), photo right */
.team-bride-view .team-side-nav {
    order: 1;
}
.team-bride-view .team-photo-wrap {
    order: 2;
}

.team-photo-wrap {
    flex: 0 1 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 0 0 8px #5c3d2e;
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
}

.team-side-nav {
    flex: 0 1 280px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 20px;
    background: rgba(92, 61, 46, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    list-style: none;
}

/* List view: vertical stack of links with spacing so dropdowns don't cover items below */
.team-side-nav .team-side-link,
.team-side-nav .nav-item {
    display: block;
}

.team-side-nav .nav-item {
    width: 100%;
}


.team-side-link {
    display: block;
    padding: 12px 20px;
    color: #f5f0e8;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-side-link:hover,
.team-side-nav .dropdown-trigger:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
}

.team-side-nav .dropdown-menu {
    left: 0;
    right: auto;
    top: 100%;
    margin-top: 4px;
}

.team-groom-view .team-side-nav .dropdown-menu {
    left: auto;
    right: 0;
}

.back-to-couple {
    display: block;
    text-align: center;
    margin-top: 28px;
    color: #5c3d2e;
    text-decoration: none;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: color 0.2s;
}

.back-to-couple:hover {
    color: #3d2817;
    text-decoration: underline;
}

/* Team password overlay */
.team-password-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.team-password-overlay.is-visible {
    display: flex;
}

.team-password-modal {
    background: #f5f0e8;
    border: 3px solid #5c3d2e;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 360px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.team-password-label {
    margin: 0 0 16px;
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: #3d2817;
}

.team-password-form {
    margin: 0;
}

.team-password-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #c4b5a0;
    border-radius: 6px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.team-password-input:focus {
    outline: none;
    border-color: #5c3d2e;
}

.team-password-error {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: #8b3a3a;
    min-height: 1.2em;
}

.team-password-buttons {
    display: flex;
    gap: 12px;
}

.team-password-submit,
.team-password-cancel {
    flex: 1;
    padding: 12px 20px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-password-submit {
    color: #f5f0e8;
    background: linear-gradient(180deg, #5c3d2e 0%, #3d2817 100%);
    border: 2px solid #5c3d2e;
}

.team-password-submit:hover {
    background: linear-gradient(180deg, #6b4423 0%, #5c3d2e 100%);
}

.team-password-cancel {
    color: #5c3d2e;
    background: transparent;
    border: 2px solid #5c3d2e;
}

.team-password-cancel:hover {
    background: rgba(92, 61, 46, 0.1);
}

.main-nav.is-hidden {
    display: none;
}

@media (max-width: 768px) {
    .team-view-inner {
        flex-direction: column;
        align-items: center;
    }
    .team-buttons {
        gap: 16px;
    }
    .team-btn {
        min-width: 140px;
        padding: 12px 24px;
    }
}

/* ===== HOTEL PAGE ===== */
.hotel-page {
    padding: 40px 20px 60px;
    max-width: 620px;
    margin: 0 auto;
}

.hotel-page-title {
    text-align: center;
    color: #3d2817;
    margin-bottom: 28px;
    font-size: 2rem;
}

.hotel-details {
    margin-bottom: 28px;
    padding: 0 20px;
}

.hotel-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3d2817;
    margin: 0 0 8px;
}

.hotel-address,
.hotel-phone {
    margin: 0 0 6px;
    color: #5c4d3d;
    font-size: 1.05rem;
    line-height: 1.5;
}

.hotel-block-rate {
    background: linear-gradient(135deg, #5c3d2e 0%, #4a2f1a 100%);
    border: 3px solid #8b6914;
    border-radius: 12px;
    padding: 24px 28px;
    margin: 28px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hotel-block-code {
    font-size: 1.35rem;
    font-weight: bold;
    color: #f5f0e8;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.hotel-block-code strong {
    color: #d4af37;
}

.hotel-rates {
    margin: 0 0 8px;
    color: #e8e0d5;
    font-size: 1.05rem;
    line-height: 1.6;
}

.hotel-rates-list {
    margin: 0;
    padding-left: 24px;
    color: #e8e0d5;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hotel-disclaimer {
    margin: 20px 20px 28px;
    padding: 16px 20px;
    background: rgba(139, 105, 20, 0.15);
    border-left: 4px solid #8b6914;
    color: #3d2817;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hotel-disclaimer strong {
    color: #5c3d2e;
}

.hotel-link-wrap {
    margin: 0 20px;
    text-align: center;
}

.hotel-book-link {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-family: 'Georgia', serif;
    color: #f5f0e8;
    background: linear-gradient(180deg, #5c3d2e 0%, #3d2817 100%);
    border: 2px solid #5c3d2e;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hotel-book-link:hover {
    background: linear-gradient(180deg, #6b4423 0%, #5c3d2e 100%);
    border-color: #8b6914;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 61, 46, 0.4);
}

/* ===== RSVP PAGE ===== */
.form-page {
    padding: 40px 20px 60px;
    max-width: 500px;
    margin: 0 auto;
}

.rsvp-wedding-title {
    text-align: center;
    font-family: 'Brush Script MT', 'Lucida Handwriting', cursive;
    font-size: 2.5rem;
    font-weight: bold;
    color: #6b5010;
    background: transparent;
    margin: 0 0 24px;
    padding-bottom: 16px;
    position: relative;
}

.rsvp-wedding-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6b5010, transparent);
}

.form-page h1 {
    text-align: center;
    color: #3d2817;
    margin-bottom: 12px;
    font-size: 2rem;
}

.rsvp-disclaimer {
    text-align: center;
    color: #6b5b4f;
    font-size: 0.95rem;
    margin: 0 0 24px;
}

.rsvp-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid #5c3d2e;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3d2817;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 2px solid #c4b5a0;
    border-radius: 6px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5c3d2e;
}

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

.form-group small {
    display: block;
    margin-top: 6px;
    color: #6b5b4f;
    font-size: 0.85rem;
}

.event-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.event-checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #3d2817;
    font-size: 1rem;
}

.event-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5c3d2e;
    cursor: pointer;
}

.event-checkbox-row:hover {
    color: #5c3d2e;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
    font-family: 'Georgia', serif;
    color: #f5f0e8;
    background: linear-gradient(180deg, #5c3d2e 0%, #3d2817 100%);
    border: 2px solid #5c3d2e;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(180deg, #6b4423 0%, #5c3d2e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(92, 61, 46, 0.4);
}

.back-link {
    display: inline-block;
    margin-bottom: 20px;
    color: #5c3d2e;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: #3d2817;
    text-decoration: underline;
}

/* ===== EVENT PAGES ===== */
.event-page {
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-image-container {
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
}

.event-image {
    width: 100%;
    height: auto;
    display: block;
}

.placeholder-box {
    width: 100%;
    max-width: 600px;
    min-height: 400px;
    background: linear-gradient(135deg, #e8e0d5 0%, #d4c8b8 100%);
    border: 3px dashed #8b7b6b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b5b4f;
    font-size: 1.2rem;
    text-align: center;
    padding: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .invite-button {
        font-size: 1.1rem;
        padding: 18px 36px;
    }
    
    .main-nav {
        padding: 12px;
    }
    
    .nav-link {
        padding: 10px 14px;
        font-size: 0.9rem;
    }
}
