/* Karina Tattoo -- design system. Dark, bold, artist-forward, image-first.
   Mobile-first: base rules target ~390px; wider layouts progressively enhance. */

:root {
  --ink: #f2f0ea;
  --ink-dim: #b9b5ac;
  --bg: #0b0b0d;
  --bg-tint: #151417;
  --bg-card: #1b1a1e;
  --gold: #d4af6a;
  --gold-dim: #a5875a;
  --line: #2c2a2e;
  --danger: #c2493d;
  --radius: 10px;
  --max-width: 1100px;
  --font-display: "Georgia", "Iowan Old Style", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: 2rem; letter-spacing: 0.01em; }
h2 { font-size: 1.5rem; }
p { margin: 0 0 1em; color: var(--ink-dim); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand:hover { text-decoration: none; color: var(--gold); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

.site-nav {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  padding: 8px 16px 20px;
  display: none;
  gap: 4px;
}
.site-nav.is-open { display: flex; }
.nav-link {
  color: var(--ink-dim);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--gold); text-decoration: none; }
.nav-cta {
  margin-top: 10px;
  background: var(--gold);
  color: #14130f;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { text-decoration: none; opacity: 0.9; }
.lang-toggle-link {
  align-self: flex-end;
  margin-top: 10px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

/* ---------- Layout ---------- */
main { max-width: var(--max-width); margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 0; }
.section-tint { background: var(--bg-tint); margin: 0 -16px; padding: 40px 16px; }
.page-header { padding-top: 28px; }

.hero {
  padding: 48px 0 36px;
  text-align: left;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; margin-bottom: 10px; }
.hero h1 { font-size: 2.2rem; }
.hero-subtitle { font-size: 1.05rem; max-width: 60ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }

.styles-line { font-size: 1.1rem; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: #14130f; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-block { width: 100%; display: block; margin-top: 8px; }

.cta-band { text-align: center; }
.cta-band .btn { margin-top: 12px; }

/* ---------- Reviews ---------- */
.reviews-empty { font-style: italic; }

/* ---------- Newsletter ---------- */
.newsletter-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; }
.newsletter-form input[type="email"] {
  padding: 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-card); color: var(--ink); font-size: 1rem;
}
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-dim); font-size: 0.9rem; }
.checkbox-row input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.form-message { min-height: 1.2em; font-size: 0.9rem; }
.form-message.is-success { color: #8fbf7a; }
.form-message.is-error { color: var(--danger); }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.gallery-filter-btn {
  border: 1px solid var(--line); background: transparent; color: var(--ink-dim);
  padding: 8px 14px; border-radius: 20px; font-size: 0.85rem; cursor: pointer;
}
.gallery-filter-btn.is-active { border-color: var(--gold); color: var(--gold); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.gallery-tile {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-tile-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 10px;
  background: repeating-linear-gradient(135deg, #201f23, #201f23 10px, #1a191c 10px, #1a191c 20px);
  color: var(--ink-dim);
}
.gallery-tile-placeholder .ph-line { font-size: 0.68rem; letter-spacing: 0.03em; line-height: 1.4; }
.gallery-tile-placeholder .ph-line + .ph-line { margin-top: 4px; color: var(--gold-dim); }
.gallery-tile-ribbon {
  position: absolute; top: 10px; left: -28px; transform: rotate(-40deg);
  background: var(--danger); color: #fff; font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.05em; padding: 3px 34px; text-transform: uppercase;
}
.gallery-category-name { font-size: 0.75rem; color: var(--gold); margin-top: 6px; text-align: center; }
.gallery-empty-note { color: var(--ink-dim); font-style: italic; grid-column: 1 / -1; }

/* ---------- Pricing ---------- */
.placeholder-banner {
  background: rgba(212, 175, 106, 0.12); border: 1px dashed var(--gold);
  color: var(--gold); padding: 12px 14px; border-radius: var(--radius);
  font-size: 0.9rem; margin-bottom: 20px; font-weight: 600;
}
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.pricing-label { color: var(--ink-dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.pricing-value { font-family: var(--font-display); font-size: 1.4rem; color: var(--gold); margin-top: 6px; }
.flat-items-list { display: flex; flex-direction: column; gap: 8px; }
.flat-item-row {
  display: flex; justify-content: space-between; background: var(--bg-card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px;
}
.flat-item-price { color: var(--gold); font-weight: 600; }

/* ---------- Booking form ---------- */
.notice-box {
  background: var(--bg-card); border-left: 3px solid var(--gold);
  padding: 12px 14px; border-radius: 6px; font-size: 0.9rem; color: var(--ink);
}
.notice-box-age { border-left-color: var(--danger); }
.booking-form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; margin: 0 0 20px;
}
.booking-form legend { color: var(--gold); font-weight: 600; padding: 0 6px; }
.booking-form label {
  display: block; margin-bottom: 14px; font-size: 0.9rem; color: var(--ink-dim);
}
.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form input[type="file"],
.booking-form select,
.booking-form textarea {
  width: 100%; margin-top: 6px; padding: 12px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1rem; font-family: inherit;
}
.field-hint { display: block; font-size: 0.78rem; color: var(--ink-dim); margin-top: 4px; }
.age-gate-fieldset { border-color: var(--danger); }
.age-checkbox { font-size: 1rem; color: var(--ink); }
.age-gate-note { font-size: 0.8rem; color: var(--danger); margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; color: var(--ink);
  font-size: 1.05rem; font-weight: 600; padding: 16px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display);
}
.faq-question::after { content: "+"; color: var(--gold); font-size: 1.3rem; }
.faq-question[aria-expanded="true"]::after { content: "\2212"; }
.faq-answer { display: none; padding-bottom: 16px; }
.faq-answer.is-open { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }

/* ---------- Legal ---------- */
.legal-body p { color: var(--ink-dim); }

/* ---------- Aftercare ---------- */
.aftercare-lists { display: grid; gap: 24px; }
.dos-heading { color: #8fbf7a; }
.donts-heading { color: var(--danger); }
.dos-list, .donts-list { padding-left: 20px; color: var(--ink-dim); }
.dos-list li, .donts-list li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-tint); }
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 36px 16px;
  display: grid; gap: 24px;
}
.footer-col .brand { display: block; margin-bottom: 8px; }
.footer-heading { color: var(--gold); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.footer-col a { display: block; color: var(--ink-dim); padding: 4px 0; }
.footer-location, .footer-age-notice { font-size: 0.85rem; }
.footer-age-notice { color: var(--gold-dim); }
.footer-bottom {
  border-top: 1px solid var(--line); padding: 16px; text-align: center;
  font-size: 0.8rem; color: var(--ink-dim); display: flex; flex-direction: column; gap: 4px;
}

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .header-inner { padding: 16px 24px; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center;
    background: none; border: none; padding: 0; gap: 18px; width: auto;
  }
  .nav-link { border-bottom: none; padding: 4px 0; }
  .nav-cta { margin-top: 0; padding: 10px 18px; }
  .lang-toggle-link { margin-top: 0; }
  main { padding: 0 24px; }
  .section-tint { margin: 0 -24px; padding: 56px 24px; }
  .hero { padding: 72px 0 56px; text-align: center; }
  .hero h1 { font-size: 3rem; }
  .hero-subtitle { margin: 0 auto; }
  .hero-ctas { flex-direction: row; justify-content: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .aftercare-lists { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 16px 24px; }
}

@media (min-width: 960px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}
