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

:root {
    /* Color Palette */
    --ivory: #FFFEF5;
    --cream: #F8F6F0;
    --white: #FFFFFF;
    --soft-gold: #D4AF37;
    --royal-purple: #6B46C1;
    --dusty-rose: #D4A5A5;
    --charcoal: #2D3748;
    --warm-gray: #718096;
    --light-gray: #E2E8F0;
    
    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--ivory);
    color: var(--charcoal);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--warm-gray);
}

/* Section Styling */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 20px;
    font-family: var(--font-serif);
    letter-spacing: 0.02em;
}

.section-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--soft-gold), transparent);
    margin: 0 auto;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-top: 1rem;
    font-style: italic;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 254, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--soft-gold);
}

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

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-slideshow {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 700px;
}

/* Enhanced Flexible Slideshow Styles */
.hero-slideshow,
.proposal-slideshow,
.gallery-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--cream) 0%, var(--ivory) 100%);
    min-height: 400px;
    transition: height 0.5s ease;
}

.hero-slideshow {
    min-height: 500px;
    max-height: 80vh;
}

.proposal-slideshow {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 450px;
}

.gallery-slideshow {
    max-width: 1000px;
    margin: 0 auto;
    min-height: 450px;
}

.slideshow-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide,
.proposal-slide,
.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img,
.proposal-slide img,
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.slide video,
.proposal-slide video,
.gallery-slide video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Slideshow Navigation */
.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--soft-gold);
    border-color: var(--soft-gold);
}

.nav-dot:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.2);
}

/* Audio controls removed - all media plays muted */

/* Blur Background for Portrait/Square Images */
.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blur-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(25px);
    transform: scale(1.15);
    opacity: 0.6;
}

/* Ensure main media is above blur background */
.slide img,
.slide video,
.proposal-slide img,
.proposal-slide video,
.gallery-slide img,
.gallery-slide video {
    position: relative;
    z-index: 2;
}

/* Mobile adjustments for slideshow */
@media (max-width: 768px) {
    .hero-slideshow,
    .proposal-slideshow,
    .gallery-slideshow {
        min-height: 300px;
        max-height: 60vh;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.couple-names {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
    color: var(--white);
}

.bride-name,
.groom-name {
    display: inline;
}

.amp {
    font-size: 3rem;
    font-style: italic;
    margin: 0 15px;
    color: var(--soft-gold);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 10px;
    color: var(--soft-gold);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-date {
    font-size: 1.1rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

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

.btn-primary:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--charcoal);
}

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

.btn-outline:hover {
    background-color: var(--soft-gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

/* Placeholder */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
}

.placeholder-content {
    text-align: center;
    color: var(--warm-gray);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--soft-gold);
    opacity: 0.3;
}

/* Hero Info Card Section */
.hero-info-section {
    background: var(--ivory);
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.hero-info-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
}

.hero-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--soft-gold), transparent);
    border-radius: 16px 16px 0 0;
}

.hero-info-card .hero-tagline {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--soft-gold);
    letter-spacing: 0.02em;
}

.hero-info-card .hero-date {
    font-size: 1.1rem;
    margin-bottom: 45px;
    color: var(--warm-gray);
    font-weight: 500;
}

.hero-info-card .hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-info-card .hero-buttons .btn {
    padding: 16px 32px;
    font-size: 0.9rem;
}

.hero-info-card .hero-buttons .btn i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .hero-info-section {
        padding: 60px 0;
    }
    
    .hero-info-card {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .hero-info-card .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-info-card .hero-date {
        font-size: 1rem;
    }
    
    .hero-info-card .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-info-card .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Butterfly Text Animation */
.butterfly-text {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.butterfly-text .bride-name,
.butterfly-text .groom-name {
    display: inline-block;
    animation: butterflyFloat 4s ease-in-out infinite;
}

.butterfly-text .bride-name {
    animation-delay: 0s;
}

.butterfly-text .groom-name {
    animation-delay: 0.5s;
}

.butterfly-text .amp {
    animation: butterflyFloat 4s ease-in-out infinite;
    animation-delay: 0.25s;
}

@keyframes butterflyFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(-8px) rotate(1deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-3px) rotate(-0.5deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) rotate(0.5deg);
        opacity: 0.95;
    }
}

