/* ====================
   CSS VARIABLES (Design Tokens)
   ==================== */

:root {
    /* Colors */
    --color-primary: #98ab85;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg-light: #fafafa;
    --color-bg-dark: #2C2C2C;
    --color-white: #ffffff;
    
    /* Typography */
    --font-display: 'Adora Bouton', cursive;
    --font-body: 'Libre Baskerville', serif;
    --font-heading: 'Cormorant Garamond', 'Libre Baskerville', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Container */
    --container-max: 1200px;
    --container-content: 1000px;
    
    /* Transitions */
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index scale */
    --z-navbar: 1000;
    --z-hero-controls: 10;
}

/* ====================
   FONT IMPORTS
   ==================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Libre+Baskerville:wght@400;700&display=swap');

@font-face {
    font-family: 'Adora Bouton';
    src: url('assets/fonts/Adora-Bouton.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

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

html {
    scroll-behavior: smooth;
}

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

/* ====================
   NAVIGATION
   ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: var(--z-navbar);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-logo {
    margin-bottom: var(--spacing-sm);
}

.nav-logo h1 {
    margin: 0;
    text-align: center;
}

.nav-logo a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: normal;
    text-decoration: none;
    letter-spacing: 1px;
    color: var(--color-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-size: 0.95rem;
    transition: color var(--transition-base);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

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

.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    width: 26px;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: all var(--transition-base);
}

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

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 12vh; /* Will be adjusted for mobile */
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background: var(--color-white);
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Soft vignette overlay */
.slide-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,0.08) 100%);
}

/* Slide Controls - Hidden */
.slide-btn {
    display: none;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: var(--z-hero-controls);
}

.indicator {
    width: 50px;
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-base);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

.indicator.active {
    background: rgba(255, 255, 255, 0.9);
}

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

.hero-content-section {
    background: var(--color-bg-light);
    padding: var(--spacing-lg) var(--spacing-md);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-text);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--color-white);
    color: var(--color-text);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 999;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.back-to-top.show {
    display: inline-flex;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.14);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    text-transform: none;
}

.watercolor-highlight {
    display: none;
}

.hero-names {
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-text);
    padding: 1.5rem 3rem;
    background-image: url('assets/images/asset_green_paint.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

.name-first,
.name-second {
    display: block;
}

.name-ampersand {
    font-size: 2rem;
    font-weight: 300;
    margin: 0 var(--spacing-sm);
}

.hero-date {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--color-text);
}

.hero-location {
    font-size: var(--spacing-sm);
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

/* ====================
   COUNTDOWN
   ==================== */

.countdown {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: 3rem;
}

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

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    color: var(--color-text-light);
}

/* ====================
   SECTION LAYOUT
   ==================== */

section {
    padding: var(--spacing-xl) 0;
    border-top: 1px dashed #e0e0e0;
}

section:first-of-type {
    border-top: none;
}

.hero {
    border-top: none;
}

