@font-face {
    font-family: 'Kaoly';
    src: url('../fonts/Kaoly Demo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Junicode';
    src: url('../fonts/Junicode/Junicode-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/Bricolage Grotesque/static/BricolageGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/Bricolage Grotesque/static/BricolageGrotesque-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/Bricolage Grotesque/static/BricolageGrotesque-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('../fonts/Bricolage Grotesque/static/BricolageGrotesque-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Primary Colors */
    --color-cream: #F8F4F0;
    --color-terracotta: #C17B5A;
    --color-brown: #5a4a3a; /* Darker for better contrast */
    --color-white: #FFFFFF;
    --color-charcoal: #2C2416;
    
    /* Mobile-specific variables */
    --vh: 1vh; /* Custom viewport height for mobile browsers */
    --mobile-padding: clamp(1rem, 4vw, 2rem);
    --mobile-gap: clamp(0.5rem, 2vw, 1rem);
    
    /* Story background transition */
    --story-bg-opacity: 0;
    
    /* Accent Colors */
    --color-orange: #E97B47;
    --color-magenta: #E94B9C;
    --color-sage: #A8B5A0;
    
    /* Semantic Colors */
    --color-background: var(--color-cream);
    --color-surface: var(--color-white);
    --color-text-primary: var(--color-charcoal);
    --color-text-secondary: var(--color-brown);
    --color-accent-primary: var(--color-terracotta);
    --color-accent-vibrant: var(--color-orange);
    --color-accent-romantic: var(--color-magenta);
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Bricolage Grotesque', 'Inter', 'Helvetica Neue', sans-serif;
    --font-accent: 'Kaoly', 'Playfair Display', serif;
    --font-heading: 'Junicode', 'Playfair Display', Georgia, serif;
    
    /* Font Sizes - Enhanced Mobile Readability */
    --text-xs: clamp(0.9375rem, 2vw, 1rem); /* 15px-16px minimum for better mobile */
    --text-sm: clamp(1rem, 2.5vw, 1.0625rem); /* 16px-17px minimum */
    --text-base: clamp(1.0625rem, 3vw, 1.1875rem); /* 17px-19px minimum */
    --text-lg: clamp(1.1875rem, 3.5vw, 1.4375rem); /* 19px-23px */
    --text-xl: clamp(1.375rem, 4vw, 1.75rem); /* 22px-28px */
    --text-2xl: clamp(1.625rem, 5vw, 2.375rem); /* 26px-38px */
    --text-3xl: clamp(2rem, 6vw, 3.375rem); /* 32px-54px */
    --text-4xl: clamp(2.5rem, 7vw, 4.25rem); /* 40px-68px */
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(44, 36, 22, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(44, 36, 22, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(44, 36, 22, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(44, 36, 22, 0.1);
    
    --radius-sm: 0.125rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease-out;
    --transition-normal: 250ms ease-out;
    --transition-slow: 350ms ease-out;
}

/* Subtle floating animation for arch elements */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0px);
    }
    25% {
        transform: translateX(-50%) translateY(-2px);
    }
    50% {
        transform: translateX(-50%) translateY(-4px);
    }
    75% {
        transform: translateX(-50%) translateY(-2px);
    }
}

/* Animation for background arch elements */
@keyframes gentleFloatBg {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    25% {
        transform: translate(-50%, -50%) translateY(-3px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-6px);
    }
    75% {
        transform: translate(-50%, -50%) translateY(-3px);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text-primary);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== HEADER & NAVIGATION ===== */

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar */
.navbar {
    height: 70px;
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.navbar-brand {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.brand-text {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-terracotta);
    letter-spacing: 0.5px;
}

.navbar-brand:hover .brand-text {
    color: var(--color-orange);
}

/* Navigation */
.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-brown);
    padding: 0.75rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-terracotta), var(--color-orange));
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* RSVP CTA Link */
.nav-link-cta {
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-orange));
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(193, 123, 90, 0.3);
    transition: all 0.3s ease;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    color: white !important;
    background: linear-gradient(135deg, var(--color-orange), #b8823a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 123, 90, 0.4);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(193, 123, 90, 0.1);
}

.menu-bar {
    width: 22px;
    height: 2px;
    background-color: var(--color-brown);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* Mobile menu animation */
.mobile-menu-btn.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .brand-text {
        font-size: 1.25rem;
    }
    
    /* Hide desktop nav, show mobile button */
    .navbar-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link-cta {
        margin: 0.5rem 2rem;
        border-radius: 25px;
        text-align: center;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* Enhanced Mobile-First Buttons */
.btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    text-align: center;
    cursor: pointer;
    border: none;
    min-height: 48px;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

/* Pink theme for registry section primary buttons */
.registry-section .btn-primary {
    background: linear-gradient(135deg, var(--color-accent-romantic) 0%, #D64AA1 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(233, 75, 156, 0.3);
    border: 1px solid rgba(233, 75, 156, 0.2);
}

.btn-primary:hover {
    background: var(--color-accent-vibrant);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.registry-section .btn-primary:hover {
    background: linear-gradient(135deg, #D64AA1 0%, #C23A91 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 75, 156, 0.4);
    border-color: rgba(233, 75, 156, 0.4);
}

/* Pink theme for registry section title */
.registry-section .section-title {
    color: var(--color-accent-romantic);
    text-shadow: 
        0 4px 8px rgba(233, 75, 156, 0.15),
        0 2px 4px rgba(233, 75, 156, 0.1);
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-6);
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Our Story Button - Inverse styling to RSVP */
.hero-story-button {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-terracotta);
    background: transparent;
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-8);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 140px;
    width: 140px;
}

.hero-story-button:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(193, 123, 90, 0.3);
}

.hero-story-button:active {
    transform: translateY(0);
}


/* Story Section - Hidden by default */
.wedding-story-fullscreen {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.wedding-story-fullscreen.revealed {
    display: block;
    opacity: 1;
}

.wedding-story-fullscreen.auto-scrolling {
    pointer-events: none;
}

/* Story Progress Bar */
.story-progress-container {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    width: 100%;
    text-align: center;
    opacity: 1;
    visibility: hidden;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-progress-container.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.story-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(193, 123, 90, 0.2);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
}

.story-progress-fill {
    height: 100%;
    background: var(--color-terracotta);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

/* Removed shimmer effect for minimalistic design */

/* Removed shimmer keyframes */

.story-progress-text {
    display: none;
}

/* Mobile responsive progress bar */
@media (max-width: 768px) {
    .story-progress-container {
        top: 62px;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        padding: 0;
    }
    
    .story-progress-container.show {
        transform: translateY(0);
    }
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-accent-primary);
    border: 2px solid var(--color-accent-primary);
}

/* Pink theme for registry section buttons */
.registry-section .btn-secondary {
    background: linear-gradient(135deg, rgba(233, 75, 156, 0.05) 0%, rgba(233, 75, 156, 0.02) 100%);
    color: var(--color-accent-romantic);
    border: 2px solid rgba(233, 75, 156, 0.3);
}

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

.registry-section .btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-accent-romantic) 0%, #D64AA1 100%);
    color: var(--color-white);
    border-color: var(--color-accent-romantic);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 75, 156, 0.25);
}

/* Hero Section - Inspiration-based Redesign */
.hero {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background photo with overlay */



/* Oak decorative elements */
.hero-oak-left,
.hero-oak-right {
    position: absolute;
    z-index: 2;
    opacity: 0.06;
    pointer-events: none;
}

.hero-oak-left {
    top: 15%;
    left: -5%;
    width: 280px;
    height: auto;
    transform: rotate(-20deg);
}

.hero-oak-right {
    bottom: 15%;
    right: -5%;
    width: 260px;
    height: auto;
    transform: rotate(20deg) scaleX(-1);
}

.hero-oak-left img,
.hero-oak-right img {
    width: 100%;
    height: auto;
    filter: sepia(100%) saturate(0.6) hue-rotate(20deg) brightness(0.5);
}

/* Content container */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: var(--space-8) var(--space-6);
}

.hero-text {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-16) var(--space-12);
    box-shadow: 
        0 20px 25px -5px rgba(44, 36, 22, 0.1),
        0 10px 10px -5px rgba(44, 36, 22, 0.04);
    border: 1px solid rgba(193, 123, 90, 0.15);
}

