/* ===================================
   Romantic Floral Vintage Wedding Template
   Palette: Dusty Rose (#D4A5A5), Cream (#F5E6D3), Muted Green (#8B9D83)
   Brizbriz Level: High
   =================================== */

/* ===================================
   CSS Reset & Base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Romantic Vintage */
    --color-dusty-rose: #D4A5A5;       /* Dusty Rose - primary */
    --color-rose-dark: #B88888;        /* Darker rose */
    --color-cream: #F5E6D3;            /* Cream - background */
    --color-cream-light: #FBF5EC;      /* Light cream */
    --color-muted-green: #8B9D83;      /* Muted Green - accents */
    --color-green-dark: #6B7D63;       /* Darker green */
    --color-text-dark: #3D3D3D;        /* Charcoal text */
    --color-text-medium: #5A5A5A;      /* Medium text */
    
    /* Typography - Romantic Serif */
    --font-decorative: 'Playfair Display', serif;
    --font-script: 'Lora', serif;
    --font-body: 'Crimson Text', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* ===================================
   Header Sticky
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(251, 245, 236, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(212, 165, 165, 0.1);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(212, 165, 165, 0.2);
}

.header.scrolled {
    padding: 0.3rem 0;
    box-shadow: 0 4px 30px rgba(212, 165, 165, 0.2);
}

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

.header-logo {
    width: 55px;
    height: 55px;
    transition: var(--transition-smooth);
}

.header-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

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

.nav-link {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0.03em;
    color: var(--color-text-medium);
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: var(--color-dusty-rose);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-dusty-rose);
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-cream-light);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: 4px 0 30px rgba(212, 165, 165, 0.2);
    }
    
    .header-nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
}

/* ===================================
   Hero Section with Ken Burns Effect
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-text-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Ken Burns Effect - Slow Zoom Animation */
.hero-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenBurnsZoom 20s ease-in-out infinite alternate;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1) translateX(0);
    }
    50% {
        transform: scale(1.15) translateX(-2%);
    }
    100% {
        transform: scale(1.08) translateX(2%);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(61, 61, 61, 0.70) 0%,
        rgba(139, 157, 131, 0.55) 30%,
        rgba(212, 165, 165, 0.60) 70%,
        rgba(61, 61, 61, 0.70) 100%
    );
    backdrop-filter: blur(1px);
}

/* Floral Corner Decorations */
.hero-floral-corner {
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 2;
    opacity: 0.85;
    animation: floralFloat 6s ease-in-out infinite;
}

.hero-floral-corner img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.hero-floral-top-left {
    top: 90px;
    left: 30px;
}

.hero-floral-top-right {
    top: 90px;
    right: 30px;
    transform: scaleX(-1);
}

.hero-floral-bottom-left {
    bottom: 30px;
    left: 30px;
    transform: scaleY(-1);
}

.hero-floral-bottom-right {
    bottom: 30px;
    right: 30px;
    transform: scale(-1);
}