.container {
    max-width: var(--container-content);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    font-weight: normal;
    padding: 1rem 2rem;
    background-image: url('assets/images/asset_green_paint.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

/* Icon helpers */
.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.with-icon::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 26px;
    background-size: contain;
    background-repeat: no-repeat;
    filter: grayscale(15%) saturate(80%);
}

/* Section icons (inline SVG via data URIs to avoid external deps) */
.icon-book::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M6 4h11a2 2 0 0 1 2 2v12.5a.5.5 0 0 1-.79.41l-.71-.53a4 4 0 0 0-2.4-.8H6a2 2 0 0 0-2 2V6a2 2 0 0 1 2-2zm0 2v10.5A3.5 3.5 0 0 1 9.5 13H18V6H6z'/%3E%3C/svg%3E"); }
.icon-calendar::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M7 2h2v2h6V2h2v2h3v18H4V4h3V2zm13 6H6v12h14V8zM8 10h3v3H8v-3z'/%3E%3C/svg%3E"); }
.icon-church::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 2l2 2-1 1v2l3 2v2l4 3v8h-5v-5a2 2 0 0 0-4 0v5H6v-8l4-3V9l3-2V5l-1-1 2-2z'/%3E%3C/svg%3E"); }
.icon-dining::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M8 3h1v9a2 2 0 0 1-2 2H6V3h2zm3 0h1v6h1V3h1v6h1V3h1v8a2 2 0 0 1-2 2h-1v8h-2v-8h-1a2 2 0 0 1-2-2V3h3zM18 3h2v18h-2V3z'/%3E%3C/svg%3E"); }
.icon-plane::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M21 16v2l-8-2-4 5H7l2-6-6-1v-2l6-1-2-6h2l4 5 8-2v2l-6 3 6 3z'/%3E%3C/svg%3E"); }
.icon-gift::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M20 7h-3.17A3 3 0 0 0 12 5a3 3 0 0 0-4.83 2H4v4h16V7zM4 13v8h7v-8H4zm9 0v8h7v-8h-7zM9 7a1 1 0 1 1 0-2 3 3 0 0 1 3 3H9zM15 7h-3a3 3 0 0 1 3-3 1 1 0 1 1 0 2z'/%3E%3C/svg%3E"); }
.icon-envelope::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M4 4h16a2 2 0 0 1 2 2v1l-10 6L2 7V6a2 2 0 0 1 2-2zm0 6l8 5 8-5v8H4v-8z'/%3E%3C/svg%3E"); }
.icon-candle::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 2c1.5 1.5 2 3 2 4s-.5 2.5-2 3c-1.5-.5-2-2-2-3s.5-2.5 2-4zM9 11h6v11H9V11z'/%3E%3C/svg%3E"); }
.icon-veil::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 3a5 5 0 0 1 5 5v2l3 9H4l3-9V8a5 5 0 0 1 5-5z'/%3E%3C/svg%3E"); }
.icon-cord::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M7 7a5 5 0 1 1 7 7l-2 2-2-2a3 3 0 1 0-4-4l-2 2-2-2 2-2a5 5 0 0 1 3-1z'/%3E%3C/svg%3E"); }
.icon-flower::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 8a4 4 0 1 1 0 8 4 4 0 0 1 0-8zm-7 4a4 4 0 0 1 4-4 4 4 0 0 1-4-4 4 4 0 0 1 4 4 4 4 0 0 1-4 4zm14 0a4 4 0 0 1-4-4 4 4 0 0 1 4-4 4 4 0 0 1-4 4 4 4 0 0 1 4 4z'/%3E%3C/svg%3E"); }
.icon-coin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 2C6.5 2 2 4.2 2 7v10c0 2.8 4.5 5 10 5s10-2.2 10-5V7c0-2.8-4.5-5-10-5zm0 2c4.4 0 8 1.6 8 3s-3.6 3-8 3-8-1.6-8-3 3.6-3 8-3zm0 8c4.4 0 8-1.6 8-3v6c0 1.4-3.6 3-8 3s-8-1.6-8-3V9c0 1.4 3.6 3 8 3z'/%3E%3C/svg%3E"); }
.icon-rings::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M16 2l2 2-2 2-2-2 2-2zM8 8a6 6 0 1 1 8 5.66 6 6 0 1 1-8 0A6 6 0 0 1 8 8zm2 0a4 4 0 1 0 6.93 2.5A4 4 0 0 0 10 8z'/%3E%3C/svg%3E"); }
.icon-photos::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M21 5H8a2 2 0 0 0-2 2v12h15a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1zM6 19H5a1 1 0 0 1-1-1V4h13v1H6v14zM9 13l2 3 3-4 4 6H9z'/%3E%3C/svg%3E"); }
.icon-list::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M4 6h16v2H4V6zm0 5h16v2H4v-2zm0 5h16v2H4v-2z'/%3E%3C/svg%3E"); }
.icon-question::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 15h-2v-2h2v2zm1.9-7.1c-.6.5-1.3.8-1.5 1.8H12v1.5h-2V12c0-2 1.2-2.9 2.1-3.5.7-.5 1.2-.8 1.2-1.5 0-.8-.6-1.3-1.4-1.3-.8 0-1.4.6-1.5 1.5H8c.1-2 1.7-3.5 3.9-3.5 2.1 0 3.7 1.4 3.7 3.3 0 1.2-.6 1.9-1.7 2.5z'/%3E%3C/svg%3E"); }

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 3rem;
    font-style: italic;
}

