/* 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);
}

/* 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;
}

/* 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;
}
.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: #f9f9f9;
  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;
}
/* ABOUT SECTION */
#about.section {
  padding: 60px 0;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* TWO-COLUMN GRID */
.founders-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT SIDE */
.left-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* RIGHT SIDE */
.right-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers everything */
  text-align: center;
  gap: 20px;
}

/* WIDGET ON THE RIGHT NOW */
.right-section .elfsight-app-4b8d112f-f12c-483b-9eba-8b851dff1432 {
  max-width: 420px;
  margin: 0 auto 25px;
}

/* Circular photo with brand border */
.founders-photo {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--brand-red);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.founders-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.25);
}

/* paragraph widths */
.left-description,
.right-section p {
  max-width: 420px;
}

/* MOBILE */
@media (max-width: 850px) {
  .founders-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SERVICES SECTION */
.services {
  padding: 60px 0;
  background: #f5f5f5;
}

.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 {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.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;
}
/* ✅ Booking success animation */
#success-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Poppins", sans-serif;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

#success-popup .popup-box {
  background: #1a0f0a;
  padding: 2.5rem 3rem;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  animation: popIn 0.4s ease;
}

#success-popup .checkmark {
  font-size: 4rem;
  color: #00c46a;
  margin-bottom: 0.75rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* REVIEWS */
.reviews-section {
  background: #fff;
  border-top: 1px solid #eaeaea;
  padding: 70px 20px;
}

.reviews-section h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--brand-red);
  margin-bottom: 10px;
}

.reviews-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.reviews-widget {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 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: 14px;
  border-radius: 8px;
  border: 1px dashed rgba(191, 0, 0, 0.25);
  background: #fafafa;
  margin-bottom: 6px;
  color: #333;
}

/* footer */
.footer {
  background: #222;
  color: #fff;
  padding: 34px 20px;
  margin-top: 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.calendar-booking {
  margin-top: 40px;
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.calendar-booking h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #222;
}

.calendar-booking p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1rem;
}

.calendar-booking .gc-scheduling-button {
  font-family: inherit !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-size: 1rem !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.calendar-booking .gc-scheduling-button:hover {
  transform: scale(1.05);
}

/* 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;
  }
}
