/* ============================================================
   Aperture Studio — Photographer PP — Public site.css
   Identity: MINIMAL LIGHT (ivory/off-white + ink black + warm taupe).
   Editorial, gallery-first, lots of whitespace. Moves with subtle
   scroll-reveal/hover. Motion behavior is owned by motion.css/motion.js —
   this file never sets opacity:0 globally and never redefines .reveal.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --ink: #161616;
    --bg: #F6F4EF;        /* ivory — body background, NEVER pure white */
    --surface: #FFFFFF;   /* cards / panels */
    --muted: #6B6B6B;
    --line: #E6E2D8;      /* hairline rule */
    --accent: #B59B6A;    /* warm taupe / brass */
    --accent-soft: #cdb892;
    --accent-tint: rgba(181, 155, 106, .12);
    --ink-soft: #2b2b2b;

    /* Map the layout's injected vars (--primary/--accent/--dark set inline) so
       they resolve to the Minimal-Light palette if not overridden by settings. */
    --primary: var(--ink);
    --dark: #0E0E0E;

    --font-display: 'Cormorant Garamond', 'Hind Siliguri', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Hind Siliguri', sans-serif;
    --font-bn: 'Hind Siliguri', 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 2px rgba(22, 22, 22, .05);
    --shadow-md: 0 16px 40px -18px rgba(22, 22, 22, .25);
    --shadow-lg: 0 30px 70px -28px rgba(22, 22, 22, .35);

    --radius: 4px;
    --ease: cubic-bezier(.22, .8, .3, 1);
    --container: 1200px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: clip; /* mobile safety net */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[lang="bn"], html[lang="bn"] body { font-family: var(--font-bn); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: .2px;
    margin: 0 0 .5em;
}

html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3,
html[lang="bn"] h4, html[lang="bn"] h5, html[lang="bn"] h6 {
    font-family: var(--font-bn);
    font-weight: 600;
    letter-spacing: 0;
}

p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }
svg, video, iframe { max-width: 100%; }
table { max-width: 100%; }

::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container); }

/* ============================================================
   SECTIONS / EDITORIAL RHYTHM
   ============================================================ */
.section { padding: 80px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.section.ink { background: var(--ink); color: #efece4; }
.section.ink h1, .section.ink h2, .section.ink h3, .section.ink .display-head { color: #fff; }
.section.ink .lead, .section.ink p { color: #c6c2b8; }

.section-head { margin-bottom: 48px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}
html[lang="bn"] .eyebrow { font-family: var(--font-bn); letter-spacing: .12em; }

.display-head {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: .2px;
    color: var(--ink);
    margin: 0 0 .35em;
}
html[lang="bn"] .display-head { font-family: var(--font-bn); line-height: 1.25; }

.brass-rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    border: 0;
    margin: 18px 0 22px;
    display: block;
}
.section-head.center .brass-rule { margin-left: auto; margin-right: auto; }

.lead {
    font-size: 1.12rem;
    line-height: 1.8;
    color: var(--muted);
    font-weight: 400;
    max-width: 64ch;
}

/* Signature motif: a thin taupe "aperture-blade" underline accent. */
.aperture-underline {
    position: relative;
    display: inline-block;
}
.aperture-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 60%, transparent 100%);
    transform: scaleX(.55);
    transform-origin: left;
    transition: transform .6s var(--ease);
}
.aperture-underline:hover::after,
a:hover .aperture-underline::after { transform: scaleX(1); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .86rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
}
html[lang="bn"] .link-arrow { font-family: var(--font-bn); text-transform: none; letter-spacing: 0; }
.link-arrow i, .link-arrow .bi { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover i, .link-arrow:hover .bi { transform: translateX(6px); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(246, 244, 239, .88);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header .navbar { padding: 18px 0; transition: padding .3s var(--ease); }
.site-header.scrolled {
    background: rgba(255, 255, 255, .94);
    border-bottom-color: var(--line);
    box-shadow: 0 6px 22px -16px rgba(22, 22, 22, .4);
}
.site-header.scrolled .navbar { padding: 10px 0; }

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0; /* mobile safety net */
    padding: 0;
}
.brand-logo { max-height: 46px; width: auto; }
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex: none;
    transition: transform .5s var(--ease);
}
.navbar-brand:hover .brand-mark { transform: rotate(45deg); }
.navbar-brand { flex: 0 0 auto; }   /* keep the brand at natural width on desktop */
.brand-name {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    letter-spacing: .4px;
    white-space: nowrap;
}
html[lang="bn"] .brand-name { font-family: var(--font-bn); }

.navbar-nav .nav-link {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .02em;
    color: var(--ink);
    padding: 8px 14px;
    position: relative;
}
html[lang="bn"] .navbar-nav .nav-link { font-family: var(--font-bn); }
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent); }
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

