/* ==========================================================================
   Sarah & Nick Wedding Website - Version 2 (Forest Green)
   Bold experimental version with green background
   ========================================================================== */

:root {
    --color-cream: #F0F0E0;
    --color-tan: #EDD0AC;
    --color-burgundy: #833940;
    --color-gold: #DEBA78;
    --color-sage: #9FA184;
    --color-olive: #6A6C4C;
    --color-forest: #4a4c3a;

    --color-text: #F0F0E0;
    --color-text-dark: #3a3a3a;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Lato', 'Avenir', sans-serif;

    --nav-height: 70px;
    --transition-smooth: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-olive);
    overflow-x: hidden;
}

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

a {
    color: var(--color-tan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-cream);
}

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

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    height: var(--nav-height);
    background: rgba(106, 108, 76, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    transform: translateY(-100%);
    opacity: 0;
}

.main-nav.scrolled {
    transform: translateY(0);
    opacity: 1;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 500;
    color: var(--color-cream);
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

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

.nav-cta {
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--color-gold);
    border-radius: 2px;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--color-gold);
    color: var(--color-forest) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-cream);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section - Clean & Bold
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 5% 10vh;
}

/* Fixed Lace Corner Decorations */
.fixed-lace {
    position: fixed;
    width: clamp(150px, 22vw, 280px);
    height: auto;
    pointer-events: none;
    z-index: 1000;
    opacity: 0.85;
}

.fixed-lace-tl {
    top: 0;
    left: 0;
}

.fixed-lace-tr {
    top: 0;
    right: 0;
    transform: scaleX(-1);
}

.fixed-lace-bl {
    bottom: 0;
    left: 0;
    transform: scaleX(-1);
}

.fixed-lace-br {
    bottom: 0;
    right: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-names {
    font-family: var(--font-heading);
    font-weight: 400;
    font-style: italic;
    color: var(--color-cream);
    line-height: 1.1;
    margin-bottom: 1.8rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.names-line {
    display: block;
    font-size: clamp(3.5rem, 8vw, 7rem);
    white-space: nowrap;
}

.getting-married {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-top: 0;
}

.hero-on {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-tan);
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-tan);
    letter-spacing: 0.1em;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.hero-at {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-sage);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0.8rem 0 0.3rem;
    padding: 0;
    line-height: 1.2;
}

.hero-location {
    font-size: 1.1rem;
    color: var(--color-sage);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.2rem;
}

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

.countdown-number {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 400;
    color: var(--color-cream);
    line-height: 1;
}

.countdown-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sage);
    margin-top: 0.4rem;
}

/* Transparent couple image */
.hero-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 45%;
    max-width: 550px;
    z-index: 5;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--color-tan);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

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

.main-content {
    position: relative;
    z-index: 10;
}

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-style: italic;
    font-weight: 400;
    color: var(--color-cream);
    text-align: center;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--color-gold);
    margin: 1rem auto 0;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-tan);
    text-align: center;
    margin-bottom: 3rem;
}

/* ==========================================================================
   Our Story Section - With Painting Background
   ========================================================================== */

.story-section {
    position: relative;
}

.story-section .section-content {
    position: relative;
    background: rgba(240, 240, 224, 0.1);
    padding: 3rem;
    border: 1px solid rgba(240, 240, 224, 0.2);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.story-section .section-title {
    color: var(--color-cream);
}

.story-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 2rem;
}

.story-image {
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
}


.story-text {
    text-align: left;
}

.story-lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-tan);
    margin-bottom: 1.5rem;
}

.story-text p {
    margin-bottom: 1.2rem;
    color: #c8c9bc;
}

/* Dog cutout floating - centered at bottom, straddling section edge */
.floating-dogs {
    position: absolute;
    left: 50%;
    bottom: -120px;
    transform: translateX(-50%);
    width: 400px;
    z-index: 20;
    pointer-events: none;
    background: none;
    border: none;
    box-shadow: none;
}

.floating-dogs img {
    width: 100%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
    background: none;
}

/* Photo Marquee */
.photo-marquee {
    width: 100%;
    overflow: hidden;
    background: rgba(159, 161, 132, 0.3);
    padding: 1rem 0;
}

.photo-marquee-inner {
    display: flex;
    gap: 1rem;
    will-change: transform;
}

.photo-marquee-inner img {
    height: 100px;
    width: auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

/* ==========================================================================
   Photobooth Section with Lace Frame
   ========================================================================== */

.photobooth-section {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lace-frame-container {
    position: relative;
    width: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lace-frame-bg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.85;
}

.photobooth-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

/* Black strip behind bottom two photos to hide gap */
.photobooth-grid::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: calc(50% - 1px);
    background: #000;
    z-index: 0;
}

.photobooth-cell {
    position: relative;
    width: 210px;
}

.film-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.photobooth-photo {
    position: absolute;
    top: 4%;
    left: 6%;
    width: 88%;
    height: 92%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.15s ease;
}

.photobooth-photo.fading {
    opacity: 0;
}

/* Dimmer - sits behind the photobooth section */
.photobooth-dimmer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 42, 30, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.photobooth-dimmer.active {
    opacity: 1;
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */

.schedule-section .section-content {
    background: rgba(240, 240, 224, 0.1);
    padding: 3rem;
    border: 1px solid rgba(240, 240, 224, 0.2);
    backdrop-filter: blur(5px);
}

.schedule-timeline {
    max-width: 600px;
    margin: 2rem auto 0;
}

.schedule-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(240, 240, 224, 0.2);
    align-items: flex-start;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-gold);
    min-width: 100px;
    text-align: right;
}