@keyframes floralFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@media (max-width: 768px) {
    .hero-floral-corner {
        width: 100px;
        height: 100px;
        opacity: 0.6;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
}

.hero-subtitle {
    font-family: var(--font-script);
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.1em;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-title {
    font-family: var(--font-decorative);
    font-size: 6.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-cream);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bride-name,
.groom-name {
    display: block;
    font-weight: 500;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.ampersand {
    font-size: 4rem;
    font-style: italic;
    font-weight: 300;
    opacity: 0.9;
    margin: 0.5rem 0;
    color: var(--color-dusty-rose);
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .ampersand {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .ampersand {
        font-size: 2.5rem;
    }
}

.hero-divider {
    width: 450px;
    max-width: 100%;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-date-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.date-day {
    font-family: var(--font-decorative);
    font-size: 5rem;
    font-weight: 500;
    color: var(--color-dusty-rose);
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.date-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.date-month,
.date-year {
    font-family: var(--font-script);
    font-size: 1.3rem;
    color: var(--color-cream);
    text-align: left;
}

@media (max-width: 768px) {
    .date-day {
        font-size: 3.5rem;
    }
    
    .date-month,
    .date-year {
        font-size: 1.1rem;
    }
}

.hero-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--color-cream);
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.detail-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.countdown-value {
    font-family: var(--font-decorative);
    font-size: 3.8rem;
    font-weight: 400;
    color: var(--color-dusty-rose);
    line-height: 1;
    min-width: 75px;
    text-align: center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-family: var(--font-script);
    font-size: 0.85rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-cream);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .countdown {
        gap: 1.2rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
        min-width: 55px;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
}

/* Godparents */
.godparents {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(245, 230, 211, 0.3);
}

.godparents-intro {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-cream);
    opacity: 0.85;
    margin-bottom: 0.5rem;
}

.godparents-names {
    font-family: var(--font-decorative);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-cream);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .godparents-names {
        font-size: 1.6rem;
    }
}

/* ===================================
   Section Styles
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    padding-top: var(--spacing-xl);
}

.section-title {
    font-family: var(--font-decorative);
    font-size: 4rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 450px;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    opacity: 0.85;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text-medium);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: var(--spacing-md);
        padding-top: var(--spacing-lg);
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

/* ===================================
   Story Section
   =================================== */
.story {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream-light);
    position: relative;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-vintage-paper.png');
    opacity: 0.04;
    pointer-events: none;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.story-text {
    order: 1;
}

.story-paragraph {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-text-medium);
    margin-bottom: 1.8rem;
}

.story-paragraph:first-letter {
    font-size: 3.5rem;
    font-family: var(--font-decorative);
    float: left;
    line-height: 0.8;
    margin: 0.1rem 0.5rem 0 0;
    color: var(--color-dusty-rose);
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

.story-image {
    order: 2;
}

.image-frame-vintage {
    position: relative;
    overflow: visible;
    border-radius: 4px;
}

.image-frame-vintage img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 8px solid var(--color-cream);
    box-shadow: 
        0 10px 40px rgba(139, 157, 131, 0.25),
        inset 0 0 0 1px rgba(139, 157, 131, 0.1);
}

.frame-floral-accent {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.frame-floral-accent.top-left {
    top: -15px;
    left: -15px;
    background-image: url('../assets/svg/floral-corner-left.svg');
}

.frame-floral-accent.top-right {
    top: -15px;
    right: -15px;
    background-image: url('../assets/svg/floral-corner-right.svg');
}

.frame-floral-accent.bottom-left {
    bottom: -15px;
    left: -15px;
    background-image: url('../assets/svg/floral-corner-left.svg');
    transform: scaleY(-1);
}

.frame-floral-accent.bottom-right {
    bottom: -15px;
    right: -15px;
    background-image: url('../assets/svg/floral-corner-right.svg');
    transform: scale(-1);
}

@media (max-width: 968px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .story-text {
        order: 2;
    }
    
    .story-image {
        order: 1;
    }
}

/* ===================================
   Couple Section
   =================================== */
.couple {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
    position: relative;
}

.couple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-vintage-paper.png');
    opacity: 0.03;
    pointer-events: none;
}

.couple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.couple-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    background: transparent;
    position: relative;
}

/* Circular Image with Floral Ring */
.couple-image-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 2.5rem;
    flex-shrink: 0;
}

/* Floral ring decoration */
.couple-floral-ring {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid var(--color-muted-green);
    border-radius: 50%;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.couple-floral-ring::before,
.couple-floral-ring::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-dusty-rose);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(212, 165, 165, 0.4);
}

.couple-floral-ring::before {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.couple-floral-ring::after {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.couple-card:hover .couple-floral-ring {
    opacity: 0.7;
    transform: scale(1.05) rotate(5deg);
}

.couple-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 6px solid var(--color-cream);
    box-shadow: 
        0 12px 45px rgba(139, 157, 131, 0.3),
        0 5px 20px rgba(212, 165, 165, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.couple-card:hover .couple-image {
    transform: scale(1.03);
    box-shadow: 
        0 18px 60px rgba(139, 157, 131, 0.4),
        0 8px 30px rgba(212, 165, 165, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.couple-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(139, 157, 131, 0.05) 0%,
        transparent 50%,
        rgba(212, 165, 165, 0.08) 100%
    );
    pointer-events: none;
    z-index: 3;
}

.couple-info {
    position: relative;
    z-index: 4;
}

.couple-name {
    font-family: var(--font-decorative);
    font-size: 3rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
}

.couple-role {
    font-family: var(--font-script);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-dusty-rose);
    margin-bottom: 2rem;
}

.couple-divider-small {
    width: 55px;
    margin: 0 auto 2rem;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.couple-card:hover .couple-divider-small {
    opacity: 0.9;
    transform: scale(1.1);
}

.couple-description {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color-text-medium);
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 4.5rem;
    }
    
    .couple-card {
        padding: 2rem 1rem;
    }
    
    .couple-image-wrapper {
        width: 260px;
        height: 260px;
        margin-bottom: 2rem;
    }
    
    .couple-name {
        font-size: 2.4rem;
    }
}

/* ===================================
   Events Section - Vertical Timeline
   =================================== */
.events {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream-light);
    position: relative;
}

.events::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/textures/texture-vintage-paper.png');
    opacity: 0.04;
    pointer-events: none;
}

.events-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Vertical line */
.events-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--color-dusty-rose) 10%,
        var(--color-muted-green) 50%,
        var(--color-dusty-rose) 90%,
        transparent 100%
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
    align-items: center;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Marker */
.timeline-marker {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-inner {
    width: 90px;
    height: 90px;
    background: var(--color-cream);
    border: 4px solid var(--color-dusty-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 30px rgba(212, 165, 165, 0.3),
        0 0 0 8px var(--color-cream-light);
    transition: var(--transition-smooth);
}

.timeline-item:hover .marker-inner {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--color-muted-green);
}

.marker-inner img {
    width: 45px;
    height: 45px;
}

/* Timeline Content */
.timeline-content {
    display: contents;
}

.timeline-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 320px;
    box-shadow: 0 10px 40px rgba(139, 157, 131, 0.25);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    border-radius: 8px;
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.08);
}

