/* ============================================
   SKULL CITY TATTOOS — Syracuse, NY
   Theme: Dark industrial, bold typography
   Fonts: Bebas Neue (display) + Barlow (body)
   Palette: Near-black + crimson red accent
   ============================================ */

:root {
  --bg: #0c0a0a;
  --bg-alt: #141111;
  --bg-card: #1a1616;
  --text: #e8e2de;
  --text-muted: #9a918a;
  --accent: #c42b2b;
  --accent-light: #e04848;
  --gold: #C4A265;
  --heading: 'Bebas Neue', sans-serif;
  --body: 'Barlow', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--heading);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.2rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

.overline {
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(12, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196, 43, 43, 0.08);
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.nav__brand {
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav__phone {
  font-family: var(--body);
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__phone svg { width: 16px; height: 16px; fill: var(--accent); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(8rem, 15vh, 12rem) 0 clamp(6rem, 10vh, 10rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(196, 43, 43, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(196, 162, 101, 0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0c0a0a 0%, #1a1111 40%, #0c0a0a 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; max-width: 800px; padding: 0 1.5rem; }

.hero__tagline {
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero__accent {
  background: linear-gradient(90deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #a02323);
  color: #fff;
  box-shadow: 0 4px 20px rgba(196, 43, 43, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(196, 43, 43, 0.45);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(232, 226, 222, 0.2);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-2px);
}

.hero__ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator__line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- SECTION BASE ---- */
.section {
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}

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

.section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 0.75rem;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(232, 226, 222, 0.06);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 43, 43, 0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(196, 43, 43, 0.08);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- REVIEWS ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(232, 226, 222, 0.06);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.review-card__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
}

.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.review-card__text {
  font-style: italic;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-card__author {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ---- ABOUT ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(196, 43, 43, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(196, 162, 101, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #1a1111, #0c0a0a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual__icon {
  width: 120px;
  height: 120px;
  opacity: 0.15;
}

.about-visual__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1;
}

/* ---- INFO (HOURS + LOCATION) ---- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid rgba(232, 226, 222, 0.06);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
}

.info-block h3 { margin-bottom: 1.5rem; }

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(232, 226, 222, 0.05);
  font-size: 0.95rem;
}

.hours-table td:first-child { color: var(--text-muted); }
.hours-table td:last-child { text-align: right; font-weight: 500; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-line svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.contact-line a { color: var(--text); }

.map-embed {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 226, 222, 0.06);
  margin-top: 1.5rem;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: clamp(5rem, 8vw, 8rem) 0;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196, 43, 43, 0.08) 0%, transparent 60%),
    var(--bg);
}

.cta-section h2 { margin-bottom: 1rem; }

.cta-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-section .phone-big {
  font-family: var(--heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.5rem;
}

.cta-section .address {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- FOOTER ---- */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(232, 226, 222, 0.06);
  text-align: center;
}

.footer__name {
  font-family: var(--heading);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer__info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer__credit {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

.footer__credit a {
  color: var(--gold);
}

/* ---- ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.25s; }
.reveal-delay-3 { transition-delay: 0.4s; }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(196, 43, 43, 0.3);
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.5; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .nav__brand { font-size: 1.2rem; }
}
