/* ============================================================
   EMERALD & OPAL PIERCING STUDIO
   Main Stylesheet
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --forest:      #2C4A3E;
  --sage:        #4A7A67;
  --mist:        #EAF0EC;
  --gold:        #BEA55A;
  --gold-light:  #E8D5A3;
  --ivory:       #FAF9F6;
  --cream:       #F0EDE6;
  --charcoal:    #1A1A1A;
  --slate:       #5C5C5C;
  --border:      #DDD9D0;
  --white:       #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --nav-height: 80px;
  --max-width:  1200px;
  --transition: 0.3s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-sans); background: var(--ivory); color: var(--charcoal); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem,   3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; }
p  { font-size: 1rem; line-height: 1.8; color: var(--slate); }

.label {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section        { padding: 7rem 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--charcoal); color: var(--ivory); }
.section--dark p { color: rgba(250,249,246,.7); }
.section--forest { background: var(--forest); }
.section--forest p { color: rgba(250,249,246,.7); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.section-header { margin-bottom: 4rem; }
.section-header .label { display: block; margin-bottom: 1rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { max-width: 540px; }
.section-header.text-center p { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2.25rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn-primary       { background: var(--forest); color: var(--ivory); }
.btn-primary:hover { background: var(--sage); }

.btn-outline       { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--ivory); }

.btn-gold          { background: var(--gold); color: var(--white); }
.btn-gold:hover    { background: #9A8848; }

.btn-light         { background: transparent; color: var(--ivory); border: 1.5px solid rgba(250,249,246,.45); }
.btn-light:hover   { background: var(--ivory); color: var(--forest); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; height: var(--nav-height);
  display: flex; align-items: center;
  transition: all var(--transition);
}
.nav--transparent { background: transparent; }
.nav--solid       { background: var(--ivory); border-bottom: 1px solid var(--border); box-shadow: 0 2px 24px rgba(0,0,0,.05); }

.nav__inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  width: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.nav__logo-name    { font-family: 'Playfair Display', var(--font-serif); font-size: 1.1rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--forest); white-space: nowrap; }
.nav__logo-sub     { font-size: .44rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--slate); margin-top: 5px; white-space: nowrap; }

.nav--transparent .nav__logo-name { color: var(--ivory); }
.nav--transparent .nav__logo-sub  { color: rgba(250,249,246,.7); }

.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__link {
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal); transition: color var(--transition); position: relative;
}
.nav__link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--transition); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link:hover { color: var(--forest); }

.nav--transparent .nav__link { color: rgba(250,249,246,.85); }
.nav--transparent .nav__link:hover { color: var(--ivory); }

.nav__cta { margin-left: 1rem; }

.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav__hamburger span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); transition: all var(--transition); }
.nav--transparent .nav__hamburger span { background: var(--ivory); }

.nav__mobile {
  display: none; position: fixed; top: var(--nav-height); left: 0; right: 0;
  background: var(--ivory); border-top: 1px solid var(--border);
  padding: 2rem; flex-direction: column; gap: 1.5rem;
  z-index: 99; box-shadow: 0 12px 40px rgba(0,0,0,.08);
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { font-size: .9rem; color: var(--charcoal); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: var(--forest);
  background-size: cover; background-position: center;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,30,26,.72) 0%, rgba(20,30,26,.35) 50%, rgba(20,30,26,.55) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 6rem 0; width: 100%; }
.hero__content .container { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; max-width: 680px; }
.hero__label { color: var(--gold-light); text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero__title { color: var(--ivory); line-height: 1.05; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero__subtitle { color: rgba(250,249,246,.9); font-size: 1rem; max-width: 460px; line-height: 1.75; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

/* ── Intro Strip ────────────────────────────────────────────── */
.intro-strip { background: var(--forest); padding: 3.5rem 0; }
.intro-strip__inner { display: flex; justify-content: center; gap: 5rem; flex-wrap: wrap; }
.intro-strip__item { display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; }
.intro-strip__num  { font-family: var(--font-serif); font-size: 2.25rem; color: var(--gold-light); }
.intro-strip__text { font-size: .65rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,249,246,.6); }

