/* ========================================
   OLD MONEY / VINTAGE WEDDING THEME
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #2C2420;
    --secondary-color: #5C4F47;
    --accent-color: #8B7355;
    --accent-light: #A89279;
    --text-dark: #2C2420;
    --text-light: #F7F3ED;
    --text-muted: #7A6E64;
    --background-cream: #EDE6DB;
    --background-ivory: #F4EFE7;
    --background-white: #FAF6F0;
    --border-color: #D1C7B8;
    --border-dark: #2C2420;
    --font-heading: 'Playfair Display', serif;
    --font-accent: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --shadow: 0 2px 8px rgba(44, 36, 32, 0.08);
    --shadow-lg: 0 4px 20px rgba(44, 36, 32, 0.12);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-color: #F4EFE7;
    --secondary-color: #D1C7B8;
    --accent-color: #A89279;
    --accent-light: #8B7355;
    --text-dark: #F4EFE7;
    --text-light: #2C2420;
    --text-muted: #9A8E82;
    --background-cream: #1E1A17;
    --background-ivory: #262120;
    --background-white: #181412;
    --border-color: #3D3530;
    --border-dark: #F4EFE7;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Dark Mode Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-dark);
}

.theme-toggle:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Dark mode specific overrides */
[data-theme="dark"] .navbar {
    background: rgba(22, 22, 22, 0.97);
    border-bottom-color: #333;
}

[data-theme="dark"] .nav-link {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--accent-color);
}

[data-theme="dark"] .hero {
    background: var(--background-white);
}

[data-theme="dark"] .hero-content {
    border-color: #3a3a3a;
}

[data-theme="dark"] .hero-title {
    color: var(--text-dark);
}

[data-theme="dark"] .hero-subtitle {
    color: var(--text-muted);
}

[data-theme="dark"] .hero-date .date-text,
[data-theme="dark"] .hero-date .date-number {
    color: var(--text-dark);
}

[data-theme="dark"] .countdown::before {
    background: rgba(0, 0, 0, 0.85);
}

[data-theme="dark"] .countdown:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .countdown-value {
    color: var(--accent-color);
}

[data-theme="dark"] .countdown-label {
    color: var(--text-muted);
}

[data-theme="dark"] .section-title {
    color: var(--text-dark);
}

[data-theme="dark"] .section-title::after {
    background: var(--accent-color);
}

[data-theme="dark"] .story-item,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .registry-card {
    background: var(--background-ivory);
    border-color: #3a3a3a;
}

[data-theme="dark"] .timeline-item::before {
    background: var(--accent-color);
}

[data-theme="dark"] .timeline-item::after {
    border-color: var(--accent-color);
    background: var(--background-white);
}

[data-theme="dark"] .history-content {
    background: var(--background-ivory);
    border-color: #3a3a3a;
}

[data-theme="dark"] .history-description {
    color: var(--text-muted);
}

[data-theme="dark"] .click-here-btn {
    background: rgba(30, 30, 30, 0.9);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

[data-theme="dark"] .click-here-btn:hover {
    background: var(--accent-color);
    color: #1a1a1a;
}

[data-theme="dark"] .photo-frame {
    background: var(--background-ivory);
    border-color: #3a3a3a;
}

[data-theme="dark"] .song-request-form {
    background: var(--background-ivory);
}

[data-theme="dark"] .song-request-form input,
[data-theme="dark"] .song-request-form select {
    background: var(--background-white);
    border-color: #3a3a3a;
    color: var(--text-dark);
}

[data-theme="dark"] .btn-primary {
    background: var(--accent-color);
    color: #1a1a1a;
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--accent-light);
}

[data-theme="dark"] .footer {
    background: #0a0a0a;
}

[data-theme="dark"] .rsvp-cta {
    background: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
}

[data-theme="dark"] .nav-logo {
    color: var(--text-dark);
}

[data-theme="dark"] .bar {
    background-color: var(--text-dark);
}

[data-theme="dark"] .story-item p,
[data-theme="dark"] .detail-subinfo {
    color: var(--text-muted);
}

[data-theme="dark"] .history-content:hover {
    background: var(--background-cream);
}

[data-theme="dark"] .history-item.future .history-content {
    background: var(--accent-light);
    border-color: var(--accent-color);
}

[data-theme="dark"] .history-item.future .history-title {
    color: var(--text-light);
}

