/* ==========================================================
   ARQ GULAB & CH FLOWERS SUPPLIES — PREMIUM FLORIST THEME
   Token system: ivory / blush / dusty rose / botanical green /
   charcoal / subtle gold. Display: Playfair Display + Cormorant
   Garamond. Body: DM Sans / Inter fallback.
   ========================================================== */

:root {
    --ivory: #FAF6F0;
    --cream: #F3ECE1;
    --blush: #F1DCD6;
    --dusty-rose: #C08579;
    --dusty-rose-dark: #A56B60;
    --green: #37452F;
    --green-soft: #536048;
    --charcoal: #262320;
    --gold: #B58A4A;
    --gold-soft: #D9BE93;
    --white: #FFFFFF;

    --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-script: 'Cormorant Garamond', serif;
    --font-body: 'DM Sans', 'Inter', sans-serif;

    --container: 1280px;
    --radius-lg: 28px;
    --radius-md: 16px;
    --radius-sm: 10px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 20px 60px -25px rgba(38, 35, 32, 0.35);
    --shadow-card: 0 12px 40px -20px rgba(38, 35, 32, 0.25);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

section { position: relative; }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--dusty-rose-dark);
    font-weight: 700;
    margin-bottom: 0.9rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--green);
    font-weight: 600;
    line-height: 1.15;
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
}

.section-heading h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 0.75rem; }

.section-heading span { color: #6b6459; font-size: 1.02rem; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn-primary {
    background: var(--green);
    color: var(--ivory);
    box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -18px rgba(55, 69, 47, 0.6); }

.btn-outline {
    background: rgba(250, 246, 240, 0.08);
    color: var(--ivory);
    border-color: rgba(250, 246, 240, 0.55);
    backdrop-filter: blur(6px);
}
.btn-outline:hover { background: var(--ivory); color: var(--green); transform: translateY(-3px); }

.btn-outline-light {
    background: transparent;
    color: var(--ivory);
    border-color: rgba(250, 246, 240, 0.5);
}
.btn-outline-light:hover { background: var(--ivory); color: var(--charcoal); }

.btn-line {
    padding: 0;
    border-bottom: 1px solid var(--green);
    border-radius: 0;
    color: var(--green);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
}
.btn-line:hover { color: var(--dusty-rose-dark); border-color: var(--dusty-rose-dark); }

/* ---------- Announcement Bar ---------- */

.announcement-bar {
    background: var(--charcoal);
    color: var(--gold-soft);
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
}

/* ---------- Header / Navbar ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: var(--ivory);
    border-bottom: 1px solid rgba(38, 35, 32, 0.08);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.scrolled {
    background: rgba(250, 246, 240, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 8px 30px -20px rgba(38, 35, 32, 0.4);
}

.nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem 2rem;
    gap: 1.5rem;
    position: relative;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}
.logo span { color: var(--dusty-rose); font-weight: 400; margin: 0 0.2rem; }

.navbar { display: flex; gap: 2.1rem; }

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--charcoal);
    position: relative;
    padding: 0.3rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--dusty-rose-dark);
    transition: width 0.35s var(--ease);
}
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--green);
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.icon-btn:hover { background: var(--blush); }
.whatsapp-icon { color: #3fa14a; }

.cart-dot {
    position: absolute;
    top: 6px; right: 7px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--dusty-rose-dark);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
}
.hamburger span {
    width: 22px; height: 2px;
    background: var(--green);
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-box {
    position: absolute;
    top: 100%;
    right: 2rem;
    margin-top: 0.6rem;
    background: var(--white);
    box-shadow: var(--shadow-card);
    border-radius: 999px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.4rem 0.35rem 1.2rem;
    width: 320px;
    max-width: calc(100vw - 2rem);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s var(--ease);
}
.search-box.active { opacity: 1; visibility: visible; transform: translateY(0); }
.search-box input { flex: 1; border: none; outline: none; font-family: var(--font-body); font-size: 0.9rem; background: transparent; }
.search-box button { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--green); color: var(--ivory); cursor: pointer; }

.mobile-menu {
    display: flex;
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    background: var(--ivory);
    border-top: 1px solid rgba(38,35,32,0.08);
    transition: max-height 0.45s var(--ease);
}
.mobile-menu.active { max-height: 400px; }
.mobile-menu a {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(38,35,32,0.06);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--ivory);
}

.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(38,35,32,0.78) 10%, rgba(38,35,32,0.45) 55%, rgba(38,35,32,0.2) 100%);
}

.hero-branch {
    position: absolute;
    right: 4%;
    top: 0;
    height: 100%;
    width: 140px;
    z-index: 2;
    opacity: 0.5;
    pointer-events: none;
}
.branch-line { fill: none; stroke: var(--gold-soft); stroke-width: 1.4; }
.branch-bud { fill: var(--blush); }

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 0 2rem;
    width: 100%;
}

.hero-content .eyebrow { color: var(--gold-soft); }

.hero-content h1 {
    font-size: clamp(2.4rem, 5.4vw, 4.1rem);
    color: var(--ivory);
    margin-bottom: 1.4rem;
}

.hero-text {
    font-size: 1.08rem;
    color: rgba(250, 246, 240, 0.88);
    max-width: 540px;
    margin-bottom: 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Trust Strip ---------- */

