/* ==========================================================================
   Harrisons Elagance Enterprise — Design System
   Palette drawn from the client's blue/chrome "H" logo, structured with an
   industrial tyre-shop language: steel edges, tread-groove dividers, bold
   condensed headings.
   ========================================================================== */

:root {
  /* Brand blue family — pulled from the logo gradient */
  --c-primary: #0b5fd9;
  --c-primary-dark: #073a8c;
  --c-primary-light: #3d8bff;

  /* Charcoal / steel — industrial workshop feel */
  --c-charcoal: #13161c;
  --c-charcoal-2: #1d222b;
  --c-steel: #ced4dc;
  --c-steel-dark: #8c94a1;

  /* Accent — safety amber, used sparingly for urgency + badges */
  --c-accent: #ffb100;
  --c-accent-dark: #e69500;

  /* Neutrals */
  --c-light: #f4f6f9;
  --c-white: #ffffff;
  --c-text: #171a1f;
  --c-muted: #5b6472;

  /* Type */
  --font-display: 'Oswald', 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii / shadow */
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(11, 22, 45, 0.10);
  --shadow-lift: 0 18px 40px rgba(11, 22, 45, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--c-charcoal);
}

.text-primary-brand { color: var(--c-primary) !important; }
.bg-primary-brand { background-color: var(--c-primary) !important; }
.bg-charcoal { background-color: var(--c-charcoal) !important; }
.bg-light-brand { background-color: var(--c-light) !important; }
.text-accent { color: var(--c-accent) !important; }

a { color: var(--c-primary); }
a:hover { color: var(--c-primary-dark); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--c-accent);
  display: inline-block;
}

.section-pad { padding: 88px 0; }
@media (max-width: 767.98px) {
  .section-pad { padding: 56px 0; }
}

/* ---------------------------------------------------------------------
   Navbar
   --------------------------------------------------------------------- */
.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-brand-custom img { height: 46px; width: auto; }
.navbar-brand-custom .brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--c-white);
}
.navbar-brand-custom .brand-text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-steel);
}

.site-navbar {
  background: var(--c-charcoal);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-navbar.scrolled { box-shadow: var(--shadow-lift); }

.site-navbar .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 10px 16px !important;
  position: relative;
}
.site-navbar .nav-link.active,
.site-navbar .nav-link:hover { color: var(--c-white) !important; }
.site-navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 3px;
  background: var(--c-primary-light);
  border-radius: 2px;
}

.btn-brand {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.btn-brand:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-brand-outline {
  background: transparent;
  border: 2px solid var(--c-white);
  color: var(--c-white);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.btn-brand-outline:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-accent {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-charcoal);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.btn-accent:hover { background: var(--c-accent-dark); color: var(--c-charcoal); transform: translateY(-2px); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
}
.btn-whatsapp:hover { background: #1ebd5a; color: #fff; }

/* ---------------------------------------------------------------------
   Hero — full-viewport carousel with separate mobile/desktop art
   --------------------------------------------------------------------- */
.hero-carousel { position: relative; height: 100vh; min-height: 560px; width: 100%; }
.hero-carousel .carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { height: 100%; }
.hero-carousel .carousel-item {
  background-size: cover;
  background-position: center;
}
.hero-slide-desktop { display: block; }
.hero-slide-mobile { display: none; }
@media (max-width: 767.98px) {
  .hero-slide-desktop { display: none; }
  .hero-slide-mobile { display: block; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,25,0.55) 0%, rgba(10,15,25,0.35) 45%, rgba(10,15,25,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 177, 0, 0.15);
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-title .stroke { -webkit-text-stroke: 1.5px var(--c-primary-light); }
.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 620px;
  color: rgba(255,255,255,0.9);
  margin-top: 18px;
}
.hero-scroll-cue {
  position: absolute;
  bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  opacity: .85;
  font-size: 1.4rem;
  animation: bounceDown 1.8s infinite;
}
@keyframes bounceDown {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.hero-carousel .carousel-indicators { z-index: 4; margin-bottom: 2.2rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%; background: #fff; opacity: .5;
}
.hero-carousel .carousel-indicators .active { opacity: 1; background: var(--c-accent); }
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: 6%; z-index: 4; }

/* ---------------------------------------------------------------------
   Tread-groove divider — the page's signature motif
   --------------------------------------------------------------------- */
.tread-divider {
  width: 100%;
  height: 26px;
  display: block;
  line-height: 0;
}
.tread-divider--charcoal { color: var(--c-charcoal); }
.tread-divider--light { color: var(--c-light); }
.tread-divider--white { color: var(--c-white); }

/* ---------------------------------------------------------------------
   Cards
   --------------------------------------------------------------------- */
.service-card {
  background: var(--c-white);
  border: 1px solid #e7eaee;
  border-radius: var(--radius-md);
  padding: 32px 26px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.product-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7eaee;
  transition: box-shadow .25s ease, transform .25s ease;
  height: 100%;
}
.product-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.product-card .img-wrap { height: 230px; background: var(--c-light); overflow: hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .body { padding: 16px 18px 20px; }

.team-card { text-align: center; }
.team-photo {
  width: 168px; height: 168px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 4px solid var(--c-white);
  box-shadow: var(--shadow-soft);
  background: var(--c-light);
  position: relative;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder-icon {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--c-steel-dark); font-size: 3rem; background: var(--c-light);
}

.feature-pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-white);
  border: 1px solid #e7eaee;
  border-radius: 40px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: var(--shadow-soft);
}
.feature-pill i { color: var(--c-primary); }

/* Price highlight ribbon */
.price-ribbon {
  background: var(--c-charcoal);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 26px 30px;
  position: relative;
  overflow: hidden;
}
.price-ribbon .accent-word { color: var(--c-accent); }

/* Testimonials */
.testimonial-card {
  background: var(--c-white);
  border: 1px solid #e7eaee;
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100%;
}
.testimonial-card .stars { color: var(--c-accent); letter-spacing: 2px; }

/* Gallery */
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.1); }

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(11,95,217,0.94), rgba(7,58,140,0.94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px);
  color: #fff;
  border-radius: var(--radius-md);
}

/* Footer */
.site-footer { background: var(--c-charcoal); color: rgba(255,255,255,0.75); }
.site-footer h6 {
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); }
.site-footer .social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .2s ease;
}
.site-footer .social-icon:hover { background: var(--c-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; font-size: 0.85rem; }
.footer-bottom a { color: var(--c-accent); font-weight: 600; }

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 1050;
  background: #25d366;
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  animation: pulseWA 2.4s infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes pulseWA {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 575.98px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; font-size: 1.5rem; }
}

/* Page header (interior pages) */
.page-header {
  background: var(--c-charcoal);
  position: relative;
  padding: 150px 0 70px;
  color: #fff;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(11,95,217,0.35), transparent 60%);
}
.page-header .breadcrumb-custom { color: var(--c-steel); font-size: 0.9rem; }
.page-header .breadcrumb-custom a { color: var(--c-steel); }
.page-header .breadcrumb-custom a:hover { color: var(--c-accent); }

/* Utilities */
.rounded-brand { border-radius: var(--radius-md); }
.shadow-brand { box-shadow: var(--shadow-soft); }
.object-cover { object-fit: cover; }