[data-theme="dark"] .history-item.future .history-description {
    color: rgba(44, 36, 32, 0.85);
}

[data-theme="dark"] .ornament,
[data-theme="dark"] .section-ornament {
    color: var(--accent-color);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 247, 240, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
}

.lang-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.lang-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.lang-btn.active {
    background: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

.lang-toggle-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    background: var(--background-cream);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.75rem;
    transition: color 0.3s ease;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 22px;
    height: 1.5px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--background-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 5rem;
    border: 1px solid var(--border-color);
    max-width: 700px;
}

/* Double border effect */
.hero-content::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px solid var(--border-color);
    pointer-events: none;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease;
    letter-spacing: 0.08em;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.2s backwards;
    letter-spacing: 0.05em;
    font-style: italic;
}

.hero-date {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.date-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.date-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.08em;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    animation: fadeInUp 1s ease 0.6s backwards;
    background-image: url('images/countdown-bg.jpg');
    background-size: cover;
    background-position: 30% 65%;
    background-repeat: no-repeat;
    padding: 5rem 4rem;
    position: relative;
    border: 1px solid var(--border-color);
}

.countdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.8);
    z-index: 0;
    transition: background 0.3s ease;
}

.countdown:hover::before {
    background: rgba(250, 247, 240, 0.3);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 0.5rem;
    font-weight: 400;
    color: var(--text-muted);
}

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

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

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.08em;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 1.5rem auto 3rem;
}

/* Ornamental dividers */
.ornament {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    letter-spacing: 0.5em;
    margin: 2rem 0;
}

/* Our Story Section */
.our-story {
    padding: 7rem 0;
    background: var(--background-white);
}

.story-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.story-item {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.story-item:hover {
    border-color: var(--accent-color);
}

.story-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.story-item h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.story-item p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
}

/* Our History Section */
.our-history {
    padding: 7rem 0;
    background: var(--background-ivory);
}

.history-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 2rem 0;
}

/* Vertical timeline line */
.history-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--border-color);
}

.history-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
    align-items: center;
}

/* Alternate left and right */
.history-item:nth-child(odd) {
    flex-direction: row;
}

.history-item:nth-child(even) {
    flex-direction: row-reverse;
}

.history-date {
    flex: 0 0 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.history-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.history-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    font-weight: 500;
}

.history-content {
    flex: 1;
    background: var(--background-white);
    padding: 2rem 2.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.history-item:nth-child(odd) .history-content {
    margin-left: 2rem;
}

.history-item:nth-child(even) .history-content {
    margin-right: 2rem;
}

/* Arrow pointing to timeline */
.history-content::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
}

.history-item:nth-child(odd) .history-content::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent var(--background-white) transparent transparent;
}

.history-item:nth-child(even) .history-content::before {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent var(--background-white);
}

.history-content:hover {
    border-color: var(--accent-color);
}

.history-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.history-description {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--text-muted);
}

.click-here-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    color: var(--text-dark);
    background: transparent;
    border: 1px solid var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.click-here-btn:hover {
    background: var(--text-dark);
    color: var(--text-light);
}

/* Special styling for first meeting */
.history-item.first-meeting .history-content {
    background-size: cover;
    background-position: center 30%;
    position: relative;
}

.history-item.first-meeting .history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.82);
    z-index: 0;
    transition: background 0.3s ease;
    pointer-events: none;
}

.history-item.first-meeting .history-content:hover::before {
    background: rgba(250, 247, 240, 0.25);
}

.history-item.first-meeting .history-title,
.history-item.first-meeting .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for I love you */
.history-item.i-love-you .history-content {
    position: relative;
    overflow: hidden;
}

.history-item.i-love-you .history-content::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background-size: cover;
    background-position: center;
    filter: blur(1px) brightness(1.1) saturate(0.8);
    z-index: -2;
}

.history-item.i-love-you .history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.82);
    z-index: 0;
    transition: background 0.3s ease;
    pointer-events: none;
}

.history-item.i-love-you .history-content:hover::before {
    background: rgba(250, 247, 240, 0.25);
}

.history-item.i-love-you .history-title,
.history-item.i-love-you .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for final rose */
.history-item.final-rose .history-content {
    background-size: cover;
    background-position: center 20%;
    position: relative;
}

.history-item.final-rose .history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.82);
    z-index: 0;
    transition: background 0.3s ease;
    pointer-events: none;
}