.trust-strip {
    max-width: var(--container);
    margin:.2rem auto;
    position: relative;
    z-index: 10;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 3rem;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--green);
    flex: 1 1 auto;
    justify-content: center;
}
.trust-item i { color: var(--dusty-rose-dark); font-size: 1.2rem; }

/* ---------- About ---------- */

.about {
    max-width: var(--container);
    margin: 8rem auto 7rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}

.about-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.about-media video { width: 100%; height: 520px; object-fit: cover; }
.media-caption {
    position: absolute;
    left: 1.5rem; bottom: 1.5rem;
    background: rgba(38,35,32,0.55);
    backdrop-filter: blur(6px);
    color: var(--ivory);
    font-family: var(--font-display);
    font-style: italic;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.95rem;
}

.about-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 1.2rem; }
.about-content p { color: #4c473f; margin-bottom: 1.6rem; }

.about-highlights { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; margin-bottom: 1.8rem; }
.about-highlights li { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--green); }
.about-highlights i { color: var(--dusty-rose-dark); }

/* ---------- Categories ---------- */

.categories { max-width: var(--container); margin: 0 auto 7rem; padding: 0 2rem; }

.category-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 1.5rem;
}

.card-large { grid-row: span 2; }

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.category-card:hover img { transform: scale(1.08); }

.category-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(38,35,32,0) 40%, rgba(38,35,32,0.82) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
    color: var(--ivory);
}
.category-overlay h3 { font-size: 1.5rem; color: var(--ivory); margin-bottom: 0.15rem; }
.category-overlay p { font-size: 0.85rem; color: var(--gold-soft); margin-bottom: 0.6rem; }
.explore-link {
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.35s var(--ease);
}
.category-card:hover .explore-link { opacity: 1; transform: translateY(0); }

/* ---------- Featured Collection ---------- */

.collection { max-width: var(--container); margin: 0 auto 7rem; padding: 0 2rem; }

.collection-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.8rem;
}
.filter-btn {
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(38,35,32,0.15);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--dusty-rose-dark); }
.filter-btn.active { background: var(--green); color: var(--ivory); border-color: var(--green); }

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.product-card:hover { transform: translateY(-6px); }
.product-card.hidden { display: none; }

.product-image { height: 220px; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.06); }

