/*
Theme Name: Red Ink Tattoo Studio
Theme URI: https://redink-tattoo.com
Author: Pankaj Soni
Author URI: https://redink-tattoo.com
Description: Custom WordPress theme for Red Ink Tattoo Studio, Sri Ganganagar. Premium tattoo studio website with portfolio, services, pricing, FAQ, and contact sections. Red and black theme with full mobile responsiveness and SEO optimization.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redink-tattoo
Tags: one-column, custom-menu, featured-images, full-width-template, custom-logo
*/

/* ===== RESET & VARIABLES ===== */
:root {
  --red: #C41E2A;
  --red-bright: #E8222E;
  --red-dark: #8B1520;
  --black: #0A0A0A;
  --charcoal: #1A1A1A;
  --graphite: #2A2A2A;
  --smoke: #3A3A3A;
  --ash: #888;
  --silver: #B0B0B0;
  --bone: #E8E4E0;
  --white: #F5F3F0;
  --bg: var(--black);
  --bg-card: var(--charcoal);
  --bg-elevated: var(--graphite);
  --text: var(--white);
  --text-muted: var(--silver);
  --text-dim: var(--ash);
  --accent: var(--red);
  --accent-hover: var(--red-bright);
  --border: rgba(255,255,255,0.08);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== TICKER BAR ===== */
.ticker {
  background: var(--accent);
  color: #fff;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 100;
}
.ticker-inner {
  display: inline-block;
  animation: scroll-ticker 25s linear infinite;
}
@keyframes scroll-ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo { height: 42px; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a:focus { color: var(--accent); outline: none; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  filter: blur(2px);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 20px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .red { color: var(--accent); }
.hero-sub {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--silver);
  margin-top: 20px;
  line-height: 1.5;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.hero-cta:hover { background: var(--accent-hover); transform: translateY(-2px); color: #fff; }

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 20px;
  height: 32px;
  border: 2px solid var(--ash);
  border-radius: 12px;
  opacity: 0.5;
}
.scroll-hint::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--ash);
  border-radius: 2px;
  animation: scroll-bob 1.8s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* ===== SECTIONS ===== */
section { padding: 80px 24px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-wrap: balance;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 48px;
}
.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--border);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.stat {
  padding: 20px;
  border-left: 2px solid var(--accent);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== SERVICES / PORTFOLIO ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: transform 0.35s ease, border-color 0.35s;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.service-card:hover img { transform: scale(1.05); }
.service-card-body { padding: 20px; }
.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.why-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}
.why-card:hover { border-color: var(--accent); }
.why-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,30,42,0.12);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.why-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  padding: 28px 20px;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 38px;
  right: 0;
  width: 50%;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}
.process-step:last-child::after { display: none; }
.process-step::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 0;
  width: 50%;
  height: 1px;
  background: var(--accent);
  opacity: 0.3;
}
.process-step:first-child::before { display: none; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.process-step h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== PRICING ===== */
.pricing-note {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 8px;
  max-width: 650px;
  line-height: 1.7;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.price-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.3s;
}
.price-card:hover { border-color: var(--accent); }
.price-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.price-range {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.price-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list { margin-top: 40px; max-width: 780px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-q:hover, .faq-q:focus { color: var(--accent); outline: none; }
.faq-q .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s;
  color: var(--text-dim);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .arrow { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196,30,42,0.12);
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.contact-info-item a { color: var(--accent); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

.map-embed {
  width: 100%;
  height: 320px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  padding: 48px 24px 28px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 340px;
}
.footer-links h4, .footer-hours h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-hours p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step::after, .process-step::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  section { padding: 56px 20px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero { min-height: 80vh; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ticker-inner { animation: none; }
  .scroll-hint::after { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Focus */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* WordPress admin bar fix */
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-nav { top: 46px; }
}
