/* ═══════════════════════════════════════════════════════════════════
   Asmira Paint — Public Website Stylesheet
   Bootstrap 5.3 companion
   ═══════════════════════════════════════════════════════════════════ */

/* ── Design tokens ─────────────────────────────────────────────────── */
:root {
  --brand:         #E07B2D;
  --brand-dk:      #C4601A;
  --navy:          #1C2B3A;
  --navy-dk:       #0F1B26;
  --text:          #1A1A2E;
  --muted:         #64748B;
  --bg:            #F4F8FC;
  --white:         #FFFFFF;
  --border:        #E2E8F0;
  --ease:          cubic-bezier(.4,0,.2,1);
  --dur:           .28s;
  --topbar-h:      32px;
  --navbar-h:      36px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
}

a { text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ── Top bar ───────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dk);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar a { color: var(--brand); }

@media (min-width: 768px) {
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1032;
    width: 100%;
  }
  nav.site-navbar {
    top: var(--topbar-h);
  }
}

/* ── Main Navbar ───────────────────────────────────────────────────── */
.site-navbar {
  background: var(--navy);
  padding: 4px 0;
  transition: padding var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.site-navbar.scrolled {
  background: rgba(15,27,38,.97);
  backdrop-filter: blur(8px);
  padding: 3px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

/* Brand */
.site-navbar .navbar-brand { text-decoration: none; }

.site-navbar .navbar-brand img {
  height: 28px;
  width: auto;
  max-width: none;
}

.nav-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  letter-spacing: .05em;
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: .46rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  line-height: 1;
}

/* Nav links */
.site-navbar .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.82) !important;
  padding: 6px 14px;
  border-radius: 7px;
  transition: color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: #fff !important;
  background: rgba(255,255,255,.1);
}

/* Dropdown */
.site-navbar .dropdown-menu {
  background: #131f2b;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  padding: 8px;
  margin-top: 10px;
  min-width: 210px;
}

.site-navbar .dropdown-item {
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background var(--dur), color var(--dur);
}

.site-navbar .dropdown-item:hover {
  background: rgba(224,123,45,.15);
  color: var(--brand);
}

.site-navbar .dropdown-divider { border-color: rgba(255,255,255,.09); }

/* Staff Login button */
.btn-staff {
  background: var(--brand);
  color: #fff !important;
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 7px;
  border: none;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  display: inline-block;
}

.btn-staff:hover {
  background: var(--brand-dk);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224,123,45,.35);
}

/* ── Hero Carousel ─────────────────────────────────────────────────── */
.hero-carousel { margin-top: var(--navbar-h); }

@media (min-width: 768px) {
  .hero-carousel { margin-top: calc(var(--topbar-h) + var(--navbar-h)); }
}

.hero-slide {
  height: 100vh;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(10,20,30,.88) 0%,
    rgba(28,43,58,.65) 55%,
    rgba(10,20,30,.25) 100%
  );
}


.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(224,123,45,.18);
  border: 1px solid rgba(224,123,45,.45);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-title .accent { color: var(--brand); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 520px;
}

.btn-hero-primary {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 14px 34px;
  border-radius: 10px;
  font-size: 1rem;
  border: 2px solid var(--brand);
  transition: all var(--dur) var(--ease);
}

.btn-hero-primary:hover {
  background: var(--brand-dk);
  border-color: var(--brand-dk);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224,123,45,.35);
}

.btn-hero-outline {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 10px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.38);
  transition: all var(--dur) var(--ease);
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: none !important;
  background-color: rgba(255,255,255,.45) !important;
  margin: 0 4px;
  opacity: 1 !important;
  transition: all var(--dur) !important;
}

.carousel-indicators .active {
  background-color: var(--brand) !important;
  width: 26px !important;
  border-radius: 4px !important;
}

/* ── Section helpers ───────────────────────────────────────────────── */
.section-pad { padding: 90px 0; }

.section-header { text-align: center; margin-bottom: 56px; }

.eyebrow {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Divider pill */
.divider-pill {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--brand);
  margin: 0 auto 16px;
}

/* ── Product Cards (homepage) ──────────────────────────────────────── */
.pcard {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.pcard-img-wrap {
  height: 200px;
  overflow: hidden;
}

.pcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.pcard:hover .pcard-img-wrap img { transform: scale(1.06); }

.pcard-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pcard-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.pcard-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.pcard-desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.pcard-link {
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--dur), color var(--dur);
}