.product-card h3 { padding: 1.2rem 1.2rem 0.2rem; font-size: 1.2rem; }
.product-cat { padding: 0 1.2rem; color: #8a8377; font-size: 0.85rem; margin-bottom: 1rem; }

.product-actions {
    display: flex;
    border-top: 1px solid rgba(38,35,32,0.08);
}
.link-btn {
    flex: 1;
    text-align: center;
    padding: 0.9rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: background 0.3s var(--ease);
}
.link-btn:hover { background: var(--blush); }
.link-btn.whatsapp { color: #3fa14a; border-left: 1px solid rgba(38,35,32,0.08); }

/* ---------- Visual Break ---------- */

.visual-break {
    position: relative;
    height: 60vh;
    min-height: 380px;
    overflow: hidden;
    margin-bottom: 7rem;
}
.visual-break img { width: 100%; height: 100%; object-fit: cover; }
.visual-break-overlay {
    position: absolute; inset: 0;
    background: rgba(38,35,32,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.visual-break-overlay h2 {
    color: var(--ivory);
    font-style: italic;
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    max-width: 780px;
}

/* ---------- Wholesale ---------- */

.wholesale {
    max-width: var(--container);
    margin: 0 auto 7rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    background: var(--blush);
    color: var(--dusty-rose-dark);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.wholesale-content h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.wholesale-content p { color: #4c473f; margin-bottom: 1.6rem; }

.flower-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.2rem; margin-bottom: 2.2rem; }
.flower-list li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; color: var(--green); }
.flower-list i { color: var(--dusty-rose-dark); }

.wholesale-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.wholesale-media img { height: 480px; width: 100%; object-fit: cover; }

/* ---------- Factory ---------- */

.factory { max-width: var(--container); margin: 0 auto 7rem; padding: 0 2rem; }

.video-box {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}
.video-box video { width: 100%; display: block; max-height: 520px; object-fit: cover; background: var(--charcoal); }

/* ---------- Reviews ---------- */

.reviews { background: var(--cream); padding: 6rem 2rem; margin-bottom: 7rem; }

.review-track {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.review-card {
    background: var(--white);
    padding: 2.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}
.stars { color: var(--gold); margin-bottom: 1rem; font-size: 0.9rem; letter-spacing: 0.15em; }
.review-card p { font-style: italic; color: #4c473f; margin-bottom: 1.6rem; }

.reviewer { display: flex; align-items: center; gap: 0.9rem; }
.avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--blush);
    color: var(--dusty-rose-dark);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
}
.reviewer h4 { font-size: 1rem; }
.reviewer span { font-size: 0.82rem; color: #8a8377; }

.review-dots { display: none; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.review-dots button {
    width: 8px; height: 8px; border-radius: 50%;
    border: none; background: rgba(38,35,32,0.2); cursor: pointer;
}
.review-dots button.active { background: var(--dusty-rose-dark); width: 22px; border-radius: 999px; transition: all 0.3s var(--ease); }

/* ---------- Contact CTA ---------- */

.contact-cta {
    background: var(--green);
    color: var(--ivory);
    padding: 6.5rem 2rem;
    text-align: center;
    margin-bottom: 0;
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-cta .eyebrow { color: var(--gold-soft); }
.contact-cta h2 { color: var(--ivory); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 1rem; }
.contact-text { color: rgba(250,246,240,0.82); margin-bottom: 2.2rem; font-size: 1.05rem; }

.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }

.contact-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
    font-size: 0.92rem;
    color: rgba(250,246,240,0.85);
    padding-top: 2rem;
    border-top: 1px solid rgba(250,246,240,0.18);
}
.contact-details a, .contact-details span { display: inline-flex; align-items: center; gap: 0.5rem; }
.contact-details i { color: var(--gold-soft); }

/* ---------- Payment ---------- */

.payment { text-align: center; padding: 3.5rem 2rem; }
.payment h3 { font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.6rem; color: #6b6459; }
.payment-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.payment-card {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.8rem 1.4rem;
    border: 1px solid rgba(38,35,32,0.12);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--charcoal);
}
.payment-card i { font-size: 1.15rem; color: var(--dusty-rose-dark); }

/* ---------- Footer ---------- */

.footer { background: var(--charcoal); color: rgba(250,246,240,0.78); padding: 5rem 2rem 2rem; }
.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
}
.footer-box h3, .footer-box h4 { color: var(--ivory); margin-bottom: 1.2rem; font-size: 1.05rem; }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.35rem; }
.footer-box p, .footer-box a { display: block; font-size: 0.9rem; margin-bottom: 0.7rem; color: rgba(250,246,240,0.72); }
.footer-box a:hover { color: var(--gold-soft); }
.footer-box a i, .footer-box p i { margin-right: 0.4rem; color: var(--gold-soft); }

.footer hr { border: none; border-top: 1px solid rgba(250,246,240,0.15); max-width: var(--container); margin: 3rem auto 1.6rem; }
.copyright { text-align: center; font-size: 0.82rem; color: rgba(250,246,240,0.55); }

/* ---------- Floating WhatsApp ---------- */

.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 400;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25D366;
    color: var(--white);
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.6);
    transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float i { font-size: 1.3rem; }

/* ---------- Reveal Animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* =========================================================
   COLLECTION GALLERY MODAL
========================================================= */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 99990;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Dark background */

.gallery-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(10, 10, 10, 0.82);

    opacity: 0;

    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    transition:
        opacity 0.5s ease,
        backdrop-filter 0.6s ease;
}

.gallery-modal.active .gallery-backdrop {
    opacity: 1;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


/* Main popup */

.gallery-modal-content {
    position: relative;
    z-index: 2;

    width: min(1100px, 100%);
    max-height: min(850px, 92vh);

    overflow-y: auto;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(249, 247, 243, 0.98)
        );

    border: 1px solid rgba(196, 158, 3, 0.22);
    border-radius: 24px;

    padding: 30px;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.35);

    opacity: 0;
    transform: scale(0.94);

    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal.active .gallery-modal-content {
    opacity: 1;
    transform: scale(1);
}


/* Header */

.gallery-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.gallery-eyebrow {
    margin: 0 0 5px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #c49e03;
}

.gallery-header h2 {
    margin: 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;

    color: #171717;
}

.gallery-header span {
    display: block;

    margin-top: 7px;

    font-family: "DM Sans", sans-serif;

    font-size: 14px;

    color: #777;
}



/* Close */

.gallery-close {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.8);

    color: #222;

    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.gallery-close:hover {
    background: #171717;
    color: white;

    transform: rotate(90deg);
}



/* =========================================================
   GALLERY GRID
========================================================= */

.gallery-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    grid-auto-rows: 210px;

    gap: 12px;
}