/* Typography following inspiration */
.hero-names {
    font-family: var(--font-accent);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-6);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(44, 36, 22, 0.08);
}

.hero-announcement {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-12);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    position: relative;
}

.hero-announcement::before,
.hero-announcement::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: var(--color-accent-primary);
    opacity: 0.6;
}

.hero-announcement::before {
    left: -80px;
}

.hero-announcement::after {
    right: -80px;
}

.hero-details {
    margin-bottom: var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    align-items: center;
}

.hero-date {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 400;
    color: var(--color-text-primary);
    margin: 0;
}

.hero-location {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-text-secondary);
    margin: 0;
    font-style: italic;
}

/* CTA Button */
.hero-cta {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-terracotta);
    padding: var(--space-5) var(--space-10);
    border-radius: var(--radius-full);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--color-accent-vibrant);
}

.hero-cta:active {
    transform: translateY(-1px);
}

/* Sections - Enhanced Typographic Hierarchy */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-accent-primary);
    text-align: center;
    margin-bottom: var(--space-12);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 
        0 4px 8px rgba(193, 123, 90, 0.15),
        0 2px 4px rgba(44, 36, 22, 0.1);
    position: relative;
}



/* Footer */
.footer {
    color: var(--color-text-primary);
    padding: var(--space-8) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    z-index: 1;
    margin: 0;
    border: none;
}

/* Footer background removed - using wrapper background instead */

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-message {
    font-family: var(--font-accent);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 400;
    color: var(--color-terracotta);
    margin-bottom: var(--space-8);
    text-shadow: 0 2px 8px rgba(193, 123, 90, 0.15);
    letter-spacing: -0.01em;
}

.footer-details {
    margin-bottom: var(--space-10);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.footer-date {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 600;
    color: var(--color-terracotta);
    margin-bottom: var(--space-3);
    letter-spacing: 0.02em;
}

.footer-venue {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    color: var(--color-text-secondary);
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.5;
}

.footer-rsvp-btn {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-terracotta);
    background: linear-gradient(135deg, rgba(193, 123, 90, 0.1) 0%, rgba(193, 123, 90, 0.05) 100%);
    padding: var(--space-5) var(--space-10);
    border: 2px solid rgba(193, 123, 90, 0.3);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    /* Removed glow effect box-shadow */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-12);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}


.footer-rsvp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.footer-rsvp-btn:hover::before {
    left: 100%;
}

.footer-rsvp-btn:hover {
    background: linear-gradient(135deg, rgba(193, 123, 90, 0.2) 0%, rgba(193, 123, 90, 0.1) 100%);
    border-color: rgba(193, 123, 90, 0.5);
    transform: translateY(-2px);
    /* Subtle shadow without glow */
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
}

.footer-rsvp-btn:active {
    transform: translateY(-1px);
}

.footer-signature {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-secondary);
    font-style: italic;
    margin-bottom: 0;
    text-shadow: 0 1px 3px rgba(193, 123, 90, 0.1);
    position: relative;
    letter-spacing: 0.02em;
}

.footer-signature::before {
    content: '♥';
    color: var(--color-terracotta);
    margin-right: var(--space-2);
    font-size: 0.9em;
    opacity: 0.7;
}

.footer-signature::after {
    content: '♥';
    color: var(--color-terracotta);
    margin-left: var(--space-2);
    font-size: 0.9em;
    opacity: 0.7;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .faq-section {
        padding: var(--space-16) 0 var(--space-20) 0;
    }
    
    .footer {
        padding: var(--space-12) var(--space-4) var(--space-12);
    }
    
    .footer-details {
        padding: var(--space-6) var(--space-4);
        margin-bottom: var(--space-8);
    }
    
    .footer-rsvp-btn {
        padding: var(--space-3) var(--space-6);
        margin-bottom: var(--space-10);
    }
}

/* Page Header */
.page-header {
    padding: var(--space-16) 0;
    text-align: center;
    background: var(--color-surface);
}

.page-title {
    font-family: var(--font-accent);
    font-size: var(--text-5xl);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-4);
}

.page-subtitle {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    text-align: center;
    max-width: 65ch;
    margin: 0 auto var(--space-8);
}



.faq-footer-wrapper {
    position: relative;
    background: transparent;
    background-image: 
        linear-gradient(0deg, #fff8f0 0%, #fff8f0 60%, transparent 100%),
        linear-gradient(0deg, 
            rgba(255, 182, 153, 0.3) 0%, 
            rgba(255, 182, 153, 0.2) 40%, 
            transparent 70%
        ),
        linear-gradient(0deg, 
            rgba(255, 244, 214, 0.5) 0%, 
            rgba(255, 244, 214, 0.3) 50%, 
            transparent 80%
        ),
        radial-gradient(circle at 40% 40%, rgba(255, 182, 153, 0.1) 0%, transparent 50%);
    margin: 0;
}


.faq-section {
    padding: var(--space-8) 0 0 0;
    position: relative;
    background: transparent;
    z-index: 1;
    margin: 0;
    border: none;
}

/* FAQ section background removed - using wrapper background instead */

.faq-bubbles {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.faq-bubble {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(193, 123, 90, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.faq-bubble:hover {
    border-color: rgba(193, 123, 90, 0.25);
}


.faq-question {
    font-family: var(--font-heading);
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: 600;
    color: var(--color-terracotta);
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-5);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    transition: color 0.3s ease;
    min-height: 48px;
    gap: var(--space-3);
    box-sizing: border-box;
}

.faq-question:hover {
    color: var(--color-orange);
}

.faq-toggle-icon {
    color: var(--color-terracotta);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-3);
}

.faq-question[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(180deg);
    color: var(--color-orange);
}

.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.faq-answer-wrapper.open {
    max-height: 600px;
    padding: 0 var(--space-5) var(--space-5) var(--space-5);
}

.faq-answer {
    color: var(--color-text-secondary);
    line-height: 1.75; /* Improved from 1.6 for dense content */
    font-size: var(--text-base);
    text-align: left;
    margin: 0;
    flex-grow: 1;
    padding-top: var(--space-4);
    transform: translateY(0);
    opacity: 1;
}

.faq-links {
    margin: var(--space-3) 0 0 0;
    padding-left: 0;
    list-style: none;
}

.faq-links li {
    margin-bottom: var(--space-1);
    position: relative;
}


.faq-links a {
    color: var(--color-terracotta);
    text-decoration: underline;
    font-size: inherit;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.faq-links a:hover {
    color: var(--color-orange);
    text-decoration-thickness: 2px;
}


.rsvp-section {
    padding: var(--space-8) 0;
    position: relative;
    overflow: hidden;
    background: transparent;
    margin: 0;
}

/* Decorative oak branches on sides of RSVP section */
.rsvp-section::before,
.rsvp-section::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 1000px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
    top: 200px;
    filter: sepia(100%) saturate(200%) hue-rotate(35deg) brightness(0.8);
}

.rsvp-section::before {
    left: 150px;
    background-image: url('../images/oak-left.png');
}

.rsvp-section::after {
    right: 150px;
    background-image: url('../images/oak-right.png');
}

/* Ensure RSVP content stays above decorative elements */
.rsvp-section .container {
    position: relative;
    z-index: 2;
}

/* RSVP title visibility and transitions */
#rsvp-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#rsvp-title.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* Mobile adjustments for oak decorations */
@media (max-width: 768px) {
    .rsvp-section::before,
    .rsvp-section::after {
        width: 500px;
        height: 650px;
        opacity: 0.08;
    }
    
    .rsvp-section::before {
        left: 40px;
    }
    
    .rsvp-section::after {
        right: 40px;
    }
}

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

.rsvp-intro {
    text-align: center;
    margin-bottom: var(--space-12);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
}

#rsvp-countdown {
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-text-primary);
}

#days-remaining {
    font-weight: 700;
    color: #d79c43;
    font-size: 1.2em;
}

/* Enhanced Mobile Form Styling */
.rsvp-form, .contact-form {
    background: var(--color-surface);
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.form-section {
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid rgba(44, 36, 22, 0.1);
}

.form-section:last-of-type {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-8);
    text-align: center;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(193, 123, 90, 0.1);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.6; /* Better spacing for form labels */
}