.timeline-floral-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(139, 157, 131, 0.15) 0%,
        transparent 50%,
        rgba(212, 165, 165, 0.15) 100%
    );
    pointer-events: none;
}

.timeline-details {
    background: var(--color-cream);
    padding: 2.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-dusty-rose);
    border-style: double;
    box-shadow: 0 8px 30px rgba(212, 165, 165, 0.2);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-details {
    box-shadow: 0 12px 45px rgba(212, 165, 165, 0.3);
    transform: translateY(-5px);
}

.timeline-title {
    font-family: var(--font-decorative);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 1.8rem;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.timeline-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-medium);
}

.timeline-info-item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.location-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.location-text strong {
    color: var(--color-text-dark);
    font-weight: 600;
}

.timeline-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: var(--color-text-dark);
    color: var(--color-cream);
    font-family: var(--font-script);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(61, 61, 61, 0.3);
}

.timeline-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.timeline-button:hover {
    background: var(--color-dusty-rose);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 165, 165, 0.4);
}

/* Alternate layout */
.timeline-item-reverse .timeline-image {
    order: 2;
}

.timeline-item-reverse .timeline-details {
    order: 1;
}

@media (max-width: 968px) {
    .events-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .timeline-marker {
        align-self: flex-start;
        margin-top: 1rem;
    }
    
    .marker-inner {
        width: 70px;
        height: 70px;
    }
    
    .marker-inner img {
        width: 35px;
        height: 35px;
    }
    
    .timeline-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .timeline-image {
        height: 250px;
    }
    
    .timeline-item-reverse .timeline-image,
    .timeline-item-reverse .timeline-details {
        order: initial;
    }
}

/* ===================================
   RSVP Section
   =================================== */
.rsvp {
    padding: var(--spacing-xl) 0;
    background: var(--color-cream);
}

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

.rsvp-form {
    background: var(--color-cream-light);
    padding: 3.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-dusty-rose);
    border-style: double;
    box-shadow: 0 10px 40px rgba(139, 157, 131, 0.2);
}

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

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

.form-label {
    display: block;
    font-family: var(--font-script);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-dark);
    margin-bottom: 0.6rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background: var(--color-cream);
    border: 2px solid var(--color-muted-green);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-dusty-rose);
    box-shadow: 0 0 0 4px rgba(212, 165, 165, 0.15);
}

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

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

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text-dark);
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: var(--color-dusty-rose);
    cursor: pointer;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-decorative);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-cream);
    background: var(--color-text-dark);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(61, 61, 61, 0.3);
}

.form-submit img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.form-submit:hover {
    background: var(--color-dusty-rose);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 165, 0.4);
}

.form-submit:active {
    transform: translateY(-1px);
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
}

.form-message.success {
    background: rgba(139, 157, 131, 0.15);
    color: var(--color-green-dark);
    border: 2px solid rgba(139, 157, 131, 0.3);
}

.form-message.error {
    background: rgba(184, 136, 136, 0.15);
    color: var(--color-rose-dark);
    border: 2px solid rgba(184, 136, 136, 0.3);
}

@media (max-width: 768px) {
    .rsvp-form {
        padding: 2.5rem 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background: var(--color-text-dark);
    color: var(--color-cream);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    width: 90px;
    margin: 0 auto 2.5rem;
}

.footer-logo img {
    width: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-main {
    margin-bottom: 2.5rem;
}

.footer-title {
    font-family: var(--font-decorative);
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.footer-date,
.footer-location {
    font-family: var(--font-script);
    font-size: 1.1rem;
    font-style: italic;
    opacity: 0.9;
}

.footer-divider {
    width: 350px;
    max-width: 100%;
    margin: 0 auto 2rem;
    opacity: 0.6;
}

.footer-divider img {
    filter: brightness(0) invert(1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    font-family: var(--font-script);
    font-size: 0.95rem;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-dusty-rose);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.75;
}

/* ===================================
   Scroll Animations
   =================================== */
.fade-in,
.fade-in-up {
    opacity: 1;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    animation-name: fadeIn;
}

.fade-in-up {
    animation-name: fadeInUp;
}

/* Reveal on Scroll */
.reveal-fade-in,
.reveal-fade-in-up,
.reveal-fade-in-left,
.reveal-fade-in-right {
    opacity: 0;
    transition: var(--transition-slow);
}

.reveal-fade-in.revealed {
    opacity: 1;
}

.reveal-fade-in-up {
    transform: translateY(50px);
}

.reveal-fade-in-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade-in-left {
    transform: translateX(-50px);
}

.reveal-fade-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-in-right {
    transform: translateX(50px);
}

.reveal-fade-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-bg-image {
        animation: none;
        transform: scale(1);
    }
    
    .hero-floral-corner {
        animation: none;
    }
    
    .reveal-fade-in,
    .reveal-fade-in-up,
    .reveal-fade-in-left,
    .reveal-fade-in-right {
        opacity: 1;
        transform: none;
    }
}


/* Fix for long text without spaces */
.story-paragraph,
.couple-description,
.event-description,
.info-address {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
