/* ==========================================================================
   Coco Caam — Design tokens
   Palette pulled from the product label & the bronze uruli photography:
   deep coconut-husk brown, palm green, antique bronze/gold, plum label ink,
   warm parchment background.
   Type: Fraunces (display, warm heritage serif) + Poppins (body/utility)
   ========================================================================== */

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

:root {
    --coconut-husk: #2b1810;
    --palm-green: #1e5631;
    --palm-green-deep: #123b21;
    --leaf-green: #4a7c3c;
    --bronze: #b6822f;
    --bronze-light: #d9a94a;
    --plum: #4a2140;
    --parchment: #f6f0e4;
    --parchment-deep: #efe6d3;
    --cream: #fffcf6;
    --text-dark: #2c2018;
    --text-muted: #6b5d4f;
    --white: #ffffff;

    --font-display: 'Fraunces', serif;
    --font-body: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--cream);
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--coconut-husk);
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

a {
    font-family: var(--font-body);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
header {
    background: var(--coconut-husk);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.logo span {
    color: var(--bronze-light);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 22px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1.5px;
    background: var(--bronze-light);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--bronze-light);
}
nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 13px 26px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--bronze-light);
    color: var(--coconut-husk);
    box-shadow: 0 6px 16px rgba(182, 130, 47, 0.35);
}

.btn-primary:hover {
    background: var(--bronze);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(182, 130, 47, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
    margin-left: 10px;
}
.btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    background: linear-gradient(150deg, var(--coconut-husk) 0%, var(--palm-green-deep) 55%, var(--palm-green) 100%);
    color: var(--white);
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-leaf-art {
    position: absolute;
    top: -80px;
    right: -120px;
    width: 480px;
    height: 480px;
    color: rgba(255,255,255,0.07);
    pointer-events: none;
}
.hero-leaf-art svg { width: 100%; height: 100%; }

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text .tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.03em;
    color: var(--bronze-light);
    font-weight: 500;
}

.hero-text h1 {
    font-size: 42px;
    margin: 18px 0 16px;
    line-height: 1.15;
    color: var(--white);
    font-weight: 600;
}

.hero-lede {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 480px;
    margin-bottom: 28px;
}
.hero-lede em {
    color: var(--bronze-light);
    font-style: normal;
    font-weight: 600;
}

.hero-btns {
    margin-bottom: 30px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}
.hero-trust span {
    position: relative;
    padding-left: 16px;
}
.hero-trust span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--bronze-light);
    font-weight: bold;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ==========================================================================
   Leaf divider between sections
   ========================================================================== */
.leaf-divider {
    color: var(--bronze);
    opacity: 0.5;
    background: var(--parchment);
    line-height: 0;
}
.leaf-divider svg {
    width: 100%;
    height: 30px;
    display: block;
}
.leaf-divider.flip {
    background: var(--cream);
    transform: scaleY(-1);
}

/* ==========================================================================
   Section titles
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 44px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--coconut-husk);
    margin-bottom: 8px;
}

.section-title p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ==========================================================================
   Our Story section
   ========================================================================== */
.story-section {
    padding: 80px 0 70px;
    background: var(--parchment);
}

.story-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 70px;
}

.story-img {
    flex: 1;
    position: relative;
}
.story-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(43, 24, 16, 0.22);
    display: block;
}
.story-img-caption {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    font-style: italic;
    color: var(--text-muted);
    text-align: center;
}

.story-text {
    flex: 1.1;
}
.story-text p {
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 15.5px;
}
.story-text strong {
    color: var(--palm-green-deep);
}

.journey {
    border-top: 1px solid rgba(182, 130, 47, 0.25);
    padding-top: 50px;
}
.journey-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 36px;
}

.journey-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.journey-step {
    text-align: center;
    padding: 0 10px;
}
.journey-icon {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    background: var(--palm-green);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 6px 14px rgba(30, 86, 49, 0.3);
}
.journey-step h4 {
    font-size: 17px;
    margin-bottom: 8px;
}
.journey-step p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 70px 0;
    background: var(--cream);
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text, .about-img {
    flex: 1;
}
.about-text p {
    margin-bottom: 6px;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(43,24,16,0.18);
}

.check-list {
    list-style: none;
    margin-top: 18px;
}

.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 24px;
    font-size: 14.5px;
}