/* Gallery item */

.gallery-item {
    position: relative;
    overflow: hidden;

    border-radius: 15px;
    background: #eee;

    cursor: pointer;

    opacity: 0;
    transform: translateY(12px) scale(0.98);

    animation:
        galleryItemIn 0.65s cubic-bezier(0.16, 1, 0.3, 1)
        forwards;

    will-change: transform, opacity;
}


/* Make first image larger */

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}


/* Image */

.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform: scale(1);

    transition:
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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


/* Overlay */

.gallery-item::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.35),
            transparent 45%
        );

    opacity: 0;

    transition: opacity 0.3s ease;

    pointer-events: none;
}


/* Zoom icon */

.gallery-item::before {
    content: "\f00e";

    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 2;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform:
        translate(-50%, -50%)
        scale(0.7);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.92);

    color: #222;

    font-family: "Font Awesome 7 Free";
    font-weight: 900;

    opacity: 0;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

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

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

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

    transform:
        translate(-50%, -50%)
        scale(1);
}


/* Entry animation */

@keyframes galleryItemIn {

    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   FULL SCREEN IMAGE VIEWER
========================================================= */

.image-viewer {
    position: fixed;
    inset: 0;

    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 50px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.image-viewer.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}


/* Viewer background */

.viewer-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.94);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Image */

.viewer-image-wrapper {
    position: relative;

    z-index: 2;

    max-width: min(1100px, 85vw);
    max-height: 85vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-image-wrapper img {
    display: block;

    max-width: 100%;
    max-height: 85vh;

    object-fit: contain;

    border-radius: 8px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5);

    transform: scale(0.92);

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1);
}

.image-viewer.active .viewer-image-wrapper img {
    transform: scale(1);
}


/* Viewer buttons */

