/*
Theme Name: Henna Tattoo Nashville
Theme URI: https://hennatattoonashville.com
Author: Custom Theme
Author URI: https://hennatattoonashville.com
Description: Custom WordPress theme for Henna Tattoo Nashville - Bridal, Events & Custom Mehndi Art. Fully meta-field driven with repeater fields.
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: henna-nashville
Tags: one-page, custom-colors, full-width-template
*/

/* ─────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────── */
:root {
  --sage:       #5C7A5E;
  --sage-light: #8BAD8D;
  --sage-dark:  #3A5A3C;
  --gold:       #C8973B;
  --gold-light: #E4BA72;
  --gold-dark:  #8A6118;
  --cream:      #FBF6EE;
  --warm:       #F5EDD8;
  --rust:       #A8452A;
  --ink:        #1E1A14;
  --muted:      #6B5E4A;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
.script { font-family: 'Dancing Script', cursive; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 3px; }

/* ── gold gradient text ── */
.gold-text {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sage-text { color: var(--sage); }

/* ── nav ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(251,246,238,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(92,122,94,0.12);
}

/* ── buttons ── */
.btn-sage {
  display: inline-block;
  background: linear-gradient(135deg, var(--sage-dark), var(--sage), var(--sage-light));
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 13px 30px;
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-sage:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(92,122,94,0.35);
  color: white;
}
.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 13px 30px;
  border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,151,59,0.4);
  color: white;
}
.btn-outline-sage {
  display: inline-block;
  border: 1.5px solid var(--sage);
  color: var(--sage-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding: 12px 29px;
  background: transparent; cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-outline-sage:hover {
  background: var(--sage);
  color: white;
}

/* ── divider ── */
.leaf-divider {
  display: flex; align-items: center; gap: 10px; justify-content: center;
}
.leaf-divider::before, .leaf-divider::after {
  content: '';
  flex: 1; max-width: 70px; height: 1px;
}
.leaf-divider.sage::before { background: linear-gradient(90deg, transparent, var(--sage)); }
.leaf-divider.sage::after  { background: linear-gradient(90deg, var(--sage), transparent); }
.leaf-divider.gold::before { background: linear-gradient(90deg, transparent, var(--gold)); }
.leaf-divider.gold::after  { background: linear-gradient(90deg, var(--gold), transparent); }

/* ── photo card ── */
.photo-card {
  overflow: hidden; position: relative; cursor: pointer;
}
.photo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.photo-card:hover img { transform: scale(1.07); }
.photo-card .ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,26,20,0.72) 0%, rgba(30,26,20,0.05) 55%);
  opacity: 0; transition: opacity 0.35s;
}
.photo-card:hover .ov { opacity: 1; }
.photo-card .ov-text {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 18px;
  transform: translateY(6px); opacity: 0; transition: all 0.35s;
}
.photo-card:hover .ov-text { transform: translateY(0); opacity: 1; }

/* ── tag pill ── */
.tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  font-family: 'Nunito', sans-serif;
}

/* ── service card ── */
.svc-card {
  background: white;
  border: 1px solid rgba(92,122,94,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(92,122,94,0.15);
}

/* ── animate ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.show { opacity: 1; transform: translateY(0); }

/* ── hero bg ── */
.hero-bg {
  background:
    radial-gradient(ellipse 70% 80% at 15% 40%, rgba(92,122,94,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 85% 20%, rgba(200,151,59,0.09) 0%, transparent 55%),
    linear-gradient(155deg, #EFF5EC 0%, #FBF6EE 45%, #F5EDD8 100%);
}

/* ── leaf svg decorations ── */
.leaf-decor {
  position: absolute; pointer-events: none; opacity: 0.06;
}

/* ── stats bar ── */
.stat-item {
  border-right: 1px solid rgba(92,122,94,0.2);
}
.stat-item:last-child { border-right: none; }

/* ── testimonial ── */
.test-card {
  background: white;
  border: 1px solid rgba(92,122,94,0.1);
  transition: box-shadow 0.3s;
}
.test-card:hover { box-shadow: 0 12px 40px rgba(92,122,94,0.12); }

/* ── FAQ ── */
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--sage-dark); }
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(92,122,94,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--sage); flex-shrink: 0;
  transition: transform 0.3s, background 0.3s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--sage);
  color: white;
}
.faq-body {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ── gallery grid ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ── Animations ── */
@keyframes sway {
  0%, 100% { transform: rotate(-3deg) translateY(0px); }
  50% { transform: rotate(3deg) translateY(-8px); }
}
.sway { animation: sway 7s ease-in-out infinite; transform-origin: bottom center; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim   { animation: fadeSlideIn 1s ease both; }
.hero-anim-2 { animation: fadeSlideIn 1s 0.2s ease both; }
.hero-anim-3 { animation: fadeSlideIn 1s 0.4s ease both; }
.hero-anim-4 { animation: fadeSlideIn 1s 0.6s ease both; }

/* ── mobile nav ── */
#mobile-menu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  background: rgba(251,246,238,0.98);
  backdrop-filter: blur(12px);
}
#mobile-menu.open { max-height: 300px; }

.stars { color: var(--gold); }

/* service icon circle */
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(92,122,94,0.1);
  flex-shrink: 0;
}

/* process connector */
.process-connector {
  position: absolute; top: 26px; left: calc(50% + 26px);
  right: calc(-50% + 26px); height: 1px;
  background: linear-gradient(90deg, var(--sage-light), rgba(92,122,94,0.1));
}

/* Instagram grid */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
@media (max-width: 768px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.insta-item:hover img { transform: scale(1.1); }
.insta-item .insta-ov {
  position: absolute; inset: 0;
  background: rgba(92,122,94,0.65);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.insta-item:hover .insta-ov { opacity: 1; }

/* form inputs */
.form-field {
  width: 100%;
  padding: 12px 16px;
  background: rgba(245,237,216,0.5);
  border: 1px solid rgba(92,122,94,0.2);
  font-family: 'Nunito', sans-serif;
  font-size: 0.875rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s;
}
.form-field:focus { border-color: var(--sage); }
.form-field::placeholder { color: var(--muted); opacity: 0.7; }

/* Music City badge */
.mc-badge {
  position: absolute;
  background: var(--sage);
  color: white;
  padding: 6px 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Section label */
.section-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: var(--sage);
}

/* Responsive utilities */
@media (max-width: 768px) {
  .hidden-mobile { display: none !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:col-span-2 { grid-column: span 2; }
}

/* Tailwind-compatible utilities for those not loading CDN */
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-5 { margin-top: 1.25rem; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-white { color: white; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.resize-none { resize: none; }
.transition-colors { transition: color 0.2s; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: 0.1em; }

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .md\:col-span-2 { grid-column: span 2; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-center { align-items: center; }
  .md\:col-span-4 { grid-column: span 4; }
  .text-5xl { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
  .lg\:col-span-2 { grid-column: span 2; }
  .lg\:col-span-3 { grid-column: span 3; }
  .lg\:flex { display: flex; }
  .text-6xl { font-size: 3.75rem; }
  .text-7xl { font-size: 4.5rem; }
  .hidden.md\:flex { display: flex; }
}
