/* ==========================================================================
   Lina Shahin Tattoo — Stylesheet
   ========================================================================== */

:root {
  --bg: #121010;
  --bg-alt: #1a1613;
  --panel: #201a16;
  --gold: #c9a35d;
  --gold-light: #e6cd97;
  --text: #f4ede1;
  --text-muted: #b6a996;
  --border: rgba(201, 163, 93, 0.22);
  --shadow: rgba(0, 0, 0, 0.45);
  --maxw: 1180px;
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 18px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.02rem;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-head .section-lead { margin: 0 auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.35s ease;
  cursor: pointer;
  background: transparent;
}

.btn--primary { background: var(--gold); color: #171310; }
.btn--primary:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--ghost { color: var(--text); }
.btn--ghost:hover { background: var(--gold); color: #171310; }

.btn-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; }

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: all 0.4s ease;
  background: linear-gradient(to bottom, rgba(18,16,16,0.85), rgba(18,16,16,0));
}

.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(18, 16, 16, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px var(--shadow);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.brand span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  color: var(--gold);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 42px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 1px;
  background: var(--text);
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(201,163,93,0.10), transparent 60%),
    linear-gradient(180deg, #171310 0%, #121010 60%);
  padding: 160px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,163,93,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,163,93,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero .eyebrow { font-size: 0.85rem; }

.hero h1 {
  font-size: clamp(2.15rem, 6vw, 4.6rem);
  margin-bottom: 20px;
  text-wrap: balance;
}

.force-break { display: inline; }

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero p.lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero .btn-row { justify-content: center; margin-top: 10px; }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-cue::after {
  content: '';
  width: 1px; height: 40px;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- Two-column intro ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.split.reverse .split-media { order: 2; }

.split-media {
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.split-text h2 { margin-bottom: 22px; }
.split-text p { color: var(--text-muted); margin-bottom: 16px; }
.split-text p:last-of-type { margin-bottom: 0; }

/* ---------- Image placeholder ---------- */

.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    linear-gradient(135deg, var(--panel) 0%, #171310 100%);
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: var(--text-muted);
  padding: 20px;
}

.img-placeholder svg { width: 34px; height: 34px; opacity: 0.6; }

.img-placeholder .ph-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.img-placeholder .ph-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.75;
}

/* ---------- Style cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.style-card {
  background: var(--panel);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.style-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.style-card .num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}

.style-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.style-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Portfolio grid ---------- */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 50px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover { border-color: var(--gold); color: var(--text); }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: #171310; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.portfolio-item { cursor: pointer; overflow: hidden; }

.portfolio-item .img-placeholder { aspect-ratio: 1/1.1; min-height: unset; }

.portfolio-item img {
  width: 100%;
  aspect-ratio: 1/1.1;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img { transform: scale(1.05); }

.portfolio-item.is-hidden { display: none; }

.portfolio-item figcaption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
}

.portfolio-item figcaption .tag { color: var(--gold); }

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step { position: relative; padding-top: 10px; }

.step .step-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 0.92rem; }

/* ---------- Info panel (pricing / notice) ---------- */

.notice-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 44px;
  text-align: center;
  margin-top: 60px;
}

.notice-panel h3 { margin-bottom: 14px; font-size: 1.3rem; }
.notice-panel p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: start;
}

.contact-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }

.contact-item { display: flex; gap: 20px; align-items: flex-start; }

.contact-item .icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.contact-item a, .contact-item p { color: var(--text); font-size: 1rem; }
.contact-item .hint { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

.map-frame {
  width: 100%;
  aspect-ratio: 4/3.4;
  border: 1px solid var(--border);
}

iframe.map-frame {
  filter: grayscale(0.6) invert(0.92) contrast(0.9);
}

.map-consent {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.map-consent:hover { border-color: var(--gold); }
.map-consent-icon { font-size: 1.8rem; }
.map-consent-hint { color: var(--text-muted); font-size: 0.82rem; max-width: 280px; }
.map-consent-hint a { color: var(--gold); text-decoration: underline; }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
  text-align: center;
}

.cta-strip h2 { margin-bottom: 18px; }
.cta-strip p { color: var(--text-muted); max-width: 520px; margin: 0 auto 32px; }

/* ---------- Footer ---------- */

.site-footer {
  background: #0e0c0b;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-grid p, .footer-grid a { color: var(--text-muted); font-size: 0.9rem; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--gold); }

.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { max-width: 320px; }

.social-row { display: flex; gap: 14px; margin-top: 18px; }

.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}

.social-row a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom a { text-decoration: underline; }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,8,7,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}

.lightbox.is-open { display: flex; }

.lightbox-inner { max-width: 640px; width: 100%; text-align: center; }

.lightbox-close {
  position: absolute;
  top: 30px; right: 40px;
  background: none; border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 190px 0 90px;
  text-align: center;
  background: linear-gradient(180deg, #171310 0%, #121010 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { font-size: clamp(1.85rem, 5vw, 3.2rem); text-wrap: balance; }
.page-hero p { color: var(--text-muted); max-width: 560px; margin: 16px auto 0; }

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr; }

  .nav-links {
    position: fixed;
    inset: 0;
    height: 100dvh;
    width: 100%;
    background: rgba(14, 12, 11, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 32px;
    text-align: center;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 1001;
  }

  .nav-links a { font-size: 1.05rem; }

  .nav-links.is-open { transform: translateX(0); }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  .nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .contact-item { flex-direction: row; }

  .hero {
    min-height: auto;
    padding: 116px 22px 64px;
  }

  .hero p.lead { font-size: 1rem; }

  .scroll-cue { display: none; }

  .force-break { display: none; }

  .page-hero { padding: 150px 0 64px; }
}
