/* =============================================================
   AXIS THERMAL ENGINEERING COMPANY — Shared Stylesheet
   Use: <link rel="stylesheet" href="../css/axis-thermal.css">
   ============================================================= */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate-darkest: #070d1a;
  --slate-dark:    #0f1f3d;
  --slate:         #1e3a5f;
  --slate-mid:     #2d5282;
  --slate-light:   #a8c4e0;
  --slate-pale:    #e8f0f8;
  --orange:        #e85d04;
  --orange-bright: #ff7b24;
  --orange-light:  #ffaa70;
  --white:         #ffffff;
  --off-white:     #f3f6fa;
  --text-body:     #1a2840;
  --text-muted:    #7a96b8;
  --border-blue:   rgba(61,122,181,0.2);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--off-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }


/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
.site-header {
  background: var(--slate-dark);
  border-bottom: 1px solid var(--border-blue);
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  gap: 24px;
}

.top-left { display: flex; align-items: center; gap: 32px; }
.logo-area { display: flex; align-items: center; gap: 16px; }
.logo img  { height: 64px; width: auto; border-radius: 6px; }
.azadi-logo img { height: 52px; width: auto; opacity: 0.85; }

.top-contact { display: flex; flex-direction: column; gap: 4px; }
.top-contact a {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-light);
  transition: color 0.2s;
}
.top-contact a:hover { color: var(--orange-light); }
.top-contact a i { margin-right: 7px; color: var(--orange); }

.top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.top-right > span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.header-social { display: flex; gap: 8px; }
.header-social a {
  width: 32px; height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-light);
  font-size: 13px;
  transition: 0.2s;
}
.header-social a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}


/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.main-nav {
  background: var(--slate);
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.navbar > a,
.dropdown > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  padding: 16px 18px;
  display: block;
  position: relative;
  transition: 0.2s;
}

.navbar > a::after,
.dropdown > a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--orange-bright);
  transform: scaleX(0);
  transition: transform 0.25s;
  border-radius: 2px 2px 0 0;
}

.navbar > a:hover,
.dropdown > a:hover,
.dropdown > a.active { color: var(--white); }

.navbar > a:hover::after,
.dropdown > a:hover::after,
.dropdown > a.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  width: 280px;
  background: var(--slate-dark);
  border: 1px solid var(--border-blue);
  border-top: 3px solid var(--orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.3s ease;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  z-index: 200;
  border-radius: 0 0 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) var(--slate-dark);
}

.dropdown-menu::-webkit-scrollbar { width: 4px; }
.dropdown-menu::-webkit-scrollbar-track { background: var(--slate-dark); }
.dropdown-menu::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(61,122,181,0.1);
  transition: 0.2s;
}

.dropdown-menu a:last-child { border-bottom: none; }

.dropdown-menu a:hover,
.dropdown-menu a.active-sub {
  background: rgba(232,93,4,0.12);
  color: var(--orange-light);
  padding-left: 30px;
}


/* ══════════════════════════════════════════
   HAMBURGER
══════════════════════════════════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
}

.mobile-contact-strip,
.mobile-social-strip { display: none; }


/* ══════════════════════════════════════════
   SIDEBAR DRAWER (Mobile)
══════════════════════════════════════════ */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,13,26,0.78);
  z-index: 300;
}
.nav-overlay.active { display: block; }

.sidebar-drawer {
  position: fixed;
  top: 0; left: -320px;
  width: 300px; height: 100%;
  background: var(--slate-dark);
  border-right: 3px solid var(--orange);
  z-index: 400;
  transition: left 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.sidebar-drawer.open { left: 0; }

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-blue);
}
.sidebar-header img { height: 44px; border-radius: 4px; }

.sidebar-close {
  background: none;
  border: 1px solid var(--border-blue);
  color: var(--orange);
  font-size: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
}

.sidebar-nav { flex: 1; padding: 8px 0; }

.sidebar-nav > a,
.sidebar-link {
  display: block;
  padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-light);
  border-bottom: 1px solid rgba(61,122,181,0.1);
  cursor: pointer;
}
.sidebar-nav > a:hover,
.sidebar-link:hover {
  background: rgba(232,93,4,0.1);
  color: var(--orange-light);
}

.sidebar-submenu { display: none; background: rgba(0,0,0,0.2); }
.sidebar-item.open .sidebar-submenu { display: block; }

.sidebar-submenu a {
  display: block;
  padding: 11px 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(61,122,181,0.08);
}
.sidebar-submenu a:hover,
.sidebar-submenu a.active-sub {
  background: rgba(232,93,4,0.1);
  color: var(--orange-light);
}

.sidebar-contact {
  padding: 16px 20px;
  border-top: 1px solid var(--border-blue);
}
.sidebar-contact a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: var(--slate-light);
}
.sidebar-contact a i { margin-right: 8px; color: var(--orange); }


/* ══════════════════════════════════════════
   PAGE BANNER
══════════════════════════════════════════ */
.page-banner {
  background:
    linear-gradient(135deg, rgba(7,13,26,0.95), rgba(30,58,95,0.78), rgba(232,93,4,0.35)),
    url('../images/Industrial-Furnace.jpg') center/cover no-repeat;
  padding: 120px 24px;
  text-align: center;
  color: var(--white);
  border-bottom: 4px solid var(--orange);
}
.page-banner h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 18px;
}
.page-banner p {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}
.page-banner p a { color: var(--orange-light); }


/* ══════════════════════════════════════════
   PRODUCT PAGE SECTION
══════════════════════════════════════════ */
.product-page-section {
  background: var(--white);
  padding: 80px 0;
}