.history-item.final-rose .history-content:hover::before {
    background: rgba(250, 247, 240, 0.25);
}

.history-item.final-rose .history-title,
.history-item.final-rose .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for moving in */
.history-item.moving-in .history-content {
    background-size: cover;
    background-position: center;
    position: relative;
}

.history-item.moving-in .history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.82);
    z-index: 0;
    transition: background 0.3s ease;
    pointer-events: none;
}

.history-item.moving-in .history-content:hover::before {
    background: rgba(250, 247, 240, 0.25);
}

.history-item.moving-in .history-title,
.history-item.moving-in .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for outside lands */
.history-item.outside-lands .history-content {
    background-size: cover;
    background-position: center 30%;
    position: relative;
}

.history-item.outside-lands .history-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 247, 240, 0.82);
    z-index: 0;
    transition: background 0.3s ease;
    pointer-events: none;
}

.history-item.outside-lands .history-content:hover::before {
    background: rgba(250, 247, 240, 0.25);
}

.history-item.outside-lands .history-title,
.history-item.outside-lands .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for proposal */
.history-item.highlight .history-content {
    background: var(--background-white);
    border: 2px solid var(--accent-color);
}

.history-item.highlight .history-title {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.history-item.highlight .history-description {
    position: relative;
    z-index: 1;
}

/* Special styling for future wedding day */
.history-item.future .history-content {
    background: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

.history-item.future .history-title {
    color: var(--text-light);
    font-size: 1.6rem;
}

.history-item.future .history-description {
    color: rgba(250, 247, 240, 0.85);
}

.history-item.future .history-date {
    color: var(--text-dark);
}

.history-item.future .history-year,
.history-item.future .history-month {
    color: var(--text-dark);
}


/* Loved Ones Section */
.loved-ones {
    padding: 7rem 0;
    background: var(--background-white);
}

.loved-ones-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-style: italic;
}

.photo-category {
    margin-bottom: 4rem;
}

.photo-category:last-child {
    margin-bottom: 0;
}

.photo-category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.photo-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.photo-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
}

.photo-frame {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: none;
    background: var(--background-cream);
    margin-bottom: 1rem;
}

.photo-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197, 165, 90, 0.05) 0%, rgba(197, 165, 90, 0.05) 100%);
    pointer-events: none;
}

.photo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
    filter: saturate(0.85);
}

/* Position Brian's Mom image to show face */
.photo-img[alt="Brian's Mom"] {
    object-position: 55% 15%;
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Clickable backgrounds */
.clickable-bg {
    /* Photos open via button click only */
}

.photo-item:hover .photo-img {
    transform: translate(-50%, -50%) scale(1.05);
}

.photo-caption {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

/* Placeholder styling for images that fail to load */
.photo-img[alt] {
    background: var(--background-cream);
}

.photo-img::before {
    content: attr(alt);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    padding: 1rem;
}

/* Details Section */
.details {
    padding: 7rem 0;
    background: var(--background-ivory);
}

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

.detail-card {
    background: var(--background-white);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.detail-card:hover {
    border-color: var(--accent-color);
}

.detail-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.08em;
}

.detail-info {
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.detail-subinfo {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.btn-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--text-dark);
}

/* Schedule Section */
.schedule {
    padding: 7rem 0;
    background: var(--background-white);
}

.timeline {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-time {
    flex: 1;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-dark);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.timeline-content {
    flex: 1;
    background: var(--background-cream);
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    position: relative;
    transition: border-color 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--accent-color);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -4px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -4px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.03em;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Playlist Section */
.playlist {
    padding: 7rem 0;
    background: var(--background-ivory);
}

.playlist-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-style: italic;
}

/* Song Auth Gate */
.song-auth-gate {
    max-width: 500px;
    margin: 0 auto 2rem;
    padding: 2.5rem;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    text-align: center;
}

.song-auth-gate .auth-prompt {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.song-auth-gate .auth-form {
    max-width: 300px;
    margin: 0 auto;
}

.song-auth-gate .form-group {
    margin-bottom: 1rem;
}

.song-auth-gate label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: left;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.song-auth-gate input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    background: var(--background-ivory);
    transition: border-color 0.3s ease;
}

.song-auth-gate input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.song-auth-gate .btn-primary {
    width: 100%;
    padding: 0.875rem 1rem;
    margin-top: 1rem;
}

.auth-error {
    color: #8b3a3a;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: #fdf0f0;
    border: 1px solid #deb0b0;
}

[data-theme="dark"] .song-auth-gate {
    background: var(--background-ivory);
}

[data-theme="dark"] .song-auth-gate input {
    background: var(--background-white);
    border-color: #3a3a3a;
    color: var(--text-dark);
}

[data-theme="dark"] .auth-error {
    background: #2d1f1f;
    border-color: #8b3a3a;
    color: #e08080;
}

/* Song Request Form */
.song-request-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--background-white);
    border: 1px solid var(--border-color);
}

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

