/* ============================================
   Tatts By Casper & Body Piercings — Styles
   Palette: Terracotta + Sand | Serif + Sans
   ============================================ */

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; }

/* ---------- UTILITY ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 900px; }

.container--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 900px) {
  .container--two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- SECTION ---------- */
.section {
  padding: 100px 0;
}

.section--dark {
  background-color: #1a120b;
  color: #faf5eb;
}

.section--light {
  background-color: #fdfbf7;
  color: #362615;
}

.section--cream {
  background-color: #f3e8d0;
  color: #362615;
}

.section--terra {
  background: linear-gradient(135deg, #b55e3b 0%, #964a30 50%, #7a3f2e 100%);
  color: #faf5eb;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section__label {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C4704B;
  margin-bottom: 16px;
}

.section__label--light { color: #f2dace; }

.section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
  margin-bottom: 20px;
}

.section__title--light { color: #faf5eb; }

.section__sub {
  font-size: 17px;
  line-height: 1.7;
  color: #805c34;
}

.section__sub--light { color: #f2dace; }

@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .section__header { margin-bottom: 48px; }
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 18, 11, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(242, 218, 206, 0.08);
  transition: background 0.3s ease;
}

.nav.scrolled {
  background: rgba(26, 18, 11, 0.96);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: #faf5eb;
  letter-spacing: 0.02em;
}

.nav__logo-icon { color: #C4704B; flex-shrink: 0; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__menu a {
  font-size: 13px;
  font-weight: 500;
  color: #f2dace;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
}

.nav__menu a:hover {
  background: rgba(242, 218, 206, 0.1);
  color: #faf5eb;
}

.nav__cta {
  background: #C4704B !important;
  color: #faf5eb !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav__cta:hover {
  background: #b55e3b !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav__toggle-line {
  display: block;
  height: 2px;
  background: #faf5eb;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 18, 11, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    border-bottom: 1px solid rgba(242, 218, 206, 0.08);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__menu a {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
  }

  .nav__cta {
    text-align: center;
    margin-top: 8px;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(26, 18, 11, 0.72) 0%,
    rgba(56, 26, 18, 0.65) 40%,
    rgba(100, 51, 39, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  padding-top: 72px;
}

.hero__greeting {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8b8a0;
  margin-bottom: 24px;
}

.hero__headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  color: #faf5eb;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: #f2dace;
  margin-bottom: 44px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: #f2dace;
  opacity: 0.6;
  animation: heroBounce 2s ease-in-out infinite;
  z-index: 1;
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: #C4704B;
  color: #faf5eb;
  box-shadow: 0 4px 20px rgba(196, 112, 75, 0.35);
}

.btn--primary:hover {
  background: #b55e3b;
  box-shadow: 0 8px 28px rgba(196, 112, 75, 0.45);
}

.btn--ghost {
  background: rgba(250, 245, 235, 0.1);
  color: #faf5eb;
  border: 1px solid rgba(250, 245, 235, 0.25);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(250, 245, 235, 0.18);
}

.btn--terra {
  background: #C4704B;
  color: #faf5eb;
}

.btn--terra:hover {
  background: #b55e3b;
  box-shadow: 0 6px 24px rgba(196, 112, 75, 0.35);
}

.btn--full { width: 100%; justify-content: center; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
}

.card {
  background: rgba(242, 218, 206, 0.05);
  border: 1px solid rgba(242, 218, 206, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.card:hover {
  background: rgba(242, 218, 206, 0.09);
  border-color: rgba(242, 218, 206, 0.18);
  transform: translateY(-4px);
}

.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(196, 112, 75, 0.15);
  color: #e8b8a0;
  margin-bottom: 24px;
}

.card__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  color: #faf5eb;
  margin-bottom: 14px;
}

.card__body {
  font-size: 15px;
  line-height: 1.75;
  color: #e8d3a8;
}

/* ---------- ABOUT ---------- */
.about__visual { position: relative; }

.about__img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(54, 38, 21, 0.18);
}

.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -12px;
  background: #C4704B;
  color: #faf5eb;
  padding: 14px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(196, 112, 75, 0.35);
}

