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

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

:root {
    /* Color Palette - Warm Mediterranean/Spanish */
    --primary: #d4886e;        /* Terracotta */
    --secondary: #e6b89c;      /* Soft peach */
    --accent: #c7956d;         /* Golden sand */
    --text-dark: #3d3029;      /* Deep brown */
    --text-light: #6b5d54;     /* Warm gray */
    --background: #fdfbf7;     /* Warm white */
    --background-alt: #f4f1ea; /* Ivory */
    --white: #ffffff;

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

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

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--text-dark);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 480px) {
    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.75rem;
    }
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-md);
}

.lead {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--primary);
}

/* ============================================
   NAVIGATION - Elegant Wedding Style
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(253, 251, 247, 0.95) 100%);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(212, 136, 110, 0.08);
    border-bottom: 1px solid rgba(212, 136, 110, 0.1);
    z-index: 1000;
    transition: all var(--transition-medium);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-style: italic;
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    position: relative;
    display: inline-block;
}

.nav-logo::before,
.nav-logo::after {
    content: '✦';
    font-size: 0.6rem;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-logo::before {
    left: -15px;
}

.nav-logo::after {
    right: -15px;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-logo:hover::before,
.nav-logo:hover::after {
    opacity: 1;
}

/* Elegant Hamburger Menu */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
    background-color: rgba(212, 136, 110, 0.05);
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    box-shadow: 0 1px 3px rgba(212, 136, 110, 0.3);
}

.nav-toggle:hover span {
    background: linear-gradient(90deg, var(--accent), var(--primary));
    box-shadow: 0 2px 6px rgba(212, 136, 110, 0.4);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

/* Mobile Menu - White Background for Readability */
.nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    list-style: none;
    padding: var(--spacing-xl) var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55),
                opacity 0.4s ease,
                padding 0.5s ease;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(212, 136, 110, 0.15);
}

.nav-menu.active {
    max-height: 650px;
    opacity: 1;
}

.nav-menu li {
    margin-bottom: 0.5rem;
    position: relative;
    opacity: 0;
}

.nav-menu.active li {
    animation: slideInFromLeft 0.4s ease forwards;
}

.nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
.nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
.nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
.nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
.nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
.nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
.nav-menu.active li:nth-child(7) { animation-delay: 0.4s; }

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-menu li::before {
    content: '✦';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    z-index: 2;
}

.nav-menu li:hover::before {
    opacity: 1;
    transform: translateY(-50%) translateX(-8px);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    padding-left: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.08),
        rgba(230, 184, 156, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 136, 110, 0.15);
    box-shadow: 0 4px 20px rgba(212, 136, 110, 0.1);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.3),
        rgba(230, 184, 156, 0.2));
    opacity: 0;
    transition: opacity var(--transition-fast);
    border-radius: 12px;
    z-index: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.nav-link:hover::before {
    opacity: 1;
}

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

.nav-link:hover {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.15),
        rgba(230, 184, 156, 0.1));
    border-color: rgba(212, 136, 110, 0.3);
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(212, 136, 110, 0.2);
    color: var(--primary);
}

.nav-link.active {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.2),
        rgba(230, 184, 156, 0.15));
    border-color: rgba(212, 136, 110, 0.3);
    font-weight: 400;
    color: var(--primary);
}

/* Navbar is now always white - no transparent state needed */

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-image: url('images/main-image-d-r.jpg');
    background-size: cover;
    background-position: center 10px;
    background-repeat: no-repeat;
    overflow: hidden;
    will-change: background-position;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.7) 0%,
        rgba(230, 184, 156, 0.6) 50%,
        rgba(199, 149, 109, 0.7) 100%
    );
    animation: subtle-pulse 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.75; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 48, 41, 0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    text-align: center;
    padding: var(--spacing-lg);
    padding-bottom: calc(var(--spacing-xxl) * 2);
    color: var(--white);
    animation: fadeInUp 1s ease;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-date {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 300;
}

@media (min-width: 480px) {
    .nav-logo {
        font-size: 2rem;
    }

    .hero-date {
        font-size: 0.875rem;
        letter-spacing: 3px;
    }

    .hero-names {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2rem;
    }
}

