/* ============================================================
   Asia Aluminum — Custom CSS (Bootstrap 5 Overrides)
   ============================================================ */

/* --- CSS Variables ---------------------------------------- */
:root {
  --asia-navy:        #0d1e35;
  --asia-navy-dark:   #091525;
  --asia-navy-mid:    #112237;
  --asia-orange:      #e85d26;
  --asia-orange-dark: #c94a18;
  --asia-amber:       #f5a623;
  --asia-bg:          #f7f5f1;
  --asia-border:      #e8e4dd;

  /* Override Bootstrap */
  --bs-primary:       #e85d26;
  --bs-primary-rgb:   232, 93, 38;
  --bs-body-font-family: 'Heebo', sans-serif;
  --bs-body-direction: rtl;
}

/* --- Base -------------------------------------------------- */
body {
  font-family: 'Heebo', sans-serif;
  direction: rtl;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

/* Skip link */
.skip-link {
  position: absolute; top: -100px; right: 0;
  background: var(--asia-orange); color: #fff;
  padding: 8px 16px; font-size: 13px; font-weight: 700;
  border-radius: 0 0 6px 6px; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: #0a1628;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar a { color: rgba(255,255,255,0.45); text-decoration: none; }
.topbar a:hover { color: rgba(255,255,255,0.7); }
.topbar__phone { color: rgba(255,255,255,0.7) !important; font-weight: 500; }
.topbar__wa {
  background: #25D366; color: #fff !important;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px; border-radius: 3px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-asia {
  background: var(--asia-navy-mid) !important;
  border-bottom: 2px solid var(--asia-orange);
  padding: 0;
  min-height: 64px;
}
.navbar-asia .navbar-brand { padding: 12px 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--asia-orange), var(--asia-amber));
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.logo-text .line1 { font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.logo-text .line2 { font-size: 9px; font-weight: 300; color: rgba(255,255,255,0.4); letter-spacing: 0.05em; }

/* Nav links */
.navbar-asia .nav-link {
  color: rgba(255,255,255,0.7) !important;
  font-size: 13px; padding: 0 14px !important;
  height: 64px; display: flex; align-items: center;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.navbar-asia .nav-link:hover,
.navbar-asia .nav-link.active {
  color: #fff !important;
  border-bottom-color: var(--asia-orange);
}
.navbar-asia .dropdown-menu {
  background: var(--asia-navy);
  border: none;
  border-top: 2px solid var(--asia-orange);
  border-radius: 0 0 6px 6px;
  padding: 8px 0;
  min-width: 200px;
}
.navbar-asia .dropdown-item {
  color: rgba(255,255,255,0.65);
  font-size: 13px; padding: 9px 18px;
  transition: all 0.2s;
}
.navbar-asia .dropdown-item:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
  padding-right: 22px;
}
.btn-cta {
  background: var(--asia-orange) !important;
  color: #fff !important; font-size: 12px;
  font-weight: 700; padding: 9px 18px !important;
  border-radius: 4px !important; border: none !important;
  height: auto !important; border-bottom: none !important;
  width: auto !important; display: inline-flex !important;
  align-items: center; white-space: nowrap;
  transition: background 0.2s; line-height: 1.2;
  margin-right: 8px;
}
.btn-cta:hover { background: var(--asia-orange-dark) !important; }
/* prevent collapse menu CTA from stretching full width on mobile */
.navbar-collapse .btn-cta { width: 100% !important; justify-content: center; margin: 8px 0; }

/* Mobile */
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2C255%2C255%2C0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (max-width: 991px) {
  .navbar-asia .nav-link { height: auto; padding: 12px 16px !important; border-bottom: none; border-right: 2px solid transparent; }
  .navbar-asia .nav-link:hover, .navbar-asia .nav-link.active { border-right-color: var(--asia-orange); border-bottom: none; }
  .navbar-asia .dropdown-menu { position: static; border-top: none; border-right: 2px solid var(--asia-orange); border-radius: 0; margin-right: 16px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--asia-navy);
  position: relative; overflow: hidden;
  padding: 64px 0 56px;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(232,93,38,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,93,38,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero__glow {
  position: absolute; top: -100px; left: -100px;
  width: 500px; height: 500px; pointer-events: none;
  background: radial-gradient(circle, rgba(232,93,38,0.1) 0%, transparent 65%);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(232,93,38,0.12);
  border: 1px solid rgba(232,93,38,0.3);
  color: var(--asia-orange); font-size: 10px; font-weight: 700;
  padding: 5px 14px; border-radius: 2px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 16px;
}
.hero__eyebrow::before { content:''; width:6px; height:6px; background:var(--asia-orange); border-radius:50%; }
.hero__h1 {
  font-size: 52px; font-weight: 900; color: #fff;
  line-height: 1.05; letter-spacing: -0.025em;
}
.hero__h1 .accent { color: var(--asia-orange); }
.hero__sub { font-size: 15px; color: rgba(255,255,255,0.5); font-weight: 300; line-height: 1.7; }
.hero__pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
  font-size: 11px; padding: 5px 12px; border-radius: 2px;
  text-decoration: none; display: inline-block; margin: 3px;
  transition: all 0.2s;
}
.hero__pill:hover { background: rgba(232,93,38,0.15); border-color: rgba(232,93,38,0.4); color: #fff; }

/* Hero form card */
.hero-form-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--asia-orange);
  border-radius: 6px; padding: 24px;
}
.hero-form-card .form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-family: 'Heebo', sans-serif;
}
.hero-form-card .form-control::placeholder { color: rgba(255,255,255,0.3); }
.hero-form-card .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,93,38,0.5);
  box-shadow: 0 0 0 3px rgba(232,93,38,0.1);
  color: #fff;
}
.btn-submit {
  background: linear-gradient(135deg, var(--asia-orange), #f5862e);
  color: #fff; font-weight: 700; font-size: 13px;
  border: none; padding: 11px; border-radius: 4px;
  transition: opacity 0.2s; font-family: 'Heebo', sans-serif;
}
.btn-submit:hover { opacity: 0.9; color: #fff; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--asia-navy-dark);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.stat-item { text-align: center; padding: 0 20px; }
.stat-item + .stat-item { border-right: 1px solid rgba(255,255,255,0.08); }
.stat-num { font-size: 32px; font-weight: 900; color: var(--asia-orange); line-height: 1; }
.stat-num sup { font-size: 20px; color: var(--asia-amber); }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 4px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-eyebrow {
  font-size: 11px; font-weight: 700; color: var(--asia-orange);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.section-title {
  font-size: 28px; font-weight: 900; color: var(--asia-navy);
  letter-spacing: -0.02em; line-height: 1.2;
}
.section-more {
  font-size: 12px; font-weight: 700; color: var(--asia-orange);
  text-decoration: none;
}
.section-more:hover { color: var(--asia-orange-dark); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  border: 1px solid var(--asia-border);
  border-radius: 6px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.product-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.product-card__img {
  height: 160px; position: relative; overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(13,30,53,0.75));
}
.product-card__label {
  position: absolute; bottom: 10px; right: 14px;
  font-size: 16px; font-weight: 900; color: #fff; z-index: 2;
}
.product-card__body { padding: 14px 16px; background: #fff; }
.product-card__name { font-size: 14px; font-weight: 700; color: var(--asia-navy); margin-bottom: 4px; }
.product-card__desc { font-size: 12px; color: #888; line-height: 1.5; margin-bottom: 8px; }
.product-card__link { font-size: 11px; font-weight: 700; color: var(--asia-orange); text-decoration: none; }

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.project-card {
  border-radius: 6px; overflow: hidden;
  position: relative; display: block; text-decoration: none;
  transition: box-shadow 0.2s;
}
.project-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.2); }
.project-card__inner {
  width: 100%; min-height: 140px;
  display: flex; align-items: flex-end; padding: 16px;
  position: relative;
}
.project-card--featured .project-card__inner { min-height: 300px; }
.project-card__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover .project-card__bg { transform: scale(1.04); }
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 35%, rgba(6,14,26,0.85));
}
.project-card__info { position: relative; z-index: 2; }
.project-card__tag {
  display: inline-block; background: rgba(232,93,38,0.85);
  color: #fff; font-size: 9px; font-weight: 700;
  padding: 2px 8px; border-radius: 2px;
  letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 5px;
}
.project-card__name { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.project-card--featured .project-card__name { font-size: 18px; }

/* ============================================================
   WHY US CARDS
   ============================================================ */
.why-card {
  background: #fff;
  border: 1px solid var(--asia-border);
  border-top: 3px solid var(--asia-orange);
  border-radius: 6px; padding: 22px 18px;
  height: 100%;
  transition: box-shadow 0.2s;
}
.why-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.why-card__icon { font-size: 28px; margin-bottom: 12px; }
.why-card__title { font-size: 14px; font-weight: 700; color: var(--asia-navy); margin-bottom: 6px; }
.why-card__text { font-size: 12px; color: #888; line-height: 1.6; margin: 0; }

/* ============================================================
   MANUFACTURERS BAR
   ============================================================ */
.mfr-bar { background: var(--asia-navy); padding: 20px 0; }
.mfr-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap;
}
.mfr-logo {
  flex: 1; text-align: center; padding: 8px 16px;
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.35); letter-spacing: 0.06em;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mfr-logo:last-child { border-right: none; }
.mfr-logo:hover { color: rgba(255,255,255,0.65); }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--asia-orange), var(--asia-orange-dark));
  padding: 48px 0; position: relative; overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
  content:''; position:absolute;
  background: rgba(255,255,255,0.06); border-radius: 50%;
}
.cta-strip::before { width:200px;height:200px;top:-60px;left:-60px; }
.cta-strip::after  { width:120px;height:120px;bottom:-40px;right:100px; }
.cta-strip__title { font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.cta-strip__sub { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 4px; }
.btn-white { background: #fff; color: var(--asia-orange); font-weight: 700; font-size: 12px; padding: 10px 22px; border-radius: 4px; text-decoration: none; transition: opacity 0.2s; }
.btn-white:hover { opacity: 0.9; color: var(--asia-orange); }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; font-weight: 500; font-size: 12px; padding: 10px 22px; border-radius: 4px; text-decoration: none; transition: background 0.2s; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #060e1a; }
.site-footer__top { padding: 48px 0 32px; }
.footer-logo .line1 { font-size: 16px; font-weight: 700; color: #fff; }
.footer-logo .line2 { font-size: 9px; color: rgba(255,255,255,0.25); letter-spacing: 0.05em; }
.footer-about { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.7; margin-top: 12px; }
.footer-col-title { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-link { display: block; font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; margin-bottom: 8px; transition: color 0.2s; }
.footer-link:hover { color: rgba(255,255,255,0.65); }
.footer-contact-item { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact-icon { color: var(--asia-orange); flex-shrink: 0; margin-top: 2px; }
.footer-contact-text { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5; text-decoration: none; }
a.footer-contact-text:hover { color: rgba(255,255,255,0.6); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 16px 0; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.2); }
.footer-bottom-link { font-size: 11px; color: rgba(255,255,255,0.2); text-decoration: none; transition: color 0.2s; }
.footer-bottom-link:hover { color: rgba(255,255,255,0.45); }

/* ============================================================
   SINGLE PRODUCT
   ============================================================ */
.product-hero { background: var(--asia-navy); padding: 56px 0; border-bottom: 2px solid var(--asia-orange); }
.product-hero__cat { font-size: 10px; font-weight: 700; color: var(--asia-orange); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; }
.product-hero__title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -0.025em; }
.product-hero__desc { font-size: 15px; color: rgba(255,255,255,0.55); font-weight: 300; line-height: 1.7; }
.specs-table th, .specs-table td { padding: 11px 16px; font-size: 13px; border-bottom: 1px solid var(--asia-border); text-align: right; }
.specs-table th { background: var(--asia-bg); font-weight: 700; color: var(--asia-navy); width: 35%; }
.specs-table tr:last-child th, .specs-table tr:last-child td { border-bottom: none; }
.advantage-item { display: flex; gap: 8px; margin-bottom: 8px; font-size: 13px; align-items: flex-start; }
.advantage-check { color: var(--asia-orange); font-weight: 700; flex-shrink: 0; }
.product-sidebar-card { border-radius: 6px; padding: 22px; border-top: 3px solid var(--asia-orange); }
.product-sidebar-card--dark { background: var(--asia-navy); }
.product-sidebar-card--light { background: var(--asia-bg); }

/* ============================================================
   PROJECTS ARCHIVE
   ============================================================ */
.filter-btn { background: #fff; border: 1px solid var(--asia-border); color: #555; font-size: 12px; font-weight: 500; padding: 7px 16px; border-radius: 99px; transition: all 0.2s; cursor: pointer; }
.filter-btn:hover, .filter-btn.active { background: var(--asia-orange); border-color: var(--asia-orange); color: #fff; }
.project-archive-card { border-radius: 6px; overflow: hidden; border: 1px solid var(--asia-border); transition: box-shadow 0.2s, transform 0.2s; height: 100%; }
.project-archive-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.project-archive-img { height: 200px; overflow: hidden; }
.project-archive-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.project-archive-card:hover .project-archive-img img { transform: scale(1.05); }
.project-archive-body { padding: 14px 16px; background: #fff; }
.project-archive-tag { display: inline-block; background: rgba(232,93,38,0.1); color: var(--asia-orange); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 2px; margin-bottom: 6px; }
.project-archive-name { font-size: 15px; font-weight: 700; color: var(--asia-navy); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero__h1 { font-size: 32px; }
  .hero { padding: 36px 0; }
  .topbar { display: none; }
  .stat-item + .stat-item { border-right: none; border-top: 1px solid rgba(255,255,255,0.06); }
  .cta-strip__title { font-size: 20px; }
  .product-hero__title { font-size: 28px; }
  .mfr-logo { font-size: 10px; padding: 6px 8px; }
}
