/* ═══════════════════════════════════════════════════════════
   EMBROCRAFT — Main Stylesheet
   public/css/site/style.css
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
    --gold:       #C9A84C;
    --gold-light: #E2C070;
    --dark:       #1A1A1A;
    --dark-2:     #111111;
    --cream:      #F5F0E8;
    --cream-2:    #EDE8DE;
    --text-muted: #888;
    --border:     #E0D9CC;
    --white:      #FFFFFF;
}

/* ─── BASE ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    background: #fff;
    color: var(--dark);
    margin: 0;
}
a   { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.ec-navbar {
    background: var(--dark-2);
    padding: 0 0;
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid rgba(201,168,76,.15);
    transition: box-shadow .25s;
}
.ec-navbar .navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.ec-navbar .brand-main {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: .5px;
}
.ec-navbar .brand-sub {
    font-size: .62rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 1px;
}
.ec-navbar .nav-link {
    color: #ccc !important;
    font-size: .82rem;
    font-weight: 500;
    padding: 1.35rem .85rem !important;
    letter-spacing: .3px;
    transition: color .2s;
}
.ec-navbar .nav-link:hover,
.ec-navbar .nav-link.active { color: var(--gold) !important; }
.ec-navbar .nav-link .bi-chevron-down { font-size: .65rem; }
.ec-navbar .dropdown-menu {
    background: #1c1c1c;
    border: 1px solid rgba(201,168,76,.15);
}
.ec-navbar .dropdown-item {
    color: #ccc;
    font-size: .82rem;
    transition: color .15s, background .15s;
}
.ec-navbar .dropdown-item:hover {
    background: rgba(201,168,76,.08);
    color: var(--gold);
}
.ec-nav-icons { gap: 1rem; }
.ec-nav-icons .icon-btn {
    color: #ccc;
    font-size: 1.1rem;
    cursor: pointer;
    transition: color .2s;
    position: relative;
}
.ec-nav-icons .icon-btn:hover { color: var(--gold); }
.cart-badge {
    position: absolute;
    top: -6px; right: -7px;
    background: var(--gold);
    color: #000;
    font-size: .55rem;
    font-weight: 700;
    border-radius: 50%;
    width: 16px; height: 16px;
    display: flex; align-items: center; justify-content: center;
}

/* ─── HERO ───────────────────────────────────────────────── */
.ec-hero {
    position: relative;
    min-height: 92vh;
    background: var(--dark-2);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(17,17,17,.92) 45%, rgba(17,17,17,.3) 100%),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1400&q=80') center/cover no-repeat;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .75rem;
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 0;
}
.hero-title .italic-line {
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
    display: block;
}
.hero-sub {
    font-size: .95rem;
    color: #bbb;
    max-width: 400px;
    line-height: 1.7;
    margin-top: 1.2rem;
    margin-bottom: 2rem;
}
.btn-gold {
    background: var(--gold);
    color: #000;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: .78rem 1.8rem;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: background .2s, color .2s;
}
.btn-gold:hover { background: var(--gold-light); color: #000; }
.btn-outline-light-ec {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.45);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: .78rem 1.8rem;
    border-radius: 0;
    display: inline-block;
    transition: border-color .2s, color .2s;
}
.btn-outline-light-ec:hover { border-color: var(--gold); color: var(--gold); }
.hero-script {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.6rem, 4vw, 3rem);
    color: rgba(201,168,76,.35);
    letter-spacing: 2px;
    pointer-events: none;
}

/* ─── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
    background: var(--cream);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .9rem;
}
.trust-icon {
    width: 40px; height: 40px;
    background: var(--dark-2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.trust-label {
    font-size: .8rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}
.trust-desc {
    font-size: .7rem;
    color: var(--text-muted);
    margin: 0;
}
.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ─── SECTION HEADERS ────────────────────────────────────── */
.sec-header { text-align: center; margin-bottom: 2.5rem; }
.sec-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-bottom: .4rem;
}
.sec-eyebrow::before,
.sec-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--gold);
    opacity: .5;
}
.sec-eyebrow span {
    font-size: .68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    white-space: nowrap;
}
.sec-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 .4rem;
}
.sec-sub {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ─── EMBROIDERY STYLES GRID ─────────────────────────────── */
.styles-section { background: #fff; padding: 4rem 0; }
.style-card {
    text-align: center;
    cursor: pointer;
}
.style-thumb {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1/1;
    margin-bottom: .7rem;
    transition: border-color .2s, box-shadow .2s;
    background: var(--cream);
    display: flex; align-items: center; justify-content: center;
}
.style-card:hover .style-thumb {
    border-color: var(--gold);
    box-shadow: 0 4px 18px rgba(201,168,76,.2);
}
.style-thumb img { width: 100%; height: 100%; object-fit: cover; }
.style-name {
    font-size: .75rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
}

/* ─── SHOP BY PRODUCT ────────────────────────────────────── */
.products-section { background: var(--cream); padding: 4rem 0; }
.product-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow .25s, transform .25s;
}
.product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
    transform: translateY(-4px);
}
.product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--cream-2);
    position: relative;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-play {
    position: absolute;
    left: 10px; bottom: 10px;
    background: var(--dark-2);
    color: var(--gold);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem;
}
.product-name {
    font-size: .82rem;
    font-weight: 600;
    padding: .75rem 1rem;
    margin: 0;
}