.song-request-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.song-request-form input,
.song-request-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border-color);
    background: var(--background-ivory);
    transition: border-color 0.3s ease;
}

.song-request-form input:focus,
.song-request-form select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.song-request-form input::placeholder {
    color: #b0a89a;
}

.song-request-form .btn-primary {
    width: 100%;
    padding: 1rem;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.form-success {
    max-width: 500px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: #eef5ee;
    border: 1px solid #b8d4b8;
    text-align: center;
}

.form-success p {
    color: #2d5a2d;
    font-size: 1rem;
    margin: 0;
}

.playlist-categories {
    margin-top: 4rem;
}

.playlist-category {
    margin-bottom: 4rem;
}

.playlist-category:last-child {
    margin-bottom: 0;
}

.playlist-category-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.song-card {
    background: var(--background-white);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
    border-left: 3px solid var(--border-color);
}

.song-card:hover {
    border-color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.song-card.featured {
    background: var(--background-white);
    border-left: 3px solid var(--accent-color);
}

.song-card.featured:hover {
    border-color: var(--accent-color);
}

.song-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: var(--accent-color);
}

.song-card.featured .song-icon {
    font-size: 2rem;
}

.song-info {
    flex: 1;
}

.song-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.song-card.featured .song-title {
    font-size: 1.2rem;
}

.song-artist {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.song-note {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 0.3rem;
    font-weight: 500;
}

.playlist-note {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--background-white);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.playlist-note p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.playlist-btn {
    margin-top: 0;
}

/* Registry Section */
.travel {
    padding: 7rem 0;
    background: var(--background-cream);
}

.travel-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-style: italic;
}

.travel-card {
    background: var(--background-ivory);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 560px;
    margin: 0 auto;
    transition: border-color 0.3s ease;
}

.travel-card:hover {
    border-color: var(--accent-color);
}

.travel-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.travel-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.travel-rate {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.travel-details {
    text-align: left;
    max-width: 380px;
    margin: 0 auto 1.5rem;
}

.travel-detail-line {
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.travel-detail-line strong {
    color: var(--text-dark);
    font-weight: 500;
    margin-right: 0.4rem;
}

.travel-note {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

[data-theme="dark"] .travel-card {
    background: var(--background-ivory);
    border-color: #3a3a3a;
}

.travel-alt-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin: 4rem 0 0.75rem;
}

.travel-alt-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    font-family: var(--font-accent);
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
}

.travel-alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 720px;
    margin: 0 auto;
}

.travel-alt-card {
    background: var(--background-ivory);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, transform 0.3s ease;
    display: block;
}

.travel-alt-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.travel-alt-icon {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.travel-alt-card h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.travel-alt-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.travel-alt-link {
    color: var(--accent-color);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
}

[data-theme="dark"] .travel-alt-card {
    background: var(--background-ivory);
    border-color: #3a3a3a;
}

.registry {
    padding: 7rem 0;
    background: var(--background-white);
}

.registry-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-style: italic;
}

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

.registry-card {
    background: var(--background-ivory);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease;
}

.registry-card:hover {
    border-color: var(--accent-color);
}

.registry-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.registry-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.registry-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--text-dark);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--text-dark);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-dark);
}

.btn-coming-soon {
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
    font-style: italic;
}

/* Honeymoon Fund Card */
.honeymoon-card {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
}

.honeymoon-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.btn-honeymoon {
    width: 100%;
    max-width: 320px;
    text-align: center;
    font-size: 0.7rem;
}

