/* ============================================================================
   Shahi Bhoj — Catering & Events PP
   Identity: "Elegant Wedding — Plum & Gold"
   Type: Cormorant Garamond (display) · Inter (UI/body) · Hind Siliguri (Bengali)
   --primary / --accent / --dark injected inline from SiteSettings by _Layout.
   ============================================================================ */
:root {
    --plum: var(--primary, #6D2C5A);
    --gold: var(--accent, #C8A04B);
    --aubergine: var(--dark, #2A1A2E);
    --page: #FBF6F0;
    --surface: #FFFFFF;
    --ink: #2B2230;
    --muted: #8A7E86;
    --rule: #ECE2E6;
    --gold-soft: #EFE2C4;
    --plum-soft: #F3E9EF;
    --shadow: 0 16px 44px rgba(42, 26, 46, .10);
    --shadow-sm: 0 6px 20px rgba(42, 26, 46, .07);
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --bangla: 'Hind Siliguri', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--page);
    line-height: 1.7;
    overflow-x: clip; /* safety net — clip, not hidden (keeps sticky header working) */
}
:lang(bn) body { font-family: var(--bangla); }

h1, h2, h3, h4, h5, .display-head { font-family: var(--serif); font-weight: 600; color: var(--aubergine); line-height: 1.15; }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3, :lang(bn) h4, :lang(bn) h5, :lang(bn) .display-head { font-family: var(--bangla); font-weight: 600; }

a { color: var(--plum); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; }

/* ---- Eyebrow + foil divider motif ---- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--sans); font-size: .76rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
:lang(bn) .eyebrow { letter-spacing: .1em; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); display: inline-block; }
.foil-rule {
    width: 120px; height: 2px; margin: 1rem 0; position: relative;
    background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
}
.foil-rule.center { margin-left: auto; margin-right: auto; }
.foil-rule::after {
    content: "\2726"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--gold); font-size: .8rem; background: var(--page); padding: 0 .4rem;
}

/* ---- Buttons ---- */
.btn { font-family: var(--sans); font-weight: 600; border-radius: 999px; padding: .65rem 1.5rem; transition: all .25s ease; }
.btn-cta, .btn-gold { background: var(--gold); color: #2A1A2E; border: 1px solid var(--gold); }
.btn-cta:hover, .btn-gold:hover { background: #b88f3e; border-color: #b88f3e; color: #2A1A2E; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200, 160, 75, .35); }
.btn-plum { background: var(--plum); color: #fff; border: 1px solid var(--plum); }
.btn-plum:hover { background: #5a2349; border-color: #5a2349; color: #fff; transform: translateY(-2px); }
.btn-outline-gold { background: transparent; color: var(--aubergine); border: 1px solid var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: #2A1A2E; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--plum); }

/* ============================ Header / nav ============================ */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(251, 246, 240, .92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--rule); transition: padding .3s ease, box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.navbar { padding-top: .85rem; padding-bottom: .85rem; transition: padding .3s ease; }
.site-header.scrolled .navbar { padding-top: .45rem; padding-bottom: .45rem; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.brand-logo { height: 46px; width: auto; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--plum); color: var(--gold); font-size: 1.2rem; flex: none; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--aubergine); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100vw - 150px); }
:lang(bn) .brand-name { font-family: var(--bangla); font-size: 1.2rem; }
.navbar-nav .nav-link { font-weight: 500; color: var(--ink); padding: .4rem .9rem; position: relative; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--plum); }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .15rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.navbar-nav .nav-link:hover::after { transform: scaleX(1); }
.lang-toggle { font-weight: 600; color: var(--plum); border: 1px solid var(--rule); border-radius: 999px; padding: .35rem .8rem; display: inline-flex; align-items: center; }
.lang-toggle:hover { background: var(--plum); color: #fff; }

/* ============================ Hero ============================ */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.motion .hero-bg.kenburns { animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.12); } }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(42,26,46,.85) 0%, rgba(42,26,46,.55) 45%, rgba(109,44,90,.35) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 4rem 0; }
.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.5rem); margin: 1rem 0; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero-dots { position: absolute; bottom: 1.4rem; left: 0; right: 0; display: flex; justify-content: center; gap: .5rem; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }

/* ============================ Sections ============================ */
.section { padding: 92px 0; }
.section-sm { padding: 56px 0; }
.section.band-ivory { background: var(--page); }
.section.band-cream { background: #F6EEE2; }
.section.band-plum { background: var(--aubergine); color: #F3E9EF; }
.section.band-plum h1, .section.band-plum h2, .section.band-plum h3 { color: #fff; }
.section.band-plum .text-muted { color: rgba(243,233,239,.7) !important; }
.section-head { max-width: 720px; margin-bottom: 2.6rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin: .6rem 0; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section.band-plum .section-head p { color: rgba(243,233,239,.75); }

/* ============================ Cards ============================ */
.card-grid { display: grid; gap: 1.6rem; }
.dish-card, .pkg-card, .portfolio-card, .team-card, .venue-card, .blog-card, .offer-card, .event-card, .testi-card {
    background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.dish-card:hover, .pkg-card:hover, .portfolio-card:hover, .team-card:hover, .venue-card:hover, .blog-card:hover, .offer-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-soft);
}
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.dish-card:hover .card-media img, .portfolio-card:hover .card-media img, .venue-card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.2rem 1.3rem 1.4rem; }
.card-title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--aubergine); margin: 0 0 .25rem; }
:lang(bn) .card-title { font-family: var(--bangla); font-size: 1.15rem; }
.card-sub { color: var(--muted); font-size: .92rem; }
.price-tag { font-family: var(--serif); font-weight: 700; color: var(--plum); font-size: 1.25rem; }
.price-tag small { color: var(--muted); font-weight: 400; font-family: var(--sans); font-size: .8rem; }

/* badges / chips */
.chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--plum-soft); color: var(--plum); margin: .15rem .15rem 0 0; }
.chip.gold { background: var(--gold-soft); color: #8a6a1e; }
.ribbon { position: absolute; top: .8rem; left: .8rem; background: var(--gold); color: #2A1A2E; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; z-index: 2; }
.ribbon.plum { background: var(--plum); color: #fff; }

/* Editorial numbered service list */
.svc-row { display: flex; gap: 1.4rem; align-items: flex-start; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.svc-row .svc-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--gold); line-height: 1; flex: none; width: 64px; }
.svc-row h3 { font-size: 1.5rem; margin: 0 0 .3rem; }
.svc-row .svc-icon { font-size: 1.6rem; color: var(--plum); }

/* Packages */
.pkg-card { display: flex; flex-direction: column; }
.pkg-card.popular { border-color: var(--gold); box-shadow: 0 18px 44px rgba(200,160,75,.22); }
.pkg-card .pkg-price { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--plum); }
.pkg-card ul { list-style: none; padding: 0; margin: 1rem 0; }
.pkg-card ul li { padding: .35rem 0 .35rem 1.6rem; position: relative; border-bottom: 1px dashed var(--rule); }
.pkg-card ul li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--gold); }

