/* =============================================
   THE LILY OF EDEN FLORISTRY
   Palette: cream · sage · blush · near-black
   ============================================= */

:root {
    --cream:       #FDFAF6;
    --cream-dark:  #F3EDE3;
    --sage:        #4A6741;
    --sage-light:  #7A9E72;
    --sage-pale:   #EBF0E8;
    --blush:       #EDD5CC;
    --blush-light: #F7EDE9;
    --text:        #2C2523;
    --text-mid:    #6B5F5A;
    --white:       #FFFFFF;

    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-script: 'Great Vibes', cursive;
    --font-sans:   'Lato', sans-serif;

    --radius:      12px;
    --transition:  0.3s ease;
    --shadow:      0 4px 24px rgba(44, 37, 35, 0.10);
    --shadow-hover:0 8px 36px rgba(44, 37, 35, 0.18);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1rem;
}
p { color: var(--text-mid); font-weight: 300; font-size: 1.05rem; }
.eyebrow {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.5rem;
}
.scripture {
    font-family: var(--font-script);
    font-size: 1.4rem;
    color: var(--sage-light);
    margin: 1.2rem 0;
}
.section-subtitle {
    max-width: 520px;
    margin: 0 auto 2.5rem;
    text-align: center;
    font-size: 1.05rem;
}

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    background: var(--sage);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 36px;
    border-radius: 40px;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover {
    background: var(--sage-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--sage);
    color: var(--sage);
}
.btn-outline:hover {
    background: var(--sage);
    color: var(--white);
}

/* ── FADE IN ANIMATION ── */
.fade-in {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   NAV
   ============================================= */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: rgba(253, 250, 246, 0.96);
    box-shadow: 0 2px 16px rgba(44, 37, 35, 0.08);
    backdrop-filter: blur(8px);
    transition: padding var(--transition);
}
#navbar.scrolled {
    padding: 10px 40px;
}
.nav-logo { width: 48px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.nav-logo-link { display: flex; align-items: center; }
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--sage); }
.nav-cta {
    background: var(--sage);
    color: var(--white) !important;
    padding: 8px 22px;
    border-radius: 40px;
    transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--sage-light) !important; color: var(--white) !important; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
    background-color: var(--blush); /* fallback while image loads */
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(253, 250, 246, 0.30) 0%,
        rgba(44, 37, 35, 0.35) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.hero-logo {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(44,37,35,0.3));
    animation: floatLogo 4s ease-in-out infinite;
}
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
.hero-tagline {
    font-family: var(--font-script);
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--white);
    text-shadow: 0 2px 12px rgba(44, 37, 35, 0.4);
    font-weight: 400;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   ABOUT
   ============================================= */
.about {
    padding: 120px 0 100px;
    background: var(--cream);
}
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}
.about-image-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow);
}
.about-image-wrap img {
    transition: transform 0.6s ease;
}
.about-image-wrap:hover img { transform: scale(1.03); }
/* Decorative corner accent */
.about-image-wrap::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px;
    width: 80px; height: 80px;
    border-top: 2px solid var(--sage-light);
    border-left: 2px solid var(--sage-light);
    border-radius: 4px 0 0 0;
    z-index: 1;
}
.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -12px; right: -12px;
    width: 80px; height: 80px;
    border-bottom: 2px solid var(--blush);
    border-right: 2px solid var(--blush);
    border-radius: 0 0 4px 0;
    z-index: 1;
}
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text p { max-width: 440px; }

/* =============================================
   GALLERY
   ============================================= */
.gallery {
    padding: 100px 0;
    background: var(--cream-dark);
    text-align: center;
}
.gallery h2 { margin-bottom: 48px; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.gallery-item.tall {
    grid-row: span 2;
    aspect-ratio: unset;
}

/* =============================================
   INSTAGRAM
   ============================================= */
.instagram-section {
    padding: 100px 0;
    background: var(--sage-pale);
    text-align: center;
}
.instagram-section h2 {
    font-family: var(--font-script);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--sage);
    margin-bottom: 40px;
}
behold-widget {
    display: block;
    margin-bottom: 32px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
    padding: 100px 0;
    background: var(--cream);
    text-align: center;
}
.contact h2 { margin-bottom: 12px; }
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 24px;
    background: var(--blush-light);
    border-radius: var(--radius);
    border: 1px solid var(--blush);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    cursor: pointer;
}
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}
.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--sage);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 32px; height: 32px; }
.contact-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
}
.contact-value {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--text);
    word-break: break-all;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--text);
    color: var(--cream);
    text-align: center;
    padding: 60px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    mix-blend-mode: screen;
    opacity: 0.85;
}
.footer-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--cream);
}
.footer-scripture {
    font-family: var(--font-script);
    font-size: 1.2rem;
    color: var(--sage-light);
}
.footer-copy {
    font-size: 0.75rem;
    color: var(--text-mid);
    margin-top: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 860px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image-wrap {
        max-width: 420px;
        margin: 0 auto;
    }
    .contact-cards {
        grid-template-columns: 1fr 1fr;
        max-width: 480px;
        margin: 48px auto 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item.tall { grid-row: span 1; aspect-ratio: 4 / 5; }
}

@media (max-width: 640px) {
    #navbar { padding: 14px 20px; }
    #navbar.scrolled { padding: 10px 20px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(253, 250, 246, 0.98);
        padding: 20px 24px 28px;
        gap: 20px;
        box-shadow: var(--shadow);
        backdrop-filter: blur(8px);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.tall { aspect-ratio: 4 / 5; grid-row: span 1; }

    .hero-logo { width: 120px; height: 120px; }
}
