/* Big Bro Detailing - modern layout inspired by goDetail (original design) */
/* Keep brand colors: reds and greys */

:root {
  --brand-red: #bf0000;
  --brand-red-dark: #a60000;
  --bg: #f2f4fe;
  --dark: #222;
  --muted: #6b6b6b;
  --card-shadow: 0 8px 28px rgba(17, 17, 17, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --brand-cream: #fcebc4;
}

/* Basic reset */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  font-family: "Lato", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  background: var(--bg);
  color: #222;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}

/* NAV - full width dark bar */
.nav {
  width: 100%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1200;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* left: logo */
.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo {
  height: 28px;
  display: block;
}

/* hamburger toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
}
.hamburger::before {
  top: -7px;
}
.hamburger::after {
  top: 7px;
}

/* right: links + cta */
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

/* nav list */
.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 6px;
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--brand-red);
}

/* cta */
.btn-primary {
  background: var(--brand-red);
  color: #fff;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
}

/* hero - full viewport background */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  margin-top: 72px; /* account for fixed nav */
  overflow: hidden;
}

/* background image - covers whole viewport */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.03);
}

/* frosted glass content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  padding: 36px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px) saturate(1.05);
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.45);
  color: #fff;
  text-align: center;
  animation: fadeDown 1.2s ease-out forwards;
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* logo circle */
.logo-circle {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  margin: 0 auto 12px;
  padding: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}
.logo-circle img {
  width: 100%;
  height: auto;
  display: block;
}

/* hero text */
.hero-content h1 {
  font-size: 2.5rem;
  margin: 6px 0 10px;
  font-weight: 900;
  letter-spacing: -0.5px;
  animation: fadeDown 1.2s ease-out forwards;
}
.hero-content .lead {
  font-weight: 300;
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.92);
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 8px;
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
}

/* small note */
.hero-cta-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* SECTION common styles */
.section {
  padding: 70px 20px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.before-after-section {
  padding: 60px 20px;
  background: (--bg);
  text-align: center;
  position: relative;
}

.before-after-section h2 {
  font-size: 3rem;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 10px;
}

.before-after-intro {
  color: var(--muted);
  margin-bottom: 30px;
}

/* Carousel container */
.ba-carousel {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 800px; /* smaller size */
  margin: 0 auto;
  position: relative;
}

.ba-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.ba-container {
  position: relative;
  width: 500px;
  height: 800px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: ew-resize;
}

.ba-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

/* Overlay (before image) */
.ba-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.ba-overlay img {
  width: 500px;
  height: 800px;
  object-fit: cover;
}

/* Slider handle */
.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background: var(--brand-red);
  cursor: ew-resize;
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-red);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Carousel navigation arrows */
.ba-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--brand-red);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.ba-nav.prev {
  left: 10px;
}
.ba-nav.next {
  right: 10px;
}

.ba-nav:hover {
  background: #a60000;
}
/* ============================
   RESPONSIVE BEFORE/AFTER SECTION
   ============================ */

/* Tablets */
@media (max-width: 900px) {
  .ba-container {
    width: 400px;
    height: 600px;
  }

  .ba-overlay img {
    width: 400px;
    height: 600px;
  }

  .before-after-section h2 {
    font-size: 2.5rem;
  }
}

/* Large Phones */
@media (max-width: 600px) {
  .ba-carousel {
    max-width: 100%;
    padding: 0 10px;
  }

  .ba-container {
    width: 300px;
    height: 450px;
  }

  .ba-overlay img {
    width: 300px;
    height: 450px;
  }

  .ba-handle:before {
    width: 20px;
    height: 20px;
  }

  .before-after-section h2 {
    font-size: 2rem;
  }

  .before-after-intro {
    font-size: 0.9rem;
    max-width: 320px;
    margin: 0 auto 20px;
  }
}

/* Small Phones */
@media (max-width: 400px) {
  .ba-container {
    width: 260px;
    height: 380px;
  }

  .ba-overlay img {
    width: 260px;
    height: 380px;
  }

  .ba-handle:before {
    width: 18px;
    height: 18px;
  }

  .ba-nav {
    padding: 6px 10px;
    font-size: 1rem;
  }
}

.about-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 20px;
  background: var(--bg);
}

.about-image img {
  width: 100%;
  max-width: 700px;
  display: block;
  border-radius: 12px;
}

.about-content {
  max-width: 450px;
  width: 100%;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #333;
}
.elfsight-app-4b8d112f-f12c-483b-9eba-8b851dff1432 {
  margin-top: 40px;
}
/* Responsive layout */
@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-content {
    max-width: 600px;
  }
}

/* SERVICES SECTION */
.services {
  padding: 60px 0;
  background: var(--bg);
}

.services h2 {
  text-align: center;
  color: var(--brand-red);
  font-size: 2rem;
  margin-bottom: 40px;
}

/* GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* IMAGE */
.image-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px;
}

/* CONTENT */
.card-content {
  padding: 20px;
}

.card-content h3 {
  color: var(--brand-red);
  margin: 0 0 8px;
}

.price {
  font-weight: 700;
  color: #333;
  margin-bottom: 14px;
}

/* FEATURE LIST with CHECKMARKS */
.feature-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  color: #444;
  font-size: 0.95rem;
}

.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-red);
  font-weight: 700;
}

/* BUTTON */

.btn-primary:hover {
  background: #b10000;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* SCHEDULE / FORM */
.schedule-section .form-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--card-shadow);
}
.schedule-section h2 {
  color: var(--brand-red);
  margin-bottom: 12px;
}

.form-row {
  margin-bottom: 14px;
}
.split {
  display: flex;
  gap: 14px;
}
.split > div {
  flex: 1;
}

/* inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  font-size: 1rem;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 6px 18px rgba(191, 0, 0, 0.06);
  border-color: var(--brand-red);
}

.addons {
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 8px;
}
.addons legend {
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 6px;
}

/* quote box */
.quote-box {
  padding: 24px;
  border-radius: 8px;
  border: 1px dashed rgba(191, 0, 0, 0.25);
  background: #fafafa;
  margin: 20px;
  color: #333;
}

.footer {
  background: #0b0b0b;
  color: #f4f4f4;
  padding: 60px 20px 20px;
  font-family: sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h2,
.footer-col h3 {
  margin-bottom: 15px;
}

.footer-logo {
  color: var(--brand-red-dark);
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col a {
  color: #f4f4f4;
  text-decoration: none;
  transition: 0.3s;
}

.red-click:hover {
  color: var(--brand-red);
}

.footer-socials {
  margin-top: 15px;
}

.footer-socials a {
  margin-right: 10px;
  font-size: 14px;
}

/* Locations grid */
.footer-locations {
  columns: 2;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* responsive */
@media (max-width: 1000px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-content {
    padding: 28px;
  }
}
@media (max-width: 720px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .split {
    flex-direction: column;
  }
  .nav-list {
    display: none;
  } /* hide links: use hamburger */
  .nav-toggle {
    display: flex;
  }
  .nav-right {
    gap: 10px;
  }
  .nav-right.show .nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    right: 16px;
    top: 68px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(34, 34, 34, 0.95);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
  .nav-right.show .btn-primary {
    padding: 8px 14px;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero {
    margin-top: 72px;
  }
}