.header-search { position: relative; }
.header-search .form-control {
    width: 190px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    padding: 7px 16px;
    font-size: .85rem;
    color: var(--ink);
    transition: border-color .25s var(--ease), width .3s var(--ease), box-shadow .25s var(--ease);
}
.header-search .form-control:focus {
    outline: none;
    width: 220px;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-tint);
}
.header-search .form-control::placeholder { color: var(--muted); }

.lang-toggle {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
html[lang="bn"] .lang-toggle { font-family: var(--font-bn); text-transform: none; }
.lang-toggle:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-tint); }

.navbar-toggler { border: 1px solid var(--line); padding: 6px 9px; border-radius: 6px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--accent-tint); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .86rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: var(--ink);
    color: #fff;
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 12px 26px;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
html[lang="bn"] .btn-cta, html[lang="bn"] .btn-outline-ink { font-family: var(--font-bn); text-transform: none; letter-spacing: 0; }
.btn-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgba(181, 155, 106, .8);
}
.btn-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-outline-ink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .86rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 11px 25px;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-outline-ink:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: clamp(560px, 88vh, 860px);
    overflow: hidden;
    background: var(--ink);
}
/* The carousel/inner must fill the hero, else absolute .hero-slide collapses them to 0 height. */
.hero .carousel, .hero .carousel-inner { position: absolute; inset: 0; height: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s var(--ease);
    will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; }
/* The slide carries an <img> (Bootstrap carousel-item) — make it cover the slide. */
.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(105deg, rgba(14, 14, 14, .72) 0%, rgba(14, 14, 14, .35) 55%, rgba(14, 14, 14, .15) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
    padding: 40px 0;
}
.hero-content .display-head { max-width: 16ch; }
.hero-content .eyebrow { color: var(--accent-soft); }
.hero-content h1, .hero-content .display-head {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    margin-bottom: .3em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.hero-content .lead { color: rgba(255, 255, 255, .86); max-width: 52ch; }
.hero-content .brass-rule { background: var(--accent-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-actions .btn-outline-ink { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-actions .btn-outline-ink:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Interior page banner */
.page-hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    padding: 92px 0 64px;
    overflow: hidden;
    text-align: center;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .28;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 4vw, 2.6rem); /* mobile safety net */
    margin: 0;
}
.page-hero .brass-rule { background: var(--accent-soft); margin-left: auto; margin-right: auto; }
.page-hero .lead { color: rgba(255, 255, 255, .82); margin: 14px auto 0; }

/* ============================================================
   CARD PRIMITIVES  (NO height:100% on base card classes)
   ============================================================ */
.album-card, .service-card, .package-card, .team-card,
.process-step, .testi-card, .stat-tile, .cat-tile, .post-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s var(--ease);
}

/* shared fixed-ratio image box w/ hover zoom */
.album-cover, .post-card .post-thumb, .service-card .svc-thumb, .cat-tile .cat-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: #ece8df;
}
.album-cover img, .post-card .post-thumb img, .service-card .svc-thumb img, .cat-tile .cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease);
}