/* History inline photos */
.history-photos {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.history-photo {
    flex: 1;
    min-width: 0;
    height: 200px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.history-photo:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .history-photos {
        flex-direction: column;
    }
    .history-photo {
        width: 100%;
        height: 180px;
    }
}

.zelle-hint {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

/* RSVP Section */
.rsvp {
    padding: 7rem 0;
    background: var(--background-ivory);
}

.rsvp-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-family: var(--font-accent);
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    font-style: italic;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--background-ivory);
}

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

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: auto;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--text-dark);
    color: var(--text-light);
    border: 1px solid var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-submit:hover {
    background: transparent;
    color: var(--text-dark);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: #eef5ee;
    color: #2d5a2d;
    border: 1px solid #b8d4b8;
}

.form-message.error {
    display: block;
    background: #fdf0f0;
    color: #8b3a3a;
    border: 1px solid #deb0b0;
}

/* RSVP Call-to-Action Section */
.rsvp-cta {
    padding: 8rem 0;
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.rsvp-cta::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    border: 1px solid rgba(250, 247, 240, 0.2);
    pointer-events: none;
}

.rsvp-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
}

.rsvp-cta-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.rsvp-cta-subtitle {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(250, 247, 240, 0.8);
    font-style: italic;
}

.rsvp-cta-divider {
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 2rem auto;
}

