/* ════════════════════════════════════════════════════════════════
   Polished Madrid — polished.css
   Pastel-luxe nailbar design-system
   Tokens, typografie, layout, secties, animaties, responsive.
   ════════════════════════════════════════════════════════════════ */

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  /* Achtergronden */
  --bg-cream:        #FBFAF6;
  --bg-warm:         #F5EFE6;

  /* Tekst */
  --text-cocoa:      #2A2622;
  --text-muted:      #6B5F55;

  /* Accents */
  --dust-pink:       #E8D5D0;
  --dust-pink-soft:  #F2E4E0;
  --beige:           #D4C5B0;
  --gold:            #C9A961;
  --gold-light:      #E0C896;

  /* Support */
  --line:            rgba(42, 38, 34, 0.08);
  --line-strong:     rgba(42, 38, 34, 0.16);
  --shadow-soft:     0 8px 24px rgba(42, 38, 34, 0.06);
  --shadow-mid:      0 12px 32px rgba(42, 38, 34, 0.12);

  /* Spacing scale */
  --space-xs:        0.5rem;
  --space-sm:        1rem;
  --space-md:        1.5rem;
  --space-lg:        2.5rem;
  --space-xl:        4rem;
  --space-2xl:       6rem;

  /* Typography */
  --ff-serif:        'Playfair Display', Georgia, serif;
  --ff-sans:         'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max:   1280px;
  --header-h:        72px;
  --radius:          4px;
  --radius-lg:       8px;

  /* Animation */
  --ease:            cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:        cubic-bezier(0.0, 0, 0.2, 1);
  --dur-fast:        180ms;
  --dur-mid:         320ms;
  --dur-slow:        600ms;
}

/* ── Reset + Font Boosting kill ──────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-sans);
  background: var(--bg-cream);
  color: var(--text-cocoa);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; color: inherit; }
input, textarea, button { font-family: inherit; font-size: inherit; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}
@media (min-width: 1024px) {
  .container { padding: 0 var(--space-xl); }
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--ff-serif); color: var(--text-cocoa); letter-spacing: -0.01em; }
h1 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2 {
  font-weight: 600;
  font-size: clamp(1.875rem, 2.5vw + 1rem, 2.75rem);
  line-height: 1.15;
}
h3 {
  font-weight: 600;
  font-size: clamp(1.25rem, 1vw + 1rem, 1.625rem);
  line-height: 1.25;
}
p { font-size: 1rem; line-height: 1.65; color: var(--text-cocoa); }
.section-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-top: var(--space-sm);
}

/* Tag-label — kleine uppercase boven elke sectie */
.tag {
  display: inline-block;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.tag.gold { color: var(--gold); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--dur-fast) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text-cocoa);
  color: var(--bg-cream);
  border: 1px solid var(--text-cocoa);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1rem; }

/* ── Header sticky ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-mid) var(--ease), background var(--dur-mid) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 250, 246, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: var(--header-h);
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-cocoa);
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--text-cocoa);
  color: var(--bg-cream);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
}
.site-nav { display: none; }
@media (min-width: 900px) {
  .site-nav { display: flex; gap: var(--space-md); }
  .site-nav a {
    font-size: 0.9375rem;
    color: var(--text-muted);
    position: relative;
    padding: 0.25rem 0;
  }
  .site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-fast) var(--ease);
  }
  .site-nav a:hover { color: var(--text-cocoa); }
  .site-nav a:hover::after { transform: scaleX(1); }
}
.header-actions { display: flex; align-items: center; gap: var(--space-sm); }

/* Language-switcher dropdown */
.lang-switcher { position: relative; }
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-cocoa);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color var(--dur-fast) var(--ease);
}
.lang-current:hover { border-color: var(--text-cocoa); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 80px;
  background: var(--bg-cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-mid);
  overflow: hidden;
}
.lang-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--text-cocoa);
}
.lang-menu li a:hover { background: var(--bg-warm); }
.lang-menu li a[aria-current="true"] { color: var(--gold); font-weight: 600; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero { padding: var(--space-2xl) 0 var(--space-2xl); }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-2xl); }
}
.hero-text h1 { margin: var(--space-xs) 0 var(--space-md); }
.hero-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 460px;
  margin-bottom: var(--space-lg);
}
.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.94) brightness(0.99);
  transition: transform 1.2s var(--ease);
}
.hero-image:hover img { transform: scale(1.02); }

/* ── Signature ───────────────────────────────────────────────── */
.signature { padding: var(--space-2xl) 0; background: var(--bg-warm); }
.section-header { margin-bottom: var(--space-xl); max-width: 720px; }
.signature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 700px) {
  .signature-grid { grid-template-columns: repeat(3, 1fr); }
}
.signature-card {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.signature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-mid);
}
.signature-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.signature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.94);
  transition: transform 600ms var(--ease);
}
.signature-card:hover .signature-img img { transform: scale(1.04); }
.signature-body { padding: var(--space-lg); }
.signature-body h3 { margin-bottom: var(--space-xs); }
.signature-body p { color: var(--text-muted); margin-bottom: var(--space-md); }
.signature-body .meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}
.signature-body .meta .price { color: var(--gold); font-weight: 600; }
.signature-body .meta .dot { color: var(--line-strong); }

