/* =============================================
   Sleepy Cat Studio - Tattoo Studio
   Color Palette: #2d132c (Deep Plum) / #c3f73a (Neon Green)
   Fonts: Permanent Marker + Space Mono
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --plum: #2d132c;
  --plum-light: #3d1f3c;
  --plum-dark: #1e0b1d;
  --neon: #c3f73a;
  --neon-dim: #a0cc2e;
  --neon-glow: rgba(195, 247, 58, 0.3);
  --white: #f5f5f5;
  --gray-light: #e0e0e0;
  --gray: #999;
  --gray-dark: #444;
  --black: #111;
  --font-display: 'Permanent Marker', cursive;
  --font-body: 'Space Mono', monospace;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--plum-dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--neon);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--neon-dim);
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 1px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--neon);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--neon);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--gray-light);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-neon { color: var(--neon); }
.text-plum { color: var(--plum); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 1px;
  border: 2px solid var(--neon);
  color: var(--plum-dark);
  background-color: var(--neon);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.btn:hover {
  background-color: transparent;
  color: var(--neon);
  box-shadow: 0 0 20px var(--neon-glow);
}

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

.btn--outline:hover {
  background-color: var(--neon);
  color: var(--plum-dark);
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(30, 11, 29, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(195, 247, 58, 0.1);
  transition: background-color var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--white);
  font-size: 0.7rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: block;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-list a {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 4px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--neon);
  transition: width var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--neon);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--neon);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1rem 4rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) saturate(0.6);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(45, 19, 44, 0.6) 0%,
    rgba(30, 11, 29, 0.9) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--gray-light);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
}

.hero h1 {
  margin-bottom: 1rem;
  text-shadow: 0 0 40px var(--neon-glow);
}

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--gray-light);
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Section Defaults --- */
.section {
  padding: 5rem 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header p {
  max-width: 600px;
  margin: 0 auto;
}

.section__divider {
  width: 60px;
  height: 3px;
  background-color: var(--neon);
  margin: 1rem auto;
}

/* --- About Preview (Homepage) --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-preview__image {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(195, 247, 58, 0.15);
}

.about-preview__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-preview__image:hover img {
  transform: scale(1.03);
}

/* --- Values / Features Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: rgba(61, 31, 60, 0.5);
  border: 1px solid rgba(195, 247, 58, 0.1);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--neon);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(195, 247, 58, 0.1);
}

.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--plum);
  border: 1px solid rgba(195, 247, 58, 0.12);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--neon);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(195, 247, 58, 0.1);
}

.service-card__image {
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__body h3 {
  font-family: var(--font-display);
}

.service-card__price {
  color: var(--neon);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  border: 1px solid rgba(195, 247, 58, 0.08);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 19, 44, 0.7);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 2px;
}

/* Gallery Filter */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--gray);
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--neon);
  color: var(--neon);
  background: rgba(195, 247, 58, 0.08);
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--neon);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(45, 19, 44, 0.8);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox__nav:hover {
  background: var(--neon);
  color: var(--plum-dark);
}

.lightbox__nav--prev { left: -3.5rem; }
.lightbox__nav--next { right: -3.5rem; }

/* --- Process / Timeline --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  counter-increment: step;
}

.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--neon);
  opacity: 0.3;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Testimonials --- */
.testimonials-slider {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial {
  display: none;
  padding: 2rem;
}

.testimonial.active {
  display: block;
}

.testimonial__text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial__text::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--neon);
  font-family: var(--font-display);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial__author {
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 1rem;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonials-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid var(--neon);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.testimonials-dots button.active {
  background: var(--neon);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-info__icon {
  font-size: 1.3rem;
  color: var(--neon);
  min-width: 32px;
  text-align: center;
}

.contact-info__text h4 {
  font-family: var(--font-display);
  color: var(--neon);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info__text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

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

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  background-color: var(--plum);
  border: 1px solid rgba(195, 247, 58, 0.2);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 10px var(--neon-glow);
}

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

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(195, 247, 58, 0.3);
  border-radius: 50%;
  color: var(--neon);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-links a:hover {
  background-color: var(--neon);
  color: var(--plum-dark);
  border-color: var(--neon);
}

/* --- Map Embed --- */
.map-container {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid rgba(195, 247, 58, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) contrast(0.8) brightness(0.7);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--plum-dark);
  border-top: 1px solid rgba(195, 247, 58, 0.1);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  max-width: 300px;
}

.footer-links h4,
.footer-hours h4 {
  font-family: var(--font-display);
  color: var(--neon);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--gray-light);
  font-size: 0.85rem;
}

.footer-links ul li a:hover {
  color: var(--neon);
}

.footer-hours p {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(195, 247, 58, 0.08);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray);
}

/* --- Page Banner --- */
.page-banner {
  padding: 8rem 0 4rem;
  text-align: center;
  background-color: var(--plum);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(195, 247, 58, 0.06) 0%,
    transparent 60%
  );
}

.page-banner h1 {
  position: relative;
}

.page-banner p {
  position: relative;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* --- About Page --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content--reverse {
  direction: rtl;
}

.about-content--reverse > * {
  direction: ltr;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(195, 247, 58, 0.12);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(195, 247, 58, 0.12);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: rgba(61, 31, 60, 0.4);
  border: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition);
}

.faq-question:hover {
  background: rgba(61, 31, 60, 0.7);
}

.faq-question::after {
  content: '+';
  color: var(--neon);
  font-size: 1.3rem;
  transition: transform var(--transition);
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer__inner {
  padding: 1rem 1.5rem 1.25rem;
}

.faq-answer__inner p {
  font-size: 0.9rem;
}

/* --- Scroll to Top --- */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--neon);
  color: var(--plum-dark);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--neon-glow);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
  .about-preview,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-content--reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--plum-dark);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    border-left: 1px solid rgba(195, 247, 58, 0.1);
  }

  .nav-list.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero {
    min-height: 90vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

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

  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}