/* ====================
   OUR STORY SECTION
   ==================== */

.our-story {
    background: var(--color-white);
    padding-top: var(--spacing-xl);
}

.story-content {
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

.story-content p {
    margin-bottom: var(--spacing-md);
    color: #555;
}

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

.schedule {
    background: var(--color-white);
}

.schedule-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: 1.5rem;
}

.timeline-time {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
}

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

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

/* ====================
   OTHER SECTIONS
   ==================== */

.travel-content,
.registry,
.wedding-party,
.things-to-do {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.travel-content p,
.registry p,
.wedding-party p,
.things-to-do p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* RSVP */
.rsvp {
    background: var(--color-white);
}

.rsvp-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: var(--spacing-md);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-outline {
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}
/* ====================
   INVITATION SECTION
   ==================== */

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

.invitation-greeting {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.invitation-couple-names {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: normal;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
    padding: 1.5rem 3rem;
    background-image: url('assets/images/asset_green_paint.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    transition: all var(--transition-base);
}

.invitation-couple-names:hover {
    transform: scale(1.02);
}

.invitation-message {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.invitation-details {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.invitation-action {
    margin-left: .75rem;
    font-size: 0.95rem;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.invitation-date {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.invitation-location {
    line-height: 1.6;
}

.invitation-photo {
    max-width: 600px;
    margin: var(--spacing-xl) auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
}

.invitation-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.invitation-photo img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.invitation-photo:hover img {
    transform: scale(1.05);
}

.wedding-party-list {
    max-width: 800px;
    margin: var(--spacing-xl) auto;
}

/* Invitation Attire */
.invitation-attire {
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    text-align: center;
}

.subsection-title {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.icon-dress::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233b3b3b'%3E%3Cpath d='M9 3l3 4 3-4 2 2-2 3 4 12H5l4-12-2-3 2-2z'/%3E%3C/svg%3E"); }

.attire-line {
    font-family: var(--font-body);
    font-size: 1.05rem;
    margin: .35rem 0;
}

.attire-note {
    margin-top: .5rem;
    font-style: italic;
    color: var(--color-text-light);
}

.color-palette {
    margin-top: var(--spacing-md);
    display: flex;
    justify-content: center;
}

.color-palette img {
    max-width: 100%;
    height: auto;
}

.party-list-title {
    font-family: var(--font-body);
    font-size: 2rem;
    text-align: center;
    color: var(--color-text);
    margin-bottom: var(--spacing-xl);
    font-weight: 700;
}

.party-couple {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.nuptials {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

.couple-names {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-text);
    font-weight: normal;
    padding: 1rem 2rem;
    background-image: url('assets/images/asset_green_paint.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
}

.party-section {
    margin-bottom: 2.5rem;
    margin-bottom: var(--spacing-md);
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    transition: transform var(--transition-base);
}

.party-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.party-category {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

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

.party-names p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

.party-names-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    place-items: center;
}

.names-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: baseline;
}

.names-column p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

.role-title {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    text-align: center;
}

.party-names-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    justify-items: center;
}

.party-names-grid p {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
    text-align: center;
}

/* Gallery - Story Timeline */
.gallery {
    background: var(--color-white);
}

.story-timeline {
    max-width: 1200px;
    margin: 4rem auto;
    position: relative;
}

/* Vertical center line */
.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--color-text);
    top: 0;
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 12px auto 1fr;
    align-items: center;
    margin-bottom: 6rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Text - Left Side */
.timeline-text-left {
    grid-column: 1;
    width: 100%;
    padding-right: 3rem;
    text-align: left;
}

/* Timeline Image - Right Side */
.timeline-image-right {
    grid-column: 5;
    width: 100%;
    padding-left: 3rem;
}

.timeline-text-right {
    width: 100%;
    text-align: right;
}

.timeline-image-left {
    width: 100%;
}

/* Default connector and dot positioning for items 1 & 3 */
.timeline-item .timeline-connector-left {
    grid-column: 2;
}

.timeline-item .timeline-dot {
    grid-column: 3;
}

.timeline-item .timeline-connector-right {
    grid-column: 4;
}

/* For items where image is on left and text on right - Item 2 */
.timeline-item:nth-child(2) {
    grid-template-columns: 1fr auto 12px auto 1fr;
}

.timeline-item:nth-child(2) .timeline-image-left {
    grid-column: 1;
    padding-right: 3rem;
}

.timeline-item:nth-child(2) .timeline-connector-left {
    grid-column: 2;
}

.timeline-item:nth-child(2) .timeline-dot {
    grid-column: 3;
}

.timeline-item:nth-child(2) .timeline-connector-right {
    grid-column: 4;
}

.timeline-item:nth-child(2) .timeline-text-right {
    grid-column: 5;
    text-align: right;
    padding-left: 3rem;
}

/* Timeline Dot - centered on the vertical line */
.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-text);
    flex-shrink: 0;
    z-index: 1;
    position: relative;
    justify-self: center;
}

/* Dashed Connectors - only visible on text side */
.timeline-connector-left,
.timeline-connector-right {
    height: 2px;
    position: relative;
    background: var(--color-white);
}

/* Make connectors visible only when connecting to text */
/* Items 1 & 3: Text left, Image right */
.timeline-item .timeline-connector-left {
    border-top: 2px dashed var(--color-text);
    min-width: 50px;
}

.timeline-item .timeline-connector-right {
    border-top: none; /* Transparent for image side */
    min-width: 50px;
}

/* Item 2: Image left, Text right - reverse the styling */
.timeline-item:nth-child(2) .timeline-connector-left {
    border-top: none; /* Transparent for image side */
}

.timeline-item:nth-child(2) .timeline-connector-right {
    border-top: 2px dashed var(--color-text); /* Dashed for text side */
}

/* Timeline Titles and Descriptions */
.timeline-title {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-description {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

/* Timeline Images */
.timeline-image-left img,
.timeline-image-right img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform var(--transition-base);
}

.timeline-image-left img:hover,
.timeline-image-right img:hover {
    transform: scale(1.05);
}

/* ====================
   FAQS SECTION
   ==================== */

.faqs {
    background: var(--color-white);
}

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

.faq-item {
    margin-bottom: var(--spacing-md);
    padding: 1.5rem;
    background: var(--color-bg-light);
    border-radius: 8px;
    transition: transform var(--transition-base);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-family: var(--font-body);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.faq-answer {
    color: var(--color-text-light);
    line-height: 1.8;
}

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

.footer {
    background: var(--color-bg-dark);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* ====================
   RESPONSIVE: TABLET & MOBILE
   ==================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        padding: var(--spacing-sm);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 99px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: var(--transition-base);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md) 0;
        gap: var(--spacing-sm);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        position: absolute;
        right: var(--spacing-sm);
        top: 1.5rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-logo a {
        font-size: 1.5rem;
    }

    /* Hero Section */
    .hero {
        height: 44vh;
    }

    .slide img {
        /* object-fit: contain; */
        background: var(--color-white);
    }

    .slide-indicators {
        bottom: var(--spacing-sm);
    }

    .indicator {
        width: 40px;
        height: 5px;
    }

    .indicator.active {
        width: 40px;
    }

    /* Hero Content */
    .hero-content-section {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-names {
        font-size: 3.5rem;
        padding: var(--spacing-sm) 1.5rem;
        background-size: 95% auto;
    }

    .name-first,
    .name-second {
        display: inline-block;
    }

    .name-ampersand {
        font-size: 2rem;
        margin: 0 0.5rem;
    }

    .countdown {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .countdown-number {
        font-size: 2rem;
    }

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

    .section-title {
        font-size: 2.5rem;
        padding: 0.75rem 1.5rem;
        background-size: 95% auto;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        border-left: none;
        padding-bottom: var(--spacing-sm);
    }

    /* Story Timeline Mobile */
    .story-timeline::before {
        display: none;
    }

    .timeline-item {
        grid-template-columns: 1fr !important;
        gap: 0;
        text-align: center;
        padding: var(--spacing-md) 0;
    }

    .timeline-text-left,
    .timeline-text-right {
        order: 1 !important;
        grid-column: 1 !important;
        text-align: center;
        padding: 0 var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .timeline-connector-left,
    .timeline-connector-right {
        display: none !important;
    }

    .timeline-dot {
        display: none !important;
    }

    .timeline-image-left,
    .timeline-image-right {
        order: 2 !important;
        grid-column: 1 !important;
        padding: 0;
        width: 100%;
    }

    .timeline-image-left img,
    .timeline-image-right img {
        height: 300px;
    }

    .timeline-title {
        font-size: 1.2rem;
    }

    .timeline-description {
        font-size: 0.9rem;
    }

    /* Invitation Section Mobile */
    .invitation-couple-names {
        font-size: 2.5rem;
        padding: 0.75rem 1.5rem;
        background-size: 95% auto;
    }

    .invitation-message {
        font-size: 1rem;
    }

    .invitation-date {
        font-size: 1.1rem;
    }

    .invitation-location {
        font-size: 0.95rem;
    }

    .invitation-photo {
        margin: var(--spacing-md) auto;
    }

    .invitation-photo img {
        height: 350px;
    }

    .party-list-title {
        font-size: 1.5rem;
    }

    .party-couple {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .couple-names {
        font-size: 2rem;
        padding: 0.75rem 1.5rem;
        background-size: 95% auto;
    }

    .party-category {
        font-size: 1.2rem;
    }

    .party-names p,
    .names-column p {
        font-size: 0.9rem;
    }

    .party-names-two-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .party-names-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* ====================
   RESPONSIVE: PHONES
   ==================== */

@media (max-width: 480px) {
    .nav-logo a {
        font-size: 1.3rem;
    }

    .hero {
        height: 31vh;
        margin-top: 12vh;
    }

    .slide img {
        background: var(--color-white);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-names {
        font-size: 2.5rem;
        padding: 0.75rem var(--spacing-sm);
        background-size: 100% auto;
    }

    .name-ampersand {
        font-size: 1.5rem;
        margin: 0 0.25rem;
    }

    .countdown {
        gap: 0.75rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

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

    .section-title {
        font-size: 2rem;
        padding: 0.5rem 1rem;
        background-size: 100% auto;
    }

    .hero-content-section {
        padding: 1.5rem 0.75rem;
    }

    .invitation-couple-names {
        font-size: 2rem;
        padding: 0.5rem 1rem;
        background-size: 100% auto;
    }

    .couple-names {
        font-size: 1.8rem;
        padding: 0.5rem 1rem;
        background-size: 100% auto;
    }
}

/* ====================
   RESPONSIVE: SMALL PHONES
   ==================== */

@media (max-width: 360px) {
    .hero-names {
        font-size: 2rem;
        padding: var(--spacing-xs) 0.75rem;
    }

    .countdown {
        gap: var(--spacing-xs);
    }

    .countdown-number {
        font-size: 1.25rem;
    }
}

/* ====================
   PRINT STYLES
   ==================== */
@media print {
    @page { size: A5; margin: 12mm; }
    body { background: white !important; }
    .navbar, .hero, .hero-content-section .countdown, .slide-indicators, .nav-menu, .hamburger, .footer, .story-timeline, .things-to-do, .faqs { display: none !important; }
    .invitation { page-break-after: avoid; }
    .invitation-couple-names, .couple-names { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .invitation-photo { box-shadow: none; }
}