.form-input, .form-textarea {
    width: 100%;
    padding: var(--space-4) var(--space-5);
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    color: var(--color-text-primary);
    background: var(--color-white);
    transition: all var(--transition-normal);
    min-height: 48px;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.form-input::-webkit-input-placeholder,
.form-textarea::-webkit-input-placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.form-input::-moz-placeholder,
.form-textarea::-moz-placeholder {
    color: #9CA3AF;
    opacity: 1;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
    opacity: 1;
}

/* Style the meal preference placeholder option to match other placeholders */
.form-input option[value=""] {
    color: #9CA3AF;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-accent-romantic);
    box-shadow: 0 0 0 4px rgba(233, 75, 156, 0.15);
    transform: scale(1.02);
    z-index: 1;
    position: relative;
}

.form-textarea {
    resize: vertical;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: var(--space-5) var(--space-6);
    border: 2px solid var(--color-accent-primary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    min-height: 56px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    overflow: hidden;
    background: var(--color-white);
}

.radio-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 123, 90, 0.1), transparent);
    transition: left 0.6s;
}

.radio-label:active::before {
    left: 100%;
}

.radio-label:hover {
    background: rgba(193, 123, 90, 0.08);
    transform: translateY(-1px);
}

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

.radio-label input[type="radio"]:checked + .radio-text {
    font-weight: 600;
    color: var(--color-white);
}
.radio-label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, var(--color-accent-primary) 0%, #B85E3F 100%);
    border-color: var(--color-accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 123, 90, 0.3);
}

.radio-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    transition: all var(--transition-normal);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--space-10);
}

.form-actions .btn {
    min-width: 200px;
}

/* Dynamic Sections */
/* Progressive disclosure for RSVP form */
.contact-section,
.attending-details {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.contact-section.show,
.attending-details.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}


/* Success Message */
.rsvp-success {
    display: none;
    background: var(--color-surface);
    padding: var(--space-16);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}


.rsvp-success.show {
    display: block;
}

.success-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-8);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 4px rgba(193, 123, 90, 0.1);
}

.success-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: var(--space-8);
}

.success-message {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-10);
}

/* Registry Section */
.registry-section {
    padding: var(--space-8) 0;
    position: relative;
    background: #fefcff;
    background-image: 
        linear-gradient(180deg, rgba(255, 182, 153, 0.1) 0%, transparent 15%, transparent 85%, rgba(255, 249, 153, 0.15) 100%),
        radial-gradient(circle at 30% 70%, rgba(173, 216, 230, 0.35) 0%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(255, 182, 193, 0.4) 0%, transparent 60%);
    margin: 0;
}

.registry-intro {
    max-width: 800px;
    margin: 0 auto var(--space-16);
    text-align: center;
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Registry Grid */
.registry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-10);
    max-width: 900px;
    margin: 0 auto var(--space-16);
    position: relative;
    z-index: 2;
}

.registry-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(253, 247, 248, 0.95) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-12);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(233, 75, 156, 0.15);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.registry-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 75, 156, 0.06) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.registry-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(233, 75, 156, 0.3);
}

.registry-card:hover::before {
    transform: scale(1);
}

.registry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(233, 75, 156, 0.15), rgba(233, 75, 156, 0.08));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--color-accent-romantic);
    transition: all var(--transition-normal);
    border: 1px solid rgba(233, 75, 156, 0.2);
}

