/* Header styles — public/assets/css/header.css */

/* ================= FONT =================
   Original site "ams" naame ekta Varendra-style font (300/400/600/700) use kore.
   Nijer licensed copy thakle public/assets/fonts/ e rakhle auto kaj korbe;
   na thakle Noto Serif Bengali-te fallback hobe (kono error hobe na). */
@font-face{ font-family:ams; src:url('../fonts/VarendraAP-Light_v7.ttf');    font-weight:300; font-display:swap; }
@font-face{ font-family:ams; src:url('../fonts/VarendraAP-Regular_v7.ttf');  font-weight:400; font-display:swap; }
@font-face{ font-family:ams; src:url('../fonts/VarendraAP-Semibold_v7.ttf'); font-weight:600; font-display:swap; }
@font-face{ font-family:ams; src:url('../fonts/VarendraAP-Bold_v7.ttf');     font-weight:700; font-display:swap; }

/* ================= CONTAINER =================
   Original (Tailwind) container: 640 / 768 / 1024 / 1280px, side padding 16px.
   Bootstrap-er container 1140/1320 chhilo, tai header-er jayga kom porchhilo.
   Pura site-e original-er moto korte chaile rakho, na chaile ei block-ta muche dao. */
.container{ padding-left:16px; padding-right:16px; }
@media (min-width:1024px){ .container{ max-width:1024px; } }
@media (min-width:1200px){ .container{ max-width:1280px; } }
@media (min-width:1400px){ .container{ max-width:1280px; } }

/* ================= HEADER — original-এর মাপ অনুযায়ী ================= */
.ash-header{
  font-family:ams, 'Noto Serif Bengali', sans-serif;
  width:100%; max-width:100%; background:#fff;
  position:sticky; top:0; z-index:1030;
  transition:transform .4s ease-in-out;
}
.ash-header, .ash-header *{ box-sizing:border-box; }
.ash-header.ash-hide{ transform:translateY(-100%); }
html, body{ max-width:100%; overflow-x:hidden; }

