/* Oasis Automotive Detailing Studio
   Palette taken from the logo: black, signal red, bone. */

:root {
  --black: #000;
  --surface: #131010;
  --bone: #f4e9db;
  --red: #c70e11;
  --red-hot: #f0262e;
  --ash: #b9b0a5;
  --line: rgba(244, 233, 219, 0.18);
  --ink-line: rgba(0, 0, 0, 0.22);
  --font-display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--black);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-style: italic; font-weight: 700; line-height: 1.05; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--red-hot); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--bone); color: #000; padding: 10px 16px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn-sm { min-height: 44px; padding: 0 22px; font-size: .98rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hot); }
.btn-ghost {
  background: transparent; color: var(--bone);
  border-color: var(--bone); clip-path: none;
}
.btn-ghost:hover { background: var(--bone); color: #000; }
.statement .btn-ghost { color: #fff; border-color: #fff; }
.statement .btn-ghost:hover { background: #fff; color: var(--red); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 1.55rem; color: var(--red-hot); letter-spacing: .02em; text-transform: uppercase;
}
.brand-sub { font-size: .78rem; color: var(--ash); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--red-hot); }

.menu-btn { display: none; background: none; border: 0; padding: 12px; cursor: pointer; }
.menu-btn i { display: block; width: 26px; height: 2px; background: var(--bone); margin: 6px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] i:nth-child(2) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(3) { opacity: 0; }
.menu-btn[aria-expanded="true"] i:nth-child(4) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding-top: 56px; }
.hero-stripes { position: absolute; inset: 0 0 96px 0; overflow: hidden; pointer-events: none; }
.hero-stripes i {
  position: absolute; top: -10%; bottom: -10%; right: 0;
  transform: skewX(-16deg); transform-origin: top right;
  background: var(--red);
}
.hero-stripes i:nth-child(1) { width: 8vw; right: -4vw; opacity: .95; }
.hero-stripes i:nth-child(2) { width: 1.6vw; right: 6vw; opacity: .95; }
.hero-stripes i:nth-child(3) { width: .7vw; right: 9vw; opacity: .6; }
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px;
  min-height: min(640px, 76vh);
}
.hero-copy h1 { font-size: clamp(2.9rem, 7vw, 6rem); letter-spacing: -.01em; margin-bottom: 24px; }
.lead { font-size: 1.2rem; max-width: 34em; color: #e7dccd; margin-bottom: 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; color: var(--ash); margin-bottom: 22px;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: rgba(0,0,0,.6);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ash); }
.status.open .dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); }
.status.closed .dot { background: var(--red-hot); }

