/*
Theme Name: Wildside Tattoo
Theme URI: https://wildsidetattoo.com
Author: Wildside Tattoo
Description: Bold, modern tattoo studio theme for Wildside Tattoo. Est. 1998.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wildside-tattoo
Tags: one-page, dark, business, portfolio
*/

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

:root {
  --black: #0a0a0a;
  --white: #f5f5f5;
  --red: #c9222a;
  --red-dark: #9e1a20;
  --gray: #1a1a1a;
  --gray-mid: #2e2e2e;
  --gray-text: #999;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
h1, h2, h3, .nav-logo, .footer-logo, .stat-number,
.about-visual-text, .service-card h3, .artist-info h3 {
  font-family: 'Bebas Neue', sans-serif;
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e1e1e;
}

.site-branding a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
}

.site-branding a span { color: var(--red); }

#primary-menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

#primary-menu a {
  color: var(--gray-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s;
}

#primary-menu a:hover { color: var(--white); }

#primary-menu .menu-cta a {
  background: var(--red);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  transition: background 0.2s;
}

#primary-menu .menu-cta a:hover { background: var(--red-dark); }

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,34,42,0.12) 0%, transparent 70%),
    var(--black);
}

.hero-noise {
  position: absolute;
  inset: 0;
  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)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-content { position: relative; max-width: 900px; }

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  border: 1px solid rgba(201,34,42,0.4);
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-size: clamp(5rem, 14vw, 11rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.hero-content h1 .accent { color: var(--red); }

.hero-sub {
  margin: 1.5rem auto 2.5rem;
  max-width: 520px;
  font-size: 1.05rem;
  color: var(--gray-text);
  line-height: 1.7;
}

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

/* ─────────────────────────────────────────
   BUTTONS
───────────────────────────────────────── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s;
}

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

.btn-outline {
  border: 1px solid #333;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 3px;
  display: inline-block;
  transition: border-color 0.2s, transform 0.15s;
}

.btn-outline:hover { border-color: #666; transform: translateY(-1px); color: var(--white); }

/* ─────────────────────────────────────────
   STATS BAR
───────────────────────────────────────── */
.stats-bar {
  background: var(--gray);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-top: 0.3rem;
}

/* ─────────────────────────────────────────
   SECTIONS SHARED
───────────────────────────────────────── */
.site-section { padding: 6rem 2rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.site-section h2 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--gray-text);
  max-width: 560px;
  margin-bottom: 3.5rem;
  line-height: 1.75;
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--red);
  margin-bottom: 2rem;
}

/* ─────────────────────────────────────────
   SERVICES
───────────────────────────────────────── */
#services { background: var(--black); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5px;
  background: #1a1a1a;
  border: 1.5px solid #1a1a1a;
}

.service-card {
  background: var(--black);
  padding: 2.5rem;
  transition: background 0.2s;
}

.service-card:hover { background: #111; }

.service-icon { font-size: 2rem; margin-bottom: 1.25rem; }

.service-card h3 {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
#about {
  background: var(--gray);
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

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

.about-text p {
  font-size: 1rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-text p strong { color: var(--white); font-weight: 600; }

.about-visual {
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.about-visual-text {
  font-size: 6rem;
  color: var(--red);
  line-height: 1;
}

.about-visual-sub {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-text);
}

/* ─────────────────────────────────────────
   GALLERY
───────────────────────────────────────── */
#gallery { background: var(--black); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-item {
  background: #111;
  border: 1px solid #1e1e1e;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
}

.gallery-item:hover { transform: scale(1.02); z-index: 1; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 0.5rem;
  color: #333;
}

.gallery-placeholder svg { width: 32px; height: 32px; }

.gallery-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-note {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

/* ─────────────────────────────────────────
   ARTISTS
───────────────────────────────────────── */
#artists {
  background: var(--gray);
  border-top: 1px solid #222;
}

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.artist-card {
  background: var(--black);
  border: 1px solid #1e1e1e;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.artist-card:hover { border-color: #333; }

.artist-photo {
  background: #111;
  aspect-ratio: 1;
  overflow: hidden;
}

.artist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a2a2a;
  font-size: 3rem;
}

.artist-info { padding: 1.25rem 1.5rem; }

.artist-info h3 {
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--white);
}

.artist-specialty {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.25rem;
}

.artist-bio {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 0.75rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   CONTACT
───────────────────────────────────────── */
#contact { background: var(--black); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-info { display: flex; flex-direction: column; gap: 2rem; }

.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
}

.contact-item-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value a:hover { color: var(--red); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #111;
  border: 1px solid #2a2a2a;
  color: var(--white);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

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

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group select option { background: #111; }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#site-footer {
  background: #050505;
  border-top: 1px solid #1a1a1a;
  padding: 2.5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.footer-logo span { color: var(--red); }

.footer-copy { font-size: 0.78rem; color: #444; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.78rem;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─────────────────────────────────────────
   GENERIC PAGE / POSTS
───────────────────────────────────────── */
.page-content-wrap {
  padding: 8rem 2rem 5rem;
  max-width: 860px;
  margin: 0 auto;
}

.page-content-wrap h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2rem;
  color: var(--white);
}

.page-content-wrap .entry-content p { color: var(--gray-text); line-height: 1.8; margin-bottom: 1.25rem; }
.page-content-wrap .entry-content h2 { font-size: 2rem; margin: 2rem 0 1rem; }
.page-content-wrap .entry-content h3 { font-size: 1.5rem; margin: 1.5rem 0 0.75rem; color: var(--red); }
.page-content-wrap .entry-content a { color: var(--red); text-decoration: underline; }
.page-content-wrap .entry-content ul, .page-content-wrap .entry-content ol {
  padding-left: 1.5rem; color: var(--gray-text); margin-bottom: 1.25rem;
}
.page-content-wrap .entry-content li { margin-bottom: 0.4rem; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  #site-header { padding: 1rem 1.5rem; }
  #primary-menu { display: none; }
  .stats-bar { gap: 2.5rem; padding: 2rem 1.5rem; }
  #site-footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
