/* ==========================================================================
   Gozi International — brand styles
   Brand teal sampled from the logo. Font: Poppins.
   ========================================================================== */
:root {
    --teal:        #1e9db5;
    --teal-dark:   #157d92;
    --teal-darker: #0d4a57;
    --ink:         #16232b;
    --muted:       #5c6b73;
    --bg-alt:      #f2f8fa;
    --line:        #e4edf0;
    --radius:      16px;
    --shadow:      0 18px 40px -20px rgba(13, 74, 87, .35);
}

* { scroll-behavior: smooth; }
html { overflow-x: hidden; }
body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    padding-top: 104px;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-weight: 700; letter-spacing: -.02em; }
p { color: var(--muted); }
a { text-decoration: none; }

.shadow-soft { box-shadow: var(--shadow); }

/* ---------- Buttons ---------- */
.btn-accent {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
    font-weight: 600;
}
.btn-accent:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--teal-darker);
    color: #cfe9ee;
    font-size: .85rem;
    padding: 7px 0;
}

/* ---------- Nav ---------- */
.site-nav {
    top: 34px;
    background: #fff;
    box-shadow: 0 4px 24px -18px rgba(0,0,0,.4);
    padding: .6rem 0;
}
.navbar-brand {
    font-size: 1.4rem;
    letter-spacing: .04em;
    color: var(--teal) !important;
    display: flex;
    align-items: center;
    gap: .3rem;
}
.brand-mark { color: var(--teal); font-size: 1.5rem; }
.brand-sub { font-size: .62rem; letter-spacing: .28em; color: var(--ink); font-weight: 600; }
.nav-logo { height: 46px; width: auto; }
@media (max-width: 575px) { .nav-logo { height: 38px; } }
.site-nav.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .4rem .9rem; position: relative; }
.site-nav .nav-link.active, .site-nav .nav-link:hover { color: var(--teal); }
.site-nav .nav-link.active::after {
    content: ''; position: absolute; left: .9rem; right: .9rem; bottom: -2px;
    height: 2px; background: var(--teal); border-radius: 2px;
}