/* ── Service Cards ──────────────────────────────────────────── */
.service-card {
  background: var(--white); padding: 2.5rem 2rem;
  border: 1px solid var(--border); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .45s ease; }
.service-card:hover::after { width: 100%; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(44,74,62,.1); }
.service-card__title { font-family: var(--font-serif); font-size: 1.5rem; color: var(--charcoal); margin-bottom: .6rem; }
.service-card__desc  { font-size: .9rem; color: var(--slate); line-height: 1.7; margin-bottom: 1.5rem; }
.service-card__price { font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ── About Image ────────────────────────────────────────────── */
.about-image { position: relative; }
.about-image img, .about-image .img-placeholder { width: 100%; height: 580px; object-fit: cover; object-position: center top; }
.about-image .img-placeholder { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mist), var(--cream)); color: var(--border); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; }
.about-image::after { content: ''; position: absolute; top: 1.5rem; left: 1.5rem; right: -1.5rem; bottom: -1.5rem; border: 1px solid var(--border); z-index: -1; }
.about-text { padding-left: 3rem; }
.about-text .label { display: block; margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p { margin-bottom: 1.25rem; }

/* ── Gallery Grid ───────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--cream); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__overlay { position: absolute; inset: 0; background: rgba(44,74,62,.65); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--transition); }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: var(--ivory); font-family: var(--font-serif); font-size: 1.1rem; letter-spacing: .05em; }
.gallery-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--mist), var(--cream)); color: var(--border); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-category { margin-bottom: 3rem; }
.faq-category__title { font-family: var(--font-serif); font-size: 1.6rem; color: var(--forest); margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none; cursor: pointer; text-align: left; gap: 1rem;
}
.faq-question h4 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400; color: var(--charcoal); transition: color var(--transition); }
.faq-question:hover h4 { color: var(--forest); }
.faq-icon { flex-shrink: 0; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--forest); font-size: 1rem; transition: all var(--transition); }
.faq-item.open .faq-icon { background: var(--forest); color: var(--ivory); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding-bottom .3s ease; }
.faq-answer.open { max-height: 600px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: .95rem; line-height: 1.8; }

/* ── Subscribe ──────────────────────────────────────────────── */
.subscribe-section { background: var(--forest); padding: 7rem 0; }
.subscribe-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 6rem; align-items: center; }
.subscribe-left h2 { color: var(--ivory); margin-bottom: 1.25rem; }
.subscribe-left p  { margin-bottom: 2rem; }
.subscribe-perks { display: flex; flex-direction: column; gap: .8rem; }
.subscribe-perk { display: flex; align-items: center; gap: .75rem; color: rgba(250,249,246,.8); font-size: .9rem; }
.subscribe-perk::before { content: '◇'; color: var(--gold-light); font-size: .65rem; flex-shrink: 0; }

/* ── Forms ──────────────────────────────────────────────────── */
.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: .4rem; }
.form-group label { font-size: .67rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,249,246,.55); }
.form-group input, .form-group textarea, .form-group select {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--ivory); padding: .875rem 1rem;
  font-family: var(--font-sans); font-size: .9rem;
  outline: none; transition: border-color var(--transition);
  -webkit-appearance: none; border-radius: 0;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(250,249,246,.3); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold-light); }
.form-group textarea { resize: vertical; min-height: 110px; }

/* Light form variant (contact page) */
.form--light .form-group label { color: var(--slate); }
.form--light .form-group input,
.form--light .form-group textarea,
.form--light .form-group select { background: var(--white); border-color: var(--border); color: var(--charcoal); }
.form--light .form-group input::placeholder,
.form--light .form-group textarea::placeholder { color: var(--border); }
.form--light .form-group input:focus,
.form--light .form-group textarea:focus { border-color: var(--forest); }

/* ── Events ─────────────────────────────────────────────────── */
.event-item { display: flex; justify-content: space-between; align-items: center; padding: 2rem 0; border-bottom: 1px solid var(--border); gap: 2rem; }
.event-item:first-of-type { border-top: 1px solid var(--border); }
.event-name { font-family: var(--font-serif); font-size: 1.7rem; color: var(--charcoal); }
.event-desc { font-size: .875rem; color: var(--slate); margin-top: .3rem; }