.registry-name {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    color: var(--color-accent-romantic);
    margin-bottom: var(--space-4);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.registry-description {
    color: #8B5A8C;
    margin-bottom: var(--space-6);
    line-height: 1.6;
    flex-grow: 1;
}

.registry-card .btn {
    min-width: 180px;
}

/* Expandable Message from Couple */
.couple-message {
    max-width: 900px;
    margin: 0 auto var(--space-20) auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(253, 247, 248, 0.9) 100%);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(233, 75, 156, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.message-toggle {
    width: 100%;
    padding: var(--space-6);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 500;
    color: var(--color-accent-romantic);
    transition: color var(--transition-normal);
    position: relative;
    gap: var(--space-3);
}

.message-toggle:hover {
    color: var(--color-accent-romantic);
}

.message-toggle-icon {
    transition: transform var(--transition-normal);
    color: currentColor;
    width: 16px;
    height: 16px;
}

.message-toggle[aria-expanded="true"] .message-toggle-icon {
    transform: rotate(180deg);
}

.message-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.message-content.open {
    max-height: 600px;
}

.message-poem {
    padding: var(--space-10) var(--space-8) var(--space-12);
    background: linear-gradient(135deg, rgba(253, 247, 248, 0.8) 0%, rgba(251, 242, 245, 0.8) 100%);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-style: italic;
    line-height: 1.8; /* Improved for poetry readability */
    color: var(--color-text-secondary);
    text-align: center;
    position: relative;
}

.message-poem::before {
    content: '"';
    position: absolute;
    top: var(--space-4);
    left: var(--space-6);
    font-size: 4rem;
    color: var(--color-accent-romantic);
    opacity: 0.4;
    font-family: Georgia, serif;
}

.message-poem::after {
    content: '"';
    position: absolute;
    bottom: var(--space-2);
    right: var(--space-6);
    font-size: 4rem;
    color: var(--color-accent-romantic);
    opacity: 0.4;
    font-family: Georgia, serif;
}

.message-poem p {
    margin: 0;
    position: relative;
    z-index: 1;
}

.message-poem br {
    line-height: 2.5;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .couple-message {
        margin: 0 var(--space-4) var(--space-16) var(--space-4);
    }
    
    .message-toggle {
        padding: var(--space-5);
        font-size: var(--text-base);
    }
    
    .message-poem {
        padding: var(--space-8) var(--space-6) var(--space-10);
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .message-poem::before,
    .message-poem::after {
        font-size: 3rem;
    }
}

/* Honeymoon Fund Bank Details */
.honeymoon-card {
    position: relative;
    overflow: hidden;
}

.bank-details {
    margin-top: var(--space-6);
    background: linear-gradient(135deg, rgba(248, 244, 240, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 1px solid rgba(193, 123, 90, 0.15);
    border-radius: var(--radius-xl);
    padding: 0;
    backdrop-filter: blur(8px);
    box-shadow: 
        0 2px 12px rgba(193, 123, 90, 0.08),
        0 1px 6px rgba(44, 36, 22, 0.04);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-5px) scale(0.99);
    transition: 
        opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        max-height 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bank-details.show {
    opacity: 1;
    max-height: 400px;
    padding: var(--space-6);
    transform: translateY(0) scale(1);
}


.bank-info {
    background: rgba(255, 255, 255, 0.85);
    padding: var(--space-5);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(193, 123, 90, 0.12);
    opacity: 0;
    transform: translateY(8px);
    transition: 
        opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s,
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.05s;
}

.bank-info p {
    margin: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--color-text-primary);
}

.bank-info strong {
    color: var(--color-accent-romantic);
    font-weight: 600;
}

.bank-details.show .bank-info {
    opacity: 1;
    transform: translateY(0);
}

.close-details {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    margin: var(--space-2) auto 0;
    display: block;
    opacity: 0;
    transform: translateY(8px);
    transition: 
        opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s,
        transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.bank-details.show .close-details {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile optimizations for bank details animation */
@media (max-width: 768px) {
    .bank-details {
        transform: translateY(-3px) scale(0.995);
        transition: 
            opacity 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
            max-height 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
            transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
            padding 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .bank-info {
        transform: translateY(5px);
        transition: 
            opacity 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.03s,
            transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.03s;
    }
    
    .close-details {
        transform: translateY(5px);
        transition: 
            opacity 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) 0.06s,
            transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1) 0.06s;
    }
}

/* Dress Code Section */
.dress-code-section {
    padding: var(--space-8) 0;
    position: relative;
    background: white;
    background-image: linear-gradient(180deg, rgba(255, 182, 193, 0.1) 0%, transparent 15%, transparent 85%, rgba(255, 182, 153, 0.1) 100%);
    margin: 0;
}

.dress-code-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle at center, #FFF991 0%, transparent 70%);
    opacity: 0.6;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.dress-code-toggle {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-12);
}

.toggle-btn {
    padding: var(--space-3) var(--space-8);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 249, 244, 0.95) 100%);
    border: 2px solid rgba(215, 156, 67, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    color: #d79c43;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(215, 156, 67, 0.1),
        0 2px 8px rgba(215, 156, 67, 0.05);
    position: relative;
    overflow: hidden;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(215, 156, 67, 0.06) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.toggle-btn:hover {
    background: linear-gradient(135deg, rgba(215, 156, 67, 0.1) 0%, rgba(215, 156, 67, 0.05) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(215, 156, 67, 0.15),
        0 4px 12px rgba(215, 156, 67, 0.1);
    border-color: rgba(215, 156, 67, 0.5);
}

.toggle-btn:hover::before {
    transform: scale(1);
}

.toggle-btn.active {
    background: linear-gradient(135deg, #d79c43 0%, #c8903a 100%);
    color: var(--color-white);
    border-color: #d79c43;
    box-shadow: 
        0 6px 20px rgba(215, 156, 67, 0.25),
        0 3px 10px rgba(215, 156, 67, 0.15);
    transform: translateY(-2px);
}

.toggle-btn.active::before {
    transform: scale(1);
}

.dress-code-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 400px; /* Prevents layout shift */
    overflow: hidden;
}

.dress-code-panel {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 
        opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dress-code-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dress-code-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(215, 156, 67, 0.15),
        0 8px 20px rgba(215, 156, 67, 0.1);
    border: 1px solid rgba(215, 156, 67, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only apply hover effects on devices that can actually hover */
@media (hover: hover) and (pointer: fine) {
    .dress-code-image:hover {
        box-shadow: 
            0 25px 50px rgba(215, 156, 67, 0.2),
            0 12px 25px rgba(215, 156, 67, 0.15);
        border-color: rgba(215, 156, 67, 0.2);
    }
}

/* Golden theme for dress code section title */
.dress-code-section .section-title {
    color: #d79c43;
    text-shadow: 
        0 4px 8px rgba(215, 156, 67, 0.15),
        0 2px 4px rgba(215, 156, 67, 0.1);
}

/* Dress Code Notes */
.dress-code-notes {
    margin-top: var(--space-8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-6);
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(215, 156, 67, 0.15);
}

.dress-note-text {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-brown);
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.dress-note-text p {
    margin: 0 0 var(--space-3) 0;
    font-size: var(--text-base);
    line-height: 1.7;
}

.dress-note-text p:last-child {
    margin-bottom: 0;
}

.note-separator {
    margin: 0 var(--space-3);
    color: #d79c43;
    font-weight: bold;
}

.dress-code-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    display: block;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* Registry Note */
.registry-note {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-background);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent-primary);
}

.note-title {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-6);
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.note-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.8;
    text-align: center;
}



/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* ===== MOBILE-FIRST OPTIMIZATIONS ===== */



/* ===== MOBILE-FIRST RESPONSIVE DESIGN ===== */

/* Add a subtle glow effect for even more prominence */
.hero-main-names::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(
        ellipse at center,
        rgba(193, 123, 90, 0.08) 0%,
        rgba(193, 123, 90, 0.04) 30%,
        transparent 70%
    );
    z-index: -1;
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.hero-names-section:hover .hero-main-names::before {
    opacity: 1;
}

/* Make the couple names even more visually distinct */
.hero-main-names {
    position: relative;
    display: inline-block;
    background: linear-gradient(
        135deg,
        var(--color-terracotta) 0%,
        var(--color-orange) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(193, 123, 90, 0.25));
}

/* Fallback for browsers that don't support background-clip */
@supports not (-webkit-background-clip: text) {
    .hero-main-names {
        color: var(--color-terracotta);
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* Mobile styles (default - mobile first approach) */
.container {
    padding: 0 var(--space-4);
}

/* RSVP CTA Button */
.nav-rsvp-cta {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-terracotta);
    background: transparent;
    padding: var(--space-2) var(--space-4);
    border: 1px solid rgba(193, 123, 90, 0.3);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    letter-spacing: 0.02em;
}

.nav-rsvp-cta:hover {
    color: var(--color-white);
    background: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

.nav-rsvp-cta:active {
    transform: scale(0.98);
}

/* Prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Ensure all containers stay within viewport */
.container,
.hero-content,
.story-content,
.rsvp-container,
.registry-grid,
.dress-code-content,
.faq-bubbles {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Hero section optimizations */
.hero {
    min-height: calc(100vh - 70px);
}

/* Dress code section mobile spacing */
.dress-code-section {
    padding: var(--space-12) 0 var(--space-6) 0;
}

/* Mobile dress code images - optimized for mobile viewing */
@media (max-width: 768px) {
    .dress-code-image {
        max-width: 300px;
        margin: 0 auto;
        transition: none;
        overflow: hidden;
        touch-action: pan-y;
    }
    
    .dress-code-image:hover {
        transform: none;
        box-shadow: 
            0 20px 40px rgba(215, 156, 67, 0.15),
            0 8px 20px rgba(215, 156, 67, 0.1);
        border-color: rgba(215, 156, 67, 0.1);
    }
    
    .dress-code-image img {
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 500px;
        background: transparent;
        transform: none;
        transition: none;
        touch-action: none;
    }
    
    /* Mobile-specific images for dress code */
    #women .dress-code-image img {
        content: url("../images/WhatsApp Image 2025-08-03 at 20.35.01.jpeg");
    }
    
    #men .dress-code-image img {
        content: url("../images/WhatsApp Image 2025-08-03 at 20.35.29.jpeg");
    }
    
    .dress-code-panel {
        overflow: hidden;
        touch-action: pan-y;
    }
    
    .dress-code-notes {
        margin-top: var(--space-4);
    }
}

.hero-content {
    padding: var(--space-6) var(--space-4);
    max-width: 95%;
}

.hero-text {
    padding: var(--space-12) var(--space-8);
}

.hero-names {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    margin-bottom: var(--space-4);
}

.hero-announcement {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: var(--space-8);
}

.hero-announcement::before,
.hero-announcement::after {
    display: none;
}

.hero-details {
    margin-bottom: var(--space-8);
    gap: var(--space-1);
}

.hero-date {
    font-size: var(--text-xl);
}

.hero-location {
    font-size: var(--text-base);
}

.hero-cta {
    font-size: var(--text-lg);
    padding: var(--space-4) var(--space-8);
}

/* Oak elements mobile positioning */
.hero-oak-left {
    top: 10%;
    left: -30%;
    width: 200px;
    opacity: 0.03;
    transform: rotate(-15deg);
}

.hero-oak-right {
    bottom: 10%;
    right: -30%;
    width: 180px;
    opacity: 0.03;
    transform: rotate(15deg) scaleX(-1);
}

/* Typography mobile optimizations */
.section-title {
    font-size: clamp(2rem, 10vw, 4.5rem);
    margin-bottom: var(--space-10);
    padding: 0 var(--space-4);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: var(--text-base);
    padding: 0 var(--space-4);
    margin-bottom: var(--space-8);
}


/* Grid layouts mobile optimization */
.faq-grid,
.registry-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* Cards mobile optimization */
.faq-item,
.registry-card {
    padding: var(--space-6);
    margin-bottom: var(--space-4);
}


/* Forms mobile optimization */
.rsvp-form, .contact-form {
    padding: var(--space-6);
    margin: 0 var(--space-2);
}

.form-section-title {
    font-size: clamp(1.25rem, 5vw, 2rem);
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.radio-group {
    flex-direction: column;
    gap: var(--space-3);
}

.radio-label {
    justify-content: flex-start;
    padding: var(--space-4);
}


/* Spacing adjustments for larger typography */
.faq-section,
.rsvp-section,
.registry-section {
    padding: var(--space-16) 0;
}

/* Small mobile devices (up to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .nav-container {
        padding: 0 var(--space-3);
    }
    
    .hero-content {
        padding: var(--space-4) var(--space-3);
        max-width: 98%;
    }
    
    .hero-text {
        padding: var(--space-10) var(--space-6);
        background: rgba(255, 255, 255, 0.97);
    }
    
    .hero-names {
        font-size: clamp(2rem, 12vw, 3.5rem);
        margin-bottom: var(--space-3);
    }
    
    .hero-announcement {
        font-size: clamp(0.875rem, 4vw, 1.25rem);
        margin-bottom: var(--space-6);
    }
    
    .hero-date {
        font-size: var(--text-lg);
    }
    
    .hero-location {
        font-size: var(--text-sm);
    }
    
    .hero-cta {
        font-size: var(--text-base);
        padding: var(--space-3) var(--space-6);
    }
    
    /* Typography scaling for small screens */
    .section-title {
        font-size: clamp(1.75rem, 12vw, 3rem);
        margin-bottom: var(--space-8);
        padding: 0 var(--space-2);
    }
    
    .form-section-title {
        font-size: clamp(1.125rem, 6vw, 1.75rem);
        margin-bottom: var(--space-5);
    }
    
    .faq-question {
        font-size: clamp(1.25rem, 4.5vw, 1.625rem);
        margin-bottom: var(--space-3);
    }
    
    .note-title,
    .registry-name {
        font-size: clamp(1rem, 4vw, 1.375rem);
        margin-bottom: var(--space-4);
    }
    
    /* Hide oak elements on very small screens for better text readability */
    .hero-oak-left,
    .hero-oak-right {
        display: none;
    }
    
    
    .rsvp-form, .contact-form {
        padding: var(--space-4);
        margin: 0 var(--space-1);
    }
    
    .faq-item,
    .registry-card {
        padding: var(--space-4);
    }
    
    .btn {
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-4);
        min-width: 100px;
    }
    
    /* Adjust spacing for smaller typography */
    .faq-section {
        padding: var(--space-12) 0 var(--space-16) 0;
    }
    
    .rsvp-section {
        padding: var(--space-12) 0;
    }
    
    .registry-section {
        padding: var(--space-12) 0;
    }
}

/* Tablet styles (768px and up) */
@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .nav-menu {
        display: flex;
        position: static;
        left: auto;
        transform: none;
        flex-direction: row;
        gap: var(--space-6);
    }
    
    .nav-link {
        font-size: var(--text-base);
        padding: var(--space-2) var(--space-3);
    }
    
    .nav-rsvp-cta {
        display: inline-block;
        margin-top: 0;
        font-size: var(--text-base);
        padding: var(--space-2) var(--space-3);
        background: transparent;
        border: 1px solid rgba(193, 123, 90, 0.3);
        border-radius: var(--radius-md);
        color: var(--color-terracotta);
        transition: all var(--transition-normal);
    }
    
    .nav-rsvp-cta:hover {
        color: var(--color-white);
        background: var(--color-terracotta);
        border-color: var(--color-terracotta);
    }
    
    .nav-toggle {
        display: none;
    }
    
    .navigation {
        height: 80px;
        padding: 0;
    }
    
    .hero {
        min-height: calc(100vh - 80px);
    }
    
    .hero-content {
        padding: var(--space-8) var(--space-6);
        max-width: 750px;
    }
    
    .hero-text {
        padding: var(--space-16) var(--space-12);
    }
    
    .hero-announcement::before,
    .hero-announcement::after {
        display: block;
    }
    
    .hero-details {
        gap: var(--space-4);
    }
    
    /* Oak elements tablet positioning */
    .hero-oak-left {
        top: 12%;
        left: 2%;
        width: 300px;
        opacity: 0.08;
        transform: rotate(-18deg);
    }
    
    .hero-oak-right {
        bottom: 12%;
        right: 2%;
        width: 280px;
        opacity: 0.08;
        transform: rotate(18deg) scaleX(-1);
    }
    
    
    
    
    .radio-group {
        flex-direction: row;
        justify-content: center;
    }
    
    
    .rsvp-form, .contact-form {
        padding: var(--space-10);
    }
}

/* ===== MOBILE ACCESSIBILITY ENHANCEMENTS ===== */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Enhanced focus states for mobile accessibility */
.form-group.focused .form-label {
    color: var(--color-accent-romantic);
    transform: translateY(-2px);
    transition: all var(--transition-normal);
}

.form-group.focused .form-input,
.form-group.focused .form-textarea {
    border-color: var(--color-accent-romantic);
    box-shadow: 0 0 0 4px rgba(233, 75, 156, 0.15);
}

/* Mobile touch states */
.mobile-device .btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.mobile-device .nav-link:active {
    background-color: rgba(233, 123, 71, 0.2);
}

/* Improve tap targets on mobile */
@media (max-width: 768px) {
    /* Ensure all interactive elements meet minimum touch target size (44px) */
    .btn,
    .nav-link,
    .form-input,
    .form-textarea,
    .radio-label,
    .nav-toggle,
    .hero-cta,
    .faq-question,
    .toggle-btn,
    .message-toggle {
        min-height: 48px;
        min-width: 48px;
    }
    
    .hero-cta {
        min-width: 140px;
        min-height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        padding: var(--space-4) var(--space-6);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Larger text for better readability on mobile */
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Better spacing between interactive elements */
    .form-group {
        margin-bottom: var(--space-8);
    }
    
    .radio-label {
        margin-bottom: var(--space-4);
    }
    
    /* Improved visual feedback */
    .btn:focus,
    .form-input:focus,
    .form-textarea:focus,
    .nav-toggle:focus {
        outline: 3px solid var(--color-accent-romantic);
        outline-offset: 2px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: var(--color-charcoal);
        border: 2px solid var(--color-white);
    }
    
    .hero-cta {
        background: var(--color-charcoal) !important;
        border: 2px solid var(--color-white);
    }
    
    .form-input,
    .form-textarea {
        border: 3px solid var(--color-charcoal);
    }
    
    .hero-text {
        background: rgba(255, 255, 255, 1) !important;
        border: 3px solid var(--color-charcoal);
    }
    
    .hero-names {
        color: var(--color-charcoal);
        text-shadow: none;
    }
    
    .hero-oak-left,
    .hero-oak-right {
        opacity: 0.03;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    
    .hero-text {
        backdrop-filter: none !important;
        background: rgba(255, 255, 255, 0.97) !important;
    }
    
    
    .hero-cta::before {
        display: none !important;
    }
}

/* Additional accessibility enhancements */
.hero-text:focus-within {
    outline: 3px solid var(--color-accent-romantic);
    outline-offset: 4px;
}

.btn:focus-visible {
    outline: 3px solid var(--color-accent-romantic);
    outline-offset: 3px;
    transform: scale(1.05);
}

/* Ensure text remains readable with decorative elements */
@media (max-width: 600px) {
    .hero-oak-left,
    .hero-oak-right {
        opacity: 0.05;
    }
}

/* Dark mode support for mobile devices */

/* Desktop styles (1024px and up) */
@media (min-width: 1024px) {
    .faq-section {
        padding: var(--space-20) 0 var(--space-24) 0;
    }
    
    .rsvp-section {
        padding: var(--space-20) 0;
    }
    
    .registry-section {
        padding: var(--space-20) 0;
    }
    
    .registry-grid,
    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .hero-content {
        max-width: 900px;
        padding: var(--space-10) var(--space-8);
    }
    
    .hero-text {
        padding: var(--space-20) var(--space-16);
    }
    
    .hero-names {
        font-size: clamp(4rem, 6vw, 6rem);
    }
    
    .hero-announcement {
        font-size: var(--text-2xl);
    }
    
    .hero-date {
        font-size: var(--text-3xl);
    }
    
    .hero-location {
        font-size: var(--text-xl);
    }
}

/* Extra large desktop styles (1440px and up) */
@media (min-width: 1440px) {
    .hero-main-names {
        font-size: clamp(7rem, 8vw, 8.5rem);
        margin-bottom: var(--space-10);
        letter-spacing: -0.04em;
        line-height: 0.85;
        text-shadow: 
            0 8px 16px rgba(193, 123, 90, 0.18),
            0 4px 8px rgba(44, 36, 22, 0.1),
            0 2px 4px rgba(44, 36, 22, 0.06);
    }
    
    .hero-invitation {
        font-size: clamp(1.75rem, 2vw, 2.25rem);
        font-weight: 500;
        letter-spacing: 0.12em;
        margin-bottom: var(--space-3);
    }
    
    .hero-oak-left {
        top: 8%;
        left: 5%;
        width: 380px;
        opacity: 0.09;
        transform: rotate(-22deg);
    }
    
    .hero-oak-right {
        bottom: 8%;
        right: 5%;
        width: 360px;
        opacity: 0.09;
        transform: rotate(22deg) scaleX(-1);
    }
    
    .hero-content {
        max-width: 1000px;
        padding: var(--space-12) var(--space-10);
    }
    
    .hero-text {
        padding: var(--space-24) var(--space-20);
    }
}

/* ===== ENTRANCE ANIMATIONS ===== */

/* Base animation classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation trigger classes */
.animate-fade-up.animate,
.animate-fade-in.animate,
.animate-scale-in.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===== CLEAN TYPOGRAPHY HERO DESIGN ===== */

/* Hero + RSVP Combined Background */
.hero-rsvp-wrapper {
    background: #fff8f0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 182, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 244, 214, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 182, 153, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, transparent 85%, rgba(173, 216, 230, 0.1) 100%);
    margin: 0;
    padding: 0;
}

.hero-typography {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) var(--space-6);
    position: relative;
    background: transparent;
    margin: 0;
}

.hero-typography-container {
    max-width: 900px;
    text-align: center;
    padding: var(--space-16) var(--space-8);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Small header text */
.hero-small-header {
    font-family: var(--font-sans);
    font-size: var(--text-lg);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Large dominant heading - THE STAR */
.hero-massive-heading {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 400;
    color: var(--color-terracotta);
    margin: 0 0 var(--space-8) 0;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.6),
        0 2px 2px rgba(193, 123, 90, 0.15),
        0 4px 8px rgba(44, 36, 22, 0.08);
    position: relative;
}


/* Value proposition */
.hero-value-prop {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: var(--color-brown);
    margin-bottom: var(--space-10);
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* Details text */
.hero-details {
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-12);
    line-height: 1.4;
    font-weight: 400;
}

/* CTA Button */
.hero-cta-button {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-full);
    padding: var(--space-4) var(--space-8);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    min-width: 140px;
    width: 140px;
}

.hero-cta-button:hover {
    background: transparent;
    color: var(--color-terracotta);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(193, 123, 90, 0.3);
}

.hero-cta-button:active {
    transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-typography {
        min-height: calc(100vh - 72px);
        padding: var(--space-6) var(--space-4);
    }
    
    .hero-typography-container {
        padding: var(--space-8) var(--space-4);
    }
    
    .hero-small-header {
        font-size: var(--text-base);
        margin-bottom: var(--space-3);
    }
    
    .hero-massive-heading {
        font-size: clamp(3rem, 16vw, 7rem);
        margin-bottom: var(--space-6);
        letter-spacing: -0.02em;
        line-height: 0.9;
    }
    
    .hero-value-prop {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        margin-bottom: var(--space-8);
    }
    
    .hero-details {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: var(--space-10);
        padding: 0 var(--space-2);
    }
    
    .hero-cta-button {
        font-size: var(--text-base);
        padding: var(--space-4) var(--space-8);
        min-width: 160px;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .hero-typography-container {
        padding: var(--space-6) var(--space-2);
    }
    
    .hero-massive-heading {
        font-size: clamp(2.5rem, 18vw, 5.5rem);
        margin-bottom: var(--space-4);
        letter-spacing: -0.01em;
        line-height: 0.85;
    }
    
    .hero-value-prop {
        font-size: clamp(1.25rem, 7vw, 2rem);
        margin-bottom: var(--space-6);
    }
    
    .hero-details {
        font-size: clamp(0.875rem, 4vw, 1.125rem);
        margin-bottom: var(--space-8);
        line-height: 1.5;
    }
    
    .hero-cta-button {
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-6);
        min-width: 140px;
        letter-spacing: 0.05em;
    }
}

/* Large Desktop Enhancements */
@media (min-width: 1200px) {
    .hero-typography-container {
        max-width: 1000px;
        padding: var(--space-20) var(--space-10);
    }
    
    .hero-small-header {
        font-size: var(--text-xl);
        margin-bottom: var(--space-6);
    }
    
    .hero-massive-heading {
        font-size: clamp(8rem, 12vw, 12rem);
        margin-bottom: var(--space-10);
        letter-spacing: -0.03em;
        text-shadow: 
            0 1px 0 rgba(255, 255, 255, 0.6),
            0 2px 2px rgba(193, 123, 90, 0.12),
            0 3px 6px rgba(44, 36, 22, 0.06);
    }
    
    .hero-value-prop {
        font-size: clamp(3rem, 5vw, 4rem);
        margin-bottom: var(--space-12);
    }
    
    .hero-details {
        font-size: clamp(1.375rem, 2vw, 1.75rem);
        margin-bottom: var(--space-16);
    }
    
    .hero-cta-button {
        font-size: var(--text-xl);
        padding: var(--space-6) var(--space-12);
        min-width: 200px;
        min-height: 60px;
    }
}

/* ===== WEDDING STORY SECTION ===== */
.wedding-story {
    padding: var(--space-20) 0;
    background: linear-gradient(180deg, 
        rgba(248, 244, 240, 0.5) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(248, 244, 240, 0.3) 100%);
    position: relative;
    overflow: hidden;
}

.wedding-story::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(193, 123, 90, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wedding-story::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(233, 123, 71, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wedding-story-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    position: relative;
    z-index: 1;
}

.wedding-story-text {
    font-family: var(--font-sans);
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-text-secondary);
    text-align: center;
    letter-spacing: 0.01em;
}

/* ScrollReveal Animation for Story Words */
.word {
    display: inline-block;
    opacity: 0.1;
    filter: blur(4px);
    will-change: opacity, filter, transform;
    transform-origin: center center;
    margin: 0 0.15em;
    transition: opacity 0.1s ease, filter 0.1s ease; /* Smooth but let GSAP handle the main animation */
}

/* Section headers use GSAP-based smooth animation instead of character-by-character effects */

/* Mobile Adjustments */
@media (max-width: 768px) {
    .wedding-story {
        padding: var(--space-16) 0;
    }
    
    .wedding-story-container {
        padding: 0 var(--space-4);
    }
    
    .wedding-story-text {
        font-size: clamp(1rem, 3.5vw, 1.375rem);
        line-height: 1.7;
    }
    
    .wedding-story::before {
        width: 300px;
        height: 300px;
        top: 5%;
        left: -20%;
    }
    
    .wedding-story::after {
        width: 250px;
        height: 250px;
        bottom: 5%;
        right: -20%;
    }
}

@media (max-width: 480px) {
    .wedding-story-text {
        font-size: clamp(0.875rem, 4vw, 1.125rem);
        line-height: 1.6;
    }
    
    .story-word {
        margin: 0 0.1em;
    }
}

/* ===== WEDDING STORY FULLSCREEN SECTION ===== */
.wedding-story-fullscreen {
    position: relative;
    background: #fff8f0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 182, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 244, 214, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 182, 153, 0.1) 0%, transparent 50%);
    /* Optimized height for sentence-based experience */
    min-height: 100vh;
}

.story-content {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-sentences-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 0 var(--space-6);
    margin: 0 auto;
}

.story-sentence {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    padding: 2rem 1rem; /* Add padding to prevent text cutoff */
    box-sizing: border-box;
    
    /* Uniform typography */
    font-family: 'Gambarino-Regular', var(--font-sans);
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.35;
    color: var(--color-terracotta);
    letter-spacing: -0.01em;
    
    /* Performance optimization */
    will-change: opacity, transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

.story-sentence p {
    margin: 0;
    display: inline;
}

/* Gold accent for emphasis on cream background */
.gold-accent {
    color: #d79c43;
    font-weight: 500;
    font-style: italic;
}

/* Story subsection styling */
.story-with-subsection {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.story-subsection {
    font-family: var(--font-sans);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--color-magenta);
    font-style: italic;
    opacity: 0;
    transform: translateY(10px);
    transition: all 1s ease 1.5s; /* Increased delay from 0.8s to 1.5s */
    margin-top: var(--space-4);
    text-shadow: 0 2px 8px rgba(44, 36, 22, 0.4);
}

.story-sentence.story-with-subsection[style*="opacity: 1"] .story-subsection {
    opacity: 1;
    transform: translateY(0);
}

/* Story with image layout */
.story-with-image {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
}

/* Story with rose layout */
.story-with-rose {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.story-rose-container {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease 2s; /* Delay after text appears */
    text-align: center;
    margin-top: var(--space-8);
}

.story-sentence.story-with-rose[style*="opacity: 1"] .story-rose-container {
    opacity: 1;
    transform: translateY(0);
}

.story-rose-image {
    width: clamp(100px, 20vw, 180px);
    height: auto;
    filter: opacity(0.8);
    transition: filter 0.3s ease;
}

.story-with-image p {
    text-align: center;
    margin-top: var(--space-4);
}

/* Story couple image styling */
.story-image-container {
    position: relative;
    width: clamp(300px, 60vw, 450px);
    height: clamp(240px, 48vw, 360px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: var(--space-4);
    margin-bottom: var(--space-2);
}

.story-sentence.story-with-image[style*="opacity: 1"] .story-image-container {
    opacity: 1;
    transform: translateY(0);
}

.story-couple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Pan image higher to show faces better */
    filter: grayscale(100%);
    transition: filter 0.8s ease;
}

/* Soft vignette effect for square format */
.story-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        transparent 70%,
        rgba(193, 123, 90, 0.1) 90%,
        rgba(193, 123, 90, 0.2) 100%
    );
    pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .story-with-image {
        gap: var(--space-4);
    }
    
    .story-image-container {
        width: clamp(250px, 80vw, 350px);
        height: clamp(200px, 64vw, 280px);
        margin-top: var(--space-3);
        margin-bottom: var(--space-2);
    }
}

/* Better spacing and padding for sentences */
.story-sentence p {
    margin: 0;
    padding: 0 var(--space-4);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* Split Text Animation Styles */
.split-text-target {
    overflow: hidden;
}

.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}

.split-char.animate {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Hero wedding prefix styling - subtle terracotta */
.hero-wedding-prefix {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    font-weight: 400;
    color: var(--color-terracotta);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: var(--space-3);
    text-align: center;
    opacity: 0.6; /* More faded into background */
}

/* GSAP Animation Initial States */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(60px);
}

.gsap-fade-up-early {
    opacity: 0;
    transform: translateY(40px);
}

/* Button container should be visible */
.gsap-scale-up {
    opacity: 1;
    transform: none;
}

/* Individual button initial states */
.gsap-scale-up .hero-cta-button,
.gsap-scale-up .hero-story-button {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
}

.gsap-button-hover {
    transform: scale(1);
    transition: none; /* GSAP will handle this */
}

/* Story Restart Button */
.story-restart-container {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 20;
}

.story-restart-container.show {
    opacity: 1;
    visibility: visible;
}

.story-restart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(193, 123, 90, 0.3);
    color: var(--color-text-secondary);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.story-restart-btn:hover {
    background: rgba(248, 244, 240, 0.95);
    border-color: rgba(193, 123, 90, 0.5);
    color: var(--color-terracotta);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(193, 123, 90, 0.15);
}


/* Mobile styles - uniform scaling */
@media (max-width: 768px) {
    .story-sentences-wrapper {
        padding: 0 var(--space-3);
        max-width: 95%;
    }
    
    .story-sentence {
        font-size: clamp(1.8rem, 6vw, 3rem);
        line-height: 1.4;
        padding: 3rem 1rem; /* Increase mobile padding */
    }
    
    .story-sentence p {
        padding: 0 var(--space-2);
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .story-sentences-wrapper {
        padding: 0 var(--space-2);
        max-width: 98%;
    }
    
    .story-sentence {
        font-size: clamp(1.5rem, 5.5vw, 2.4rem);
        line-height: 1.45;
        padding: 3.5rem 0.5rem; /* Extra padding for smallest screens */
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-cream);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator span {
    font-size: var(--text-sm);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-indicator svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== INSPIRATION-BASED HERO DESIGN ===== */

/* Navigation with RSVP button */
.nav-rsvp-btn {
    display: inline-block;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-normal);
    margin-left: var(--space-4);
}

.nav-rsvp-btn:hover {
    background: var(--color-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Animation Toggle Button */
.animation-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-full);
    color: var(--color-terracotta);
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-right: var(--space-3);
    position: relative;
    z-index: 10;
}

.animation-toggle:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    transform: scale(1.1);
}

.animation-toggle:active {
    transform: scale(0.95);
}

.animation-toggle.disabled {
    background: var(--color-brown);
    border-color: var(--color-brown);
    color: var(--color-white);
    opacity: 0.7;
}

.animation-toggle.disabled::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--color-white);
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
}

@media (max-width: 768px) {
    .animation-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-right: var(--space-2);
    }
}

/* Hero inspiration layout */
.hero-inspiration {
    min-height: calc(100vh - 80px);
    background: linear-gradient(135deg, 
        var(--color-cream) 0%, 
        rgba(248, 244, 240, 0.95) 30%, 
        rgba(255, 255, 255, 0.9) 70%, 
        var(--color-cream) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-8) var(--space-6);
    overflow: hidden;
}

/* Large background arch elements for architectural depth */
.hero-inspiration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(
        ellipse 400px 300px at center,
        rgba(193, 123, 90, 0.03) 0%,
        rgba(193, 123, 90, 0.02) 50%,
        transparent 75%
    );
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    z-index: 0;
    pointer-events: none;
    animation: gentleFloatBg 12s ease-in-out infinite;
}

.hero-inspiration::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 450px;
    background: linear-gradient(
        45deg,
        rgba(248, 244, 240, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(193, 123, 90, 0.02) 60%,
        transparent 85%
    );
    border-radius: 50% 50% 50% 50% / 75% 75% 25% 25%;
    z-index: 0;
    pointer-events: none;
    animation: gentleFloatBg 15s ease-in-out infinite reverse;
}

/* Names section at top */
.hero-names-section {
    text-align: center;
    margin-bottom: var(--space-12);
    z-index: 10;
    position: relative;
    padding: var(--space-4) var(--space-2);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(248, 244, 240, 0.08) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    border-radius: var(--radius-2xl);
    backdrop-filter: blur(2px);
    box-shadow: 
        0 8px 32px rgba(193, 123, 90, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-main-names {
    font-family: var(--font-accent);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    color: var(--color-terracotta);
    margin: 0 0 var(--space-6) 0;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-shadow: 
        0 4px 8px rgba(193, 123, 90, 0.25),
        0 2px 4px rgba(44, 36, 22, 0.15),
        0 1px 2px rgba(44, 36, 22, 0.1);
    position: relative;
    z-index: 10;
    text-align: center;
    display: block;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-invitation {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 3vw, 1.875rem);
    font-weight: 500;
    color: var(--color-brown);
    margin: 0;
    letter-spacing: 0.08em;
    font-style: italic;
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(44, 36, 22, 0.1);
    position: relative;
    z-index: 9;
}

/* Central photo container */
.hero-photo-container {
    position: relative;
    z-index: 3;
    margin-bottom: var(--space-10);
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Elegant arch elements inspired by the reference */
.hero-photo-container::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 400px;
    background: radial-gradient(
        ellipse 250px 200px at center,
        rgba(193, 123, 90, 0.08) 0%,
        rgba(193, 123, 90, 0.05) 40%,
        transparent 70%
    );
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    z-index: -1;
    pointer-events: none;
    animation: gentleFloat 8s ease-in-out infinite;
}

.hero-photo-container::after {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 320px;
    background: linear-gradient(
        135deg,
        rgba(248, 244, 240, 0.4) 0%,
        rgba(193, 123, 90, 0.06) 30%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(248, 244, 240, 0.2) 100%
    );
    border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(1px);
    animation: gentleFloat 10s ease-in-out infinite reverse;
}

.hero-couple-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: 
        0 20px 40px rgba(193, 123, 90, 0.2),
        0 8px 16px rgba(193, 123, 90, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: all var(--transition-slow);
}

.hero-couple-photo:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 25px 50px rgba(193, 123, 90, 0.25),
        0 12px 24px rgba(193, 123, 90, 0.2);
}

/* Wedding details cards below photo */
.hero-wedding-cards {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    margin-top: var(--space-8);
    z-index: 4;
    position: relative;
}

.wedding-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    box-shadow: 
        0 10px 25px rgba(193, 123, 90, 0.15),
        0 4px 10px rgba(193, 123, 90, 0.1);
    border: 1px solid rgba(193, 123, 90, 0.1);
    transition: all var(--transition-normal);
    min-width: 160px;
    position: relative;
    overflow: hidden;
}

.wedding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 123, 90, 0.05), transparent);
    transition: left 0.6s;
}