.hero-names {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.name-denise, .name-robin {
    line-height: 1.1;
}

.ampersand {
    font-size: 1.75rem;
    font-style: italic;
    opacity: 0.8;
}

.hero-location {
    font-size: 1.125rem;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: var(--spacing-xl);
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: nowrap;
    max-width: 100%;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    padding: 0.75rem 0.25rem;
    width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    flex-shrink: 0;
}

.countdown-item:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.2);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.countdown-label {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.2;
}

@media (min-width: 480px) {
    .countdown {
        gap: var(--spacing-md);
    }

    .countdown-item {
        padding: 1rem 0.5rem;
        width: 90px;
        border-radius: 12px;
    }

    .countdown-value {
        font-size: 2.25rem;
        margin-bottom: var(--spacing-xs);
    }

    .countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

@media (min-width: 768px) {
    .countdown {
        gap: var(--spacing-lg);
    }

    .countdown-item {
        padding: 1.25rem 0.75rem;
        width: 110px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 1024px) {
    .countdown-item {
        width: 130px;
        padding: 1.5rem 1rem;
    }

    .countdown-value {
        font-size: 2.75rem;
    }

    .countdown-label {
        font-size: 0.875rem;
    }
}

.hero-scroll {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-arrow {
    display: block;
    color: var(--white);
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

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

/* ============================================
   SECTION STYLES
   ============================================ */

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

@media (min-width: 480px) {
    .section {
        padding: var(--spacing-xxl) var(--spacing-md);
    }
}

.section:nth-child(even) {
    background-color: var(--background-alt);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.ornament {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: var(--spacing-md) auto;
}

.content-wrapper {
    animation: fadeIn 0.8s ease;
}

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

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome {
    text-align: center;
}

.welcome-highlight {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.1),
        rgba(230, 184, 156, 0.1));
    padding: var(--spacing-lg);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    font-weight: 500;
    color: var(--text-dark);
    margin: var(--spacing-xl) 0;
    box-shadow: 0 4px 15px rgba(212, 136, 110, 0.08);
}

.welcome-info {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-top: var(--spacing-xl);
}

.couple-photo-container {
    margin: var(--spacing-xl) auto;
    max-width: 300px;
    text-align: center;
}

.couple-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(212, 136, 110, 0.3);
    border: 5px solid var(--white);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.couple-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(212, 136, 110, 0.4);
}

.photo-caption {
    margin-top: var(--spacing-md);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location-main {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.location-main h3 {
    color: var(--primary);
    font-size: 2rem;
}

.location-address {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
}

/* Location Impression */
.location-impression {
    margin: var(--spacing-xxl) 0;
}

.location-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.location-map-container {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(212, 136, 110, 0.15);
    border: 1px solid rgba(212, 136, 110, 0.1);
}

.map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 350px;
    filter: grayscale(20%) contrast(1.1);
    transition: filter var(--transition-medium);
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1);
}

.map-info {
    padding: var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(212, 136, 110, 0.05), rgba(230, 184, 156, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(212, 136, 110, 0.1);
}

@media (min-width: 640px) {
    .map-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

.map-detail {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: 12px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: 0 4px 15px rgba(61, 48, 41, 0.06);
}

.map-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 136, 110, 0.15);
}

.map-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.map-detail strong {
    display: block;
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.map-detail p {
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
}

.map-detail p a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.map-detail p a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.info-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(61, 48, 41, 0.08);
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(212, 136, 110, 0.15);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.images-grid {
    display: grid;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.content-image {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(61, 48, 41, 0.1);
    width: 100%;
}

/* Flight Times Styling */
.flight-times {
    margin: var(--spacing-xxl) 0;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(212, 136, 110, 0.05), rgba(230, 184, 156, 0.05));
    border-radius: 16px;
    border: 2px solid rgba(212, 136, 110, 0.1);
}

.flight-times h3 {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.flight-subtitle {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.flight-info {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    opacity: 0.8;
}

.flight-grid {
    display: grid;
    gap: var(--spacing-lg);
}

.flight-city {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(61, 48, 41, 0.06);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.flight-city:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 136, 110, 0.15);
}

.flight-city h4 {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    border-bottom: 2px solid var(--background-alt);
    padding-bottom: var(--spacing-sm);
}

.flight-row {
    display: grid;
    gap: var(--spacing-md);
}

.flight-col {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.flight-col strong {
    color: var(--primary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.flight-col span {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

.flight-note {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--white);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    font-style: italic;
    color: var(--text-light);
}

.transport-info {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: 12px;
    border-left: 6px solid var(--primary);
    box-shadow: 0 6px 25px rgba(212, 136, 110, 0.15);
    border: 1px solid rgba(212, 136, 110, 0.2);
    border-left: 6px solid var(--primary);
}

.transport-info h4 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-body);
}

.transport-info p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.transport-info p:last-child {
    margin-bottom: 0;
}

.transport-highlight {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.08),
        rgba(230, 184, 156, 0.06));
    padding: var(--spacing-lg);
    border-radius: 8px;
    font-weight: 500;
    margin-top: var(--spacing-md);
    line-height: 1.8;
}

@media (max-width: 767px) {
    .flight-times {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .flight-city {
        padding: var(--spacing-md);
    }

    .transport-info {
        padding: var(--spacing-md);
    }

    .transport-highlight {
        padding: var(--spacing-md);
        font-size: 0.95rem;
    }

    .location-map-container {
        margin: 0 calc(-1 * var(--spacing-md));
    }

    .map-info {
        padding: var(--spacing-md);
    }

    .info-card,
    .info-detail {
        padding: var(--spacing-md);
    }
}

.location-image {
    margin-top: var(--spacing-xl);
}

/* ============================================
   SCHEDULE SECTION
   ============================================ */

.timeline {
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 480px) {
    .timeline-item {
        padding-left: 60px;
    }
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--background);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item.highlight .timeline-marker {
    width: 24px;
    height: 24px;
    left: 9px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 6px transparent; }
    50% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 6px rgba(212, 136, 110, 0.3); }
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(61, 48, 41, 0.05);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.time {
    display: inline-block;
    font-weight: 600;
    color: var(--accent);
    min-width: 80px;
}

.highlight-time {
    color: var(--primary);
    font-size: 1.125rem;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.125rem;
}

/* Timeline Description & Details */
.timeline-description {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.08),
        rgba(230, 184, 156, 0.05));
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.timeline-description p {
    margin: 0;
    line-height: 1.6;
}

.timeline-description strong {
    color: var(--primary);
}

.timeline-detail {
    margin-top: var(--spacing-xs);
}

.timeline-detail strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.25rem;
}

.timeline-detail p {
    margin: 0.25rem 0 0 0;
    padding-left: var(--spacing-md);
    border-left: 2px solid rgba(212, 136, 110, 0.2);
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-intro {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xl);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* FAQ Accordion Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(61, 48, 41, 0.06);
    transition: box-shadow var(--transition-fast);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(212, 136, 110, 0.12);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    cursor: pointer;
    text-align: left;
    transition: background-color var(--transition-fast);
    border-left: 4px solid var(--primary);
    border-bottom: none;
}

.faq-item.active .faq-question {
    border-bottom: none;
}

.faq-question:hover {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.05),
        rgba(230, 184, 156, 0.03));
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.faq-title {
    flex: 1;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease, border-bottom 0.4s ease;
    padding: 0 var(--spacing-lg);
    border-left: 4px solid var(--primary);
    border-bottom: 4px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
    border-bottom: 4px solid var(--primary);
}

