/*
Theme Name: Century Detail
Theme URI: https://example.com/ocean-detail-pro
Author: Custom Build
Description: Professional ocean-themed WordPress theme for a mobile or shop-based car detailing business. Includes homepage sections for services, portfolio, bio, and booking call-to-action.
Version: 1.0.1
License: GPL-2.0-or-later
Text Domain: ocean-detail-pro
*/

:root {
  --odp-navy: #06283d;
  --odp-ocean: #0f6b8f;
  --odp-teal: #20a6a4;
  --odp-sand: #f4ead9;
  --odp-foam: #f7fbfc;
  --odp-ink: #14313f;
  --odp-muted: #5f7480;
  --odp-gold: #d6a84f;
  --odp-white: #ffffff;
  --odp-shadow: 0 18px 45px rgba(6, 40, 61, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--odp-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  background: var(--odp-foam);
}
a { color: var(--odp-ocean); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--odp-teal); }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(6,40,61,.08);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}
.logo-link { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--odp-navy); }
.logo-link img { width: 150px; height: auto; }
.site-title { font-weight: 850; letter-spacing: -.04em; font-size: 1.35rem; }
.site-description { margin: -6px 0 0; font-size: .8rem; color: var(--odp-muted); }
.nav-menu { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { color: var(--odp-ink); text-decoration: none; font-weight: 750; font-size: .95rem; }
.nav-menu a:hover { color: var(--odp-ocean); }
.header-cta, .button, button, input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  background: var(--odp-navy);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(6,40,61,.18);
  cursor: pointer;
}
.header-cta:hover, .button:hover, button:hover, input[type="submit"]:hover { background: var(--odp-ocean); color: #fff; }
.menu-toggle { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 720px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(6,40,61,.88), rgba(15,107,143,.65) 46%, rgba(32,166,164,.28)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=2400&q=82') center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(0deg, var(--odp-foam), rgba(247,251,252,0));
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0 130px;
}
.hero-copy { max-width: 760px; }
.eyebrow { color: #cdeff2; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 850; }
.hero h1 {
  margin: 12px 0 18px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: .88;
  letter-spacing: -.08em;
}
.hero p { font-size: clamp(1.1rem, 2.4vw, 1.45rem); max-width: 650px; color: rgba(255,255,255,.91); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button.secondary { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.36); box-shadow: none; }
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 54px;
  max-width: 790px;
}
.trust-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.11);
  border-radius: 22px;
  backdrop-filter: blur(10px);
}
.trust-card strong { display: block; font-size: 1.05rem; }
.trust-card span { color: rgba(255,255,255,.82); font-size: .92rem; }

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0;
}
.section-header { max-width: 730px; margin-bottom: 34px; }
.section-header h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: .96; letter-spacing: -.06em; color: var(--odp-navy); }
.section-header p { margin: 0; color: var(--odp-muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid rgba(6,40,61,.08);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--odp-shadow);
}
.card h3 { margin: 0 0 10px; font-size: 1.45rem; color: var(--odp-navy); letter-spacing: -.03em; }
.card p { margin: 0; color: var(--odp-muted); }
.price { font-size: 3rem; line-height: 1; margin: 18px 0 4px; font-weight: 900; letter-spacing: -.06em; color: var(--odp-ocean); }
.price small { font-size: 1rem; color: var(--odp-muted); font-weight: 750; letter-spacing: 0; }
.feature-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 28px; color: var(--odp-ink); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--odp-teal), var(--odp-ocean)); }

.wave-band {
  background:
    linear-gradient(180deg, rgba(6,40,61,.78), rgba(6,40,61,.9)),
    url('https://images.unsplash.com/photo-1471922694854-ff1b63b20054?auto=format&fit=crop&w=2200&q=82') center/cover no-repeat;
  color: #fff;
  margin: 40px 0;
}
.wave-band .section-header h2, .wave-band .section-header p { color: #fff; }
.wave-band .card { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.15); box-shadow: none; }
.wave-band .card h3, .wave-band .card p { color: #fff; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.portfolio-item { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--odp-shadow); border: 1px solid rgba(6,40,61,.08); }
.portfolio-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe9ee; }
.portfolio-item h3 { margin: 18px 18px 4px; color: var(--odp-navy); }
.portfolio-item p { margin: 0 18px 20px; color: var(--odp-muted); }
.placeholder-photo {
  width: 100%; aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #d9edf0, #f5ead7);
  display: grid; place-items: center; color: var(--odp-muted); font-weight: 850;
}

.bio-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.bio-photo {
  border-radius: 34px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(6,40,61,.12), rgba(6,40,61,.36)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1400&q=82') center/cover no-repeat;
  box-shadow: var(--odp-shadow);
}
.bio-copy { background: #fff; border-radius: 34px; padding: 38px; box-shadow: var(--odp-shadow); border: 1px solid rgba(6,40,61,.08); }
.bio-copy h2 { margin-top: 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.05em; color: var(--odp-navy); }

.booking-panel { background: #fff; border-radius: 34px; padding: 34px; box-shadow: var(--odp-shadow); border: 1px solid rgba(6,40,61,.08); }
.footer {
  background: var(--odp-navy);
  color: rgba(255,255,255,.78);
  padding: 48px 0;
  margin-top: 60px;
}
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: #fff; }
.footer a { color: #fff; }

@media (max-width: 860px) {
  .header-inner { min-height: 70px; }
  .menu-toggle { display: inline-flex; }
  .main-navigation { display: none; position: absolute; left: 20px; right: 20px; top: 78px; background: #fff; border: 1px solid rgba(6,40,61,.1); border-radius: 22px; padding: 18px; box-shadow: var(--odp-shadow); }
  .main-navigation.is-open { display: block; }
  .nav-menu { flex-direction: column; align-items: flex-start; }
  .header-cta { display: none; }
  .hero { min-height: 640px; }
  .trust-strip, .card-grid, .portfolio-grid, .bio-section { grid-template-columns: 1fr; }
}
