/* ========================================
   Better Than Mascara — Global Styles
   ======================================== */

:root {
  /* Brand colors extracted from design screenshots */
  --pink: #e07ecb;
  --pink-dark: #d166b5;
  --black: #000000;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --cream: #faf9f7;
  --gold: #c9a66b;
  --gold-dark: #b08d55;
  --dark-green: #2f3f39;
  --dark-green-hover: #26332e;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #888888;
  --border: #e5e5e5;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}

.nav-links a {
  transition: opacity 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 9999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-primary:hover {
  background: #333;
  border-color: #333;
}

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

.btn-outline:hover {
  background: var(--text);
  color: var(--white);
}

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

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 72px - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  background: url('../images/IMG_1478.JPG') center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  max-width: 620px;
  animation: fade-up 0.9s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-content {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* Hero accent word */
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

/* Nav link underline animation */
.nav-links a:not(.btn) {
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  transform: scaleX(1);
}

/* Marquee strip */
.marquee {
  background: var(--pink);
  color: var(--white);
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 24s linear infinite;
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  letter-spacing: 0.5px;
}

.marquee-dot {
  color: var(--gold);
  font-size: 12px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--pink);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--pink-dark);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.hero .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--text);
}

.hero-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 36px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Page header */
.page-header {
  text-align: center;
  padding: 64px 24px 40px;
}

.page-header.thank-you {
  padding: 64px 24px 48px;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-top: 16px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}

/* Section backgrounds */
.section-light {
  background: var(--off-white);
}

.section-cream {
  background: var(--cream);
}

/* Services */
.services-section {
  padding: 48px 24px 80px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-category {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.service-item:last-child {
  border-bottom: none;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.service-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.service-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* CTA card */
.cta-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  margin: 40px auto 0;
  max-width: 800px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 15px;
  opacity: 0.85;
  max-width: 440px;
  margin: 0 auto;
}

/* Policy */
.policy-section {
  padding: 40px 24px 80px;
}

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

.policy-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.policy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.policy-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.policy-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.deposit-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin-top: 32px;
}

.deposit-box h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 16px;
}

.deposit-box p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
}

/* Consent forms accordion */
.consent-section {
  padding: 40px 24px 80px;
  background: var(--white);
}

.consent-section .section-label {
  text-align: center;
}

.consent-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 600;
  text-align: center;
  margin-bottom: 32px;
}

.accordion {
  max-width: 640px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--pink);
  color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease;
}

.accordion-header:hover {
  background: var(--pink-dark);
}

.accordion-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-icon {
  transform: rotate(135deg);
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}

.accordion-item.open .accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
}

.accordion-content p + p,
.accordion-content p + .consent-list {
  margin-top: 12px;
}

.consent-list {
  list-style: none;
}

.consent-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.consent-item:last-child {
  border-bottom: none;
}

.consent-item-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.consent-item-icon {
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.consent-item.open .consent-item-icon {
  transform: rotate(135deg);
}

.consent-item-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.consent-item.open .consent-item-detail {
  grid-template-rows: 1fr;
}

.consent-item-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease 0.08s;
}

.consent-item.open .consent-item-inner {
  opacity: 1;
}

.consent-item-inner p {
  padding: 0 0 12px;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Booking form */
.booking-section {
  padding: 48px 24px 80px;
  background: var(--off-white);
}

.booking-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
}

.booking-form-header {
  text-align: center;
  margin-bottom: 32px;
}

.booking-form-header h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 8px;
}

.booking-form-header p {
  font-size: 14px;
  color: var(--text-light);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

/* Fix date input rendering on iOS/Android */
.form-group input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
  display: block;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-light);
}

.checkbox-group input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--pink);
  flex-shrink: 0;
}

.booking-form .btn-primary {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  background: var(--pink);
  border-color: var(--pink);
}

.booking-form .btn-primary:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}

/* About */
.about-hero {
  padding: 80px 24px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-hero-img img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.about-hero-text p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.about-values {
  padding: 64px 24px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.about-section {
  padding: 64px 24px 80px;
}

.about-gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-gallery-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 600;
}

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

.gallery-item {
  aspect-ratio: 3 / 4;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

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

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

/* Footer */
.footer {
  background: var(--pink);
  color: var(--white);
  padding: 56px 24px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-logo-img {
  height: 56px;
  width: auto;
  mix-blend-mode: multiply;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 0.9;
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  fill: none;
}

.footer-socials .tiktok-icon {
  stroke: none;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  opacity: 0.9;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 900px) {
  .policy-grid,
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-img img {
    max-width: 420px;
    margin: 0 auto;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .mobile-menu-btn {
    display: block;
  }

  .policy-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .booking-form {
    padding: 32px 24px;
  }

  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero {
    min-height: auto;
    padding: 100px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-logo-img,
  .footer-socials {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-tagline {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