.faq-answer p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: var(--primary);
    font-weight: 600;
}

/* Info Contact Section */
.info-contact {
    text-align: center;
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.08),
        rgba(230, 184, 156, 0.05));
    padding: var(--spacing-xl);
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.info-contact p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.info-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.info-contact a:hover {
    color: var(--accent);
}

.info-closing {
    font-style: italic;
    margin-top: var(--spacing-lg);
    font-size: 1.05rem;
}

.info-signature {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.children {
    background: var(--background);
}

.children-info {
    background: var(--white);
    color: var(--text-dark);
    padding: var(--spacing-xl);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(212, 136, 110, 0.1);
    border: 2px solid rgba(212, 136, 110, 0.15);
    max-width: 900px;
    margin: 0 auto;
}

.children-info > p {
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-size: 1rem;
}

.children-section {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.05),
        rgba(230, 184, 156, 0.03));
    padding: var(--spacing-lg);
    border-radius: 10px;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    border-left: 4px solid var(--primary);
}

.children-section h4 {
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.children-section p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.children-section p:last-child {
    margin-bottom: 0;
}

.children-names {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.children-names span {
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.15),
        rgba(230, 184, 156, 0.1));
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(212, 136, 110, 0.2);
    box-shadow: 0 2px 8px rgba(212, 136, 110, 0.1);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.children-names span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 136, 110, 0.2);
    background: linear-gradient(135deg,
        rgba(212, 136, 110, 0.2),
        rgba(230, 184, 156, 0.15));
}