.check-list li::before {
    content: "✓";
    color: var(--palm-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   Product Section
   ========================================================================== */
.product-section {
    padding: 70px 0;
    background: var(--parchment);
}

.product-card {
    display: flex;
    gap: 36px;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid rgba(182,130,47,0.18);
    padding: 36px;
    box-shadow: 0 10px 30px rgba(43,24,16,0.08);
}

.product-img-box img {
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.badges span {
    display: inline-block;
    background: #eaf3ea;
    color: var(--palm-green-deep);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 14px;
    margin: 10px 6px 15px 0;
    font-weight: 600;
}

.product-details h4 {
    margin: 16px 0 10px;
    font-size: 16px;
}

/* ==========================================================================
   How to Use Section
   ========================================================================== */
.how-to-use-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(rgba(246, 240, 228, 0.94), rgba(246, 240, 228, 0.94)),
                url('about pic.jpeg') center/cover no-repeat fixed;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 2;
}

.step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 26px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.step-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}
.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.step-num {
    width: 42px;
    height: 42px;
    background: var(--palm-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: bold;
    font-family: var(--font-display);
    font-size: 17px;
    box-shadow: 0 2px 6px rgba(30, 86, 49, 0.3);
}

.usage-tip {
    margin-top: 36px;
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(182, 130, 47, 0.25);
    padding: 16px 24px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    display: table;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

/* ==========================================================================
   Quality / Ingredients Section
   ========================================================================== */
.quality-section {
    padding: 70px 0;
    background: var(--cream);
}

.quality-intro {
    max-width: 640px;
    margin: -18px auto 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14.5px;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.ing-card {
    padding: 26px 22px;
    border-left: 3px solid var(--bronze);
    background: var(--parchment);
    border-radius: 0 12px 12px 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(43,24,16,0.08);
}
.ing-leaf {
    font-size: 26px;
    display: block;
    margin-bottom: 10px;
}
.ing-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}
.ing-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    padding: 70px 0;
    background: var(--parchment);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.review-card {
    background: var(--white);
    padding: 30px 24px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(43,24,16,0.07);
    position: relative;
}

.quote-mark {
    position: absolute;
    top: 6px;
    left: 18px;
    font-family: var(--font-display);
    font-size: 46px;
    color: var(--parchment-deep);
    line-height: 1;
}

.stars {
    color: var(--bronze);
    margin-bottom: 12px;
    letter-spacing: 2px;
}
.review-card p {
    font-size: 14.5px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}
.review-card strong {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 70px 0 80px;
    background: var(--cream);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--parchment);
    border: 1px solid rgba(182,130,47,0.18);
    border-radius: 10px;
    padding: 6px 22px;
}

.faq-item summary {
    padding: 16px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: var(--coconut-husk);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: "+";
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--bronze);
    transition: transform 0.25s ease;
    margin-left: 12px;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item p {
    padding-bottom: 18px;
    font-size: 14.5px;
    color: var(--text-muted);
}

/* ==========================================================================
   Footer & Modals
   ========================================================================== */
footer {
    background: var(--coconut-husk);
    color: #cfc3b6;
    padding: 46px 0 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

footer h3 {
    color: #fff;
    margin-bottom: 16px;
    font-size: 18px;
}

footer p {
    font-size: 14px;
    margin-bottom: 6px;
}

footer ul {
    list-style: none;
}

footer a {
    color: #cfc3b6;
    text-decoration: none;
    font-size: 14px;
}

footer a:hover {
    color: var(--bronze-light);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    font-size: 12px;
    color: #8f8375;
}

/* Modal Popups */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20,12,8,0.65);
    z-index: 2000;
}

.modal-content {
    background: var(--cream);
    margin: 10% auto;
    padding: 32px;
    width: 80%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
}
.modal-content h2 {
    margin-bottom: 14px;
    font-size: 22px;
}
.modal-content p {
    font-size: 14.5px;
    color: var(--text-muted);
}

.close {
    position: absolute;
    right: 18px;
    top: 12px;
    font-size: 26px;
    cursor: pointer;
    color: var(--text-muted);
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1500;
    transition: transform 0.25s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 768px) {
    .hero-content, .about-grid, .product-card, .story-grid {
        flex-direction: column;
    }
    .story-grid { gap: 30px; }

    .nav-toggle { display: flex; }

    .nav-container {
        align-items: center;
    }

    nav#siteNav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--coconut-husk);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }
    nav#siteNav.open {
        max-height: 480px;
    }
    nav#siteNav ul {
        flex-direction: column;
        gap: 0;
        padding: 6px 24px 18px;
    }
    nav#siteNav li {
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    nav#siteNav a {
        display: block;
        padding: 14px 0;
    }

    .hero-text h1 { font-size: 32px; }
    .btn-secondary { margin-left: 0; margin-top: 12px; display: inline-block; }
    .hero-leaf-art { width: 340px; height: 340px; top: -60px; right: -100px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { transition: none; opacity: 1; transform: none; }
}