@media (max-width: 600px) {
  .about__badge { right: 0; }
}

.about__text { padding-top: 8px; }

.about__lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  line-height: 1.65;
  color: #7a3f2e;
  font-weight: 500;
  margin-bottom: 20px;
}

.about__body {
  font-size: 15px;
  line-height: 1.8;
  color: #64472a;
  margin-bottom: 28px;
}

.about__list {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #805c34;
}

.about__list li svg {
  color: #C4704B;
  flex-shrink: 0;
}

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

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

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

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

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(26, 18, 11, 0.8), transparent);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: #faf5eb;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

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

/* ---------- SAFETY ---------- */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .safety-grid { grid-template-columns: 1fr; }
}

.safety-item {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s, transform 0.2s;
}

.safety-item:hover {
  background: rgba(255, 255, 255, 0.11);
  transform: translateY(-4px);
}

.safety-item__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #f2dace;
}

.safety-item__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #faf5eb;
  margin-bottom: 12px;
}

.safety-item__body {
  font-size: 14px;
  line-height: 1.75;
  color: #f2dace;
}

/* ---------- CONTACT ---------- */
.contact__info { padding-top: 8px; }

.contact__lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  line-height: 1.65;
  color: #7a3f2e;
  font-weight: 500;
  margin-bottom: 36px;
}

.contact__details {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.contact__detail { display: contents; }

.contact__detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C4704B;
  margin-bottom: 6px;
}

.contact__detail dd a {
  font-size: 15px;
  line-height: 1.7;
  color: #64472a;
  transition: color 0.2s;
}

.contact__detail dd a:hover { color: #C4704B; }

.contact__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(54, 38, 21, 0.1);
}

/* ---------- CONTACT FORM ---------- */
.contact__form-wrap {
  background: #faf5eb;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 16px 48px rgba(54, 38, 21, 0.08);
  border: 1px solid rgba(207, 174, 98, 0.15);
}

.contact-form__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  color: #362615;
  margin-bottom: 28px;
}

.contact-form__group { margin-bottom: 20px; }

.contact-form__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #805c34;
  margin-bottom: 8px;
}

.contact-form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e8d3a8;
  border-radius: 10px;
  background: #fdfbf7;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  color: #362615;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.contact-form__input::placeholder { color: #c0944e; }

.contact-form__input:focus {
  border-color: #C4704B;
  box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.12);
}

.contact-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23805c34' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 10px;
  background: rgba(196, 112, 75, 0.08);
  border: 1px solid rgba(196, 112, 75, 0.2);
  color: #7a3f2e;
  font-size: 14px;
  font-weight: 500;
}

.contact-form__success svg { color: #C4704B; flex-shrink: 0; }

@media (max-width: 600px) {
  .contact__form-wrap { padding: 28px 22px; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #1a120b;
  color: #e8d3a8;
  padding: 72px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(242, 218, 206, 0.08);
}

@media (max-width: 768px) {
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
}

.footer__brand { }

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #faf5eb;
  margin-bottom: 14px;
}

.footer__logo svg { color: #C4704B; }

.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: #a1763f;
  max-width: 280px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  font-size: 14px;
  color: #e8d3a8;
  transition: color 0.2s;
}

.footer__nav a:hover { color: #C4704B; }

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

.footer__contact p {
  font-size: 14px;
  color: #a1763f;
}

.footer__contact a {
  transition: color 0.2s;
}

.footer__contact a:hover { color: #C4704B; }

.footer__bottom {
  padding: 28px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #805c34;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion — keep everything visible */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__scroll { animation: none; }
  .gallery-item img { transition: none; }
  .gallery-item__caption { opacity: 1; transform: none; }
}
