/* ============================================
   FONT FACE DECLARATIONS
   ============================================ */
@font-face {
    font-family: 'Sharis';
    src: url('fonts/sharis-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

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

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

/* ============================================
   RESET & BASE STYLES
   ============================================ */

/* Hide all body content by default (except password modal) */
body > *:not(.password-modal) {
    opacity: 0;
    visibility: hidden;
}

/* Keep content hidden when password modal is visible */
body:not(.authenticated) > *:not(.password-modal) {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Fade-in animation for authenticated content */
body.authenticated > *:not(.password-modal) {
    visibility: visible;
}

/* Hero section fade-in - elegant entrance */
body.authenticated .hero {
    animation: heroFadeIn 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Staggered fade-in for sections with fade-in class */
body.authenticated .fade-in {
    animation: sectionFadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

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

:root {
    /* Colors */
    --bg-color: #fdfcf8;
    --bg-white: #fff;
    --bg-dark: #1a1a1a;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-light: #fff;
    --accent-gold: #c5a065;
    --border-light: rgba(0, 0, 0, 0.05);
    --border-dashed: #ccc;
    
    /* Typography */
    --font-serif: 'Sharis', 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Container */
    --container-width: 88%;
    --container-max-width: 700px;
    
    /* Section Height */
    --section-height: 80vh;
}

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

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

h1 {
    font-size: 3rem;
    margin: var(--spacing-xs) 0;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
}

p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: var(--container-width);
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-xxl) 0;
}

.container-wide {
    max-width: 1200px;
    width: 92%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    padding-top: 15vh;
}

.hero-content .container {
    padding: var(--spacing-xl) 0;
}

.subtitle {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.hero-content h1 {
    color: var(--text-light);
}

.ampersand {
    letter-spacing: 0.5em;
}

.tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
}

.date {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin-top: var(--spacing-sm);
    color: var(--text-light);
}

/* ============================================
   STORY SECTION
   ============================================ */
.story {
    background-color: var(--bg-white);
    min-height: var(--section-height);
    display: flex;
    align-items: center;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.story-left {
    text-align: left;
}

.story-heading {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0;
}

/* Desktop: Move "Here" to next line */
@media (min-width: 768px) {
    .story-heading .line-break {
        display: block;
    }
}

.story-middle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.story-right {
    text-align: left;
}

.story-right p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* Mobile: Stack story columns */
@media (max-width: 767px) {
    .story,
    .lumiere,
    .venue,
    .attire,
    .faq,
    .rsvp-section {
        min-height: auto;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .story-heading {
        font-size: 2rem;
        text-align: center;
    }
    
    .story-right {
        text-align: center;
    }
}

/* ============================================
   LUMIERE SECTION
   ============================================ */
.lumiere {
    background-color: #0e1318;
    overflow: hidden;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.lumiere-left {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-lg);
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lumiere-main-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}

.lumiere-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    padding-left: var(--spacing-xl);
    padding-top: var(--spacing-xxl);
}

.lumiere-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    max-width: 95%;
    width: 100%;
    max-height: 90%;
    box-sizing: border-box;
    justify-content: center;
    overflow: visible;
}

.lumiere-square-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    max-height: 80%;
    overflow: visible;
    padding: 2%;
    box-sizing: border-box;
}

.lumiere-square-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    max-height: 100%;
}

.lumiere-overlay-text {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    color: var(--text-light);
    font-size: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    z-index: 1;
}

.lumiere-description {
    text-align: right;
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: calc(var(--spacing-xs) * -0.5);
    flex-shrink: 0;
    max-height: 40%;
    overflow: hidden;
    padding-right: 2%;
    box-sizing: border-box;
}

/* Hide line break on mobile */
@media (max-width: 767px) {
    .lumiere-description .desktop-only {
        display: none;
    }
    
    .lumiere-description {
        text-align: right;
    }
}

/* Tablet: Adjust lumiere layout */
@media (max-width: 1024px) and (min-width: 768px) {
    .lumiere {
        height: auto;
        min-height: 80vh;
        padding: var(--spacing-xl) 0;
    }
    
    .lumiere-left {
        padding: 0 var(--spacing-md);
        min-height: 80vh;
    }
    
    .lumiere-main-image {
        object-fit: cover;
        min-height: 80vh;
    }
    
    .lumiere-right {
        padding: var(--spacing-lg) var(--spacing-md);
        min-height: 80vh;
    }
}

/* Mobile: Stack lumiere columns */
@media (max-width: 767px) {
    .lumiere {
        grid-template-columns: 1fr;
        height: auto;
        padding: var(--spacing-lg) 0;
        gap: var(--spacing-lg);
    }
    
    .lumiere-left {
        padding: 0 var(--spacing-md);
        width: 100%;
    }
    
    .lumiere-main-image {
        height: auto;
        min-height: 50vh;
        max-width: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .lumiere-right {
        justify-content: center;
        padding: var(--spacing-lg) var(--spacing-md);
        width: 100%;
    }
    
    .lumiere-content {
        max-width: 100%;
        width: 100%;
        max-height: none;
    }
    
    .lumiere-square-wrapper {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
        max-height: none;
    }
    
    .lumiere-square-image {
        width: 100%;
        max-width: 100%;
    }
    
    .lumiere-description {
        text-align: right;
        width: 100%;
        max-height: none;
    }
    
    .venue-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        display: flex;
        flex-direction: column;
    }
    
    .venue-left {
        order: 1;
    }
    
    .venue-right {
        order: 2;
        text-align: center;
    }
    
    .venue-info {
        order: 1;
    }
    
    .venue-map {
        order: 2;
    }
    
    .transport-details {
        order: 3;
    }
    
    .venue-header {
        text-align: center;
    }
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline {
    background-color: #0e1318;
    min-height: var(--section-height);
    display: flex;
    align-items: center;
    padding: var(--spacing-xxl) 0;
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.timeline-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.timeline-header-wrapper {
    flex-shrink: 0;
}

.timeline-header {
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    color: var(--text-light);
    text-align: left;
}

.timeline-events-wrapper {
    margin-top: auto;
}

.timeline-event {
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.timeline-event:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.timeline-time {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.05em;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.timeline-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Mobile: Stack timeline columns */
@media (max-width: 767px) {
    .timeline-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .timeline-header {
        text-align: center;
        margin-bottom: var(--spacing-xl);
    }
    
    .timeline-left {
        text-align: center;
    }
    
    .timeline-right {
        width: 100%;
        padding: 0;
    }
    
    .timeline-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 70vh;
        object-fit: cover;
    }
}

/* ============================================
   VENUE SECTION
   ============================================ */
.venue {
    background-color: #F9F5EF;
    border-top: 1px solid var(--border-light);
    min-height: var(--section-height);
    display: flex;
    align-items: center;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.venue-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.venue-right {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.venue-info {
    order: 0;
}

.venue-map {
    order: 1;
}

.transport-details {
    order: 2;
}

.venue-header {
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--text-primary);
}

.venue-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
    text-align: center;
}

.address {
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.venue-map {
    width: 100%;
    margin: var(--spacing-lg) 0;
    border-radius: 4px;
    overflow: hidden;
}

.venue-map iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

.transport-details {
    text-align: left;
    margin-top: var(--spacing-lg);
}

.transport-item {
    margin-bottom: var(--spacing-md);
}

.transport-item h3 {
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-xs);
    display: inline-block;
}

.note {
    font-size: 0.8rem;
    font-style: italic;
}

@media (max-width: 767px) {
    .venue-grid {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .venue-left {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .venue-image {
        width: auto;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }

    .venue-right {
        order: 2;
        text-align: center;
    }

    .venue-info {
        order: 1;
    }

    .venue-map {
        order: 2;
    }

    .transport-details {
        order: 3;
    }
}

/* ============================================
   ATTIRE SECTION
   ============================================ */
.attire {
    text-align: center;
    /* WebP version for modern browsers (will be used if supported) */
    background-image: url('assets/optimized/sketch-1920w.webp');
    /* Fallback for browsers that don't support WebP */
    background-image: url('assets/optimized/sketch-1920w.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: var(--section-height);
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Responsive background images for smaller screens */
@media (max-width: 1280px) {
    .attire {
        background-image: url('assets/optimized/sketch-1280w.webp');
        background-image: url('assets/optimized/sketch-1280w.png');
    }
}

@media (max-width: 800px) {
    .attire {
        background-image: url('assets/optimized/sketch-800w.webp');
        background-image: url('assets/optimized/sketch-800w.png');
    }
}

.attire h2 {
    font-size: 2rem;
}

.attire::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    opacity: 0.75;
    z-index: 0;
}

.attire .container {
    position: relative;
    z-index: 1;
}

.attire h2 {
    font-size: 3.125rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.dress-code {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: var(--spacing-xs);
}

.attire-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.attire-card {
    flex: 1;
    margin-top: 0;
}

.attire-card h3 {
    font-size: 1.5rem;
}

.attire-image {
    width: 108%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-top: var(--spacing-sm);
    margin-left: -4%;
    margin-right: -4%;
}

.attire-card:nth-child(2) .attire-image {
    width: 99%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xs);
}

/* Nudge "For Her" image down to align visually with "For Him" */
.attire-card:first-child .attire-image {
    margin-top: var(--spacing-xxl);
}

.sketch-placeholder {
    width: 100%;
    height: 300px;
    background-color: #fafafa;
    border: 1px dashed var(--border-dashed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    min-height: var(--section-height);
    display: flex;
    align-items: center;
}

.faq .container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.faq-left {
    display: flex;
    align-items: center;
}

.faq-heading {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-heading-line {
    font-family: var(--font-serif);
    font-size: 3.125rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    line-height: 1.2;
}

.faq-right {
    display: flex;
    flex-direction: column;
}

.faq-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-lg);
    margin-bottom: 0;
}

.faq-number {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-content {
    display: flex;
    flex-direction: column;
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
}

.faq-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.faq-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-light);
    margin: var(--spacing-lg) 0;
}

/* Mobile: Stack FAQ columns */
@media (max-width: 767px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .faq-left {
        justify-content: center;
        text-align: center;
    }
    
    .faq-heading {
        align-items: center;
        text-align: center;
    }
    
    .faq-heading-line {
        font-size: 2rem;
    }
}

/* ============================================
   FOOTER / RSVP SECTION
   ============================================ */
.rsvp-section {
    position: relative;
    min-height: 100vh;
    /* WebP version for modern browsers (will be used if supported) */
    background-image: url('assets/optimized/footer-1920w.webp');
    /* Fallback for browsers that don't support WebP */
    background-image: url('assets/optimized/footer-1920w.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0;
}

.footer-image-wrapper {
    display: none;
}

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

.footer-content {
    width: 100%;
    background-color: #000000;
    padding: var(--spacing-xl) var(--spacing-xxl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.footer-left {
    flex: 0 0 auto;
}

.footer-heading {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-light);
    line-height: 1.2;
    margin: 0;
    text-align: left;
    white-space: nowrap;
}

.footer-middle {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    align-items: center;
}

.contact-block {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-start;
}

.contact-name {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.3rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-light);
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    text-decoration: none;
}

.whatsapp-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.footer-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    height: 100%;
}

.btn-rsvp {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-xl);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

/* WhatsApp contact buttons */
.btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: 999px;
    border: 1px solid var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--accent-gold);
    background: transparent;
    cursor: pointer;
}

.btn-contact .whatsapp-icon {
    margin-right: 0.5rem;
}

.btn-contact:hover {
    background-color: var(--accent-gold);
    color: var(--text-light);
}

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

/* Mobile: Stack footer content */
@media (max-width: 767px) {
    /* Mobile: Use separate image div instead of background image */
    .rsvp-section {
        background-image: none;
        background-color: transparent;
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
        gap: 0;
    }
    
    .footer-image-wrapper {
        display: block;
        width: 100%;
        position: relative;
        overflow: hidden;
        order: 1;
        margin: 0;
        padding: 0;
        flex-shrink: 0;
        height: 60vh;
    }
    
    .footer-image {
        position: absolute;
        top: -5%;
        left: -11.5%;
        width: 130%;
        height: 110%;
        object-fit: cover;
        object-position: center 33%;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    .footer-content {
        order: 2;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg) var(--spacing-md);
        margin-top: 0;
        position: relative;
        width: 100%;
        flex-shrink: 0;
        z-index: 1;
    }
    
    .footer-heading {
        text-align: left;
        white-space: normal;
        font-size: 1.5rem;
    }
    
    .footer-middle {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: var(--spacing-md);
    }
    
    .footer-right {
        width: 100%;
    }
    
    .btn-rsvp {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   SCROLL FADE-IN ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays for child elements */
.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

/* Hero section fade-in - only visible when authenticated */
body.authenticated .hero {
    opacity: 1;
    transform: none;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 768px) {
    h1 {
        font-size: 4.5rem;
    }
    
    .attire-grid {
        flex-direction: row;
    }
    
    .transport-details {
        display: flex;
        justify-content: space-between;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .transport-item {
        flex: 1;
    }
    
    .transport-item h3 {
        display: block;
        border-bottom: none;
    }
}