.wedding-card:hover::before {
    left: 100%;
}

.wedding-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 15px 35px rgba(193, 123, 90, 0.2),
        0 6px 15px rgba(193, 123, 90, 0.15);
    border-color: rgba(193, 123, 90, 0.2);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(193, 123, 90, 0.1), rgba(193, 123, 90, 0.05));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--color-terracotta);
    transition: all var(--transition-normal);
}

.wedding-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(193, 123, 90, 0.15), rgba(193, 123, 90, 0.1));
    transform: scale(1.1);
}

.card-label {
    font-family: var(--font-serif);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--color-terracotta);
    margin: 0 0 var(--space-3) 0;
    letter-spacing: 0.05em;
}

.card-detail {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--color-brown);
    margin: 0 0 var(--space-1) 0;
    line-height: 1.4;
    font-weight: 400;
}

.card-detail:first-of-type {
    font-weight: 500;
}

.card-time,
.card-address {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: var(--space-2) 0 0 0;
    font-style: italic;
    opacity: 0.8;
}

/* Mobile responsiveness for inspiration layout */
@media (max-width: 768px) {
    .nav-rsvp-btn {
        display: none;
    }
    
    .animation-toggle {
        display: none;
    }
    
    .hero-inspiration {
        min-height: calc(100vh - 72px);
        padding: var(--space-6) var(--space-4);
    }
    
    .hero-main-names {
        font-size: clamp(3rem, 14vw, 5.5rem);
        margin-bottom: var(--space-4);
        letter-spacing: -0.025em;
        line-height: 0.9;
        text-shadow: 
            0 3px 6px rgba(193, 123, 90, 0.3),
            0 1px 3px rgba(44, 36, 22, 0.2);
    }
    
    .hero-invitation {
        font-size: clamp(1rem, 4vw, 1.5rem);
        font-weight: 500;
        letter-spacing: 0.06em;
    }
    
    .hero-photo-container {
        max-width: 300px;
        margin-bottom: var(--space-8);
    }
    
    /* Mobile adjustments for arch elements */
    .hero-inspiration::before {
        width: 600px;
        height: 450px;
    }
    
    .hero-inspiration::after {
        width: 480px;
        height: 360px;
    }
    
    .hero-photo-container::before {
        width: 380px;
        height: 300px;
        top: -45px;
    }
    
    .hero-photo-container::after {
        width: 320px;
        height: 240px;
        top: -30px;
    }
    
    .hero-wedding-cards {
        flex-direction: column;
        gap: var(--space-4);
        margin-top: var(--space-6);
        align-items: center;
    }
    
    .wedding-card {
        min-width: 200px;
        max-width: 250px;
        padding: var(--space-5) var(--space-4);
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: var(--space-3);
    }
    
    .card-label {
        font-size: var(--text-base);
        margin-bottom: var(--space-2);
    }
    
    .card-detail {
        font-size: var(--text-sm);
        margin-bottom: var(--space-1);
    }
    
    .card-time,
    .card-address {
        font-size: var(--text-xs);
        margin-top: var(--space-1);
    }
}