/* ---- Album card ---- */
.album-card { overflow: hidden; }
.album-card .album-cover { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.album-card:hover .album-cover img { transform: scale(1.04); }
.album-card .album-body { padding: 20px 22px 24px; }
.album-card .album-cat {
    font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 8px; display: block;
}
html[lang="bn"] .album-card .album-cat { letter-spacing: .1em; }
.album-card .album-title {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 600; line-height: 1.15; margin: 0 0 6px; color: var(--ink);
}
html[lang="bn"] .album-card .album-title { font-family: var(--font-bn); }
.album-card .album-meta { font-size: .82rem; color: var(--muted); }

/* When album-cover is used as a standalone tile (overlay caption) */
.album-cover .album-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    background: linear-gradient(0deg, rgba(14,14,14,.82) 0%, rgba(14,14,14,0) 100%);
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.album-cover:hover .album-overlay { opacity: 1; transform: none; }

/* ---- Service card ---- */
.service-card { padding: 0; overflow: hidden; }
.service-card .svc-thumb { aspect-ratio: 3 / 2; }
.service-card .svc-body { padding: 26px 26px 28px; }
.service-card.no-thumb { padding: 32px 28px; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.service-card:hover .svc-thumb img { transform: scale(1.04); }
.service-card .svc-icon {
    width: 56px; height: 56px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--bg);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--accent); margin-bottom: 18px;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover .svc-icon { background: var(--accent); color: #fff; border-color: var(--accent); }
.service-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }

/* ---- Package card ---- */
.package-card { padding: 34px 30px 36px; text-align: center; position: relative; }
.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.package-card .pkg-name {
    font-family: var(--font-body); font-size: .76rem; letter-spacing: .22em;
    text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px;
}
html[lang="bn"] .package-card .pkg-name { font-family: var(--font-bn); letter-spacing: .08em; }
.package-card .pkg-price {
    font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--ink);
}
.package-card .pkg-unit { font-size: .85rem; color: var(--muted); display: block; margin-top: 6px; }
.package-card .pkg-features {
    list-style: none; padding: 22px 0; margin: 22px 0; text-align: left;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.package-card .pkg-features li { padding: 7px 0 7px 28px; position: relative; font-size: .92rem; color: var(--ink-soft); }
.package-card .pkg-features li::before {
    content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 7px;
    color: var(--accent); font-size: .9rem;
}
.package-card .pkg-features li.excluded { color: var(--muted); }
.package-card .pkg-features li.excluded::before { content: "\F62A"; color: var(--line); }
.package-card.popular {
    border-color: var(--accent);
    box-shadow: 0 24px 60px -28px rgba(181, 155, 106, .55);
    transform: translateY(-6px);
}
.package-card.popular::before {
    content: "\F586"; font-family: "bootstrap-icons";
    position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%);
    background: var(--accent); color: #fff; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: .85rem;
}
.package-card.popular:hover { transform: translateY(-10px); }

/* ---- Team card ---- */
.team-card { overflow: hidden; text-align: center; }
.team-card .team-photo { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #ece8df; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-card .team-body { padding: 22px 20px 26px; }
.team-card .team-name { font-family: var(--font-display); font-size: 1.4rem; margin: 0 0 4px; }
html[lang="bn"] .team-card .team-name { font-family: var(--font-bn); }
.team-card .team-role { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
html[lang="bn"] .team-card .team-role { letter-spacing: .06em; }
.team-card .team-social { margin-top: 14px; display: flex; justify-content: center; gap: 12px; }
.team-card .team-social a {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.team-card .team-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---- Process step ---- */
.process-step { padding: 30px 28px; position: relative; }
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-step .step-num {
    font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; line-height: 1;
    color: var(--accent); opacity: .55; margin-bottom: 8px;
}
.process-step .step-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.process-step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ---- Testimonial card ---- */
.testi-card { padding: 32px 30px; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card .testi-quote {
    font-family: var(--font-display); font-size: 1.22rem; line-height: 1.55; font-style: italic;
    color: var(--ink); margin-bottom: 22px; position: relative;
}
html[lang="bn"] .testi-card .testi-quote { font-family: var(--font-bn); font-style: normal; }
.testi-card .testi-quote::before {
    content: "\201C"; font-family: var(--font-display); color: var(--accent);
    font-size: 3rem; line-height: 0; position: absolute; left: -4px; top: 12px; opacity: .35;
}
.testi-card .testi-foot { display: flex; align-items: center; gap: 14px; }
.testi-card .testi-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-card .testi-name { font-weight: 600; color: var(--ink); }
.testi-card .testi-role { font-size: .82rem; color: var(--muted); }
.testi-card .testi-stars { color: var(--accent); font-size: .9rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ---- Stat tile ---- */
.stat-tile { padding: 30px 22px; text-align: center; }
.stat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-tile .stat-icon { font-size: 1.6rem; color: var(--accent); margin-bottom: 10px; }
.stat-tile .stat-num {
    font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 600;
    color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums;
}
.stat-tile .stat-num .suffix { color: var(--accent); }
.stat-tile .stat-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
html[lang="bn"] .stat-tile .stat-label { letter-spacing: 0; text-transform: none; }

/* ---- Category tile ---- */
.cat-tile { overflow: hidden; position: relative; display: block; }
.cat-tile .cat-img { aspect-ratio: 1 / 1; border-radius: var(--radius); }
.cat-tile::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(14,14,14,.7) 0%, rgba(14,14,14,0) 55%);
    border-radius: var(--radius); pointer-events: none;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-tile:hover .cat-img img { transform: scale(1.05); }
.cat-tile .cat-label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px;
    color: #fff; text-align: center;
}
.cat-tile .cat-label .cat-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
html[lang="bn"] .cat-tile .cat-label .cat-name { font-family: var(--font-bn); }
.cat-tile .cat-label .cat-count { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); }

/* ---- Post card (blog) ---- */
.post-card { overflow: hidden; }
.post-card .post-thumb { aspect-ratio: 16 / 10; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--accent-soft); }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-card .post-body { padding: 22px 24px 26px; }
.post-card .post-meta { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
html[lang="bn"] .post-card .post-meta { letter-spacing: .04em; text-transform: none; }
.post-card .post-title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; margin: 0 0 8px; }
html[lang="bn"] .post-card .post-title { font-family: var(--font-bn); }
.post-card .post-excerpt { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }

/* ============================================================
   GRIDS
   ============================================================ */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.insta-item {
    position: relative; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--radius);
    background: #ece8df; display: block;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-item::after {
    content: "\F4D2"; font-family: "bootstrap-icons"; color: #fff; font-size: 1.4rem;
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: rgba(22, 22, 22, .45); opacity: 0; transition: opacity .35s var(--ease);
}
.insta-item:hover::after { opacity: 1; }
.insta-item:hover img { transform: scale(1.06); }

