/* ==============================
   WATTS HEAVY DUTY REPAIR
   style.css
   ============================== */

:root {
  --red: #C8102E;
  --white: #FFFFFF;
  --black: #111111;
  --graphite: #1a1a1a;
  --graphite2: #2B2B2B;
  --gray: #888888;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background-color: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

.font-barlow { font-family: 'Barlow', sans-serif; }
.text-red { color: var(--red) !important; }
.bg-graphite { background-color: var(--graphite); }
.bg-black { background-color: var(--black); }

/* ==============================
   TOP BAR
   ============================== */
.topbar {
  background-color: var(--red);
  padding: 8px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.topbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}
.topbar-phone:hover { opacity: 0.8; }

/* ==============================
   NAVIGATION
   ============================== */
.main-nav {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 16, 46, 0.3);
  transition: all 0.3s ease;
}

.main-nav.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s;
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 3px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.cta-btn:hover { background: #a50d25; transform: translateY(-1px); }

.cta-btn-lg { padding: 14px 32px; font-size: 1rem; }

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 3px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s, background 0.2s;
}
.cta-btn-outline:hover { border-color: white; background: rgba(255,255,255,0.07); }

/* Hamburger */
.ham-line {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  transition: all 0.3s;
}
.mobile-menu {
  background: rgba(17,17,17,0.98);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  display: block;
  padding: 6px 0;
  transition: color 0.2s;
}
.mobile-nav-link:hover { color: var(--red); }

/* ==============================
   HERO
   ============================== */
.hero-section {
  background-color: var(--black);
  min-height: 100vh;
  position: relative;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 80% 50%, rgba(200, 16, 46, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(200, 16, 46, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-diagonal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--graphite);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.4);
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2px;
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #aaa;
  max-width: 640px;
  line-height: 1.6;
  margin-top: 1.5rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  padding: 1.5rem 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  flex-wrap: wrap;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 140px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #555;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #555, transparent);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==============================
   TICKER
   ============================== */
.ticker-wrap {
  background: var(--red);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker-item span { color: var(--black); }
.ticker-track .ticker-item span { color: rgba(0,0,0,0.5); }

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================
   SECTIONS
   ============================== */
.section-pad { padding: 100px 0; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}

.section-desc {
  color: #888;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ==============================
   SERVICES
   ============================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.service-card {
  background: var(--graphite);
  padding: 2.5rem;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: height 0.3s;
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: #222; }

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--red);
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.service-card p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.service-tags span {
  background: rgba(200, 16, 46, 0.1);
  border: 1px solid rgba(200, 16, 46, 0.25);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}

.service-card-accent {
  background: var(--red) !important;
}
.service-card-accent::before { display: none; }
.service-card-accent h3 { color: white; }
.service-card-accent p { color: rgba(255,255,255,0.8); }
.service-card-accent:hover { background: #a50d25 !important; }

.service-icon-white { color: rgba(255,255,255,0.9); }
.service-tags-light { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags-light span {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
}
.service-cta-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
  font-size: 0.9rem;
}
.service-cta-link:hover { border-color: white; }

/* ==============================
   WHY US
   ============================== */
.why-bg-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(255,255,255,0.015) 80px,
    rgba(255,255,255,0.015) 81px
  );
  pointer-events: none;
}

.why-list { display: flex; flex-direction: column; gap: 1.25rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  transition: border-color 0.3s;
}
.why-item:hover { border-color: rgba(200,16,46,0.3); }
.why-check {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item strong {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.why-item p { color: #888; font-size: 0.9rem; line-height: 1.5; }

.why-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.big-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.big-stat-card:hover { border-color: rgba(200,16,46,0.4); transform: translateY(-3px); }
.big-stat-card-red {
  background: var(--red);
  border-color: var(--red);
}
.big-stat-card-red:hover { border-color: #a50d25; background: #a50d25; }
.col-span-2 { grid-column: span 2; }

.big-stat-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.big-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
}
.big-stat-label { color: rgba(255,255,255,0.7); font-size: 0.8rem; margin-top: 6px; }

/* ==============================
   EQUIPMENT
   ============================== */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 6px;
  overflow: hidden;
}

.equipment-item {
  background: var(--graphite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1rem;
  cursor: default;
  transition: background 0.3s;
}
.equipment-item:hover { background: #222; }
.equipment-item:hover .equip-icon { transform: scale(1.15); }

.equip-icon {
  font-size: 2.5rem;
  transition: transform 0.3s;
  display: block;
  text-align: center;
}
.equipment-item span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bbb;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--graphite2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial-card:hover { border-color: rgba(200,16,46,0.3); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(200,16,46,0.12);
  line-height: 1;
}

.stars { color: var(--red); font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-card p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}
.testimonial-author span {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ==============================
   CTA SECTION
   ============================== */
.bg-red-cta { background: var(--red); }

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.06) 20px,
    rgba(0,0,0,0.06) 40px
  );
  pointer-events: none;
}

.cta-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
}
.cta-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-top: 1rem;
}
.cta-btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.cta-btn-hero:hover {
  background: var(--black);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-card-grid { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: span 1; }
  .hero-scroll-indicator { display: none; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
}

.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
  font-size: 0.9rem;
}
.footer-contact-list svg { color: var(--red); flex-shrink: 0; }
.footer-contact-list a { color: #888; text-decoration: none; transition: color 0.2s; }
.footer-contact-list a:hover { color: white; }

.footer-bottom { text-align: center; }

/* ==============================
   ANIMATIONS
   ============================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fade-right"] {
  transform: translateX(-30px);
}
[data-animate="fade-left"] {
  transform: translateX(30px);
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}