.children-note {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid rgba(212, 136, 110, 0.15);
    font-style: italic;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Mobile padding adjustment for children section */
@media (max-width: 767px) {
    .children-info {
        padding: var(--spacing-sm);
    }
}

/* ============================================
   RSVP SECTION
   ============================================ */

.rsvp {
    text-align: center;
    background: linear-gradient(135deg, var(--background-alt), var(--background));
}

.rsvp-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xl);
}

.rsvp-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 136, 110, 0.3);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 136, 110, 0.4);
}

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

.rsvp-contact {
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(212, 136, 110, 0.1);
    border: 1px solid rgba(212, 136, 110, 0.15);
}

.rsvp-contact p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.rsvp-contact p:first-child {
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.rsvp-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-fast);
}

.rsvp-contact a:hover {
    border-bottom-color: var(--primary);
}

.rsvp-closing {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--accent);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(212, 136, 110, 0.2);
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
}

.footer-text {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-style: italic;
    color: var(--secondary);
    margin-bottom: var(--spacing-xs);
}

.footer-date {
    font-size: 0.875rem;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* ============================================
   TABLET & DESKTOP STYLES
   ============================================ */

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }

    .nav-container {
        padding: 1rem var(--spacing-xl);
    }

    .nav-logo {
        font-size: 2rem;
    }

    .nav-logo::before {
        left: -20px;
    }

    .nav-logo::after {
        right: -20px;
    }

    .nav-menu {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        max-height: none;
        background: none;
        box-shadow: none;
        opacity: 1;
        border-bottom: none;
    }

    .nav-menu li {
        margin-bottom: 0;
        animation: none;
        opacity: 1;
        position: relative;
    }

    .nav-menu li::before {
        display: none;
    }

    .nav-menu li:not(:last-child)::after {
        content: '•';
        position: absolute;
        right: -8px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
        font-size: 0.5rem;
        opacity: 0.5;
    }

    .nav-link {
        font-family: var(--font-heading);
        font-size: 1rem;
        font-weight: 300;
        letter-spacing: 0.5px;
        padding: 0.75rem 1.25rem;
        padding-left: 1.25rem;
        position: relative;
        background: transparent;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        text-shadow: none;
        color: var(--text-dark);
    }

    .nav-link::before {
        display: none;
    }

    .nav-link::after {
        height: 2px;
        bottom: 8px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        box-shadow: none;
    }

    .nav-link:hover {
        background: transparent;
        transform: translateY(-2px);
        border: none;
        box-shadow: none;
        color: var(--primary);
    }

    .nav-link.active {
        font-weight: 400;
        background: transparent;
        border: none;
        color: var(--primary);
    }

    .hero-names {
        font-size: 5rem;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-md);
    }

    .ampersand {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    .couple-photo-container {
        max-width: 400px;
    }

    .info-grid,
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-wrapper iframe {
        height: 450px;
    }

    .map-info {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--spacing-xxl);
    }

    .map-detail {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

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

@media (min-width: 1024px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-1px);
    }

    .timeline-item {
        width: 50%;
        padding-left: 0;
        padding-right: 60px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 50%;
        padding-left: 60px;
        padding-right: 0;
    }

    .timeline-marker {
        left: auto;
        right: -10px;
    }

    .timeline-item:nth-child(even) .timeline-marker {
        left: -10px;
        right: auto;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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