/* ─── SIGNATURE COLLECTION ───────────────────────────────── */
.signature-section {
    background: var(--dark-2);
    padding: 4rem 0;
}
.sig-header .sec-title { color: #fff; }
.sig-header .sec-sub   { color: #aaa; }
.sig-card {
    background: var(--dark);
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: border-color .25s;
}
.sig-card:hover { border-color: var(--gold); }
.sig-img {
    aspect-ratio: 3/2;
    overflow: hidden;
    background: #222;
}
.sig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sig-card:hover .sig-img img { transform: scale(1.06); }
.sig-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--gold);
    color: #000;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 2px;
}
.sig-body { padding: 1rem 1.1rem 1.2rem; }
.sig-cat {
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin: 0;
}
.sig-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: .2rem 0 .8rem;
}
.sig-btn {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex; align-items: center; gap: .4rem;
    border: none; background: none; padding: 0;
    transition: gap .2s;
    cursor: pointer;
}
.sig-btn:hover { gap: .7rem; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.hiw-section { background: #fff; padding: 4.5rem 0; }
.hiw-step { text-align: center; position: relative; }
.hiw-icon-wrap {
    width: 70px; height: 70px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 1.6rem;
    color: var(--gold);
    background: var(--cream);
    transition: background .2s, border-color .2s;
}
.hiw-step:hover .hiw-icon-wrap {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}
.hiw-num {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin: 0;
}
.hiw-label {
    font-size: .9rem;
    font-weight: 700;
    margin: .25rem 0 .4rem;
    color: var(--dark);
}
.hiw-desc {
    font-size: .75rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 150px;
    margin: 0 auto;
}
.hiw-arrow {
    position: absolute;
    top: 35px;
    right: -20px;
    color: var(--gold);
    font-size: 1.2rem;
    opacity: .4;
}

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.reviews-section { background: var(--cream); padding: 4rem 0; }
.review-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem 1.4rem;
    height: 100%;
}
.review-stars { color: var(--gold); font-size: .85rem; margin-bottom: .6rem; }
.review-text  { font-size: .82rem; color: #555; line-height: 1.7; margin-bottom: 1rem; }
.review-author { display: flex; align-items: center; gap: .7rem; }
.rev-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.rev-name { font-size: .8rem; font-weight: 700; margin: 0; }
.rev-tag  { font-size: .65rem; color: var(--text-muted); margin: 0; }

/* ─── CTA BANNER ─────────────────────────────────────────── */
.cta-section {
    background: var(--gold);
    padding: 3.5rem 0;
    text-align: center;
}
.cta-section h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: #000;
    margin-bottom: .5rem;
}
.cta-section p {
    font-size: .9rem;
    color: rgba(0,0,0,.65);
    margin-bottom: 1.8rem;
}
.btn-dark-ec {
    background: var(--dark-2);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: .8rem 2rem;
    border: none;
    border-radius: 0;
    display: inline-block;
    transition: background .2s;
}
.btn-dark-ec:hover { background: #333; color: #fff; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.ec-footer {
    background: #0d0d0d;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid rgba(201,168,76,.15);
}
.footer-logo-main { font-size: 1.5rem; font-weight: 700; color: var(--gold); margin: 0; }
.footer-logo-sub  { font-size: .62rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin: 0; }
.footer-desc      { font-size: .78rem; color: #888; line-height: 1.8; margin-top: .8rem; max-width: 240px; }
.footer-heading   { font-size: .78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.footer-links     { list-style: none; padding: 0; margin: 0; }
.footer-links li  { margin-bottom: .5rem; }
.footer-links a   { font-size: .78rem; color: #888; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.07);
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    font-size: .72rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
}
.social-links { display: flex; gap: .75rem; }
.social-links a {
    width: 32px; height: 32px;
    border: 1px solid rgba(201,168,76,.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #888;
    font-size: .85rem;
    transition: border-color .2s, color .2s;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── UTILS ──────────────────────────────────────────────── */
.section-pad { padding: 4rem 0; }
.gold-text   { color: var(--gold); }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal         { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .trust-divider { display: none; }
    .hiw-arrow     { display: none; }
    .ec-hero       { min-height: 80vh; }
    .hero-script   { font-size: 1.5rem; bottom: 1.5rem; right: 1.5rem; }
}