.pcard-link:hover {
  color: var(--brand-dk);
  gap: 10px;
}

/* ── Stats Section ─────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0a1929 100%);
  padding: 70px 0;
}

.stat-item { text-align: center; padding: 16px 24px; }

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

.stat-sep {
  width: 1px;
  height: 64px;
  background: rgba(255,255,255,.12);
  margin: auto;
}

@media (max-width:767px) { .stat-sep { display: none; } }

/* ── About Section ─────────────────────────────────────────────────── */
.about-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}

.about-img-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 16px;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  background: var(--brand);
  color: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(224,123,45,.4);
  min-width: 100px;
}

.about-experience-badge .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.2;
  margin-top: 4px;
}

.feat-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(224,123,45,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feat-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.feat-desc {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn-primary-brand {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 9px;
  border: none;
  font-size: .95rem;
  transition: background var(--dur), transform var(--dur), box-shadow var(--dur);
  display: inline-block;
}

.btn-primary-brand:hover {
  background: var(--brand-dk);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224,123,45,.3);
}

.btn-outline-brand {
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 9px;
  border: 2px solid var(--brand);
  font-size: .95rem;
  transition: all var(--dur);
  display: inline-block;
}

.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}

/* ── Clients Marquee ───────────────────────────────────────────────── */
.clients-section {
  background: var(--bg);
  padding: 56px 0;
  overflow: hidden;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
}

.clients-marquee::before,
.clients-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.clients-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.clients-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 32s linear infinite;
  width: max-content;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  height: 44px;
  width: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(.7);
  opacity: .7;
  transition: filter var(--dur), opacity var(--dur);
  flex-shrink: 0;
}

.client-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* ── CTA Band ──────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(130deg, var(--brand) 0%, #b84e10 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.btn-cta-white {
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  transition: all var(--dur);
  display: inline-block;
}

.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  color: var(--brand-dk);
}

.btn-cta-ghost {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.45);
  font-size: 1rem;
  transition: all var(--dur);
  display: inline-block;
}

.btn-cta-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ── Page Hero (inner pages) ───────────────────────────────────────── */
.page-hero {
  padding: 0;
  margin-top: var(--navbar-h);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .page-hero { margin-top: calc(var(--topbar-h) + var(--navbar-h)); }
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(15,27,38,.55) 0%,
    rgba(15,27,38,.75) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 100px 0 52px;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.page-hero-sub,
.page-hero-subtitle {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0;
  line-height: 1.6;
}

.breadcrumb-hero { margin-bottom: 14px; }

.breadcrumb-item, .breadcrumb-item a {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
}

.breadcrumb-item.active { color: rgba(255,255,255,.85); }

.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ── Products Page ─────────────────────────────────────────────────── */
.ptype-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
  height: 100%;
}

.ptype-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.09);
  border-color: rgba(224,123,45,.3);
}

.ptype-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.product-pill {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: .78rem;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 3px 3px 3px 0;
}

/* Product category page */
.product-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: transform var(--dur), box-shadow var(--dur);
}

.product-detail-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* ── Contact Page ──────────────────────────────────────────────────── */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-row:last-child { border-bottom: none; }

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(224,123,45,.1);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.ci-value {
  font-size: .9rem;
  color: var(--text);
  line-height: 1.4;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
}

@media (min-width: 768px) {
  .msgs-wrap { margin-top: calc(var(--topbar-h) + var(--navbar-h)) !important; }
}

/* ── Site Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-dk);
}

.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: .05em;
}

.footer-brand-sub {
  font-size: .55rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  color: rgba(255,255,255,.58);
  font-size: .875rem;
  transition: color var(--dur);
}

.footer-links a:hover { color: var(--brand); }

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: .85rem;
  color: rgba(255,255,255,.58);
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.social-pill {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: background var(--dur), color var(--dur);
}

.social-pill:hover {
  background: var(--brand);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-carousel { margin-top: 42px; }
  .site-navbar .nav-link { padding: 8px 16px; }
}

@media (max-width: 767px) {
  .hero-slide { height: 85vh; min-height: 500px; }
  .section-pad { padding: 64px 0; }
  .about-img-wrap img { height: 320px; }
  .about-experience-badge { right: 8px; bottom: -16px; }
}

@media (max-width: 575px) {
  .hero-slide { height: 90vh; min-height: 480px; }
  .hero-sub { font-size: .95rem; }
  .cta-title { font-size: 1.7rem; }
}
