/* Boho Wedding Website - Olivia & Jakub */

:root {
    --sage: #8B9D83;
    --sage-dark: #6B7D63;
    --sage-light: #A4B494;
    --terracotta: #C67B5C;
    --terracotta-light: #D4A574;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE0;
    --dusty-rose: #C9ADA7;
    --warm-brown: #8B7355;
    --charcoal: #3d3d3d;
    --off-white: #FEFCF9;
}

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

/* Demo Banner */
.demo-banner {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.demo-banner-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.demo-banner-text {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.demo-banner-text a {
    color: #FFD700;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.demo-banner-text a:hover {
    color: #FFF;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .demo-banner {
        flex-direction: column;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .demo-banner-text {
        font-size: 0.8rem;
    }

    .demo-banner-logo {
        width: 28px;
        height: 28px;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: sticky;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 999;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 157, 131, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 2.5rem;
    flex-wrap: wrap;
}

nav a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--sage-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--terracotta);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--terracotta);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, var(--off-white) 100%);
    position: relative;
    overflow: hidden;
}

.leaf-decoration {
    position: absolute;
    width: 120px;
    height: 120px;
    opacity: 0.15;
    color: var(--sage);
}

.leaf-top-left {
    top: 120px;
    left: 50px;
    transform: rotate(-25deg);
}

.leaf-top-right {
    top: 120px;
    right: 50px;
    transform: rotate(25deg) scaleX(-1);
}

.monogram-container {
    position: relative;
    margin-bottom: 2rem;
}

.floral-wreath {
    width: 220px;
    height: 220px;
    color: var(--sage);
    opacity: 0.6;
}

.monogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Sacramento', cursive;
    font-size: 3.5rem;
    color: var(--terracotta);
    font-weight: 400;
    letter-spacing: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-family: 'Lora', serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--sage-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.ampersand {
    font-family: 'Sacramento', cursive;
    font-size: 4.5rem;
    color: var(--terracotta);
    margin: 0 0.5rem;
    display: inline-block;
}

.divider {
    width: 150px;
    margin: 2rem auto;
    color: var(--sage);
    opacity: 0.5;
}

.wedding-date {
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    color: var(--warm-brown);
    margin: 2rem 0;
    font-style: italic;
}

/* Countdown */
.countdown {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

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

.countdown-number {
    font-family: 'Lora', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--terracotta);
    line-height: 1;
    min-width: 80px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.countdown-number.flip {
    transform: scale(1.2);
    color: var(--sage);
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sage-dark);
    font-weight: 300;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--dusty-rose);
    opacity: 0.5;
}

.countdown-date {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--warm-brown);
    font-weight: 500;
    letter-spacing: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.scroll-indicator span {
    font-size: 0.85rem;
    color: var(--sage-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    color: var(--terracotta);
    animation: bounce 2s infinite;
}

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

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--sage-dark);
    margin-bottom: 3rem;
    font-weight: 500;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--terracotta);
    margin: 1rem auto 0;
    opacity: 0.5;
}

/* Decorative Divider */
.decorative-divider {
    text-align: center;
    padding: 3rem 2rem;
    overflow: hidden;
}

.decorative-divider img {
    width: 100%;
    max-width: 500px;
    height: auto;
    opacity: 0.25;
    color: var(--earth-brown);
}

@media (max-width: 768px) {
    .decorative-divider {
        padding: 2rem 1rem;
    }

    .decorative-divider img {
        max-width: 350px;
    }
}

/* Gallery */
.gallery-section {
    background: var(--off-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 20px rgba(139, 157, 131, 0.15);
    transition: all 0.4s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 157, 131, 0.4), rgba(198, 123, 92, 0.4));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(139, 157, 131, 0.25);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(61, 61, 61, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 248, 240, 0.9);
    color: var(--sage-dark);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
    border-radius: 8px;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--cream);
    color: var(--terracotta);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-nav.prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-nav.prev:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 248, 240, 0.9);
    color: var(--sage-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
}

/* Invitation */
.invitation {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 3rem;
    background: var(--off-white);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(139, 157, 131, 0.12);
    position: relative;
}

