/* =========================================================
   THE TANNING LADY — SHARED STYLESHEET
   Palette: black / cream / warm beige / bronze-tan / soft brown / white
   ========================================================= */

:root {
  --c-black: #171310;
  --c-cream: #f8f2ea;
  --c-beige: #ede2d0;
  --c-beige-dark: #e2cfb2;
  --c-bronze: #a1734a;
  --c-bronze-dark: #7c5732;
  --c-brown-deep: #3a291c;
  --c-text: #2a221a;
  --c-text-soft: #6b5d4e;
  --c-white: #ffffff;
  --c-border: rgba(58, 41, 28, 0.14);

  --font-heading: "Playfair Display", "Georgia", serif;
  --font-script: "Parisienne", cursive;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --radius-pill: 999px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 30px rgba(58, 41, 28, 0.10);
  --shadow-btn: 0 8px 20px rgba(124, 87, 50, 0.30);

  --container-w: 1160px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--c-brown-deep);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 600;
}
p { line-height: 1.7; color: var(--c-text-soft); margin: 0 0 1em; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

.script-accent {
  font-family: var(--font-script);
  font-size: 1.9rem;
  color: var(--c-cream);
  font-weight: 400;
  line-height: 1.3;
}
.script-accent.dark { color: var(--c-bronze-dark); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-bronze-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.section {
  padding: 64px 0;
}
.section--tight { padding: 44px 0; }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn:active { transform: scale(0.97); }

.btn-whatsapp {
  background: var(--c-bronze-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-btn);
}
.btn-whatsapp:hover { background: var(--c-brown-deep); }

.btn-outline {
  background: transparent;
  border-color: var(--c-brown-deep);
  color: var(--c-brown-deep);
}
.btn-outline:hover { background: var(--c-brown-deep); color: var(--c-white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: var(--c-white);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  background: var(--c-black);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--c-cream);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.logo-name .heart { color: var(--c-bronze); margin-left: 2px; }
.logo-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248,242,234,0.55);
  margin-top: 2px;
}

.main-nav ul { display: flex; gap: 34px; }
.nav-link {
  color: rgba(248,242,234,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-link:hover, .nav-link.current { color: var(--c-cream); border-color: var(--c-bronze); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--c-beige) 0%, var(--c-cream) 100%);
  padding: 56px 0 0;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.hero-copy .eyebrow { display: block; }
.hero-copy h1 { font-size: 2.5rem; }
.hero-copy p.lede {
  font-size: 1.05rem;
  color: var(--c-text);
  max-width: 480px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.hero-media {
  position: relative;
}
.hero-media .script-accent {
  position: absolute;
  bottom: 22px;
  left: 22px;
  color: var(--c-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-beige-dark) 0%, var(--c-bronze) 55%, var(--c-bronze-dark) 100%);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
}
.img-placeholder .ph-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(23,19,16,0.55);
  color: var(--c-cream);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
}
.img-placeholder .ph-label svg { width: 14px; height: 14px; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--portrait { aspect-ratio: 3 / 4; }
.ph--tall { aspect-ratio: 2 / 3; }
.ph--wide { aspect-ratio: 4 / 3; }
.ph--hero { aspect-ratio: 3 / 4; }
.ph--card { aspect-ratio: 4 / 3; }
.ph-rounded-lg { border-radius: var(--radius-lg); }

/* ---------- Real photo frames (share aspect-ratio classes above) ---------- */
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-beige-dark);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.benefit { text-align: center; }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--c-bronze-dark);
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--c-brown-deep);
  margin-bottom: 6px;
}
.benefit p { font-size: 0.88rem; margin: 0; }

/* ---------- Occasions band ---------- */
.occasions {
  background: var(--c-brown-deep);
  color: var(--c-cream);
  display: grid;
  grid-template-columns: 1fr;
}
.occasions-media { position: relative; min-height: 240px; }
.occasions-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.occasions-copy {
  padding: 48px 28px;
  position: relative;
}
.occasions-copy .eyebrow { color: var(--c-bronze); }
.occasions h2 { color: var(--c-cream); font-size: 1.7rem; }
.occasions-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.occasions-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
}
.occasions-list svg { width: 18px; height: 18px; color: var(--c-bronze); flex-shrink: 0; }
.occasions-script {
  position: absolute;
  right: 24px;
  bottom: 20px;
  text-align: right;
}