@media (max-width: 480px) {
    .hero-main-names {
        font-size: clamp(2.5rem, 16vw, 4.5rem);
        margin-bottom: var(--space-3);
        letter-spacing: -0.02em;
        line-height: 0.85;
        text-shadow: 
            0 2px 5px rgba(193, 123, 90, 0.35),
            0 1px 2px rgba(44, 36, 22, 0.25);
    }
    
    .hero-invitation {
        font-size: clamp(0.875rem, 5vw, 1.375rem);
        font-weight: 500;
    }
    
    .hero-photo-container {
        max-width: 250px;
    }
    
    /* Smaller arch elements for very small screens */
    .hero-inspiration::before {
        width: 450px;
        height: 340px;
    }
    
    .hero-inspiration::after {
        width: 360px;
        height: 270px;
    }
    
    .hero-photo-container::before {
        width: 320px;
        height: 250px;
        top: -35px;
    }
    
    .hero-photo-container::after {
        width: 280px;
        height: 200px;
        top: -25px;
    }
    
    .hero-wedding-cards {
        gap: var(--space-3);
    }
    
    .wedding-card {
        min-width: 180px;
        max-width: 200px;
        padding: var(--space-4);
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
    }
}

/* Add hover effects for enhanced interactivity */
.hero-main-names:hover {
    transform: scale(1.02);
    text-shadow: 
        0 6px 12px rgba(193, 123, 90, 0.35),
        0 3px 6px rgba(44, 36, 22, 0.25),
        0 1px 3px rgba(44, 36, 22, 0.15);
    transition: all var(--transition-slow);
}

