/* ============================================
   EVENTS BY LINA & AYA
   Design System — Soft, Romantic, Editorial
============================================ */

/* --- Variables --- */
:root {
    --cream: #F5F0EA;
    --cream-light: #FAF8F5;
    --cream-dark: #EDE6DC;
    --taupe: #8C7B6B;
    --taupe-dark: #5C4A3E;
    --taupe-light: #B8A99A;
    --blush: #E8D5C8;
    --gold: #C9A96E;
    --white: #FFFFFF;

    --font-serif: 'Cormorant Garamond', 'Georgia', serif;
    --font-sans: 'Josefin Sans', 'Helvetica Neue', sans-serif;

    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--taupe-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 300;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* ============================================
   FLORAL SVG DECORATIONS
============================================ */
.floral-bg {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    color: var(--taupe-light);
}

.floral-top-right {
    top: -50px;
    right: -100px;
    width: 400px;
    height: 500px;
    opacity: 0.5;
}

.floral-bottom-left {
    bottom: -50px;
    left: -100px;
    width: 400px;
    height: 500px;
    opacity: 0.4;
    transform: rotate(180deg);
}

/* ============================================
   TYPOGRAPHY
============================================ */
.section-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 1rem;
    font-weight: 300;
}

.section-label.light { color: rgba(255,255,255,0.7); }

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--taupe-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.section-title.light { color: var(--white); }

.elegant-divider {
    margin-bottom: 2rem;
}

.elegant-divider span {
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.elegant-divider.center span {
    margin: 0 auto;
}

.elegant-divider.light span {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

/* ============================================
   NAVIGATION
============================================ */
#navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: all 0.5s var(--ease-smooth);
}

#navbar.scrolled {
    background-color: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 18px 0;
    box-shadow: 0 1px 0 rgba(140, 123, 107, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--white);
    transition: color 0.5s var(--ease-smooth);
}

#navbar.scrolled .nav-logo { color: var(--taupe-dark); }

.nav-logo-script {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
}

.nav-logo-sans {
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 3px;
    font-weight: 300;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 300;
    position: relative;
    transition: color 0.5s var(--ease-smooth);
}

#navbar.scrolled .nav-links a { color: var(--taupe-dark); }

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

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    z-index: 200;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 1.5px;
    background-color: var(--white);
    transition: all 0.4s var(--ease-out);
    transform-origin: center;
}

#navbar.scrolled .hamburger span { background-color: var(--taupe-dark); }

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
.hamburger.active span { background-color: var(--taupe-dark) !important; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: var(--cream-light);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner { text-align: center; }

.mobile-link {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--taupe-dark);
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out);
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }

.mobile-socials {
    margin-top: 40px;
    display: flex;
    gap: 25px;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s var(--ease-out) 0.4s;
}

.mobile-menu.active .mobile-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-socials a {
    font-size: 1.5rem;
    color: var(--taupe);
}

/* ============================================
   HERO
============================================ */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s var(--ease-smooth);
}

body.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(92,74,62, 0.35) 0%,
        rgba(92,74,62, 0.2) 40%,
        rgba(92,74,62, 0.45) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-logo {
    max-width: 420px;
    width: 80%;
    margin: 0 auto 25px;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.hero-divider {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    margin: 0 auto 25px;
}

.hero-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    font-weight: 200;
    margin-bottom: 40px;
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
    position: relative;
    overflow: hidden;
    transition: all 0.6s var(--ease-out);
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out);
    z-index: -1;
}

.cta-button:hover { color: var(--taupe-dark); border-color: var(--white); }
.cta-button:hover::before { transform: scaleX(1); transform-origin: left; }

.cta-light {
    border-color: rgba(255,255,255,0.6);
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: var(--font-sans);
    font-weight: 200;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollLine 2s var(--ease-smooth) infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ============================================
   ABOUT
============================================ */
.about {
    padding: 140px 0;
    position: relative;
    z-index: 1;
    background-color: var(--cream-light);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-stack {
    position: relative;
}

.about-img-main {
    width: 85%;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border: 5px solid var(--cream-light);
}

.about-text p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: var(--taupe);
    line-height: 1.9;
}

/* ============================================
   GALLERY
============================================ */
.gallery {
    padding: 120px 0 140px;
    background-color: var(--cream);
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 1/1;
}

.gallery-item.gallery-wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(92, 74, 62, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s var(--ease-smooth);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s var(--ease-out);
}

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

.gallery-item:hover .gallery-overlay {
    background: rgba(92, 74, 62, 0.3);
}

.gallery-item:hover .gallery-overlay i {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   LIGHTBOX
============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(20, 15, 12, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s var(--ease-out);
}

.lightbox.active .lightbox-content img {
    opacity: 1;
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    font-weight: 200;
    transition: color 0.3s;
    z-index: 10;
}

.lightbox-close:hover { color: var(--white); }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
    z-index: 10;
    padding: 20px;
}

.lightbox-prev { left: 15px; }
.lightbox-next { right: 15px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }

.lightbox-counter {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    letter-spacing: 3px;
}

/* ============================================
   INQUIRY / CONTACT
============================================ */
.inquiry {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
    z-index: 1;
}

.inquiry-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.inquiry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92,74,62,0.8) 0%,
        rgba(60,45,35,0.85) 100%
    );
}

.inquiry-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.inquiry-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    line-height: 1.9;
}

.inquiry-socials {
    margin-top: 50px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.inquiry-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 200;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.inquiry-socials a:hover { color: var(--white); }

/* ============================================
   FOOTER
============================================ */
footer {
    background-color: var(--cream);
    padding: 60px 0 30px;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(140, 123, 107, 0.15);
}

.footer-logo-img {
    max-width: 180px;
    border-radius: 4px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--taupe);
    font-weight: 300;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--taupe-dark); }

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--taupe);
    font-size: 1.3rem;
    transition: all 0.3s;
}

.footer-socials a:hover {
    color: var(--taupe-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.75rem;
    color: var(--taupe-light);
    letter-spacing: 1px;
}

.footer-bottom a { color: var(--taupe); }
.footer-bottom a:hover { color: var(--taupe-dark); }

/* ============================================
   SCROLL ANIMATIONS
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children in gallery */
.gallery-item.reveal:nth-child(2) { transition-delay: 0.08s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.16s; }
.gallery-item.reveal:nth-child(4) { transition-delay: 0.24s; }
.gallery-item.reveal:nth-child(5) { transition-delay: 0.08s; }
.gallery-item.reveal:nth-child(6) { transition-delay: 0.16s; }
.gallery-item.reveal:nth-child(7) { transition-delay: 0.24s; }

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-img-stack {
        max-width: 500px;
        margin: 0 auto;
    }

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

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }

    .floral-bg { display: none; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .hero-logo { max-width: 300px; }

    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 3px;
    }

    .about { padding: 100px 0; }
    .gallery { padding: 80px 0 100px; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item.gallery-wide {
        grid-column: span 2;
    }

    .footer-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .inquiry { padding: 120px 0; }
    .inquiry-bg { background-attachment: scroll; }

    .lightbox-prev { left: 5px; }
    .lightbox-next { right: 5px; }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.gallery-wide {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }

    .gallery-item {
        aspect-ratio: 4/3;
    }

    .hero-logo { max-width: 250px; }

    .scroll-indicator { display: none; }

    .inquiry-socials {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