.viewer-close,
.viewer-prev,
.viewer-next {

    position: absolute;

    z-index: 5;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.1);

    color: white;

    font-size: 18px;

    cursor: pointer;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.viewer-close:hover,
.viewer-prev:hover,
.viewer-next:hover {
    background: rgba(255, 255, 255, 0.22);
}


/* Close */

.viewer-close {
    top: 25px;
    right: 25px;
}

.viewer-close:hover {
    transform: rotate(90deg);
}


/* Previous */

.viewer-prev {
    left: 25px;
    top: 50%;

    transform: translateY(-50%);
}

.viewer-prev:hover {
    transform:
        translateY(-50%)
        scale(1.08);
}


/* Next */

.viewer-next {
    right: 25px;
    top: 50%;

    transform: translateY(-50%);
}

.viewer-next:hover {
    transform:
        translateY(-50%)
        scale(1.08);
}


/* Counter */

.viewer-counter {
    position: absolute;

    z-index: 5;

    bottom: 25px;
    left: 50%;

    transform: translateX(-50%);

    padding: 7px 14px;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.15);

    color: white;

    font-family: "DM Sans", sans-serif;

    font-size: 13px;

    backdrop-filter: blur(8px);
}


/* =========================================================
   PREVENT BODY SCROLL
========================================================= */

body.gallery-open {
    overflow: hidden;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .gallery-modal {
        padding: 12px;
    }

    .gallery-modal-content {
        max-height: 94vh;

        padding: 20px;

        border-radius: 20px;
    }

    .gallery-header {
        margin-bottom: 18px;
    }

    .gallery-header h2 {
        font-size: 30px;
    }

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

        grid-auto-rows: 160px;

        gap: 8px;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-close {
        width: 40px;
        height: 40px;
    }


    /* Viewer */

    .image-viewer {
        padding: 20px;
    }

    .viewer-image-wrapper {
        max-width: 92vw;
        max-height: 78vh;
    }

    .viewer-image-wrapper img {
        max-height: 78vh;

        border-radius: 5px;
    }

    .viewer-prev,
    .viewer-next {
        width: 42px;
        height: 42px;

        top: auto;
        bottom: 25px;
    }

    .viewer-prev {
        left: 25px;

        transform: none;
    }

    .viewer-next {
        right: 25px;

        transform: none;
    }

    .viewer-prev:hover,
    .viewer-next:hover {
        transform: scale(1.08);
    }

    .viewer-close {
        top: 18px;
        right: 18px;

        width: 42px;
        height: 42px;
    }

    .viewer-counter {
        bottom: 38px;
    }

}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .category-card img, .product-image img, .btn { transition: none; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1080px) {
    .collection-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 260px 260px; }
    .card-large { grid-row: span 1; }
    .footer-container { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 860px) {
    .navbar { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }

    .about { grid-template-columns: 1fr; margin: 5rem auto; }
    .about-media video { height: 340px; }

    .wholesale { grid-template-columns: 1fr; }
    .wholesale-media img { height: 320px; }

    .review-track { grid-template-columns: 1fr; }
    .review-dots { display: flex; }

    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
    .nav-inner { padding: 0.9rem 1.2rem; }
    .logo { font-size: 1.05rem; }
    .icon-btn:nth-child(2) { display: none; }

    .hero { min-height: 88vh; }
    .hero-branch { display: none; }
    .hero-content { padding: 0 1.4rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { width: 100%; }

    .trust-strip { margin-top: -2rem; padding: 1.6rem; flex-direction: column; align-items: flex-start; border-radius: var(--radius-md); }
    .trust-item { justify-content: flex-start; }

    .categories, .collection, .wholesale, .factory, .about { padding: 0 1.2rem; }
    .category-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .category-card { height: 260px; }

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

    .flower-list { grid-template-columns: 1fr; }

    .footer-container { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }

    .whatsapp-float span { display: none; }
    .whatsapp-float { padding: 0.9rem; }

    .contact-details { flex-direction: column; gap: 0.9rem; align-items: center; }
}