/* ---- সাইটের Bootstrap/banglait CSS যাতে হেডার না ভাঙে ---- */
.ash-header button{
  border:0 !important; background:transparent !important; box-shadow:none !important;
  outline:0; border-radius:0 !important; font:inherit; line-height:1;
}
.ash-header ul, .ash-header li{ list-style:none !important; margin:0; }
.ash-header a{ text-decoration:none !important; }
.ash-header .ash-areas > li > a span{ font-size:20px !important; line-height:28px !important; font-weight:600 !important; }
.ash-header .ash-nav ul{ font-size:20px !important; line-height:28px !important; font-weight:600 !important; }
.ash-header .ash-nav a, .ash-header .ash-nav a span{ font-size:inherit !important; line-height:inherit !important; font-weight:inherit !important; }
.ash-header .ash-nav .ash-ep .tx{ font-weight:700 !important; }
.ash-header .ash-sub a, .ash-header .ash-sub a span{ font-size:17px !important; font-weight:400 !important; }
.ash-header .ash-areas, .ash-header .ash-areas > li > a{ color:#212529; }
.ash-header .ash-nav, .ash-header .ash-nav a{ color:#212529; }
.ash-header .ash-areas > li > a:hover, .ash-header .ash-nav a:hover{ color:#3b82f6 !important; }

/* সারি ১ */
.ash-top{ padding-top:.75rem; }                         /* pt-3 */
.ash-top-inner{ display:flex; align-items:center; }
.ash-brand{ display:flex; align-items:center; justify-content:center; padding:1rem 0; flex-shrink:0; } /* py-4 */
.ash-burger{
  display:flex; align-items:center; justify-content:flex-start;
  padding-right:1.25rem;                                /* pr-5 */
  color:#4b5563; background:none; border:0; cursor:pointer;  /* gray-600 */
}
.ash-logo{ display:block; padding-right:1.75rem; text-decoration:none; }  /* pr-7 */
.ash-logo img{ width:12rem; height:auto; display:block; }
.ash-logo span{ font-size:2rem; font-weight:900; color:#000; white-space:nowrap; }

/* উপরের এলাকা মেনু (শুধু ডেস্কটপ) */
.ash-areas-wrap{ display:none; }
.ash-areas{ list-style:none; margin:0; padding:0; display:flex; align-items:center; gap:1rem; } /* gap-4 */
.ash-areas > li{ position:relative; }
.ash-areas > li > a{
  display:flex; align-items:center; text-decoration:none; color:inherit; cursor:pointer;
}
.ash-areas > li > a span{
  display:inline-block; white-space:nowrap; font-size:1.25rem; line-height:1.75rem; /* text-xl */
}
.ash-areas > li > a:hover{ color:#3b82f6; }              /* blue-500 */

/* ড্রপডাউন */
.ash-areas .ash-sub{
  display:none; position:absolute; top:26px; left:-.5rem; width:10rem; z-index:50;
  background:#fff; padding:.5rem 0; font-size:17px; border:1px solid #e5e7eb; border-radius:.5rem;
  list-style:none; margin:0;
}
.ash-areas > li:hover > .ash-sub{ display:block; }
.ash-areas .ash-sub li{ padding:.25rem .75rem; display:flex; }
.ash-areas .ash-sub a{ color:#000; text-decoration:none; width:100%; }
.ash-areas .ash-sub a:hover{ color:#3b82f6; }

/* সারি ২ — নেভ */
.ash-nav{
  display:flex; align-items:center;
  border-top:1px solid #BEBDBD; border-bottom:1px solid #BEBDBD;
  overflow-x:auto; -ms-overflow-style:none; scrollbar-width:none;
  width:100%;
}
.ash-nav::-webkit-scrollbar{ display:none; }
.ash-nav ul{
  list-style:none; margin:0; padding:0 .25rem; flex:0 0 auto;
  display:flex; align-items:center; gap:1.5rem;           /* gap-6 */
  font-size:1.25rem; line-height:1.75rem; font-weight:600; /* text-xl font-semibold */
}
.ash-nav ul:first-child{ margin-left:auto; }
.ash-nav ul:last-child{ margin-right:auto; }
.ash-nav a{
  display:flex; align-items:center; color:inherit; text-decoration:none;
  padding-top:.5rem; padding-bottom:.5rem;                /* py-2 */
}
.ash-nav a:hover{ color:#3b82f6; }
.ash-nav a span.t{ display:inline-block; white-space:nowrap; }
.ash-nav .ash-ep a{ gap:.5rem; }
.ash-nav .ash-ep a:hover{ color:#000; }
.ash-nav .ash-ep .ic{ font-size:24px; margin-bottom:.25rem; display:inline-flex; }
.ash-nav .ash-ep .tx{ font-weight:700; }
.ash-ep-desktop{ display:none; }

/* ডেস্কটপ ≥1024px (Tailwind lg) */
@media (min-width:1024px){
  .ash-logo{ border-right:2px solid #6b7280; }           /* lg:border-r-2 border-gray-500 */
  .ash-logo img{ width:15rem; }                          /* lg:w-[15rem] */
  .ash-areas-wrap{ display:flex; justify-content:flex-start; align-items:center; gap:1rem; padding-left:1.75rem; font-weight:600; } /* pl-7 */
  .ash-nav{ overflow:hidden; }                           /* ডেস্কটপে ডান-বাম স্ক্রল বন্ধ */
  .ash-nav ul{ padding:0; gap:1.5rem; }
  .ash-nav a{ padding-top:1rem; padding-bottom:1rem; }   /* lg:py-4 */
  .ash-ep-mobile{ display:none !important; }
  .ash-ep-desktop{ display:block; }
  .ash-ep-desktop a{ margin-left:1.5rem; }               /* ml-6 */
}
