/* ============================================
   YO TATTOO — style.css
   Dark & Edgy Solo Tattoo Artist Demo
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Space+Mono:wght@400;700&display=swap');

/* ── VARIABLES ── */
:root {
  --black:     #090909;
  --deep:      #111111;
  --card:      #161616;
  --surface:   #1c1c1c;
  --ash:       #2b2b2b;
  --smoke:     #555555;
  --muted:     #888888;
  --light:     #cccccc;
  --white:     #f0ece8;
  --red:       #c0392b;
  --red-hot:   #e74c3c;
  --red-glow:  rgba(192,57,43,0.28);
  --red-dim:   rgba(192,57,43,0.08);

  --font-display: 'Black Han Sans', sans-serif;
  --font-serif:   'Playfair Display', serif;
  --font-mono:    'Space Mono', monospace;

  --transition: 0.25s ease;
  --radius: 0px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; cursor: pointer; background: none; font: inherit; }

/* ── BASE ── */
body {
  background: var(--black);
  color: var(--light);
  font-family: var(--font-mono);
  cursor: crosshair;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section-tag {
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.section-tag::before { content: '//'; color: var(--ash); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.02em;
}
.divider {
  width: 36px;
  height: 2px;
  background: var(--red);
  margin: 1.4rem 0 2.2rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  transition: all var(--transition);
  cursor: crosshair;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-hot);
  box-shadow: 0 6px 30px var(--red-glow);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--ash);
  color: var(--muted);
}
.btn-outline:hover {
  border-color: var(--smoke);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--red);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--black);
  color: var(--white);
}

/* ════════════════════════════════
   HEADER / NAV
════════════════════════════════ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2.5rem;
  background: rgba(9,9,9,0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ash);
  transition: padding var(--transition), background var(--transition);
  min-height: 70px;
}
#header.scrolled {
  padding: 0.5rem 2.5rem;
  min-height: 58px;
  background: rgba(9,9,9,0.99);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

/* Logo image: tall, sharp, no shrink */
.nav-logo img {
  height: 52px;
  width: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: height var(--transition), filter var(--transition);
  filter: brightness(1.05) contrast(1.1);
}
#header.scrolled .nav-logo img {
  height: 40px;
}
.nav-logo img:hover {
  filter: brightness(1.15) contrast(1.15);
}

/* Hide the text duplicate — the logo image already has "YO TATTOO" in it */
.nav-logo-text {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smoke);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-book {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.3rem;
  font-size: 0.65rem !important;
  letter-spacing: 0.2em !important;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-book:hover {
  background: var(--red-hot) !important;
  box-shadow: 0 0 20px var(--red-glow) !important;
}
.nav-book::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: crosshair;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--light);
  transition: all var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(9,9,9,0.97);
  border-bottom: 1px solid var(--ash);
  padding: 2rem 2.5rem;
  z-index: 499;
  flex-direction: column;
  gap: 1.2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--ash);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--white); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,9,9,0.95) 45%, rgba(9,9,9,0.5) 100%),
    linear-gradient(180deg, rgba(9,9,9,0.3) 0%, rgba(9,9,9,0.7) 100%);
}

/* diagonal lines texture */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 70px,
    rgba(192,57,43,0.025) 70px,
    rgba(192,57,43,0.025) 71px
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2.5rem;
  max-width: 680px;
  padding-top: 6rem;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--red); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.93;
  color: var(--white);
  margin-bottom: 0.4rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.35s forwards;
}
.hero h1 .stroke {
  -webkit-text-stroke: 1.5px var(--red);
  color: transparent;
}

.hero-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin: 1.8rem 0 2.4rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
}

.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 2.5rem;
  display: flex;
  gap: 2.5rem;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.8s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  display: block;
  line-height: 1;
}
.stat-num em { color: var(--red); font-style: normal; }
.stat-label {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  margin-top: 0.3rem;
  display: block;
}

/* scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--smoke);
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.7s ease 1s forwards;
}
.scroll-line {
  width: 30px; height: 1px;
  background: var(--ash);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--red);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  to { left: 100%; }
}

/* ════════════════════════════════
   ABOUT
════════════════════════════════ */
#about {
  padding: 7rem 0;
  background: var(--deep);
  border-top: 1px solid var(--ash);
  border-bottom: 1px solid var(--ash);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}