/* ============================================================
   PRICE TAG / FAVORITE / MISC
   ============================================================ */
.price-tag {
    display: inline-flex; align-items: baseline; gap: 4px;
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--ink);
}
.price-tag .from { font-family: var(--font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
html[lang="bn"] .price-tag, html[lang="bn"] .price-tag .from { font-family: var(--font-bn); }

.fav-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink); font-size: 1.05rem; cursor: pointer;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.fav-btn:hover { transform: scale(1.1); color: #d6455a; }
.fav-btn.active, .fav-btn[aria-pressed="true"] { background: #d6455a; border-color: #d6455a; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #c6c2b8; position: relative; }
.footer-accent { height: 3px; background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 50%, var(--accent) 100%); }
.site-footer .container { padding-top: 72px; padding-bottom: 0; }
.footer-brand { margin-bottom: 18px; }
.footer-logo { max-height: 50px; width: auto; }
.footer-brand-name { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: #fff; }
html[lang="bn"] .footer-brand-name { font-family: var(--font-bn); }
.footer-about { color: #9a9589; font-size: .92rem; line-height: 1.7; max-width: 34ch; }
.site-footer h5 {
    font-family: var(--font-body); color: #fff; font-size: .8rem; letter-spacing: .2em;
    text-transform: uppercase; font-weight: 600; margin-bottom: 20px;
}
html[lang="bn"] .site-footer h5 { font-family: var(--font-bn); letter-spacing: .06em; }

.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
    display: inline-flex; align-items: center; justify-content: center; color: #c6c2b8; font-size: 1.05rem;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer-social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }

.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: #b3aea3; font-size: .92rem; position: relative; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: #b3aea3; font-size: .92rem; line-height: 1.5; min-width: 0; }
.footer-contact li i { color: var(--accent); font-size: 1rem; margin-top: 3px; flex: none; }
.footer-contact li > a, .footer-contact li > span { min-width: 0; overflow-wrap: anywhere; }
.footer-contact a { color: #b3aea3; }
.footer-contact a:hover { color: #fff; }

.newsletter-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.newsletter-form .form-control {
    flex: 1 1 160px; min-width: 0; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
    color: #fff; border-radius: 999px; padding: 11px 18px; font-size: .88rem;
}
.newsletter-form .form-control::placeholder { color: #8a857a; }
.newsletter-form .form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.newsletter-form .btn-cta { background: var(--accent); border-color: var(--accent); flex: none; }
.newsletter-form .btn-cta:hover { background: var(--accent-soft); border-color: var(--accent-soft); }

.footer-bottom {
    margin-top: 56px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
    font-size: .84rem; color: #8a857a;
}
.footer-bottom .developed-by a { color: var(--accent-soft); font-weight: 600; }
.footer-bottom .developed-by a:hover { color: #fff; }
.footer-bottom .admin-link a { color: #8a857a; }
.footer-bottom .admin-link a:hover { color: var(--accent-soft); }

/* ============================================================
   FLOATING WIDGETS + BACK TO TOP
   ============================================================ */
.float-actions {
    position: fixed; right: 18px; bottom: 18px; z-index: 1040;
    display: flex; flex-direction: column; gap: 12px;
}
.float-actions a {
    width: 52px; height: 52px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.4rem; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .45);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.float-actions a:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.fa-whatsapp { background: #25D366; }
.fa-call { background: var(--ink); }
.fa-call:hover { background: var(--accent); }

.back-to-top {
    position: fixed; right: 18px; bottom: 84px; z-index: 1040;
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-sm);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============================================================
   FORMS (public)
   ============================================================ */
.form-control, .form-select {
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
    color: var(--ink); padding: 11px 14px; font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); outline: none;
}
.form-label { font-weight: 600; font-size: .85rem; color: var(--ink-soft); margin-bottom: 6px; }

/* Breadcrumbs (rendered by _Breadcrumbs partial) */
.breadcrumb { font-size: .82rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .active, .breadcrumb-item.active { color: var(--ink); }

/* Notice bar */
.notice-bar { background: var(--ink); color: #efece4; text-align: center; padding: 8px 16px; font-size: .85rem; }
.notice-bar a { color: var(--accent-soft); }

/* Error page */
.error-page { min-height: 70vh; display: flex; align-items: center; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--accent); margin-bottom: .4rem; }

/* ============================================================
   MOTION — only augment; never set opacity:0 globally (motion.js owns .reveal)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hero-slide, .brand-mark, .album-card, .service-card, .package-card,
    .team-card, .process-step, .testi-card, .stat-tile, .cat-tile, .post-card,
    .album-cover img, .team-card .team-photo img, .cat-tile .cat-img img,
    .insta-item img, .float-actions a, .back-to-top, .btn-cta, .btn-outline-ink {
        transition: none !important;
        animation: none !important;
    }
    .aperture-underline::after { transition: none; }
}

/* ============================================================
   RESPONSIVE — 4 breakpoints (991 / 767 / 480 / print)
   ============================================================ */

/* Bootstrap gutter taming (mobile safety net) */
@media (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* break-word safety on long words/URLs (mobile safety net) */
.container, h1, h2, h3, h4, p, a, span, li { overflow-wrap: break-word; }

/* ---- Tablet ---- */
@media (max-width: 991.98px) {
    .section { padding: 64px 0; }
    .navbar-collapse {
        background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
        margin-top: 12px; padding: 14px 16px; box-shadow: var(--shadow-md);
    }
    .navbar-nav .nav-link { padding: 10px 4px; }
    .navbar-nav .nav-link::after { display: none; }
    .header-search { margin: 10px 0; width: 100%; }
    .header-search .form-control, .header-search .form-control:focus { width: 100%; }
    .lang-toggle { display: inline-flex; margin-top: 6px; }
    .insta-grid { grid-template-columns: repeat(4, 1fr); }
    .hero { min-height: 70vh; }
    .section-head { margin-bottom: 36px; }
}

/* ---- Mobile ---- */
@media (max-width: 767.98px) {
    .section { padding: 48px 0; }
    .album-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-content h1, .hero-content .display-head { font-size: clamp(2rem, 9vw, 2.8rem); }
    .hero-actions { gap: 10px; }
    .hero-actions .btn-cta, .hero-actions .btn-outline-ink { flex: 1 1 auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }
    .package-card.popular { transform: none; }
    .float-actions a { width: 48px; height: 48px; font-size: 1.25rem; }
}

/* ---- Phone ---- */
@media (max-width: 480px) {
    body { font-size: 15px; }
    .section { padding: 40px 0; }
    .display-head { font-size: clamp(1.7rem, 8vw, 2.2rem); }
    .album-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .brand-name { font-size: 1.3rem; max-width: calc(100vw - 84px); overflow: hidden; text-overflow: ellipsis; }
    .lead { font-size: 1rem; }
    .package-card, .testi-card, .service-card .svc-body, .process-step { padding-left: 20px; padding-right: 20px; }
    .float-actions { right: 12px; bottom: 12px; }
    .back-to-top { right: 12px; bottom: 74px; }
}

/* ---- Print ---- */
@media print {
    .site-header, .site-footer, .float-actions, .back-to-top,
    .navbar-toggler, .header-search, .lang-toggle, .notice-bar { display: none !important; }
    body { background: #fff; color: #000; }
    .section { padding: 16px 0; }
    a { color: #000; text-decoration: underline; }
    .hero, .page-hero { background: #fff; color: #000; min-height: auto; }
    .hero-slide::after, .page-hero::before { display: none; }
    .hero-content, .hero-content h1, .page-hero h1 { color: #000; text-shadow: none; }
}
