/* =========================================================
   SHINEPRO AUTO DETAILING — STYLESHEET
   Color system: near-black backgrounds, dark gray cards,
   blue accent. Oswald for headings, Inter for body text.
   ========================================================= */

:root {
  /* --- Color tokens --- */
  --bg-dark: #0a0c0f;        /* main page background, near-black */
  --bg-alt: #12151a;         /* alternate section background, dark gray */
  --card-bg: #171b21;        /* card background */
  --card-border: #262b33;    /* subtle borders on cards/inputs */
  --blue: #2f6feb;           /* primary accent (buttons, links, highlights) */
  --blue-light: #5b93f5;     /* hover / lighter accent */
  --text-main: #eef1f5;      /* primary text on dark backgrounds */
  --text-muted: #9aa3af;     /* secondary/muted text */

  /* --- Type tokens --- */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* --- Layout tokens --- */
  --max-width: 1180px;
  --radius: 8px;
}

/* =========================================================
   RESET & BASE STYLES
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Visible keyboard focus state for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

h2 {
  font-size: 2.1rem;
}

h3 {
  font-size: 1.3rem;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   SHARED SECTION STYLES
   ========================================================= */
.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px auto;
}

.section-heading h2 {
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

/* Thin blue rule under section headings — a structural accent, not decoration */
.section-heading h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  background-color: var(--blue);
  border-radius: 2px;
}

.section-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(47, 111, 235, 0.35);
}

.btn-primary:hover {
  background-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 111, 235, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--card-border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 34px;
  font-size: 1rem;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--blue-light);
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--text-main);
}

.header-cta {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile nav links are hidden below 860px to keep the header uncluttered;
   the Book Now button remains visible at all sizes. */
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark gradient overlay so hero text stays readable over the photo */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(6, 8, 10, 0.95) 15%,
    rgba(6, 8, 10, 0.75) 45%,
    rgba(10, 12, 15, 0.35) 80%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-kicker {
  color: var(--blue-light);
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 3.4rem;
  margin-bottom: 18px;
}

.hero-slogan {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services {
  padding: 110px 0;
  background-color: var(--bg-dark);
}

.service-card {
  position: relative;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
}

/* The featured/most-popular plan gets a slightly raised, blue-bordered treatment */
.service-card.featured {
  border-color: var(--blue);
  background-color: #191d27;
}

.ribbon {
  position: absolute;
  top: -14px;
  left: 30px;
  background-color: var(--blue);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 5px 14px;
  border-radius: 20px;
}

.service-card h3 {
  margin-bottom: 6px;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.card-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.feature-list {
  margin-bottom: 28px;
  flex-grow: 1;
}

.feature-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}

.service-card .btn {
  text-align: center;
  width: 100%;
}

/* A-la-carte add-on services list */
.addon-services {
  margin-top: 70px;
  text-align: center;
}

.addon-services h3 {
  margin-bottom: 26px;
}

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.addon-item {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 0.95rem;
}

.addon-item span:last-child {
  color: var(--blue-light);
  font-weight: 600;
}

/* =========================================================
   GALLERY SECTION
   ========================================================= */
.gallery {
  padding: 110px 0;
  background-color: var(--bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}

/* First image spans two rows and two columns to create visual hierarchy */
.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* =========================================================
   WHY CHOOSE US SECTION
   ========================================================= */
.why-us {
  padding: 110px 0;
  background-color: var(--bg-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-item {
  text-align: center;
  padding: 10px;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: var(--bg-alt);
  border: 1px solid var(--card-border);
  color: var(--blue-light);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item h3 {
  margin-bottom: 10px;
}

.why-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.testimonials {
  padding: 110px 0;
  background-color: var(--bg-alt);
}

.testimonial-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue);
}

.stars {
  color: var(--blue-light);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.quote {
  font-size: 0.98rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.author {
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================
   CONTACT / BOOKING SECTION
   ========================================================= */
.contact {
  padding: 110px 0;
  background-color: var(--bg-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
}

.contact-form-wrap h2 {
  margin-bottom: 12px;
}

.contact-intro {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-row.two-col > div {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

input,
select,
textarea {
  width: 100%;
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #5f6672;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
}

textarea {
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
  width: 100%;
}

/* Contact info / hours panel */
.contact-info {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  height: fit-content;
}

.contact-info h3 {
  margin-bottom: 18px;
}

.contact-info h3:not(:first-child) {
  margin-top: 34px;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.info-label {
  color: var(--blue-light);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.info-list a:hover {
  color: var(--blue-light);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.95rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  color: var(--text-muted);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background-color: #060708;
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand p:last-child {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-copy {
  width: 100%;
  text-align: center;
  color: #4d5560;
  font-size: 0.82rem;
  margin-top: 24px;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */

/* --- Tablet (max 980px): 3-column grids become 2 columns --- */
@media (max-width: 980px) {
  .card-grid,
  .why-grid,
  .addon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .hero-title {
    font-size: 2.7rem;
  }
}

/* --- Mobile (max 640px): everything stacks to a single column --- */
@media (max-width: 640px) {
  .card-grid,
  .why-grid,
  .addon-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: span 1;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
    text-align: left;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .services,
  .gallery,
  .why-us,
  .testimonials,
  .contact {
    padding: 70px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}