.invitation-decoration {
    width: 200px;
    margin: 0 auto;
    color: var(--sage);
    opacity: 0.4;
}

.invitation-decoration.top {
    margin-bottom: 2rem;
}

.invitation-decoration.bottom {
    margin-top: 2rem;
}

.invitation p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

.couple-names {
    font-family: 'Sacramento', cursive;
    font-size: 3.5rem;
    color: var(--terracotta);
    margin: 2rem 0;
    font-weight: 400;
}

.additional-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: 8px;
    border: 1px dashed var(--sage);
}

.additional-info p {
    font-size: 1rem;
    line-height: 1.8;
}

/* Info Cards */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--off-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(139, 157, 131, 0.12);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 157, 131, 0.18);
}

.info-card-header {
    background: linear-gradient(135deg, var(--sage-light), var(--sage));
    padding: 2rem;
    text-align: center;
    color: white;
}

.info-card-header .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.info-card-header h3 {
    font-family: 'Lora', serif;
    font-size: 1.6rem;
    font-weight: 500;
}

.info-card-content {
    padding: 2rem;
}

.info-card-content p {
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.highlight {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
}

.map-container {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Afterparty Card */
.afterparty-card {
    background: linear-gradient(135deg, var(--cream-dark), var(--off-white));
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(139, 157, 131, 0.12);
    border: 2px solid var(--sage);
    border-style: dashed;
}

.afterparty-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.afterparty-card h3 {
    font-family: 'Lora', serif;
    font-size: 2rem;
    color: var(--sage-dark);
    margin-bottom: 1rem;
}

.afterparty-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin-top: 1rem;
}

/* Presents */
.presents {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
}

.presents-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    font-size: 3rem;
    flex-wrap: wrap;
}

.presents-icons span {
    filter: drop-shadow(0 4px 8px rgba(139, 157, 131, 0.2));
    transition: transform 0.3s ease;
}

.presents-icons span:hover {
    transform: scale(1.2) rotate(5deg);
}

.presents p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--charcoal);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    background: var(--off-white);
    padding: 2.5rem 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 25px rgba(139, 157, 131, 0.12);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 157, 131, 0.18);
    border-color: var(--sage-light);
}

.contact-card.bride {
    border-top: 4px solid var(--dusty-rose);
}

.contact-card.groom {
    border-top: 4px solid var(--sage);
}

.contact-card h4 {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: var(--sage-dark);
    margin-bottom: 0.5rem;
}

.contact-card .role {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--terracotta);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-card p {
    margin: 0.5rem 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.contact-card a {
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--terracotta);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--sage-dark), var(--sage));
    color: var(--off-white);
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.footer-decoration {
    width: 200px;
    margin: 0 auto 2rem;
    color: var(--cream);
    opacity: 0.5;
}

.footer-monogram {
    font-family: 'Sacramento', cursive;
    font-size: 3rem;
    color: var(--cream);
    margin-bottom: 1rem;
}

footer p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Fade-in Animation */
.fade-in {
    animation: fadeIn 1.5s ease-out;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        top: 90px;
    }

    nav ul {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

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

    .ampersand {
        font-size: 3rem;
    }

    .monogram {
        font-size: 2.5rem;
        letter-spacing: 0.2rem;
    }

    .floral-wreath {
        width: 160px;
        height: 160px;
    }

    .countdown {
        width: 100vw;
        gap: 1rem;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        flex-wrap: nowrap;
    }

    .countdown-number {
        font-size: 2.5rem;
        min-width: 60px;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .invitation {
        padding: 3rem 2rem;
    }

    .couple-names {
        font-size: 2.5rem;
    }

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

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

    .lightbox-nav {
        padding: 0.75rem 1rem;
        font-size: 1.5rem;
    }

    .lightbox-nav.prev {
        left: 10px;
    }

    .lightbox-nav.next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 5rem 1rem 3rem;
    }

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

    .countdown-item {
        gap: 0.3rem;
    }

    .countdown-number {
        font-size: 2rem;
        min-width: 50px;
    }

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

    nav ul {
        gap: 1rem;
    }
}
