/* =========================================
   Global Theme & Variables
   ========================================= */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8fafc; /* light gray background */
  --card: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --brand: #d97706; /* amber-600 */
  --brand-700: #b45309; /* amber-700 */
  --accent: #f59e0b; /* amber-500 */
  --outline: #e5e7eb; /* gray-200 */
  --border: #e5e7eb; /* light border */
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  line-height: 1.6;
}

/* Background image removed by request */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(90deg, var(--brand-700), var(--accent));
  border-bottom: 1px solid rgba(146, 64, 14, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}
.brand-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #ffffff;
  font-size: 14px;
  white-space: nowrap;
}
.brand-tagline {
  color: #fffbeb;
  font-size: 11px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}
.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-list li {
  flex-shrink: 0;
}
.nav-list a {
  color: #ffffff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  white-space: nowrap;
}
.nav-list a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.05s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
  border: 1px solid var(--outline);
  color: var(--text);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-color: rgba(245, 158, 11, 0.25);
  color: #1c0a00;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-700), var(--brand));
  color: #1c0a00;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}
.btn-outline {
  background: transparent;
}
.btn-quote {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--brand-700);
  font-weight: 600;
  padding: 8px 16px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-quote:hover {
  background: #fff7ed;
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}
.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-alt), #ffffff);
}
.hero.hero--image {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("images/background-image.png");
  background-size: cover;
  background-position: center;
}
.hero.hero--image h1 {
  color: #ffffff;
}
.hero.hero--image .lead,
.hero.hero--image p {
  color: #e5e7eb;
}
.hero.hero--image .hero-badge {
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero.hero--image .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.2);
}
.hero.hero--image .btn-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.9);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hero.hero--image .btn-primary {
  color: #1c0a00;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}
.hero.hero--image .btn-primary:hover {
  color: #000000;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}
.hero-inner {
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.hero .lead {
  color: #334155;
  font-size: 18px;
  margin: 0 0 12px;
}
.highlight {
  color: var(--accent);
}
.hero.hero--image .highlight {
  color: #f59e0b;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 14px;
  margin: 22px 0 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-right: 1px dashed var(--border);
}
.hero-stats li:last-child {
  border-right: none;
}
.stat-num {
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}
.stat-label {
  color: #64748b;
  font-size: 13px;
}
.hero-shape {
  width: 100%;
  height: 140px;
  margin-top: 20px;
}
/* add gentle max width for hero text */
.hero-inner {
  max-width: 900px;
}

/* Sections */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.section h2 {
  font-size: 28px;
  margin: 0 0 6px;
}
.section-intro {
  color: #475569;
  margin: 0 0 24px;
  line-height: 1.6;
}
.highlight-tagline {
  display: inline-block;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #b45309;
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid #fde68a;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
}
/* FIND this existing rule and edit it */
.product-card img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.product-media {
  position: relative;
  border-bottom: 1px solid var(--border);
  height: 420px;
  overflow: hidden;
}
.carousel {
  overflow: hidden;
  background: #ffffff;
  height: 420px;
  width: 100%;
}
.carousel .slides {
  display: flex;
  width: 100%;
  height: 420px;
  transform: translateX(0%);
  transition: transform 0.5s ease;
  position: relative;
}
.carousel .slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: #ffffff;
  display: block;
}
.carousel .dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.carousel .dot.active {
  background: #ffffff;
}
.product-content {
  padding: 18px;
}
.product-content h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #0f172a;
}
.product-content p {
  margin: 0;
  color: #334155;
}
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

/* About */
.section-about p {
  margin: 0 0 10px;
  color: #334155;
}

/* Testimonials */
.testimonial {
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: var(--radius);
  color: #0f172a;
  box-shadow: var(--shadow);
}
.testimonial footer {
  color: #64748b;
  margin-top: 10px;
}

/* Why */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(2, 6, 23, 0.08);
}
.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fffbeb;
  color: #b45309;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.feature-icon svg {
  width: 22px;
  height: 22px;
}
.feature-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.feature-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.contact-cta {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-cta h3 {
  margin: 0 0 8px;
}
/* subtle headings weight improvements */
h1,
h2,
h3 {
  font-weight: 700;
}
h2 {
  letter-spacing: -0.01em;
}

/* Footer */
.site-footer {
  padding: 20px 0;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #64748b;
}

/* Links */
a {
  color: #92400e;
}
a:hover {
  color: #b45309;
}

/* Responsive */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  /* Show hamburger menu at 900px and below */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .checklist {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .header-inner {
    min-height: 64px;
  }
  .hero {
    padding: 56px 0 28px;
  }
  .section {
    padding: 44px 0;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .product-card img {
    height: 360px;
  }
  .carousel .slides {
    height: 360px;
  }
  .carousel .slides img {
    height: 100%;
  } /* let it fill the slide */
  .nav-list {
    display: none;
    position: absolute;
    right: 20px;
    top: 72px;
    background: rgba(23, 23, 23, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
    min-width: 240px;
  }
  .nav-list.show {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .nav-list li {
    width: 100%;
  }
  .nav-list a {
    display: block;
    padding: 12px 20px;
    width: 100%;
    border-radius: 8px;
  }
  .btn.btn-quote {
    display: none;
  }
  /* Show Request a Quote in mobile menu */
  .nav-quote-mobile {
    display: block !important;
    padding: 8px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 8px;
  }
  .btn-quote-mobile {
    display: block;
    width: 100%;
    text-align: center;
    background: #ffffff !important;
    color: var(--brand-700) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    padding: 12px 16px !important;
    margin: 0;
  }
  .btn-quote-mobile:hover {
    background: #fff7ed;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    height: 40px;
  }
  .brand-name {
    font-size: 13px;
  }
  .brand-tagline {
    font-size: 10px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .nav-list {
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}
