/* ==========================================================================
   Al Riaz Nova Textile — public site theme
   Navy + gold brand identity layered on top of Bootstrap 5.
   ========================================================================== */

:root {
    --navy: #0a1f44;
    --navy-2: #0d2750;
    --navy-3: #16335f;
    --gold: #c9a24b;
    --gold-2: #b8923f;
    --gold-light: #d8b975;
    --ink: #1a2540;
    --body: #5a6478;
    --muted: #8a93a6;
    --light: #f5f7fa;
    --light-2: #eef1f6;
    --line: #e6e9f0;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(10, 31, 68, .08);
    --shadow-sm: 0 4px 14px rgba(10, 31, 68, .06);
    --radius: 12px;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--body);
    font-size: 15px;
    line-height: 1.7;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; transition: color .2s, background .2s, opacity .2s; }

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-light-soft { background-color: var(--light) !important; }

.container-xl { max-width: 1200px; }

/* ----- Buttons -------------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 8px; padding: .65rem 1.5rem; font-size: .9rem; letter-spacing: .2px; }
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #fff; border: none;
}
.btn-gold:hover { color: #fff; filter: brightness(1.07); box-shadow: 0 8px 20px rgba(201, 162, 75, .35); }
.btn-outline-light { border: 1.5px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: none; }
.btn-navy:hover { background: var(--navy-3); color: #fff; }
.btn-whatsapp { background: #25d366; color: #fff; border: none; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

/* ----- Top bar -------------------------------------------------------------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: .8rem; }
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--gold); }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .social-ico {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,.25);
}
.topbar .social-ico:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ----- Navbar --------------------------------------------------------------- */
.site-nav { background: #fff; box-shadow: 0 2px 14px rgba(10,31,68,.07); }
.site-nav .navbar-brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark { height: 46px; width: auto; }
.brand-text .brand-name { font-weight: 800; color: var(--navy); font-size: 1.4rem; line-height: 1; letter-spacing: .5px; }
.brand-text .brand-name .accent { color: var(--gold); }
.brand-text .brand-sub { font-size: .56rem; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; font-weight: 600; }
.site-nav .nav-link { color: var(--ink); font-weight: 600; font-size: .92rem; padding: .5rem 1rem !important; position: relative; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--gold); }
.site-nav .nav-link.active::after {
    content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px; background: var(--gold);
}
.site-nav .dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: 10px; padding: .5rem; margin-top: .4rem; }
.site-nav .dropdown-item { border-radius: 6px; font-weight: 500; font-size: .9rem; padding: .5rem .8rem; }
.site-nav .dropdown-item:hover { background: var(--light); color: var(--gold); }

/* ----- Page hero (inner pages) --------------------------------------------- */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 38%, rgba(10,31,68,.65) 60%, rgba(10,31,68,.35) 100%);
    z-index: 2;
}
.page-hero .hero-bg { position: absolute; inset: 0; object-fit: cover; width: 100%; height: 100%; z-index: 1; opacity: .9; }
.page-hero .hero-inner { position: relative; z-index: 3; padding: 4.5rem 0; }
.page-hero h1 { color: #fff; font-size: 2.8rem; font-weight: 800; }
.page-hero .hero-sub { color: var(--gold); font-weight: 600; font-size: 1.3rem; }
.page-hero .breadcrumb-trail { font-size: .9rem; color: rgba(255,255,255,.8); margin-top: 1rem; }
.page-hero .breadcrumb-trail a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb-trail a:hover { color: var(--gold); }

/* ----- Section helpers ------------------------------------------------------ */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .78rem; margin-bottom: .5rem; }
.section-title { font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.section-divider { width: 90px; height: 2px; background: var(--gold); margin: 1rem auto; position: relative; }
.section-divider::after { content: "◆"; color: var(--gold); position: absolute; top: -11px; left: 50%; transform: translateX(-50%); font-size: .7rem; background: inherit; }
.section-divider.start { margin-left: 0; margin-right: auto; }
.lead-muted { color: var(--body); max-width: 720px; }

/* ----- Cards (generic) ------------------------------------------------------ */
.soft-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.soft-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* icon feature card */
.feature-card { padding: 1.6rem; text-align: center; height: 100%; }
.feature-card .fc-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--light); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.feature-card h5 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p { font-size: .88rem; margin: 0; }

/* ----- Product card --------------------------------------------------------- */
.product-card { overflow: hidden; height: 100%; }
.product-card .pc-img { aspect-ratio: 1/1; background: var(--light-2); overflow: hidden; display: flex; }
.product-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-img img { transform: scale(1.05); }
.product-card .pc-body { padding: 1.2rem; }
.product-card .pc-body h5 { font-size: 1.05rem; margin-bottom: .4rem; }
.product-card .pc-body p { font-size: .85rem; margin-bottom: .6rem; }
.product-card .samples { color: var(--gold); font-weight: 700; font-size: .85rem; }

/* ----- Stats bar ------------------------------------------------------------ */
.stats-bar { background: var(--navy); color: #fff; border-radius: var(--radius); }
.stats-bar .stat { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1rem; }
.stats-bar .stat .stat-ico { color: var(--gold); font-size: 1.7rem; }
.stats-bar .stat-num { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; }
.stats-bar .stat-label { font-size: .82rem; color: rgba(255,255,255,.75); }
.stats-bar .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }

