/* ===== Horsham Plumbing � Industrial Modern Design ===== */
:root {
  --navy: #1a365d;
  --navy-dark: #0f1f3d;
  --navy-light: #2c4c7a;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #e2e8f0;
  --gray: #64748b;
  --dark-gray: #334155;
  --font-display: 'Russo One', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --radius: 4px;
  --radius-sm: 2px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark-gray);
  line-height: 1.6;
}

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(26, 54, 93, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 54, 93, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 2px 20px rgba(26, 54, 93, 0.1);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding: 20px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  background: rgba(245, 158, 11, 0.1);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  justify-self: end;
  transition: all var(--transition);
  text-decoration: none;
}

.header__phone:hover {
  background: rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
  color: var(--navy);
}

.header__phone svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 200px 0 120px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
}

/* ===== HERO CAROUSEL ===== */
.hero__carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero__carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1.1);
}

.hero__carousel-slide.active {
  opacity: 1;
  z-index: 2;
  animation: heroZoom 8s ease-out;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero__carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.85) 0%, rgba(26, 54, 93, 0.75) 50%, rgba(15, 31, 61, 0.8) 100%);
}

.hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 2px, transparent 2px);
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 800px;
  padding: 0 32px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: rgba(245, 158, 11, 0.2);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.hero__badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}

.hero__title--accent {
  color: var(--orange);
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: var(--orange);
  color: var(--navy);
  border: 2px solid var(--orange);
}

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.hero__info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.hero__info-item svg {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ===== HERO REVIEWS WIDGET ===== */
.hero__reviews-widget {
  margin-top: 48px;
  display: flex;
  justify-content: flex-start;
  padding-left: 0;
}

.hero-review-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 14px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-review-widget:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-review-widget .hw-stars {
  display: flex;
  gap: 2px;
  font-size: 22px;
  color: var(--orange);
  line-height: 1;
}

.hero-review-widget .hw-text {
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.3;
  font-weight: 500;
}

.hero-review-widget .hw-text strong {
  font-weight: 700;
  color: var(--navy);
}
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(245, 158, 11, 0.5);
  border-color: rgba(245, 158, 11, 0.6);
  transform: scale(1.2);
}

.carousel-dot.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--navy-dark);
  color: var(--white);
  padding: 48px 0;
  border-bottom: 3px solid var(--orange);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
}

.stat-item__label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== SECTIONS ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
  padding-top: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
}

.products, .services, .location {
  padding: 100px 0;
}

/* ===== PRODUCTS ===== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.product-card {
  background: var(--white);
  border: 3px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 54, 93, 0.15);
}

.product-card__image {
  width: 100%;
  height: 200px;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--off-white) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(26, 54, 93, 0.08) 0%, transparent 70%);
  z-index: 1;
}

.product-card__image img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__image svg {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 2;
  transition: all var(--transition);
}

.product-card:hover .product-card__image svg {
  transform: scale(1.1);
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26, 54, 93, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

.carousel-dot:hover {
  background: var(--orange-dark);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.product-card__text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services {
  background: var(--off-white);
  border-top: 3px solid var(--navy);
  border-bottom: 3px solid var(--navy);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-item {
  display: flex;
  gap: 28px;
  padding: 32px;
  background: var(--white);
  border: 3px solid var(--light-gray);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-item:hover {
  border-color: var(--navy);
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(26, 54, 93, 0.1);
}

.service-item__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.service-item__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.service-item__text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== LOCATION ===== */
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.location__content {
  padding-right: 24px;
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 24px 0;
}

.location__item {
  display: flex;
  gap: 20px;
}

.location__item svg {
  width: 28px;
  height: 28px;
  color: var(--navy);
  flex-shrink: 0;
  margin-top: 2px;
}

.location__item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.location__item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.location__item a {
  color: var(--navy);
  font-weight: 600;
}

.location__map {
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
}

.location__map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--light-gray);
  border: 3px dashed var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--gray);
  padding: 32px;
  text-align: center;
}

.location__map-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.4;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
  background: var(--navy);
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}

.contact-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.contact-cta__text {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__logo {
  margin-bottom: 16px;
}

.footer__logo-img {
  max-width: 200px;
  height: auto;
  display: block;
}

.footer__description {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* ===== FOOTER REVIEWS WIDGET ===== */
.footer__reviews-widget {
  margin-top: 16px;
}

.footer-review-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.6) 0%, rgba(26, 54, 93, 0.5) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-review-widget:hover {
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.7) 100%);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.footer-review-widget .hw-stars {
  font-size: 18px;
  color: var(--orange);
  letter-spacing: 2px;
  line-height: 1;
}

.footer-review-widget .hw-text {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-review-widget .hw-text strong {
  color: var(--orange);
  font-weight: 700;
}

.footer__column h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.footer__column a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer__column a:hover {
  color: var(--orange);
}

.footer__column p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.footer__legal {
  display: flex;
  gap: 28px;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal a:hover {
  color: var(--orange);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.visible {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .header__inner {
    grid-template-columns: 1fr auto;
    gap: 20px;
    padding: 16px 24px;
  }

  .header__nav {
    display: none;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .services__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .hero {
    padding: 180px 0 100px;
  }
}

@media (max-width: 640px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__info {
    flex-direction: column;
    gap: 20px;
  }


  .footer__inner {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .contact-cta__actions {
    flex-direction: column;
    gap: 12px;
  }
}
