/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Colors - Natural & Muted Palette */
    --sage-green: #9bae96;
    --sage-green-light: #b5c7b1;
    --sand: #e6dfd1;
    --sand-light: #f4f0ea;
    --warm-white: #faf9f6;
    --text-dark: #3a3a3a;
    --text-light: #6a6a6a;
    --border-color: #d8d3c9;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease-out;
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

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

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--sand-light);
}

.centered {
    text-align: center;
    margin: 0 auto;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-normal);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
    color: var(--text-dark);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--warm-white);
    transition: var(--transition-normal);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--warm-white);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: var(--transition-fast);
}

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

.nav-links a:hover {
    opacity: 0.8;
}

.menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-bar {
    width: 25px;
    height: 2px;
    background-color: var(--warm-white);
    margin: 5px 0;
    transition: var(--transition-fast);
}

.navbar.scrolled .menu-bar {
    background-color: var(--text-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 30%;
    z-index: -2;
    transform: scale(1.05);
    transition: transform 10s ease-out;
}

.hero-section:hover .hero-background {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.hero-content {
    color: var(--warm-white);
    padding: 0 var(--spacing-sm);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 1rem;
    font-style: italic;
    line-height: 1;
}

.ampersand {
    font-family: var(--font-body);
    font-weight: 300;
    font-style: normal;
    font-size: 0.7em;
    color: var(--sage-green-light);
    margin: 0 0.2em;
}

.hero-date {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 3rem;
}

.primary-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--warm-white);
    color: var(--warm-white);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition-normal);
    background: transparent;
}

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

.outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--sage-green);
    color: var(--sage-green);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition-normal);
    background: transparent;
    cursor: pointer;
    margin-top: 1.5rem;
}

.outline-btn:hover {
    background: var(--sage-green);
    color: var(--warm-white);
}

.outline-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ==========================================================================
   Typography & Common Elements
   ========================================================================== */
.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--sage-green);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.sub-heading {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

/* ==========================================================================
   Ceremony Section
   ========================================================================== */
.location-details {
    padding-right: var(--spacing-lg);
}

.location-name {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.location-address {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.decorative-line {
    width: 60px;
    height: 1px;
    background-color: var(--sage-green);
    margin: var(--spacing-sm) 0;
}

.location-desc {
    font-size: 1.1rem;
    color: var(--text-light);
}

.polaroid {
    background: white;
    padding: 15px 15px 50px 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: rotate(2deg);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.polaroid img {
    width: 100%;
    filter: sepia(10%) contrast(1.1);
}

/* ==========================================================================
   Timeline Section
   ========================================================================== */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
    position: relative;
    width: 100%;
}

.timeline-time {
    width: 45%;
    text-align: right;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--sage-green);
    padding-right: 2rem;
    position: relative;
    top: -5px;
}

.timeline-item:nth-child(even) .timeline-time {
    order: 3;
    text-align: left;
    padding-left: 2rem;
    padding-right: 0;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background-color: var(--sage-green);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--sand-light);
    z-index: 2;
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.5);
    background-color: var(--text-dark);
}

.timeline-content {
    width: 45%;
    text-align: left;
    padding-left: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: right;
    padding-right: 2rem;
    padding-left: 0;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

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

/* ==========================================================================
   Dress Code – Fashion Editorial Section
   ========================================================================== */

/* Hero banner */
.dresscode-section {
    background-color: var(--warm-white);
}

.dresscode-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.dresscode-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: grayscale(30%) brightness(0.7);
    transform: scale(1.05);
    transition: transform 8s ease-out;
}

.dresscode-hero:hover .dresscode-hero-bg {
    transform: scale(1);
}

.dresscode-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(58, 58, 58, 0.3) 0%,
            rgba(58, 58, 58, 0.6) 100%);
}

.dresscode-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.dresscode-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    font-style: italic;
    font-weight: 300;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.dresscode-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 300;
}

/* Colour guidance body */
.dresscode-body {
    padding: var(--spacing-xl) 0;
}

.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.colour-guide {
    padding: 2.5rem;
    border-radius: 12px;
    background: var(--sand-light);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.colour-guide:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.04);
}

.colour-guide-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.colour-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sage-green);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.colour-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #c0392b;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.colour-guide-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.colour-swatches {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.swatch {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    position: relative;
    border: 3px solid white;
}

.swatch:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.swatch--no {
    position: relative;
}

.swatch--no::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -2px;
    right: -2px;
    height: 2px;
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(-45deg);
    border-radius: 1px;
}