/* ---------- Gallery preview (home) ---------- */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background: var(--c-beige);
  text-align: center;
  padding: 52px 0;
}
.cta-band h2 { font-size: 1.6rem; }
.cta-band .script-accent { display: block; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-black);
  color: rgba(248,242,234,0.65);
  padding: 40px 0 24px;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-heading);
  color: var(--c-cream);
  font-size: 1.2rem;
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a:hover { color: var(--c-cream); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(248,242,234,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(248,242,234,0.12); padding-top: 18px; width: 100%; text-align: center; font-size: 0.75rem; }

/* ---------- Mobile nav drawer ---------- */
.main-nav {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--c-black);
  border-top: 1px solid rgba(248,242,234,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  z-index: 99;
}
.main-nav.is-open { max-height: 320px; }
.main-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 18px; }
.main-nav li { border-bottom: 1px solid rgba(248,242,234,0.08); }
.main-nav .nav-link { display: block; padding: 14px 4px; border-bottom: none; }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.service-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.service-card .img-placeholder, .service-card .media-frame { border-radius: 0; }
.service-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.service-card p.desc { font-size: 0.92rem; margin-bottom: 4px; }
.service-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.82rem; color: var(--c-text-soft); }
.service-meta span { display: flex; align-items: center; gap: 6px; }
.service-meta svg { width: 15px; height: 15px; color: var(--c-bronze-dark); }
.service-price { font-family: var(--font-heading); font-size: 1.15rem; color: var(--c-brown-deep); }
.service-card .btn {
  margin-top: auto;
  white-space: normal;
  text-align: center;
  padding: 12px 14px;
  font-size: 0.86rem;
  line-height: 1.3;
  gap: 6px;
}
.service-card .btn svg { flex-shrink: 0; }

.services-cta-band {
  background: var(--c-brown-deep);
  color: var(--c-cream);
  border-radius: var(--radius-lg);
  padding: 40px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-cta-band h3 { color: var(--c-cream); font-size: 1.3rem; }
.services-cta-band p { color: rgba(248,242,234,0.75); }

.palm-deco {
  position: absolute;
  width: 140px;
  height: 140px;
  opacity: 0.18;
  color: var(--c-bronze);
  pointer-events: none;
}
.palm-deco.left { left: -20px; bottom: -20px; transform: scaleX(-1); }
.palm-deco.right { right: -20px; top: -20px; }

/* =========================================================
   GALLERY PAGE
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-white);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-soft);
  transition: all 0.15s ease;
}
.filter-pill.active, .filter-pill:hover {
  background: var(--c-bronze-dark);
  border-color: var(--c-bronze-dark);
  color: var(--c-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  grid-auto-flow: dense;
}
.gallery-item { border-radius: var(--radius-md); cursor: pointer; display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; text-align: inherit; }
.gallery-item .media-frame { width: 100%; }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.row-2 .img-placeholder, .gallery-item.row-2 .media-frame { aspect-ratio: 3 / 5; }
.gallery-item[hidden] { display: none; }
.gallery-empty { text-align: center; padding: 30px 20px; font-size: 0.9rem; }

/* Extra breathing room before the "Inspired?" CTA band on the Gallery page only */
#gallery-photos-section { padding-bottom: 64px; }
@media (min-width: 900px) {
  #gallery-photos-section { padding-bottom: 96px; }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(23,19,16,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox-box { width: min(420px, 90vw); }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(248,242,234,0.12);
  border: none;
  color: var(--c-cream);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-cat {
  text-align: center;
  color: var(--c-cream);
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.contact-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
}
.contact-card h3 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 20px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-brown-deep);
  margin-bottom: 7px;
}
.form-field label .req { color: var(--c-bronze-dark); }
.form-field input {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1.5px solid var(--c-border);
  background: var(--c-cream);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--c-text);
}
.form-field input:focus { outline: none; border-color: var(--c-bronze); background: var(--c-white); }
.form-note { font-size: 0.78rem; color: var(--c-text-soft); text-align: center; margin-top: 12px; margin-bottom: 0; }
.form-error {
  font-size: 0.8rem;
  color: #a13a2a;
  margin: -8px 0 14px;
  display: none;
}
.form-error.is-visible { display: block; }

.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c-beige);
  color: var(--c-bronze-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.info-icon svg { width: 19px; height: 19px; }
.info-item h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-brown-deep);
  margin: 0 0 3px;
}
.info-item p { margin: 0; font-size: 0.9rem; }
.info-item a { color: var(--c-text-soft); }
.info-item a:hover { color: var(--c-bronze-dark); }

.thanks-band { text-align: center; padding: 44px 0 56px; }
.thanks-band .script-accent.dark { font-size: 2.2rem; display: block; }
.thanks-band p { margin-top: 8px; }

/* =========================================================
   Responsive — Tablet & Desktop
   ========================================================= */
@media (min-width: 700px) {
  .benefits { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1.1fr 0.9fr; }
  .occasions { grid-template-columns: 1fr 1fr; }
  .hero-copy h1 { font-size: 3.1rem; }
}

@media (min-width: 900px) {
  .hamburger { display: none !important; }
  .main-nav { position: static; max-height: none; overflow: visible; background: transparent; border: none; }
  .main-nav ul { flex-direction: row; padding: 0; gap: 34px; }
  .main-nav li { border-bottom: none; }
  .main-nav .nav-link { padding: 6px 0; }

  .header-actions .hamburger { display: none; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 88px 0; }
  .hero-copy h1 { font-size: 3.5rem; }
}

@media (max-width: 899px) {
  .main-nav { display: block; }
  .hamburger { display: flex; }
}

/* ---------- Focus visibility (keyboard users) ---------- */
a:focus-visible, button:focus-visible, .gallery-item:focus-visible, .filter-pill:focus-visible {
  outline: 3px solid var(--c-bronze);
  outline-offset: 3px;
}
.footer-social a[hidden] { display: none; }

picture { display: contents; }