/* Stats */
.stat-item { text-align: center; padding: 1rem; }
.stat-num { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { color: var(--muted); font-weight: 500; margin-top: .4rem; }
.band-plum .stat-label { color: rgba(243,233,239,.8); }

/* Team */
.team-card .card-media { aspect-ratio: 1 / 1; }
.team-card .role { color: var(--gold); font-weight: 600; font-size: .85rem; }

/* Testimonials */
.testi-card { padding: 1.8rem; }
.testi-card .quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.testi-card .stars { color: var(--gold); }
.testi-author { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testi-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .8rem; }
.gallery-item { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery-item:hover img { transform: scale(1.08); }

/* Page hero (inner pages) */
.page-hero { background: var(--aubergine); color: #fff; padding: 80px 0 60px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,.7); font-size: .9rem; }
.page-hero .crumbs a:hover { color: var(--gold); }

/* Forms */
.form-control, .form-select { border-radius: 10px; border: 1px solid var(--rule); padding: .6rem .9rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(200,160,75,.2); }
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; box-shadow: var(--shadow); padding: 2rem; }

/* ============================ Footer ============================ */
.site-footer { background: var(--aubergine); color: rgba(243,233,239,.8); }
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--plum) 0%, var(--plum) 60%, var(--gold) 60%, var(--gold) 100%); }
.site-footer .container { padding-top: 64px; padding-bottom: 28px; }
.site-footer h5 { color: #fff; font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 1rem; }
.footer-brand-name { font-family: var(--serif); font-size: 1.6rem; color: #fff; }
:lang(bn) .footer-brand-name { font-family: var(--bangla); }
.footer-logo { height: 50px; }
.footer-about { color: rgba(243,233,239,.65); font-size: .92rem; }
.footer-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; margin: .3rem .3rem 0 0; transition: all .25s ease; }
.footer-social a:hover { background: var(--gold); color: #2A1A2E; border-color: var(--gold); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: .55rem; }
.footer-links a { color: rgba(243,233,239,.7); }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .6rem; color: rgba(243,233,239,.7); min-width: 0; }
.footer-contact a { color: rgba(243,233,239,.7); overflow-wrap: anywhere; }
.footer-contact i { color: var(--gold); }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.newsletter-form .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; font-size: .85rem; }
.footer-bottom a { color: var(--gold); }
.developed-by a:hover { color: #fff; }

/* ============================ Floating actions + back to top ============================ */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 1040; display: flex; flex-direction: column; gap: .6rem; }
.float-actions a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: var(--shadow); transition: transform .2s ease; }
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.fa-whatsapp { background: #25D366; }
.fa-call { background: var(--plum); }
.back-to-top { position: fixed; right: 1rem; bottom: 5rem; z-index: 1039; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); color: #2A1A2E; opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .3s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================ Notice bar ============================ */
.notice-bar { background: var(--plum); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .9rem; }
.notice-bar a { color: var(--gold); }

/* ============================ Menu-cart badge ============================ */
.cart-badge { position: relative; }
.cart-badge .count { position: absolute; top: -6px; right: -8px; background: var(--gold); color: #2A1A2E; font-size: .68rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }

/* ============================ 12.1 Mobile safety net + breakpoints ============================ */
img, svg, video, iframe { max-width: 100%; }
table { max-width: 100%; }
.container, .container-fluid { overflow-wrap: break-word; }
h1, h2, h3, h4, p, a, span, li { overflow-wrap: break-word; }

@media (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 991.98px) {
    .navbar-collapse { background: var(--page); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem; margin-top: .6rem; box-shadow: var(--shadow-sm); }
    .navbar-nav .nav-link::after { display: none; }
    .section { padding: 64px 0; }
    .hero { min-height: 78vh; }
}
@media (max-width: 767px) {
    .section, .section-sm { padding: 44px 0; }
    .page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
    .svc-row { flex-direction: column; gap: .6rem; }
    .svc-row .svc-num { width: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
    .stat-num { font-size: 2.4rem; }
    .float-actions a { width: 46px; height: 46px; font-size: 1.2rem; }
}

@media print {
    .site-header, .site-footer, .float-actions, .back-to-top, .notice-bar { display: none !important; }
    body { background: #fff; }
}
