/* ==========================================================================
   Nordic Auto Spa — stylesheet
   Theme: black & gold, premium/luxury
   ========================================================================== */

:root {
  --black-950: #030303;
  --black-900: #0b0b0a;
  --black-850: #121110;
  --black-800: #17150f;
  --black-700: #211e15;

  --gold-100: #f9edc9;
  --gold-300: #e8c874;
  --gold-400: #d4af37;
  --gold-500: #b6902b;
  --gold-600: #8f6e1e;
  --gold-gradient: linear-gradient(135deg, #f7e6a4, #d4af37 55%, #a97e1f);
  --gold-gradient-soft: linear-gradient(135deg, rgba(247, 230, 164, 0.14), rgba(169, 126, 31, 0.14));

  --cream: #f3ecdb;
  --cream-dim: #d8cfba;
  --muted: #9a9184;
  --line: #2c2818;
  --line-soft: rgba(212, 175, 55, 0.22);

  --font-head: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 14px;
  --shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 28px rgba(212, 175, 55, 0.22);
  --header-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cream-dim);
  background: var(--black-950);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.5em; color: var(--cream); font-weight: 700; }

p { margin: 0 0 1em; color: var(--cream-dim); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--line-soft);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold-gradient);
  color: #17140a;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(212, 175, 55, 0.32); }

.btn-ghost {
  background: transparent;
  border-color: rgba(243, 236, 219, 0.35);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(243, 236, 219, 0.08); border-color: var(--gold-400); }

.btn-outline {
  background: transparent;
  border-color: var(--gold-500);
  color: var(--gold-300);
}
.btn-outline:hover { background: var(--gold-400); color: #17140a; border-color: var(--gold-400); }

.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 3, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
  display: flex;
  align-items: center;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 44px; height: auto; }
.logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 700;
}
.logo-text strong { color: var(--gold-400); font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: rgba(243, 236, 219, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--gold-400); }
.nav-cta.btn { padding: 10px 22px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--cream);
  padding: 120px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(212, 175, 55, 0.16), transparent 45%),
    radial-gradient(circle at 88% 0%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(160deg, var(--black-950), var(--black-900) 60%, var(--black-850));
  z-index: -1;
}
.hero-inner { max-width: 720px; }
.hero-crest {
  display: flex;
  justify-content: center;
  margin: 0 0 32px;
}
.hero-crest-mark { width: min(320px, 80%); height: auto; }
.hero .eyebrow { background: rgba(212, 175, 55, 0.12); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.4em;
}
.hero h1 span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--cream-dim);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 48px;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--black-900); border-bottom: 1px solid var(--line); }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 18px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-300);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; background: var(--black-950); }
.section-alt { background: var(--black-900); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.section-sub { font-size: 1.05rem; }

/* ---------- Cards / Services ---------- */
.cards {
  display: grid;
  gap: 28px;
}
.services-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }

.card {
  position: relative;
  background: var(--black-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }

.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.25rem; }

.service-card {
  align-items: center;
  text-align: center;
}
.service-card h3 { margin-bottom: 28px; }
.service-card .btn { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20, 17, 8, 0.75);
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.04em;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.ph-1 { background: linear-gradient(135deg, #1a1812, #d4af37); }
.ph-2 { background: linear-gradient(135deg, #0b0b0a, #b6902b); }
.ph-3 { background: linear-gradient(135deg, #262117, #f7e6a4); }
.ph-4 { background: linear-gradient(135deg, #141310, #a97e1f); }
.ph-5 { background: linear-gradient(135deg, #1a1812, #e8c874); }
.ph-6 { background: linear-gradient(135deg, #0b0b0a, #caa14b); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--black-800), var(--gold-500));
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}
.checklist {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  padding-left: 28px;
  position: relative;
  font-weight: 500;
  color: var(--cream);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold-400);
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact-simple {
  max-width: 640px;
  text-align: center;
}
.contact-simple h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.contact-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold-400);
  margin-bottom: 2px;
}
.contact-list a, .contact-list span {
  font-size: 1.05rem;
  color: var(--cream);
  font-weight: 500;
}
.social-links { display: flex; justify-content: center; gap: 18px; margin-top: 32px; }
.social-links a {
  font-weight: 600;
  color: var(--gold-300);
  border-bottom: 2px solid var(--gold-400);
  padding-bottom: 2px;
}

/* ---------- Quote request pop-up ---------- */
.quote-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--black-800);
  color: var(--cream-dim);
  box-shadow: var(--shadow-md);
  overflow: auto;
}
.quote-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}
.quote-dialog-inner {
  position: relative;
  padding: 36px 32px 28px;
}
.quote-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream-dim);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.quote-close:hover { border-color: var(--gold-400); color: var(--gold-400); }
.quote-dialog h3 { font-size: 1.5rem; padding-right: 40px; }
.quote-intro { font-size: 0.95rem; margin-bottom: 24px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .form-row.full { grid-column: 1 / -1; }
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-success { text-align: center; padding: 12px 0 4px; }
.quote-success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #17140a;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote-success h3 { padding-right: 0; }
.quote-success p { margin-bottom: 24px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--black-900);
  color: var(--cream);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--muted); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}
.form-row select option { background: var(--black-900); color: var(--cream); }

.form-submit { margin-top: 22px; }
.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-400);
  text-align: center;
}
.form-status.is-error { color: #e08a6a; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black-950);
  color: var(--muted);
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}
.footer-brand p { color: var(--muted); margin: 6px 0 0; font-size: 0.9rem; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--cream-dim); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold-400); }
.footer-copy { text-align: center; font-size: 0.82rem; margin: 20px 0 0; color: rgba(154, 145, 132, 0.6); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: 2; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--black-950);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav-cta.btn { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .hero { padding: 90px 0 60px; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-dialog-inner { padding: 32px 20px 24px; }
}