.hero-names-section:hover {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(248, 244, 240, 0.12) 50%,
        rgba(255, 255, 255, 0.06) 100%
    );
    box-shadow: 
        0 12px 48px rgba(193, 123, 90, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all var(--transition-slow);
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-main-names {
        font-size: clamp(4.5rem, 9vw, 6.5rem);
        margin-bottom: var(--space-6);
        letter-spacing: -0.03em;
        line-height: 0.9;
        text-shadow: 
            0 4px 8px rgba(193, 123, 90, 0.25),
            0 2px 4px rgba(44, 36, 22, 0.15);
    }
    
    .hero-invitation {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        font-weight: 500;
        letter-spacing: 0.08em;
    }
    
    .hero-wedding-cards {
        flex-direction: row;
        gap: var(--space-5);
        margin-top: var(--space-8);
    }
    
    .wedding-card {
        min-width: 150px;
        max-width: 180px;
        padding: var(--space-5);
    }
    
    .hero-photo-container {
        max-width: 350px;
    }
    
    /* Tablet arch element adjustments */
    .hero-inspiration::before {
        width: 700px;
        height: 525px;
    }
    
    .hero-inspiration::after {
        width: 550px;
        height: 410px;
    }
    
    .hero-photo-container::before {
        width: 450px;
        height: 360px;
        top: -55px;
    }
    
    .hero-photo-container::after {
        width: 380px;
        height: 290px;
        top: -35px;
    }
}