/* ── Services Page ──────────────────────────────────────────── */
.service-category { margin-bottom: 4.5rem; }
.service-category__header { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--forest); }
.service-category__title { font-family: var(--font-serif); font-size: 1.9rem; color: var(--forest); }
.service-table { width: 100%; border-collapse: collapse; }
.service-table tr { border-bottom: 1px solid var(--border); transition: background var(--transition); }
.service-table tr:hover { background: var(--mist); }
.service-table td { padding: 1.1rem .75rem; font-size: .95rem; }
.service-table td:first-child { font-family: var(--font-serif); font-size: 1.1rem; color: var(--charcoal); width: 45%; }
.service-table td:nth-child(2) { color: var(--slate); font-size: .85rem; }
.service-table td:last-child { text-align: right; font-weight: 500; color: var(--forest); white-space: nowrap; }
.service-note { background: var(--mist); border-left: 3px solid var(--forest); padding: 1.25rem 1.75rem; margin-top: 2rem; font-size: .875rem; color: var(--slate); line-height: 1.7; }

/* ── Contact Page ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 6rem; }
.contact-info__block { margin-bottom: 2rem; }
.contact-info__label { font-size: .65rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: .4rem; }
.contact-info__value { font-family: var(--font-serif); font-size: 1.2rem; color: var(--charcoal); }
.contact-info__sub { font-size: .875rem; color: var(--slate); margin-top: .2rem; }

/* Booking embed placeholder */
.booking-embed { background: var(--cream); border: 1px solid var(--border); min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 3rem; text-align: center; margin-bottom: 2rem; }
.booking-embed__inner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.booking-embed__icon { font-size: 2.5rem; opacity: .25; }
.booking-embed__inner h3 { font-family: var(--font-serif); color: var(--forest); }
.booking-embed__inner p { font-size: .875rem; max-width: 340px; }

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-header { padding-top: calc(var(--nav-height) + 5rem); padding-bottom: 5rem; background: var(--cream); text-align: center; }
.page-header .label { display: block; margin-bottom: 1rem; }
.page-header h1 { margin-bottom: 1.25rem; }
.page-header p { max-width: 540px; margin: 0 auto; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer { background: var(--charcoal); color: var(--ivory); padding: 6rem 0 2.5rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 5rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand-name { font-family: 'Playfair Display', var(--font-serif); font-size: 1.3rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--ivory); }
.footer__brand-sub  { font-size: .55rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-light); margin-top: 3px; margin-bottom: 1.25rem; display: block; }
.footer__desc { font-size: .85rem; color: rgba(250,249,246,.5); line-height: 1.75; margin-bottom: 1.5rem; }
.footer__social { display: flex; gap: .75rem; }
.footer__social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 500; letter-spacing: .05em; color: rgba(250,249,246,.55); transition: all var(--transition); }
.footer__social a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.footer__col-title { font-size: .62rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(250,249,246,.35); margin-bottom: 1.5rem; }
.footer__links { display: flex; flex-direction: column; gap: .75rem; }
.footer__links a { font-size: .875rem; color: rgba(250,249,246,.6); transition: color var(--transition); }
.footer__links a:hover { color: var(--ivory); }
.footer__info { display: flex; flex-direction: column; gap: .75rem; }
.footer__info p, .footer__info a { font-size: .875rem; color: rgba(250,249,246,.6); line-height: 1.6; }
.footer__info a:hover { color: var(--ivory); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__copy { font-size: .75rem; color: rgba(250,249,246,.3); }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp .75s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .22s; }
.delay-3 { animation-delay: .36s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .intro-strip__inner { gap: 3rem; }
}
@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .about-text { padding-left: 0; margin-top: 2rem; }
  .about-image::after { display: none; }
  .about-image img, .about-image .img-placeholder { height: 360px; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .subscribe-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-item { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .intro-strip__inner { gap: 2rem; }
}

/* Keep Vagaro container off-screen — triggered programmatically */
.vagaro-container {
  position: fixed !important;
  left: -9999px !important;
  top: -9999px !important;
}
