/* ============================================================
   RIKKI KANDER — PORTFOLIO SITE
   Traditional Tattoo Artist
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:      #0d0d0d;
  --dark:       #141414;
  --dark-mid:   #1c1c1c;
  --surface:    #242424;
  --surface-2:  #2e2e2e;
  --red:        #2C4A38;
  --red-dark:   #1C3226;
  --gold:       #D4AF37;
  --gold-light: #E8CC6A;
  --cream:      #F2EDE4;
  --cream-dim:  #B8B0A4;
  --white:      #FFFFFF;

  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Crimson Pro', serif;

  --nav-h: 68px;
  --section-gap: 120px;
  --container-max: 1200px;
  --container-pad: clamp(24px, 5vw, 80px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

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

/* ── SCROLL BAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ── SECTION LABELS ───────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  color: var(--cream);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.section-heading--center {
  text-align: center;
}

.section-sub {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--cream-dim);
  text-align: center;
  margin-bottom: 64px;
  font-style: italic;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 60px);
  transition: background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--surface);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.75; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--cream); }

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--red);
  padding: 10px 24px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--red-dark); }

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 999;
  padding: 48px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  color: var(--cream);
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--gold); }

.mobile-cta {
  color: var(--red) !important;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) var(--container-pad) 80px;
  position: relative;
  background: var(--black);
  overflow: hidden;
}

/* Subtle grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Large ghost letter watermark */
.hero::after {
  content: 'RK';
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(200px, 35vw, 420px);
  line-height: 1;
  color: rgba(255, 255, 255, 0.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.05em;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 8px 20px;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.88;
  letter-spacing: 0.04em;
  color: var(--cream);
  position: relative;
  z-index: 1;
}

.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px auto;
  position: relative;
  z-index: 1;
}

.hero-line {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-star {
  color: var(--red);
  font-size: 0.9rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  letter-spacing: 0.25em;
  color: var(--cream-dim);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream-dim);
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}

.hero-scroll-hint span {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.5;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

/* ── MARQUEE ──────────────────────────────────────────────── */
.marquee-band {
  background: var(--red);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-track span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0 24px;
  opacity: 0.9;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── ABOUT ────────────────────────────────────────────────── */
.about {
  padding: var(--section-gap) 0;
  background: var(--dark);
}

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

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

.about-image-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--surface);
  border: 1px solid var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.about-image-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
}

.about-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.about-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.about-star { color: var(--red); font-size: 0.75rem; }

.about-text {
  font-size: 1.05rem;
  color: var(--cream-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text em { color: var(--gold); font-style: italic; }

.about-ig-btn { margin-top: 12px; }

/* ── WORK / GALLERY ───────────────────────────────────────── */
.work {
  padding: var(--section-gap) 0;
  background: var(--black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
  margin-bottom: 56px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
}

.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: span 2; }

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface) 0%, var(--dark-mid) 50%, var(--surface-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tag {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

.work-cta {
  text-align: center;
}

.work-cta p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--cream-dim);
  margin-bottom: 20px;
}

/* ── SERVICES ─────────────────────────────────────────────── */
.services {
  padding: var(--section-gap) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Diagonal stripe accent */
.services::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -10%;
  width: 120%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(196, 30, 58, 0.03) 40px,
    rgba(196, 30, 58, 0.03) 41px
  );
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  position: relative;
}

.service-card {
  background: var(--dark-mid);
  border: 1px solid var(--surface);
  padding: 48px 36px;
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
  position: relative;
}

.service-card:hover {
  border-color: var(--surface-2);
  transform: translateY(-4px);
}

.service-card--featured {
  background: var(--red);
  border-color: var(--red);
}

.service-card--featured:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
}

.service-icon {
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.service-card--featured .service-icon { color: rgba(255,255,255,0.6); }

.service-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  margin-bottom: 16px;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream-dim);
  line-height: 1.75;
}

.service-card--featured .service-desc { color: rgba(255,255,255,0.85); }

.service-badge {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 14px;
}

.services-note {
  border-top: 1px solid var(--surface);
  padding-top: 40px;
  position: relative;
}

.services-note-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.services-note-inner p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream-dim);
}

.services-note-star { color: var(--gold); font-size: 0.75rem; }

/* ── CONTACT ──────────────────────────────────────────────── */
.contact {
  padding: var(--section-gap) 0;
  background: var(--black);
}

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

.contact-details {
  margin: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--surface);
}

.contact-detail:first-child { border-top: 1px solid var(--surface); }

.contact-detail-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--cream);
}

.contact-link:hover { color: var(--gold); }

/* Form */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--dark-mid);
  border: 1px solid var(--surface);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--cream-dim);
  opacity: 0.4;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23B8B0A4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-group select option {
  background: var(--dark-mid);
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px;
  border: 1px solid var(--surface);
}

.form-success.visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success-icon {
  font-size: 2rem;
  color: var(--gold);
}

.form-success p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream-dim);
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  padding: 48px 0;
  background: var(--dark);
  border-top: 1px solid var(--surface);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.footer-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--cream-dim);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--cream-dim);
  opacity: 0.4;
}

/* ── ANIMATIONS (fade-in on scroll) ──────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 80px;
  }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: block; }

  /* Hero */
  .hero-name { font-size: clamp(4rem, 20vw, 8rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-scroll-hint { display: none; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-badge { left: 0; }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item--wide { grid-column: span 1; }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item--tall { grid-row: span 1; }

  .hero-line { width: 40px; }
}