.product-block {
  padding: 42px;
  margin-bottom: 70px;
  background: var(--off-white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(30,58,95,0.10);
  border-bottom: 4px solid var(--orange);
}
.product-block:last-child { margin-bottom: 0; }

.product-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.product-page-header h2 {
  color: var(--slate);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1;
  position: relative;
  padding-bottom: 12px;
}
.product-page-header h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 90px; height: 4px;
  background: var(--orange);
  border-radius: 4px;
}

/* Buttons */
.call-experts-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  padding: 13px 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--orange);
  border-radius: 6px;
  transition: 0.25s;
}
.call-experts-btn:hover,
.btn:hover {
  background: var(--orange-bright);
  border-color: var(--orange-bright);
  color: var(--white);
  transform: translateY(-2px);
}

/* Product intro grid */
.product-intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 42px;
}

.product-img-wrap {
  background: var(--white);
  padding: 18px;
  border-radius: 10px;
  border: 1px solid rgba(61,122,181,0.16);
  border-bottom: 4px solid var(--orange);
  box-shadow: 0 8px 24px rgba(30,58,95,0.10);
}
.product-img-wrap img {
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 6px;
}

/* Description & full content */
.product-description h3,
.product-full-content h3 {
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.product-description h3 { margin-top: 28px; }
.product-description h3:first-child { margin-top: 0; }

.product-description p,
.product-full-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #344d73;
  margin-bottom: 18px;
  text-align: justify;
}

.product-full-content {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--orange);
  margin-bottom: 42px;
}

/* Tables */
.product-tables { margin-bottom: 10px; }

.product-table-block {
  margin-bottom: 36px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(30,58,95,0.10);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 15px;
  min-width: 700px;
}
.product-table caption {
  background: rgba(232,93,4,0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--orange);
  padding: 16px 20px;
  text-align: center;
  border: 1px solid rgba(61,122,181,0.18);
  border-bottom: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-table th,
.product-table td {
  border: 1px solid rgba(61,122,181,0.18);
  padding: 13px 16px;
  color: #344d73;
  text-align: left;
  vertical-align: middle;
}
.product-table th {
  background: rgba(30,58,95,0.06);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-table tbody tr:hover { background: rgba(232,93,4,0.04); }

/* Features table (used on some products) */
.features-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  color: #344d73;
  font-size: 16px;
  line-height: 1.65;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30,58,95,0.10);
}
.features-table th,
.features-table td {
  border: 1px solid rgba(61,122,181,0.18);
  padding: 15px 16px;
  vertical-align: middle;
}
.features-table th {
  text-align: center;
  font-size: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(232,93,4,0.08);
}
.features-table td:first-child {
  width: 34%;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
}

/* All Products bar */
.all-products-bar {
  background: var(--slate-dark);
  border-top: 2px solid var(--border-blue);
  border-bottom: 2px solid var(--border-blue);
  padding: 22px 24px;
  text-align: center;
  margin-top: 40px;
  border-radius: 8px;
}
.all-products-bar p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
  margin-bottom: 14px;
}
.all-products-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--orange-light);
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--orange);
  border-radius: 6px;
  transition: 0.25s;
}
.all-products-btn:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}


/* ══════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════ */
.cta {
  background: linear-gradient(135deg, var(--slate-dark) 0%, var(--slate) 100%);
  padding: 72px 32px;
  text-align: center;
  border-top: 4px solid var(--orange);
}
.cta h2 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--slate-darkest);
  padding: 64px 0 24px;
  border-top: 3px solid var(--orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer h2,
.footer h3 { color: var(--orange-light); margin-bottom: 20px; }
.footer h2 { font-size: 22px; }
.footer h3 { font-size: 17px; }
.footer p,
.footer a {
  font-size: 14px;
  color: var(--text-muted);
  display: block;
  line-height: 1.8;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--orange-light); }

.footer-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 6px;
  border: 1px solid var(--border-blue);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: 0.2s;
}
.footer-social a:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.copyright {
  text-align: center;
  font-size: 13px;
  color: #2d4060;
  padding-top: 24px;
  border-top: 1px solid rgba(61,122,181,0.1);
}
.copyright a {
  display: inline;
  color: #f4b400;
  font-weight: 700;
}


/* ══════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 900px)
══════════════════════════════════════════ */
@media (max-width: 900px) {

  .top-contact,
  .top-right { display: none; }

  .navbar { display: none; }

  .hamburger { display: flex; margin-left: auto; }

  .main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
  }

  .mobile-contact-strip {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    padding: 10px 16px;
    background: rgba(7,13,26,0.6);
  }
  .mobile-contact-strip a {
    font-size: 12px;
    color: var(--slate-light);
    font-weight: 600;
  }
  .mobile-contact-strip a i {
    color: var(--orange);
    margin-right: 4px;
  }

  .mobile-social-strip {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(7,13,26,0.4);
  }
  .mobile-social-strip a {
    width: 30px; height: 30px;
    border-radius: 6px;
    border: 1px solid var(--border-blue);
    display: flex; align-items: center; justify-content: center;
    color: var(--slate-light);
    font-size: 12px;
  }

  .page-banner { padding: 85px 20px; }

  .product-page-section { padding: 55px 0; }

  .product-block { padding: 24px; margin-bottom: 42px; }

  .product-page-header h2 { font-size: 28px; }

  .product-intro-grid { grid-template-columns: 1fr; gap: 30px; }

  .product-full-content { padding: 22px; }

  .product-description p,
  .product-full-content p { text-align: left; font-size: 16px; }

  .call-experts-btn { width: 100%; }

  .features-table {
    font-size: 14px;
    display: block;
    overflow-x: auto;
  }
  .features-table th,
  .features-table td { padding: 11px; }

  .footer-grid { grid-template-columns: 1fr; }
}