/* Corner accent */
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -10px; left: -10px;
  width: 45%; height: 45%;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
  pointer-events: none;
  z-index: 2;
}
/* Bottom accent */
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -10px; right: -10px;
  width: 35%; height: 35%;
  border-bottom: 1px solid var(--ash);
  border-right: 1px solid var(--ash);
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1.5rem;
  background: var(--red);
  color: var(--white);
  padding: 1rem 1.2rem;
  text-align: center;
  z-index: 3;
}
.about-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  display: block;
}
.about-badge-label {
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 0.2rem;
  display: block;
}

.about-text p {
  font-family: var(--font-serif);
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--light); }

.about-perks {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.8rem 0 2.4rem;
}
.perk {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--light);
}
.perk::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

/* ════════════════════════════════
   SERVICES
════════════════════════════════ */
#services {
  padding: 7rem 0;
  background: var(--black);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ash);
  border: 1px solid var(--ash);
  margin-top: 3rem;
}

.service-card {
  background: var(--card);
  padding: 2.8rem 2.2rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { background: #170a0a; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 42px; height: 42px;
  margin-bottom: 1.5rem;
  opacity: 0.6;
  transition: opacity var(--transition);
}
.service-card:hover .service-icon { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--ash);
  line-height: 1;
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(192,57,43,0.2); }

.service-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.service-desc {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--smoke);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.service-price {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

/* ════════════════════════════════
   GALLERY
════════════════════════════════ */
#gallery {
  padding: 7rem 0;
  background: var(--deep);
  border-top: 1px solid var(--ash);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 6px;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(15%) contrast(1.1);
}
.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192,57,43,0);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  transition: background 0.35s;
}
.gallery-item:hover .gallery-overlay {
  background: rgba(192,57,43,0.15);
}
.gallery-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}
.gallery-item:hover .gallery-label {
  opacity: 1;
  transform: translateY(0);
}

.gallery-footer {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

/* ════════════════════════════════
   TESTIMONIALS
════════════════════════════════ */
#testimonials {
  padding: 7rem 0;
  background: var(--black);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--card);
  padding: 2.2rem;
  border-left: 2px solid var(--ash);
  transition: border-color var(--transition);
  position: relative;
}
.testi-card:hover { border-color: var(--red); }

.testi-quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--ash);
  line-height: 0.8;
  margin-bottom: 1rem;
  transition: color var(--transition);
}
.testi-card:hover .testi-quote { color: var(--red); }

.testi-stars { color: var(--red); font-size: 0.78rem; letter-spacing: 0.15em; margin-bottom: 1rem; }

.testi-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.93rem;
  color: var(--smoke);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.testi-author { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--light); }
.testi-detail { font-size: 0.58rem; color: var(--smoke); margin-top: 0.2rem; letter-spacing: 0.12em; }

/* ════════════════════════════════
   BOOKING CTA
════════════════════════════════ */
#cta {
  background: var(--red);
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: 'BOOK';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 18rem);
  color: rgba(0,0,0,0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.05em;
}
#cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 0.8rem;
  position: relative;
}
#cta p {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  position: relative;
}

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
#footer {
  background: var(--deep);
  border-top: 1px solid var(--ash);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--ash);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
  text-decoration: none;
}
.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0.9) contrast(1.05);
}
/* Hide duplicate text in footer too */
.footer-logo-text { display: none; }

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--smoke);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.social-row { display: flex; gap: 0.7rem; }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--ash);
  display: flex; align-items: center; justify-content: center;
  color: var(--smoke);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover { border-color: var(--red); color: var(--red); }

.footer-col h4 {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.3rem;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.76rem;
  color: var(--smoke);
  margin-bottom: 0.6rem;
  line-height: 1.65;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: 0.6rem;
  color: var(--smoke);
  letter-spacing: 0.1em;
}
.footer-copy em { color: var(--red); font-style: normal; }
.demo-badge {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--ash);
  color: var(--smoke);
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--ash);
}

/* ════════════════════════════════
   ANIMATIONS
════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { max-width: 100%; padding-top: 5rem; }
  .hero-stats { right: 1.5rem; gap: 1.5rem; bottom: 1.5rem; }
  .hero-stats .stat-num { font-size: 1.6rem; }
  .hero-scroll { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-badge { right: 1rem; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .gallery-item:nth-child(1) { grid-column: span 2; }

  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.3rem; }
  #header { padding: 1rem 1.3rem; }
  .hero-content { padding: 0 1.3rem; padding-top: 5rem; }
  .hero-stats { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1) { grid-column: span 1; }
}