/* Elegant Countdown Section */
.countdown-section {
    background: var(--ivory);
    padding: 80px 0;
}

.countdown-card {
    background: var(--white);
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--soft-gold), transparent);
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.countdown-subtitle {
    color: var(--warm-gray);
    margin-bottom: 50px;
    font-size: 1.1rem;
    font-style: italic;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.countdown-item {
    text-align: center;
    position: relative;
}

.countdown-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.8rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--soft-gold);
    line-height: 1;
    animation: separatorGlow 2s ease-in-out infinite;
}

@keyframes separatorGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    }
}

/* Elegant shimmer effect on numbers */
.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.countdown-item:nth-child(1)::before { animation-delay: 0s; }
.countdown-item:nth-child(3)::before { animation-delay: 0.5s; }
.countdown-item:nth-child(5)::before { animation-delay: 1s; }
.countdown-item:nth-child(7)::before { animation-delay: 1.5s; }

@media (max-width: 768px) {
    .countdown-card {
        padding: 40px 25px;
    }
    
    .countdown-title {
        font-size: 1.8rem;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-number {
        font-size: 2.8rem;
    }
    
    .countdown-separator {
        font-size: 1.8rem;
    }
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.countdown-subtitle {
    color: var(--warm-gray);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.countdown-item {
    text-align: center;
}

.countdown-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.countdown-separator {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--soft-gold);
    line-height: 1;
}

/* Love Story Section */
.love-story {
    background: var(--ivory);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-section {
    margin-bottom: 60px;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 30px;
    text-align: center;
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-pov {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
}

.pov-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.pov-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--soft-gold);
    margin-bottom: 20px;
    font-style: italic;
}

.pov-text p {
    font-size: 1rem;
    line-height: 1.7;
}

.scripture-card {
    background: var(--cream);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0;
}

.scripture-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.scripture-reference {
    font-size: 1rem;
    color: var(--soft-gold);
    font-weight: 500;
}

/* Proposal Section */
.proposal {
    background: var(--cream);
}

.proposal-content {
    max-width: 800px;
    margin: 0 auto 60px;
}

.proposal-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Proposal and Gallery slideshows now use the enhanced flexible styles above */

/* Forever Section */
.forever {
    background: var(--ivory);
}

.forever-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.forever-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.forever-emphasis {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--soft-gold);
    font-weight: 500;
}

/* Events Section */
.events {
    background: var(--cream);
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.event-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.event-header {
    background: var(--soft-gold);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.event-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.event-details {
    padding: 30px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.event-detail i {
    color: var(--soft-gold);
    width: 20px;
    text-align: center;
}

.event-map {
    height: 300px;
    border-top: 1px solid var(--light-gray);
}

.event-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.event-placeholder {
    height: 300px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--light-gray);
}

.event-placeholder .placeholder-content i {
    font-size: 3rem;
    color: var(--soft-gold);
    margin-bottom: 15px;
}

.event-placeholder .placeholder-content p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    margin-bottom: 5px;
}

.placeholder-subtitle {
    font-size: 0.9rem !important;
    font-style: italic;
}

.event-rsvp {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid var(--light-gray);
}

/* Gallery Section */
.gallery {
    background: var(--ivory);
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-toggle.active {
    background: var(--soft-gold);
    border-color: var(--soft-gold);
    color: var(--white);
}

/* Gallery slideshow now uses the enhanced flexible styles */
/* The gallery-grid styles below remain for grid view */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.gallery-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 8px;
}

/* Registry Page */
.registry-page {
    background: var(--cream);
    min-height: calc(100vh - 200px);
}

.registry-content {
    max-width: 900px;
    margin: 0 auto;
}

.gratitude-note {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.note-icon {
    font-size: 3rem;
    color: var(--soft-gold);
    margin-bottom: 20px;
}

.note-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.note-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--warm-gray);
}

.signature {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--charcoal);
    margin-top: 30px;
}