.hero-art img {
  width: min(560px, 100%); margin-inline: auto;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

.pillars {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 20px; border-top: 2px solid var(--red);
}
.pillars li {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 26px 12px;
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.25rem;
}
.pillars li + li { border-left: 2px solid var(--red); }
.pillars svg { width: 28px; height: 28px; fill: none; stroke: var(--red-hot); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Section heads */
section { scroll-margin-top: var(--header-h); }
.section-head { max-width: 40rem; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 14px; }
.section-head p { font-size: 1.12rem; }

/* Services */
.services { background: var(--bone); color: #0a0a0a; padding: 96px 0; }
.services .section-head h2 { color: #000; }

.flagships { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.flag {
  position: relative; display: flex; flex-direction: column;
  background: #000; color: var(--bone); text-decoration: none;
  padding: 40px 36px 34px;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  transition: background-color .2s;
}
.flag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.flag:hover { background: #1b1010; }
.flag .thumb {
  max-width: none; height: auto; width: calc(100% + 72px); margin: -40px -36px 28px; aspect-ratio: 2 / 1; object-fit: cover;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 100%);
          mask-image: linear-gradient(#000 62%, transparent 100%);
}
.flag h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 8px; }
.flag-sub { color: var(--ash); font-size: .98rem; margin-bottom: 22px; }
.flag-tag { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.25rem; color: var(--red-hot); margin-bottom: 12px; }
.flag-body { color: #e0d5c6; max-width: 30em; margin-bottom: 26px; }
.enquire { margin-top: auto; font-weight: 600; color: var(--red-hot); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

.svc-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ink-line); border: 1px solid var(--ink-line);
}
.svc-list li { background: var(--bone); }
.svc-list a {
  position: relative; display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; row-gap: 4px; grid-template-rows: auto auto 1fr auto;
  height: 100%; padding: 28px 26px 24px; text-decoration: none; color: #0a0a0a;
  transition: background-color .18s, color .18s;
}
.hex {
  grid-row: 2 / span 2; width: 18px; height: 20px; margin-top: 4px; background: var(--red);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.svc-list .thumb { max-width: none; height: auto; grid-column: 1 / -1; width: calc(100% + 52px); margin: -28px -26px 20px; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-name { grid-column: 2; grid-row: 2; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.28rem; line-height: 1.15; }
.svc-tag { grid-column: 2; grid-row: 3; color: #3b3530; font-size: 1rem; }
.svc-list .enquire { grid-column: 2; grid-row: 4; align-self: end; margin-top: 14px; font-size: .95rem; color: var(--red); }
.svc-list a:hover { background: #000; color: var(--bone); }
.svc-list a:hover .svc-tag { color: #d9cfc1; }
.svc-list a:hover .enquire { color: var(--red-hot); }

/* Why */
.why { padding: 96px 0; border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-grid li { padding: 34px 30px 38px 0; margin-right: 30px; border-right: 1px solid var(--line); }
.why-grid li:nth-child(3n) { border-right: 0; margin-right: 0; }
.why-grid li:nth-child(n+4) { border-top: 1px solid var(--line); }
.ico {
  display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px;
  border: 2px solid var(--red); border-radius: 50%;
}
.ico svg { width: 30px; height: 30px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why-grid h3 { font-size: 1.35rem; margin-bottom: 8px; font-weight: 600; line-height: 1.15; }
.why-grid p { color: var(--ash); max-width: 24em; }

/* Statement */
.statement { background: var(--red); color: #fff; padding: 96px 0; overflow: hidden; }
.statement-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; }
.statement h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 24px; }
.statement p { font-size: 1.2rem; max-width: 30em; margin-bottom: 32px; }
.reel {
  justify-self: center; width: min(300px, 100%); aspect-ratio: 9 / 16; background: #000;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.reel video { width: 100%; height: 100%; object-fit: cover; }

/* Studio */
.studio { background: var(--bone); color: #0a0a0a; padding: 96px 0; }
.studio-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: stretch; }
.info dl { margin: 0; border-top: 2px solid #000; }
.info dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--ink-line); }
.info dt { font-weight: 600; color: var(--red); }
.info dd { margin: 0; }
.info a { text-underline-offset: 3px; }
.text-link { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--red); }
.map { min-height: 380px; background: #000; clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.85) contrast(1.05); }

/* Contact */
.contact { padding: 96px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 16px; }
.contact p { color: #e0d5c6; max-width: 28em; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 8px; font-weight: 500; }
.form input, .form select {
  width: 100%; height: 54px; padding: 0 16px;
  background: var(--surface); color: var(--bone);
  border: 1px solid var(--line); border-bottom: 2px solid var(--bone); border-radius: 0;
  font: inherit;
}
.form input::placeholder { color: #8d857b; }
.form input:focus, .form select:focus { outline: 3px solid var(--red-hot); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-error { color: #ff7a7f; font-weight: 500; }

/* Footer */
.site-footer { border-top: 2px solid var(--red); padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 14px; line-height: 1.35; }
.foot-brand img { border-radius: 4px; }
.foot-brand p { color: var(--ash); }
.foot-brand strong { color: var(--bone); }
.foot-links { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { width: 100%; color: var(--ash); font-size: .92rem; padding-top: 8px; }


/* Floating WhatsApp button (desktop and tablet; phones use the bottom bar) */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  display: inline-flex; align-items: center; gap: 10px;
  height: 58px; padding: 0 22px 0 16px; border-radius: 100px;
  background: #25d366; color: #06301a; text-decoration: none;
  font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1rem;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .12);
  transition: background-color .18s, transform .18s;
}
.wa-float:hover { background: #3be07c; transform: translateY(-2px); }
.wa-float svg { width: 30px; height: 30px; fill: none; stroke: #06301a; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 1100px) {
  .wa-float { padding: 0; width: 58px; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 600px) { .wa-float { display: none; } }

/* Mobile quick actions */
.quickbar { display: none; }

/* One orchestrated entrance, hero only */
@media (prefers-reduced-motion: no-preference) {
  .hero-stripes i { animation: stripe-in .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-stripes i:nth-child(2) { animation-delay: .08s; }
  .hero-stripes i:nth-child(3) { animation-delay: .16s; }
  .hero-copy > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .1s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .3s; }
  .hero-art img { animation: art-in 1s .15s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes stripe-in { from { transform: translateX(40vw) skewX(-16deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes art-in { from { opacity: 0; transform: scale(.94); } }

/* Responsive */
@media (max-width: 980px) {
  .svc-list { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid li, .why-grid li:nth-child(3n) { margin-right: 0; padding-right: 24px; border-right: 0; }
  .why-grid li:nth-child(2n+1) { border-right: 1px solid var(--line); margin-right: 24px; }
  .why-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .studio-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .menu-btn { display: block; margin-right: -12px; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; border-bottom: 1px solid var(--line);
    padding: 8px 20px 24px; display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .btn { margin-top: 20px; }

  .hero { padding-top: 32px; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; }
  .hero-art img { width: min(230px, 62%); height: auto; margin: 0 auto -8px; -webkit-mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse closest-side, #000 80%, transparent 100%); }
  .hero-stripes i:nth-child(1) { width: 18vw; }
  .hero-stripes i:nth-child(2) { right: 17vw; width: 4vw; }
  .hero-stripes { bottom: auto; height: 290px; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
  .hero-stripes i:nth-child(3) { display: none; }
  .flagships { grid-template-columns: 1fr; }
  .statement-grid { grid-template-columns: 1fr; gap: 40px; }
  .services, .why, .statement, .studio, .contact { padding: 72px 0; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; padding-bottom: 64px; }
  .brand-sub { display: none; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-list .thumb { aspect-ratio: 16 / 9; }
  .flag .thumb { width: calc(100% + 52px); margin: -32px -26px 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li, .why-grid li:nth-child(n) { margin-right: 0; padding: 28px 0; border-right: 0; }
  .why-grid li + li { border-top: 1px solid var(--line); }
  .pillars li { flex-direction: column; gap: 8px; font-size: 1.05rem; padding: 20px 6px; }
  .info dl > div { grid-template-columns: 1fr; gap: 4px; }
  .flag { padding: 32px 26px 28px; }
  .cta-row .btn { flex: 1 1 100%; }
  .form .btn { justify-self: stretch; }

  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #000; border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .quickbar a {
    display: grid; place-items: center; min-height: 56px; text-decoration: none;
    font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1.05rem;
  }
  .quickbar .qb-red { background: var(--red); color: #fff; }
}