.schedule-details h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 0.25rem;
}

.schedule-details p {
    font-size: 0.9rem;
    color: #c8c9bc;
}

/* ==========================================================================
   Attire Section
   ========================================================================== */

.attire-section .section-content {
    text-align: center;
}

.attire-description {
    max-width: 500px;
    margin: 0 auto 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-cream);
}

.color-palette {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(240, 240, 224, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .color-swatch {
        width: 50px;
        height: 50px;
    }

    .color-palette {
        gap: 1rem;
    }
}

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

.venue-section .section-content {
    background: rgba(240, 240, 224, 0.1);
    padding: 3rem;
    border: 1px solid rgba(240, 240, 224, 0.2);
    backdrop-filter: blur(5px);
}

.venue-content {
    margin-top: 2rem;
}

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

.venue-info + .venue-info {
    margin-top: 2.5rem;
}

.venue-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.venue-address {
    font-size: 1rem;
    color: var(--color-tan);
    margin-bottom: 1.5rem;
}

.venue-description {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: #c8c9bc;
}

.lace-border {
    position: relative;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.lace-border::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid var(--color-tan);
}

.venue-image img {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

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

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-forest);
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--color-gold);
}

.venue-info .btn {
    margin: 0.5rem;
}

@media (max-width: 480px) {
    .venue-info .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
}

/* ==========================================================================
   Registry Section
   ========================================================================== */

.registry-section .section-content {
    text-align: center;
}

.registry-intro {
    max-width: 550px;
    margin: 0 auto 3rem;
    color: var(--color-sage);
}

.registry-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.registry-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 3rem;
    background: rgba(240, 240, 224, 0.1);
    border: 1px solid rgba(240, 240, 224, 0.2);
    transition: var(--transition-smooth);
    min-width: 200px;
}

.registry-card:hover {
    transform: translateY(-4px);
    background: rgba(240, 240, 224, 0.15);
    border-color: var(--color-gold);
}

.registry-icon {
    color: var(--color-tan);
}

.registry-card:hover .registry-icon {
    color: var(--color-gold);
}

.registry-card span {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
}

/* ==========================================================================
   RSVP Section
   ========================================================================== */

.rsvp-section .section-content {
    background: rgba(240, 240, 224, 0.1);
    padding: 3rem;
    border: 1px solid rgba(240, 240, 224, 0.2);
    backdrop-filter: blur(5px);
}

.rsvp-intro {
    text-align: center;
    color: #c8c9bc;
    margin-bottom: 2rem;
}

.coming-soon {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-gold);
    text-align: center;
    margin-top: 1rem;
}

.google-form-placeholder {
    background: #fff;
    border: 2px dashed var(--color-tan);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-sage);
}

.placeholder-note {
    font-size: 0.85rem;
    color: #888;
}

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

.site-footer {
    padding: 4rem 2rem;
    text-align: center;
    min-height: clamp(150px, 22vw, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-names {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--color-cream);
    margin-bottom: 0.3rem;
}

.footer-date {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-sage);
}

.footer-lace {
    width: 60px;
    height: 1px;
    background: var(--color-sage);
    margin: 1.5rem auto 0;
}

/* ==========================================================================
   Decorative Elements
   ========================================================================== */

.lace-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.lace-divider::before,
.lace-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 186, 120, 0.4), transparent);
}

.lace-divider img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin: 0 1rem;
    opacity: 0.5;
}

.filigree-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.filigree-divider img {
    width: 270px;
    height: auto;
    object-fit: contain;
}

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

@media (max-width: 992px) {
    .fixed-lace {
        width: clamp(100px, 18vw, 180px);
    }

    .floating-dogs {
        display: none;
    }

    .story-content,
    .venue-content {
        grid-template-columns: 1fr;
    }

    .lace-frame-container {
        width: 500px;
    }

    .photobooth-cell {
        width: 175px;
    }
}

@media (max-width: 768px) {
    .fixed-lace {
        width: 100px;
        opacity: 0.75;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(106, 108, 76, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-smooth);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .names-line {
        white-space: normal;
    }

    .hero-date {
        font-size: 1.6rem;
    }

    .schedule-item {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
        text-align: left;
        align-items: baseline;
    }

    .schedule-time {
        text-align: left;
        min-width: auto;
    }

    .schedule-details {
        flex: 1;
    }

    .schedule-details h3 {
        display: inline;
    }

    .schedule-details p {
        display: block;
        margin-top: 0.25rem;
    }

    .story-content {
        padding: 0 1.5rem 2rem;
    }

    .lace-frame-container {
        width: 95vw;
        max-width: 380px;
    }

    .photobooth-cell {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .lace-frame-container {
        width: 90vw;
        max-width: 320px;
    }

    .photobooth-cell {
        width: 100px;
    }
}