.registry-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.registry-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.registry-icon {
    font-size: 3rem;
    color: var(--soft-gold);
    margin-bottom: 20px;
}

.registry-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.registry-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--warm-gray);
}

/* Aso-Ebi Page */
.asoebi-page {
    background: var(--cream);
    min-height: calc(100vh - 200px);
}

.asoebi-content {
    max-width: 900px;
    margin: 0 auto;
}

.asoebi-intro {
    text-align: center;
    margin-bottom: 50px;
}

.asoebi-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.asoebi-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.asoebi-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.asoebi-header {
    margin-bottom: 30px;
}

.asoebi-icon {
    font-size: 3rem;
    color: var(--soft-gold);
    margin-bottom: 15px;
}

.asoebi-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 5px;
}

.asoebi-subtitle {
    color: var(--warm-gray);
    font-size: 0.9rem;
}

.asoebi-details {
    margin-bottom: 30px;
}

.asoebi-details p {
    font-size: 1rem;
    line-height: 1.7;
}

.asoebi-note {
    max-width: 700px;
    margin: 0 auto;
}

.note-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.note-card h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.note-card ul {
    list-style: none;
    padding-left: 0;
}

.note-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--warm-gray);
}

.note-card li:before {
    content: "•";
    color: var(--soft-gold);
    position: absolute;
    left: 0;
}

/* RSVP Page */
.rsvp-page {
    background: var(--cream);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.rsvp-content {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-card {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.rsvp-icon {
    font-size: 4rem;
    color: var(--soft-gold);
    margin-bottom: 25px;
}

.rsvp-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.rsvp-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--warm-gray);
}

.rsvp-card .event-detail {
    justify-content: center;
    margin-bottom: 20px;
}

.rsvp-action {
    margin: 40px 0;
}

.rsvp-note {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.rsvp-note p {
    color: var(--warm-gray);
    font-style: italic;
}

.rsvp-note i {
    color: var(--soft-gold);
    margin-right: 8px;
}

/* Admin Page */
.admin-page {
    background: var(--ivory);
    min-height: calc(100vh - 200px);
    padding-top: 120px;
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-button {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--soft-gold);
    border-color: var(--soft-gold);
    color: var(--white);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.admin-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--light-gray);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 25px;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--light-gray);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.upload-sections {
    display: grid;
    gap: 40px;
}

.upload-section {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.upload-section h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.upload-section p {
    color: var(--warm-gray);
    margin-bottom: 20px;
}

.upload-area {
    border: 2px dashed var(--light-gray);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: var(--soft-gold);
    background: var(--cream);
}

.upload-label {
    cursor: pointer;
    display: block;
}

.upload-label i {
    font-size: 2rem;
    color: var(--soft-gold);
    margin-bottom: 10px;
}

.upload-label span {
    color: var(--warm-gray);
    font-size: 1rem;
}

.upload-progress {
    margin-top: 20px;
    height: 4px;
    background: var(--light-gray);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--soft-gold);
    width: 0%;
    transition: width 0.3s ease;
}

.media-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.media-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
}

.media-item img,
.media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.delete-btn:hover {
    background: rgba(0,0,0,0.9);
}

.no-media {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--warm-gray);
    font-style: italic;
    padding: 40px;
}

.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
}

.alert-success {
    background: #C6F6D5;
    color: #22543D;
    border: 1px solid #9AE6B4;
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo .logo-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--soft-gold);
    display: block;
    margin-bottom: 15px;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--cream);
}

.footer-verse {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--warm-gray);
    margin-bottom: 30px;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--soft-gold);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--warm-gray);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .couple-names {
        font-size: 3.5rem;
    }
    
    .amp {
        font-size: 2.5rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .registry-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .asoebi-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-pov {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
 