/* Adults-only notice */
.adults-notice {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: var(--spacing-lg) auto 0;
    padding: 1.8rem 2.5rem;
    background: var(--sand-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.adults-notice-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.adults-notice-content strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.adults-notice-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Gifts & Flowers Section – Modern Redesign
   ========================================================================== */
.gifts-section {
    background-color: var(--sand-light);
}

.gifts-wrapper {
    display: grid;
    grid-template-columns: 0.45fr 0.55fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* Left visual panel */
.gifts-visual {
    position: relative;
    min-height: 600px;
}

.gifts-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gifts-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2.5rem;
}

.gifts-visual-icon {
    font-size: 2rem;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Right content panel */
.gifts-details {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.gifts-heading {
    text-align: left;
}

.gifts-heading .sub-heading {
    color: var(--sage-green);
}

.gifts-heading .section-heading {
    font-size: 2.8rem;
}

.gifts-intro {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    max-width: 440px;
}

/* Transfer Card */
.transfer-card {
    background: var(--warm-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transfer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
}

.transfer-card-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.transfer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.transfer-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.transfer-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.transfer-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.transfer-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    flex-shrink: 0;
    margin-right: 1rem;
}

.transfer-value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

.transfer-iban {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.transfer-purpose {
    color: var(--sage-green);
    font-weight: 600;
}

/* Flower Notice */
.flower-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    background: rgba(155, 174, 150, 0.08);
    border-left: 3px solid var(--sage-green);
    border-radius: 0 8px 8px 0;
}

.flower-notice-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.flower-notice-text strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.3rem;
}

.flower-notice-text p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.flower-notice-text em {
    color: var(--sage-green);
    font-style: italic;
    font-weight: 500;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: var(--spacing-sm);
}

.gallery-item {
    overflow: hidden;
    position: relative;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    filter: brightness(0.95) saturate(0.9);
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1) saturate(1);
}

.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.item-3 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* ==========================================================================
   RSVP Section – Call to Action
   ========================================================================== */
.rsvp-section {
    background-color: var(--sage-green);
    color: var(--warm-white);
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.rsvp-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px, 80px 80px;
    pointer-events: none;
}

.rsvp-card {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 4rem 3rem;
}

/* Envelope icon */
.rsvp-icon-wrap {
    margin-bottom: 2rem;
}

.rsvp-envelope {
    width: 64px;
    height: 64px;
    color: rgba(255, 255, 255, 0.9);
    animation: floatEnvelope 3s ease-in-out infinite;
}

@keyframes floatEnvelope {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Title */
.rsvp-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    color: white;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.rsvp-title em {
    font-style: italic;
    font-weight: 600;
    position: relative;
}

.rsvp-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
}

.rsvp-subtitle {
    font-size: 1.05rem;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
}

/* Deadline badge */
.rsvp-deadline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.2rem 2.5rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.rsvp-deadline:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.18);
}

.rsvp-deadline-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.rsvp-deadline-date {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Divider */
.rsvp-divider {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.rsvp-divider::before,
.rsvp-divider::after {
    content: '';
    height: 1px;
    width: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.rsvp-divider span {
    font-size: 1rem;
    opacity: 0.6;
}

/* CTA text */
.rsvp-cta-text {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
    font-weight: 300;
}

.rsvp-actions {
    margin-top: 0.5rem;
}

.rsvp-hint {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.footer {
    padding: var(--spacing-md) 0;
    background-color: var(--text-dark);
    color: var(--warm-white);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--sage-green-light);
}

.footer p {
    font-size: 0.8rem;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* ==========================================================================
   Animations & Reveal Classes
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1.2s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-reveal {
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.image-reveal.active {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .location-details {
        padding-right: 0;
        text-align: center;
    }

    .decorative-line {
        margin: var(--spacing-sm) auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }

    .item-1 {
        grid-column: 1 / -1;
        grid-row: 1;
        height: 400px;
    }

    .item-2 {
        grid-column: 1 / 2;
        grid-row: 2;
        height: 250px;
    }

    .item-3 {
        grid-column: 2 / 3;
        grid-row: 2;
        height: 250px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 10vw, 5rem);
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-normal);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--text-dark);
        font-size: 1.1rem;
        margin: var(--spacing-sm) 0;
    }

    .navbar.scrolled .logo,
    .navbar.scrolled .nav-links a {
        color: var(--text-dark);
    }

    .menu-btn.active .menu-bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 5px);
        background-color: var(--text-dark);
    }

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

    .menu-btn.active .menu-bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -5px);
        background-color: var(--text-dark);
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-time,
    .timeline-item:nth-child(even) .timeline-time {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
        order: 1;
        margin-bottom: 0.5rem;
    }

    .timeline-dot {
        left: 20px;
        top: 15px;
    }

    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.2);
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: 50px;
        padding-right: 0;
        order: 2;
    }

    .dresscode-grid {
        grid-template-columns: 1fr;
    }

    .colour-guide {
        padding: 1.5rem;
    }

    .adults-notice {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .gifts-wrapper {
        grid-template-columns: 1fr;
    }

    .gifts-visual {
        min-height: 300px;
    }

    .gifts-details {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .transfer-row {
        flex-direction: column;
        gap: 0.3rem;
    }

    .transfer-value {
        text-align: left;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    .timeline-time {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-2,
    .item-3 {
        grid-column: 1 / -1;
    }

    .item-1 {
        height: 300px;
    }
}