/* ========================================
   Russell & Holly Wedding Website
   Elegant Botanical Theme
   ======================================== */

:root {
    --cream: #f7f8f0;
    --cream-dark: #F5F0E6;
    --sage: #6B7F5E;
    --sage-light: #8FA67A;
    --sage-dark: #4A5A40;
    --gold: #C9A227;
    --gold-muted: #B8965C;
    --charcoal: #2C2C2C;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Quicksand', 'Segoe UI', sans-serif;
    
    --botanical-width: 120px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

/* ========================================
   Botanical Frames
   ======================================== */

.botanical-frame {
    position: fixed;
    top: 0;
    width: var(--botanical-width);
    display: flex;
    flex-direction: column;
    pointer-events: none;
    z-index: 10;
}

.botanical-left {
    left: 0;
}

.botanical-right {
    right: 0;
}

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

/* Right side: mirrored horizontally */
.botanical-right .botanical-img {
    transform: scaleX(-1);
}

/* ========================================
   Main Content
   ======================================== */

.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 100px 60px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.prelude {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 30px;
}

.names {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--sage-dark);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 25px;
}

.ampersand {
    font-style: normal;
    color: var(--gold);
    display: inline-block;
    margin: 0 0.1em;
}

.invitation {
    font-family: var(--font-body);
    font-size: 1.45rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 50px;
}

.date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 50px;
}

.day {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
}

.date-number {
    font-family: var(--font-display);
    font-size: 7rem;
    font-weight: 500;
    color: var(--sage);
    line-height: 1;
}

.month-year {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--sage-dark);
    letter-spacing: 0.05em;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 500;
    color: var(--gold-muted);
    line-height: 1.2;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 50px 0;
}

h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--sage-dark);
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 45px;
}

.divider {
    text-align: center;
    font-size: 1rem;
    color: var(--gold);
    padding: 20px 0;
    letter-spacing: 0.5em;
}

/* ========================================
   Schedule / Timeline
   ======================================== */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 400px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: baseline;
    gap: 30px;
}

.time {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold-muted);
    min-width: 120px;
    text-align: right;
}

.event {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
}

/* ========================================
   Venue Section
   ======================================== */

.venue-details {
    text-align: center;
    margin-bottom: 40px;
}

.venue-details h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    font-style: italic;
    color: var(--sage);
    margin-bottom: 12px;
}

.address {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 18px;
}

.map-link {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sage);
    text-decoration: none;
    padding: 10px 25px;
    border: 1px solid var(--sage);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.map-link:hover {
    background-color: var(--sage);
    color: var(--cream);
}

.venue-maps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.map-card {
    background: var(--cream-dark);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.map-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--sage-dark);
    margin-bottom: 15px;
}

.venue-map {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.venue-map:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.click-hint {
    font-size: 0.9rem;
    color: var(--sage);
    font-style: normal;
}

.map-caption {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 15px;
    font-style: italic;
    line-height: 1.5;
}

/* ========================================
   Dress Code Section
   ======================================== */

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

.dress-code-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-style: italic;
    color: var(--sage);
    margin-bottom: 12px;
}

.dress-code-note {
    font-family: var(--font-body);
    font-size: 1.15rem;
    color: var(--text);
}

/* ========================================
   Gifts Section
   ======================================== */

.gifts {
    text-align: center;
}

.gifts-message {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 40px;
}

.bank-details {
    display: inline-flex;
    flex-direction: column;
    gap: 15px;
    background: var(--cream-dark);
    padding: 30px 50px;
    border-radius: 12px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.bank-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.bank-value {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--sage-dark);
    letter-spacing: 0.15em;
}

/* ========================================
   Dietary Section
   ======================================== */

.dietary {
    text-align: center;
}

.dietary-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.email-link {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--sage);
    text-decoration: none;
    padding: 12px 30px;
    border: 1px solid var(--sage);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.email-link:hover {
    background-color: var(--sage);
    color: var(--cream);
}

/* ========================================
   Recovery Brunch Section
   ======================================== */

.brunch {
    text-align: center;
}

.brunch-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text);
    margin-bottom: 30px;
}

.brunch-details {
    display: inline-flex;
    flex-direction: column;
    gap: 15px;
    background: var(--cream-dark);
    padding: 30px 50px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.brunch-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: center;
}

.brunch-label {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.brunch-value {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--sage-dark);
}

.brunch-note {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    text-align: center;
    padding: 60px 0 40px;
}

.closing {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.signature {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--sage);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
    :root {
        --botanical-width: 100px;
    }
}

@media (max-width: 900px) {
    :root {
        --botanical-width: 80px;
    }
    
    .content {
        padding: 60px 30px;
    }
}

@media (max-width: 700px) {
    .botanical-frame {
        display: none; /* Hide botanical frames on mobile */
    }
    
    .content {
        padding: 50px 25px;
        max-width: 100%;
    }
    
    .names {
        font-size: 2.8rem;
    }
    
    .date-number {
        font-size: 4.5rem;
    }
    
    .countdown {
        gap: 20px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .time {
        text-align: center;
        min-width: auto;
    }
    
    .bank-details {
        padding: 25px 35px;
    }
    
    .bank-row {
        gap: 25px;
    }
}

@media (max-width: 400px) {
    .content {
        padding: 40px 20px;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .names {
        font-size: 2.2rem;
    }
    
    .date-number {
        font-size: 3.5rem;
    }
    
    .month-year {
        font-size: 1.4rem;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .botanical-frame {
        display: none;
    }
    
    .countdown {
        display: none;
    }
    
    body {
        background: white;
    }
}

/* ========================================
   Lightbox
   ======================================== */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