/* ----- CTA band ------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); overflow: hidden; }
.cta-band h3 { color: #fff; font-size: 1.7rem; }
.cta-img { width: 100%; height: 100%; object-fit: cover; }

/* ----- Certifications / membership cards ------------------------------------ */
.cert-card { text-align: center; padding: 1.2rem; height: 100%; }
.cert-card .cert-thumb { aspect-ratio: 4/3; background: var(--light); border-radius: 8px; overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.cert-card .cert-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-card h5 { font-size: 1rem; }
.cert-card p { font-size: .85rem; margin: 0; }
.member-card { text-align: center; padding: 1.5rem 1rem; height: 100%; }
.member-card .member-logo { height: 80px; display: flex; align-items: center; justify-content: center; margin-bottom: .8rem; color: var(--navy); }
.member-card .member-logo i { font-size: 3rem; color: var(--gold); }

/* ----- Service card --------------------------------------------------------- */
.service-card { overflow: hidden; height: 100%; position: relative; }
.service-card .sc-img { height: 150px; overflow: hidden; }
.service-card .sc-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card .sc-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: -28px 0 0 1.3rem; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.service-card .sc-body { padding: 1rem 1.3rem 1.4rem; }
.service-card .sc-body h5 { font-size: 1.1rem; }
.service-card ul { list-style: none; padding: 0; margin: .8rem 0 0; }
.service-card ul li { font-size: .85rem; padding: .2rem 0; color: var(--body); }
.service-card ul li i { color: var(--gold); margin-right: .5rem; }

/* ----- Process timeline ----------------------------------------------------- */
.process { position: relative; }
.process .proc-line { position: absolute; top: 32px; left: 8%; right: 8%; height: 2px; border-top: 2px dashed var(--line); z-index: 0; }
.process .proc-step { position: relative; z-index: 1; text-align: center; }
.process .proc-circle { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.process .proc-num { font-weight: 800; color: var(--navy); margin-top: .7rem; }
.process .proc-title { font-weight: 700; color: var(--ink); font-size: .95rem; }
.process .proc-desc { font-size: .8rem; color: var(--muted); }

/* ----- Export flags --------------------------------------------------------- */
.flag-chip { text-align: center; padding: 1rem .5rem; }
.flag-chip .flag-emoji { font-size: 2rem; line-height: 1; }
.flag-chip .flag-name { font-size: .8rem; font-weight: 600; color: var(--ink); margin-top: .4rem; }

/* ----- Contact info cards --------------------------------------------------- */
.contact-card { display: flex; gap: 1rem; padding: 1.2rem; align-items: flex-start; }
.contact-card .ci-icon { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-card h6 { color: var(--navy); margin-bottom: .2rem; }
.contact-card p { margin: 0; font-size: .88rem; }

/* ----- Forms ---------------------------------------------------------------- */
.form-control, .form-select { border: 1px solid var(--line); border-radius: 8px; padding: .7rem .9rem; font-size: .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(201,162,75,.15); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ----- Hero (home) ---------------------------------------------------------- */
.home-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.home-hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 35%, rgba(10,31,68,.55) 65%, rgba(10,31,68,.25) 100%); }
.home-hero .hero-inner { position: relative; z-index: 3; padding: 5.5rem 0; }
.home-hero h1 { color: #fff; font-size: 3.2rem; font-weight: 800; line-height: 1.1; }
.home-hero h1 .gold { color: var(--gold); }
.home-hero .eyebrow { color: var(--gold); letter-spacing: 2px; font-weight: 700; }
.home-hero .hero-points { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1.2rem 0; }
.home-hero .hero-points .hp { display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.home-hero .hero-points .hp i { color: var(--gold); }

/* feature strip under hero */
.feature-strip { background: var(--navy-2); color: #fff; }
.feature-strip .fs-item { display: flex; gap: .8rem; align-items: center; padding: 1.3rem 1rem; }
.feature-strip .fs-item i { color: var(--gold); font-size: 1.6rem; }
.feature-strip .fs-item strong { display: block; font-size: .9rem; color: #fff; }
.feature-strip .fs-item span { font-size: .78rem; color: rgba(255,255,255,.7); }
.feature-strip .fs-item + .fs-item { border-left: 1px solid rgba(255,255,255,.1); }

/* ----- Footer --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer h6 { color: #fff; font-size: .95rem; letter-spacing: .5px; margin-bottom: 1.1rem; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer .foot-social { display: flex; gap: .5rem; margin-top: 1rem; }
.site-footer .foot-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: inline-flex; align-items: center; justify-content: center; }
.site-footer .foot-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.site-footer .foot-bottom { border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

/* ----- Floating WhatsApp ---------------------------------------------------- */
.wa-float { position: fixed; right: 20px; bottom: 22px; z-index: 1050; display: flex; align-items: center; }
.wa-float .wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 22px rgba(37,211,102,.5); }
.wa-float .wa-btn:hover { color: #fff; transform: scale(1.05); }

/* ----- Gallery -------------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.gallery-filters .gf-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; padding: .5rem 1.1rem; font-weight: 600; font-size: .85rem; cursor: pointer; }
.gallery-filters .gf-btn.active, .gallery-filters .gf-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery-item { border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--light-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(8,18,38,.92); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92%; max-height: 88%; border-radius: 8px; }
.lightbox .lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 2.6rem; cursor: pointer; padding: 1rem; user-select: none; }
.lightbox .lb-prev { left: 12px; } .lightbox .lb-next { right: 12px; }

/* ----- Responsive ----------------------------------------------------------- */
@media (max-width: 991.98px) {
    .home-hero h1 { font-size: 2.3rem; }
    .page-hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .stats-bar .stat + .stat { border-left: none; }
    .feature-strip .fs-item + .fs-item { border-left: none; }
    .process .proc-line { display: none; }
    .site-nav .nav-link.active::after { display: none; }
    .page-hero::before, .home-hero::before { background: linear-gradient(180deg, rgba(10,31,68,.92), rgba(10,31,68,.75)); }
}
@media (max-width: 575.98px) {
    .home-hero h1 { font-size: 1.9rem; }
    .section { padding: 3rem 0; }
}