.nav-search { position: relative; }
.nav-search .form-control { border-radius: 30px; padding-right: 2.4rem; min-width: 190px; }
.btn-search {
    position: absolute; right: 3px; top: 50%; transform: translateY(-50%);
    background: transparent; border: none; padding: 0 .5rem;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, #eef8fa 0%, #ffffff 60%);
    padding: 70px 0 80px;
}
.eyebrow {
    display: inline-block;
    color: var(--teal);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .6rem;
}
.hero-title { font-size: clamp(2rem, 4.5vw, 3.3rem); line-height: 1.08; margin-bottom: 1rem; }
.hero-title::after { content: ''; display: block; width: 70px; height: 5px; border-radius: 6px; background: var(--teal); margin-top: 18px; }
.hero-lead { font-size: 1.12rem; max-width: 520px; margin-bottom: 1.6rem; }
.hero-media { position: relative; }
.hero-media::before {
    content: ''; position: absolute; inset: -18px -18px auto auto; width: 78%; height: 78%;
    background: radial-gradient(circle at 70% 30%, rgba(30,157,181,.18), transparent 70%);
    border-radius: 30px; z-index: 0;
}
.hero-img {
    position: relative; z-index: 1; width: 100%; height: 460px;
    border-radius: 24px; box-shadow: var(--shadow); object-fit: cover;
}
.hero-thumb {
    position: absolute; left: -22px; bottom: -22px; z-index: 2;
    width: 150px; height: 150px; object-fit: cover; border-radius: 18px;
    border: 5px solid #fff; box-shadow: var(--shadow);
}
.hero-badge {
    position: absolute; right: -10px; top: 22px; z-index: 2;
    background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow);
    font-size: .8rem; font-weight: 600;
}
.hero-badge span { display: block; color: #f5b301; letter-spacing: 2px; font-size: .8rem; }
.hero-stats { flex-wrap: wrap; }
.hero-stats > div { flex: 1 1 92px; min-width: 92px; }
.hero-stats .stat-num { display: block; font-size: 1.5rem; font-weight: 700; color: var(--teal); }
.hero-stats .stat-label { font-size: .82rem; color: var(--muted); line-height: 1.25; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.section-sub { font-size: 1.05rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--line); }
.trust-item .trust-ico { font-size: 1.8rem; }
.trust-item h6 { margin: .6rem 0 .2rem; font-weight: 700; }
.trust-item p { font-size: .85rem; margin: 0; }

/* ---------- Product cards ---------- */
.product-card {
    display: block; height: 100%;
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    color: var(--ink);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-thumb { aspect-ratio: 4/3; overflow: hidden; background: #eef3f5; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-thumb img { transform: scale(1.06); }
.product-body h5 { font-size: .98rem; }
.product-body { padding: 20px; }
.product-cat {
    display: inline-block; background: #e2f2f5; color: var(--teal-dark);
    font-size: .72rem; font-weight: 600; letter-spacing: .05em;
    padding: 3px 10px; border-radius: 20px; text-transform: uppercase; margin-bottom: 8px;
}
.product-body h5 { font-size: 1.08rem; margin-bottom: .4rem; }
.product-body p { font-size: .9rem; margin-bottom: .6rem; }
.product-price { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .5rem; }
.product-link { color: var(--teal); font-weight: 600; font-size: .9rem; }

/* ---------- Category cards ---------- */
.category-card {
    display: block; height: 100%; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-thumb {
    aspect-ratio: 16/10; overflow: hidden; background: #eef3f5;
}
.category-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.category-card:hover .category-thumb img { transform: scale(1.07); }
.category-body { padding: 20px 22px 24px; }
.category-count {
    display: inline-block; background: var(--teal); color: #fff;
    font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 8px;
}
.category-body h5 { margin-bottom: .35rem; }
.category-body p { font-size: .9rem; margin-bottom: .7rem; }

/* ---------- Category chips (products page) ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-chip {
    border: 1px solid var(--line); background: #fff; color: var(--ink);
    border-radius: 40px; padding: 8px 16px; font-size: .9rem; font-weight: 500;
    transition: .2s;
}
.cat-chip span { color: var(--muted); font-size: .8rem; margin-left: 4px; }
.cat-chip:hover { border-color: var(--teal); color: var(--teal); }
.cat-chip.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.cat-chip.active span { color: #d6eef2; }

/* ---------- Gallery (product cut-outs) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}
.gallery-item {
    position: relative; margin: 0; overflow: hidden; border-radius: 14px;
    background: #eef3f5;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(transparent, rgba(13,74,87,.9));
    color: #fff; font-size: .82rem; font-weight: 500; padding: 24px 14px 10px;
    opacity: 0; transform: translateY(8px); transition: .3s;
}
.gallery-item:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item.g-0 { grid-row: span 2; }
.gallery-item.g-5 { grid-column: span 2; }
@media (max-width: 767px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
    .gallery-item.g-5 { grid-column: span 2; }
    .gallery-item.g-0 { grid-row: span 1; }
}

/* ---------- Page banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--teal-darker), var(--teal));
    color: #fff; padding: 64px 0; text-align: center;
}
.page-banner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.page-banner p { color: #d6eef2; margin: 0; }

/* ---------- Product search ---------- */
.product-search { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.results-note { color: var(--muted); }
.empty-state { border: 2px dashed var(--line); border-radius: var(--radius); }

/* ---------- Product detail ---------- */
.crumb { font-size: .85rem; color: var(--muted); }
.crumb a { color: var(--teal); }
.detail-img {
    width: 100%; height: 460px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.detail-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: .5rem 0 .2rem; }
.detail-code { color: var(--muted); font-size: .9rem; margin-bottom: .4rem; }
.detail-price { font-weight: 700; color: var(--teal); font-size: 1.15rem; }
.detail-lead { font-size: 1.05rem; }
.spec-head { margin-bottom: 1rem; }
.spec-table th { width: 34%; color: var(--ink); font-weight: 600; }
.spec-table td { color: var(--muted); }

/* ---------- Lists / chips / cards ---------- */
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .7rem; color: var(--muted); }
.check-list li::before {
    content: '\2713'; position: absolute; left: 0; top: 0;
    color: #fff; background: var(--teal); width: 20px; height: 20px;
    border-radius: 50%; font-size: .7rem; display: grid; place-items: center;
}
.audience-chip {
    background: #fff; border: 1px solid var(--line); border-radius: 40px;
    padding: 16px; text-align: center; font-weight: 600; color: var(--teal-dark);
    box-shadow: var(--shadow);
}
.value-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; height: 100%; box-shadow: var(--shadow);
}
.value-card .value-ico { font-size: 2rem; }
.value-card h5 { margin: .6rem 0 .4rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin-top: 1.4rem; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 1.1rem; }
.contact-list li span { font-size: 1.3rem; }
.contact-list a { overflow-wrap: anywhere; }
.contact-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow);
}
.enquiry-form .form-label { font-weight: 500; font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-darker); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe9ee; max-width: 620px; margin: .6rem auto 1.4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9c6cd; padding: 60px 0 0; }
.footer-brand { color: #fff; font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; }
.footer-brand .brand-sub { color: #8fa4ac; }
.footer-muted { color: #8fa4ac; font-size: .9rem; }
.footer-head { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #b9c6cd; font-size: .9rem; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--teal); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 20px 0 18px; }
.footer-logo {
    height: 62px; width: auto; max-width: 100%;
    background: #fff; padding: 10px 16px; border-radius: 12px;
}

/* Gradient copyright line with "Activated by" text on top */
.footer-bottom {
    margin-top: 44px;
    background: linear-gradient(90deg, var(--teal-darker), var(--teal), var(--teal-dark));
    color: #fff; padding: 15px 0; font-size: .9rem;
}
.footer-bottom a {
    color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px;
}
.footer-bottom a:hover { color: #eafaff; }

/* ---------- Floating contact buttons ---------- */
.float-contacts {
    position: fixed; bottom: 24px; right: 24px; z-index: 1050;
    display: flex; flex-direction: column; gap: 14px;
}
.chat-float {
    width: 56px; height: 56px; border-radius: 50%; border: none;
    color: #fff; font-size: 1.6rem; display: grid; place-items: center;
    cursor: pointer; transition: transform .2s;
}
.chat-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float { background: #25d366; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6); }
.wechat-float   { background: #07c160; box-shadow: 0 10px 24px -6px rgba(7,193,96,.6); }
.wechat-float img { width: 30px; height: 30px; }

/* ---------- WeChat modal & QR ---------- */
.wechat-modal { border-radius: 18px; }
.wechat-qr { width: 100%; max-width: 240px; border-radius: 10px; }
.wechat-name { font-weight: 700; font-size: 1.1rem; margin-top: 12px; color: #07c160; }
.wechat-sub { color: var(--muted); font-size: .88rem; }
.wechat-inline {
    display: flex; align-items: center; gap: 16px;
    background: #f2fbf6; border: 1px solid #cdeedd; border-radius: var(--radius); padding: 16px;
}
.wechat-inline img { width: 110px; height: 110px; border-radius: 8px; }
.wechat-inline strong { color: #07c160; }
.wechat-inline p { font-size: .88rem; }

/* ---------- Product code chip ---------- */
.product-code { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; letter-spacing: .04em; margin-bottom: .5rem; }

@media (max-width: 991px) {
    body { padding-top: 70px; }
    .site-nav { top: 0; }
    .nav-search { margin: .6rem 0; }
    .nav-search .form-control { width: 100%; }
    /* Large g-5 gutters overflow .container on small screens — reduce them */
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}