/* Large desktop adjustments */
@media (min-width: 1024px) {
    .hero-main-names {
        font-size: clamp(6rem, 10vw, 8rem);
        margin-bottom: var(--space-8);
        letter-spacing: -0.035em;
        line-height: 0.9;
        text-shadow: 
            0 6px 12px rgba(193, 123, 90, 0.2),
            0 3px 6px rgba(44, 36, 22, 0.12),
            0 1px 3px rgba(44, 36, 22, 0.08);
    }
    
    .hero-invitation {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        font-weight: 500;
        letter-spacing: 0.1em;
        margin-bottom: var(--space-2);
    }
    
    .hero-inspiration {
        padding: var(--space-12) var(--space-8);
    }
    
    .hero-photo-container {
        max-width: 450px;
    }
    
    .hero-wedding-cards {
        gap: var(--space-8);
        margin-top: var(--space-10);
    }
    
    .wedding-card {
        min-width: 180px;
        max-width: 220px;
        padding: var(--space-6);
    }
    
    .card-icon {
        width: 52px;
        height: 52px;
    }
    
    .card-label {
        font-size: var(--text-xl);
    }
    
    .card-detail {
        font-size: var(--text-lg);
    }
    
    .card-time,
    .card-address {
        font-size: var(--text-base);
    }
}

/* Terracotta theme for FAQ section title to match footer */
.faq-section .section-title {
    color: var(--color-terracotta);
    text-shadow: 
        0 4px 8px rgba(193, 123, 90, 0.15),
        0 2px 4px rgba(193, 123, 90, 0.1);
}

/* Mobile FAQ Optimizations */
@media (max-width: 768px) {
    .faq-bubbles {
        padding: 0 var(--space-3);
        gap: var(--space-3);
        max-width: 100%;
    }
    
    .faq-bubble {
        margin: 0;
        border-radius: var(--radius-md);
    }
    
    .faq-question {
        font-size: clamp(1rem, 4vw, 1.25rem);
        padding: var(--space-4);
        -webkit-tap-highlight-color: rgba(193, 123, 90, 0.1);
        line-height: 1.4;
        align-items: center;
    }
    
    .faq-answer-wrapper {
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .faq-answer-wrapper.open {
        padding: 0 var(--space-4) var(--space-4) var(--space-4);
    }
    
    .faq-answer {
        font-size: var(--text-sm);
        line-height: 1.6;
    }
    
    .faq-links a {
        display: block;
        padding: var(--space-2) 0;
        color: var(--color-terracotta);
        text-decoration: underline;
        font-weight: 500;
        font-size: var(--text-sm);
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}
}