/* Bangladeshi Matrimony USA — premium homepage (2026-10-28, approved v5 menu).
   Burgundy #671F32 · Champagne Gold #C5A46D · Warm Ivory #FBF5EC ·
   Deep Emerald #244C43 · Charcoal #27242A · White #FFFFFF.
   Loaded after style.css. Typography: Playfair Display headings,
   Inter body, Noto Sans Bengali for Bangla (Google Fonts, system fallbacks).
   This file styles the public header/footer and the homepage only; it does
   not change any backend route, query, or permission. */
:root{--burg:#671F32;--burg-d:#4d1625;--gold:#C5A46D;--ivory:#FBF5EC;--emer:#244C43;--char:#27242A}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
h1,h2,h3{font-family:"Playfair Display",Georgia,"Times New Roman",serif}
.bn{font-family:"Noto Sans Bengali",sans-serif}
/* ---- premium header: logo left, nav middle, actions right, one row ---- */
header.site .topbar{max-width:1200px;padding:14px 20px;gap:12px;flex-wrap:nowrap}
header.site .logo{flex-shrink:0}
header.site .logo img.logo-lockup{height:40px;width:auto;display:block}
header.site .logo img.logo-lockup-compact{display:none;height:30px;width:auto}
header.site nav.main{display:flex;gap:16px;align-items:center;justify-content:center;flex:1;flex-wrap:nowrap;white-space:nowrap}
header.site nav.main a{margin-right:0;font-size:14px;font-weight:600;color:var(--char)}
header.site nav.main a:hover{color:var(--burg)}
.premium-actions{display:flex;gap:12px;align-items:center;flex-shrink:0;white-space:nowrap}
.premium-actions .btn{padding:11px 20px;font-size:14px}
.premium-actions .lang{font-size:14px;font-weight:700}
.premium-actions .lang a{color:var(--char);text-decoration:none}
#navToggle{display:none;font-size:24px;font-weight:700;cursor:pointer;padding:6px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;line-height:1}
@media(max-width:1024px){
  #navToggle{display:block}
  header.site .logo img.logo-lockup{display:none}
  header.site .logo img.logo-lockup-compact{display:block}
  header.site nav.main{display:none;flex-direction:column;align-items:flex-start;flex-basis:100%;gap:0;padding-top:10px}
  header.site nav.main.open{display:flex}
  header.site nav.main a{display:block;padding:10px 4px;border-top:1px solid var(--line);width:100%}
  header.site .topbar{flex-wrap:wrap}
  .premium-actions{margin-left:auto}
}
/* ---- premium homepage ---- */
.premium{max-width:1200px;margin:0 auto;padding:0 18px 40px}
.premium{font-size:16px;line-height:1.6}
.premium-hero{display:grid;grid-template-columns:1.05fr .95fr;background:var(--ivory);border-radius:28px;overflow:hidden;border:1px solid #e8ddd0}
.premium-hero-text{padding:52px 44px 88px}
.premium-eyebrow{letter-spacing:.14em;font-size:12px;font-weight:800;color:var(--burg);text-transform:uppercase}
.premium-hero-text h1{font-size:52px;line-height:1.08;margin:16px 0;color:var(--char)}
.premium-hero-text h1 em{color:var(--burg);font-style:normal}
.premium-hero-text p{font-size:18px;color:#4a4550;max-width:520px}
.premium-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.premium-cta .btn{background:var(--burg)}
.premium-cta .btn:hover{background:var(--burg-d)}
.premium-cta .btn.outline{background:#fff;color:var(--burg);border:1.5px solid var(--burg)}
.premium-trust{margin-top:26px;font-size:14px;color:var(--emer);font-weight:600}
.premium-hero-img{background:linear-gradient(135deg,#7d2a40,var(--burg) 55%,var(--emer));color:#fff;padding:36px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative}
.premium-hero-img img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.premium-hero-img .ph{position:relative}
.premium-hero-img h3{color:#fff;font-size:26px;margin:10px 0 6px}
.premium-hero-img p{color:rgba(255,255,255,.88);max-width:340px;font-size:15px}
.premium-hero-img .cap{font-size:12px;color:rgba(255,255,255,.75);max-width:340px}
.premium-search{margin:-56px 28px 0;position:relative;z-index:2;background:#fff;border:1px solid #e8ddd0;border-radius:20px;padding:22px 24px;box-shadow:0 10px 30px rgba(39,36,42,.12)}
.premium-search h2{margin:0 0 14px;font-size:24px}
.premium-search form{display:grid;grid-template-columns:1.1fr 1fr 1fr 1fr auto;gap:12px;align-items:end}
.premium-search label{font-size:13px;font-weight:700;display:block}
.premium-search select,.premium-search input{width:100%;padding:11px;border:1px solid #d8cbbb;border-radius:10px;margin-top:5px;font-size:15px;background:#fff}
.premium-search .note{font-size:13px;color:#6b6570;margin:12px 0 0}
.premium-sec{padding:56px 10px 0}
.premium-sec h2{font-size:34px;margin:0 0 8px}
.premium-sec .sub{color:#5a5460;max-width:680px;margin:0 0 24px}
.premium-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.premium-card{border:1px solid #e8ddd0;border-radius:18px;padding:20px;background:#fff}
.premium-card .init{width:64px;height:64px;border-radius:50%;background:var(--ivory);border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;font-family:"Playfair Display",serif;font-size:24px;color:var(--burg);font-weight:700}
.premium-card p{margin:8px 0}
.premium-card .muted{color:#6b6570;font-size:14px}
.premium-badge{display:inline-block;background:#eef4f1;color:var(--emer);border-radius:999px;padding:3px 11px;font-size:12px;font-weight:700}
.premium-founders{background:linear-gradient(135deg,var(--ivory),#fff);border:1px solid var(--gold);border-radius:20px;padding:30px;text-align:center}
.premium-founders h3{font-size:28px;margin:0 0 8px}
.premium-values{display:grid;grid-template-columns:.9fr 1.1fr;border-radius:20px;overflow:hidden;border:1px solid #e8ddd0}
.premium-values-img{background:var(--emer);color:#fff;padding:40px;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}
.premium-values-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.premium-values-img .vi{position:relative}
.premium-values-img h3{color:#fff;font-size:30px}
.premium-values-img p{color:rgba(255,255,255,.88)}
.premium-values-text{padding:36px;background:#fff}
.premium-timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:0}
.premium-step{padding:22px 18px 0;border-top:3px solid var(--gold);position:relative}
.premium-step b{display:block;width:34px;height:34px;border-radius:50%;background:var(--burg);color:#fff;text-align:center;line-height:34px;position:absolute;top:-19px;left:18px}
.premium-step h3{margin:14px 0 6px;font-size:20px}
.premium-trust-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.premium-trust-grid h3{color:var(--emer)}
.premium-chips{display:flex;flex-wrap:wrap;gap:10px}
.premium-chip{border:1.5px solid var(--burg);color:var(--burg);border-radius:999px;padding:9px 18px;font-weight:700;text-decoration:none;background:#fff}
.premium-chip:hover{background:var(--burg);color:#fff}
.premium-pricing{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.premium-price{border:1px solid #e8ddd0;border-radius:20px;padding:26px;background:#fff}
.premium-price.feature{border:2px solid var(--gold);background:var(--ivory)}
.premium-price .amt{font-family:"Playfair Display",serif;font-size:40px;color:var(--burg)}
.premium-cta-band{margin-top:44px;background:var(--burg);color:#fff;border-radius:28px;padding:40px 32px;text-align:center}
.premium-cta-band h2{color:#fff}
.premium-cta-band p{color:rgba(255,255,255,.88)}
.premium-cta-band .btn.gold{background:var(--gold);color:var(--char)}
@media(max-width:1024px){
  .premium-hero{grid-template-columns:1fr}
  .premium-hero-text{padding:32px 24px 44px}.premium-hero-text h1{font-size:38px}
  .premium-search{margin:-28px 14px 0}
  .premium-search form{grid-template-columns:1fr 1fr}
  .premium-cards,.premium-trust-grid,.premium-pricing{grid-template-columns:1fr 1fr}
  .premium-timeline{grid-template-columns:1fr 1fr}
  .premium-values{grid-template-columns:1fr}
}
@media(max-width:600px){
  .premium-hero-text h1{font-size:34px}
  .premium-search form{grid-template-columns:1fr}
  .premium-cards,.premium-trust-grid,.premium-pricing{grid-template-columns:1fr}
  .premium-timeline{grid-template-columns:1fr}
  .premium-step{border-top:0;border-left:3px solid var(--gold);padding:0 0 22px 20px}
  .premium-step b{top:0;left:-19px}
  .premium-sec h2{font-size:26px}
}
/* ---- premium footer (burgundy) ---- */
footer.site{background:var(--burg)}
footer.site .inner{grid-template-columns:1.4fr 1fr 1fr 1fr}
footer.site h3{color:var(--gold);font-size:13px;letter-spacing:.1em;text-transform:uppercase}
footer.site a{color:rgba(255,255,255,.85)}
@media(max-width:850px){footer.site .inner{grid-template-columns:1fr}}

/* Full-width homepage (2026-10-28 fix): the site <main> wrapper is 1120px,
   which is why the hero looked like a centred card, not a full-width banner.
   Only the homepage breaks out: its <main> gets class premium-main. */
.premium-actions .btn{background:var(--burg);color:#fff}
.premium-actions .btn:hover{background:var(--burg-d)}
main.premium-main{max-width:none;padding:22px 0 90px}
main.premium-main .premium{max-width:none;padding:0}
main.premium-main .premium-hero{border-radius:0}
main.premium-main .premium-hero-text{padding-left:max(44px,calc((100vw - 1200px)/2 + 44px))}
main.premium-main .premium-search{max-width:1200px;margin-left:auto;margin-right:auto}
main.premium-main .premium-sec{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:28px;padding-right:28px}
main.premium-main .premium-cta-band{max-width:1200px;margin-left:auto;margin-right:auto}
@media(max-width:1024px){
  main.premium-main .premium-hero-text{padding-left:24px}
  main.premium-main .premium-sec{padding-left:16px;padding-right:16px}
}

/* ---- Interactive hero showcase + Premium teaser (2026-10-29) ----
   One card at a time on every screen size; vanilla JS only (in home.php).
   Bengali-inspired pattern: gold double-ring motif on the card avatar. */
.premium-hero-showcase{background:linear-gradient(135deg,#7d2a40,var(--burg) 55%,var(--emer));padding:28px;display:flex;flex-direction:column;gap:18px}
.hero-carousel{background:#fff;border-radius:20px;padding:22px;box-shadow:0 10px 30px rgba(0,0,0,.18);min-width:0}
.hero-carousel:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.hero-carousel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.hero-carousel-head h2{font-size:22px;margin:0}
.hero-carousel-count{font-size:13px;color:#6b6570;font-weight:700;white-space:nowrap}
.hero-slide{min-width:0}
.hero-demo-badge{display:inline-block;background:#FFFBEB;border:1px solid var(--gold);color:#92400E;border-radius:999px;padding:4px 12px;font-size:12px;font-weight:800;letter-spacing:.02em}
.hero-card-init{width:72px;height:72px;border-radius:50%;background:var(--ivory);border:2px solid var(--gold);outline:2px solid rgba(197,164,109,.35);outline-offset:3px;display:flex;align-items:center;justify-content:center;font-family:"Playfair Display",serif;font-size:28px;color:var(--burg);font-weight:700;margin:14px 0 8px}
.hero-slide h3{font-size:24px;margin:6px 0}
.hero-slide p{margin:8px 0;color:#4a4550}
.hero-slide .muted{color:#6b6570}
.hero-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.hero-card-actions form{display:inline}
.hero-card-actions .btn{background:var(--burg);color:#fff}
.hero-card-actions .btn.outline{background:#fff;color:var(--burg);border:1.5px solid var(--burg)}
.hero-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}
.hero-car-btn{background:#fff;border:1.5px solid var(--burg);color:var(--burg);border-radius:999px;padding:9px 16px;font-weight:700;cursor:pointer;font-size:14px}
.hero-car-btn:hover{background:var(--burg);color:#fff}
.hero-car-btn:focus-visible,.hero-dot:focus-visible,.hero-dialog .btn:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.hero-dots{display:flex;gap:8px}
.hero-dot{width:12px;height:12px;border-radius:50%;border:1px solid var(--burg);background:#fff;cursor:pointer;padding:0}
.hero-dot.active{background:var(--burg)}
.hero-carousel-note{margin:10px 0 0}
.hero-dialog{border:1px solid #e8ddd0;border-radius:20px;padding:28px;max-width:480px}
.hero-dialog::backdrop{background:rgba(39,36,42,.55)}
.hero-dialog h3{margin-top:0}
.hero-premium-teaser{background:rgba(255,255,255,.96);border:1px solid var(--gold);border-radius:20px;padding:22px}
.hero-premium-teaser h3{font-size:22px;margin:0 0 8px;color:var(--char)}
.hero-premium-teaser p{color:#4a4550;margin:8px 0}
.hero-premium-teaser ul{margin:10px 0 10px 18px;color:#4a4550}
.hero-premium-teaser .btn.gold{background:var(--gold);color:var(--char)}
/* ---- Quick match search redesign: professional fields, one row on desktop ---- */
.premium-search form{grid-template-columns:1.1fr 1fr 1fr 1fr 1fr auto}
.premium-search label{font-size:13px;font-weight:700;color:var(--char)}
.premium-search select,.premium-search input{border:1.5px solid #d8cbbb}
.premium-search select:focus,.premium-search input:focus{outline:2px solid var(--gold);border-color:var(--burg)}
.premium-search .btn{background:var(--burg);padding:12px 22px;font-size:15px;white-space:nowrap}
@media(max-width:1024px){
  .premium-hero-showcase{padding:20px}
  .premium-search form{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .premium-hero-showcase{padding:16px}
  .hero-carousel{padding:18px}
  .hero-card-actions .btn{padding:10px 16px}
  .premium-search form{grid-template-columns:1fr}
  .premium-search .btn{width:100%}
}
@media(prefers-reduced-motion: reduce){
  .hero-carousel,.hero-slide{scroll-behavior:auto}
}