.rsvp-cta-date {
    font-size: 0.85rem;
    margin-bottom: 3rem;
    color: rgba(250, 247, 240, 0.7);
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.btn-rsvp-cta {
    display: inline-block;
    padding: 1rem 3.5rem;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 1px solid var(--text-light);
}

.btn-rsvp-cta:hover {
    background: var(--text-light);
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
}

.footer-text {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    color: rgba(250, 247, 240, 0.7);
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.footer-date {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 247, 240, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(250, 247, 240, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        padding: 3rem 2rem;
        margin: 0 1rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .countdown {
        gap: 1rem;
        padding: 2rem;
    }

    .countdown-value {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .timeline-time {
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-content::before {
        left: -4px !important;
        right: auto !important;
    }

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

    .rsvp-form {
        padding: 2rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }

    .photo-banner {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .photo-category-title {
        font-size: 1.4rem;
    }

    .rsvp-cta-title {
        font-size: 2.5rem;
    }

    .rsvp-cta-subtitle {
        font-size: 1.1rem;
    }

    .rsvp-cta::before {
        top: 15px;
        left: 15px;
        right: 15px;
        bottom: 15px;
    }

    /* Playlist responsive */
    .song-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .playlist-category-title {
        font-size: 1.4rem;
    }

    /* Our History responsive */
    .history-timeline::before {
        left: 30px;
    }

    .history-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }

    .history-date {
        flex: 0 0 auto;
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .history-year {
        font-size: 1.8rem;
    }

    .history-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .history-content::before {
        display: none;
    }

    .history-intro {
        font-size: 1.1rem;
    }
}

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

    .hero-content {
        padding: 2.5rem 1.5rem;
    }

    .hero-content::before {
        top: 4px;
        left: 4px;
        right: 4px;
        bottom: 4px;
    }

    .countdown {
        flex-wrap: wrap;
        padding: 1.5rem;
    }

    .countdown-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .photo-banner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .rsvp-cta-title {
        font-size: 2rem;
    }

    .rsvp-cta-subtitle {
        font-size: 1rem;
    }

    .btn-rsvp-cta {
        padding: 0.9rem 2rem;
        font-size: 0.75rem;
    }

    /* Our History responsive for small screens */
    .history-timeline::before {
        left: 20px;
    }

    .history-item {
        padding-left: 50px;
        margin-bottom: 3rem;
    }

    .history-year {
        font-size: 1.6rem;
    }

    .history-month {
        font-size: 0.7rem;
    }

    .history-content {
        padding: 1.5rem;
    }

    .history-title {
        font-size: 1.3rem;
    }

    .history-description {
        font-size: 0.9rem;
    }

    .history-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* ========================================
   RSVP LANDING PAGE STYLES
   ======================================== */

/* RSVP Landing Hero */
.rsvp-landing-hero {
    min-height: 60vh;
    background: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 8rem 2rem 6rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.rsvp-landing-hero::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(250, 247, 240, 0.15);
}

.rsvp-hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.rsvp-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.rsvp-hero-subtitle {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(250, 247, 240, 0.8);
    font-style: italic;
}

.rsvp-hero-divider {
    width: 60px;
    height: 1px;
    background: var(--accent-color);
    margin: 2rem auto;
}

.rsvp-hero-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    letter-spacing: 0.08em;
}

.rsvp-hero-location {
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(250, 247, 240, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* RSVP Form Section */
.rsvp-form-section {
    padding: 6rem 0;
    background: var(--background-ivory);
}

.rsvp-form-intro {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    font-style: italic;
}

.rsvp-form-landing {
    max-width: 700px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.form-step {
    margin-bottom: 3rem;
}

.form-step:last-of-type {
    margin-bottom: 2rem;
}

.form-step-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* Radio Cards for Attendance */
.attendance-label {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.radio-group-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.radio-card {
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card-content {
    background: var(--background-ivory);
    padding: 2.5rem 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.radio-card:hover .radio-card-content {
    border-color: var(--accent-color);
}

.radio-card input[type="radio"]:checked + .radio-card-content {
    border-color: var(--text-dark);
    border-width: 2px;
    background: var(--background-white);
}

.radio-icon {
    font-size: 2.5rem;
    font-weight: 300;
}

.radio-card input[type="radio"]:checked + .radio-card-content .radio-icon {
    color: var(--accent-color);
}

.radio-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Submit Button for Landing Page */
.btn-submit-landing {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-dark);
    color: var(--text-light);
    border: 1px solid var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-submit-landing:hover {
    background: transparent;
    color: var(--text-dark);
}

.btn-submit-landing:disabled {
    background: var(--border-color);
    border-color: var(--border-color);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Form Message for Landing Page */
.form-message-landing {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
    font-size: 1rem;
    display: none;
}

.form-message-landing.success {
    display: block;
    background: #eef5ee;
    color: #2d5a2d;
    border: 1px solid #b8d4b8;
}

.form-message-landing.error {
    display: block;
    background: #fdf0f0;
    color: #8b3a3a;
    border: 1px solid #deb0b0;
}

/* Contact Info */
.rsvp-contact {
    max-width: 700px;
    margin: 4rem auto 0;
    text-align: center;
    padding: 2rem;
    background: var(--background-white);
    border: 1px solid var(--border-color);
}

.rsvp-contact-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.rsvp-contact-text {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.rsvp-contact-email,
.rsvp-contact-phone {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.rsvp-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.rsvp-contact a:hover {
    text-decoration: underline;
}

/* ========================================
   AUTHENTICATION / LOGIN SECTION
   ======================================== */

.rsvp-auth-section {
    padding: 6rem 0;
    background: var(--background-ivory);
    min-height: 60vh;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--background-white);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-family: var(--font-accent);
    font-style: italic;
}

.auth-form {
    margin-bottom: 2rem;
}

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-ivory);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.auth-form input.error {
    border-color: #8b3a3a;
    background-color: #fdf0f0;
}

.auth-hint {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.btn-auth {
    width: 100%;
    padding: 1.2rem;
    background: var(--text-dark);
    color: var(--text-light);
    border: 1px solid var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-family: var(--font-body);
}

.btn-auth:hover {
    background: transparent;
    color: var(--text-dark);
}

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

.auth-error {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #fdf0f0;
    color: #8b3a3a;
    border: 1px solid #deb0b0;
    text-align: center;
    font-weight: 400;
    display: none;
}

.auth-error.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Shake animation for error */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s;
}

.auth-help {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.auth-help-title {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-help-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.auth-help a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-help a:hover {
    text-decoration: underline;
}

/* Hide RSVP form section initially, show after authentication */
.rsvp-form-section {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Responsive for RSVP Landing */
@media (max-width: 768px) {
    .rsvp-hero-title {
        font-size: 3rem;
    }

    .rsvp-hero-subtitle {
        font-size: 1.2rem;
    }

    .rsvp-hero-date {
        font-size: 1.5rem;
    }

    .rsvp-form-landing {
        padding: 2rem;
    }

    .radio-group-large {
        grid-template-columns: 1fr;
    }

    .auth-container {
        padding: 2rem;
    }

    .auth-title {
        font-size: 1.8rem;
    }

    .rsvp-landing-hero::before {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .rsvp-hero-title {
        font-size: 2.2rem;
    }

    .rsvp-landing-hero {
        padding: 6rem 1rem 4rem;
    }

    .rsvp-form-landing {
        padding: 1.5rem;
    }

    .form-step-title {
        font-size: 1.4rem;
    }

    .auth-container {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.6rem;
    }

    .auth-subtitle {
        font-size: 0.95rem;
    }

    .auth-form input {
        font-size: 1rem;
        padding: 0.9rem;
    }
}