/* ── Services lijst ──────────────────────────────────────────── */
.services { padding: var(--space-2xl) 0; }
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .service-row {
    grid-template-columns: 1fr auto;
    gap: var(--space-lg);
    align-items: center;
  }
}
.service-name h3 { font-size: 1.25rem; margin-bottom: 0.375rem; }
.service-name p { color: var(--text-muted); font-size: 0.9375rem; max-width: 560px; }
.service-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--ff-serif);
}
.service-meta .duration {
  font-family: var(--ff-sans);
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.service-meta .price {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold);
  min-width: 70px;
  text-align: right;
}

/* ── Atelier ──────────────────────────────────────────────────── */
.atelier { padding: var(--space-2xl) 0; background: var(--bg-warm); }
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 900px) {
  .atelier-grid { grid-template-columns: 0.95fr 1.05fr; gap: var(--space-2xl); }
}
.atelier-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.atelier-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.94);
}
.atelier-text h2 { margin: var(--space-xs) 0 var(--space-md); }
.atelier-text p { color: var(--text-cocoa); margin-bottom: var(--space-md); max-width: 560px; }
.atelier-text p:last-child { margin-bottom: 0; }

/* ── Gallery masonry ──────────────────────────────────────────── */
.gallery { padding: var(--space-2xl) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery-item:nth-child(3n) { aspect-ratio: 1 / 1; }
.gallery-item:nth-child(5n) { aspect-ratio: 4 / 5; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.06) saturate(0.94);
  transition: transform 600ms var(--ease), filter var(--dur-mid) var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: sepia(0) saturate(1);
}

/* ── Testimonials ─────────────────────────────────────────────── */
.testimonials { padding: var(--space-2xl) 0; background: var(--bg-warm); }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 700px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  padding: var(--space-lg);
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  border-left: 2px solid var(--gold);
}
.testimonial p {
  font-family: var(--ff-serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-style: italic;
  color: var(--text-cocoa);
  margin-bottom: var(--space-sm);
}
.testimonial cite {
  display: block;
  font-family: var(--ff-sans);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ── Booking CTA ──────────────────────────────────────────────── */
.booking {
  padding: var(--space-2xl) 0;
  background: var(--text-cocoa);
  color: var(--bg-cream);
  text-align: center;
}
.booking-inner { max-width: 640px; margin: 0 auto; }
.booking h2 {
  color: var(--bg-cream);
  margin: var(--space-xs) 0 var(--space-md);
}
.booking p {
  color: rgba(251, 250, 246, 0.75);
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
}
.booking .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-cocoa);
}
.booking .btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.booking-note {
  margin-top: var(--space-md);
  font-size: 0.875rem;
  color: rgba(251, 250, 246, 0.55);
}

/* ── Contact ──────────────────────────────────────────────────── */
.contact { padding: var(--space-2xl) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}
.contact-info h2 { margin: var(--space-xs) 0 var(--space-md); }
.contact-info address {
  font-style: normal;
  margin-bottom: var(--space-lg);
}
.contact-info address p { color: var(--text-cocoa); margin-bottom: var(--space-xs); }
.contact-info address a:hover { color: var(--gold); }

.hours {
  border-top: 1px solid var(--line);
  padding-top: var(--space-sm);
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}
.hours li:last-child { border-bottom: none; }
.hours .day { color: var(--text-cocoa); }
.hours .time { color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-form label { display: flex; flex-direction: column; gap: 0.375rem; }
.contact-form label span {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-cream);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-cocoa);
  font-size: 0.9375rem;
  transition: border-color var(--dur-fast) var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 100px; font-family: inherit; }
.form-feedback {
  font-size: 0.875rem;
  margin-top: var(--space-xs);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}
.form-feedback.success { background: rgba(201, 169, 97, 0.12); color: var(--gold); }
.form-feedback.error { background: rgba(220, 80, 80, 0.08); color: #B85050; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  padding: var(--space-xl) 0 var(--space-lg);
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 700px) {
  .footer-inner { grid-template-columns: 1fr auto 1fr; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-brand .logo-mark,
.footer-brand .logo-text {
  display: inline-block;
  vertical-align: middle;
}
.footer-tagline {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.footer-nav { display: flex; gap: var(--space-md); flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 0.875rem; color: var(--text-muted); }
.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: right;
}
@media (max-width: 699px) {
  .footer-copyright { text-align: left; }
}

/* ── Reveal animation (IntersectionObserver-controlled) ──────── */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--dur-slow) var(--ease-out) var(--reveal-delay, 0ms),
    transform var(--dur-slow) var(--ease-out) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect prefers-reduced-motion: disable animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Mobile-tweaks ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .site-nav { display: none; }
  .header-actions .btn { padding: 0.625rem 1rem; font-size: 0.875rem; }
  .hero { padding: var(--space-xl) 0; }
  .signature, .services, .atelier, .gallery,
  .testimonials, .booking, .contact { padding: var(--space-xl) 0; }
  .section-header { margin-bottom: var(--space-lg); }
}
