/* ============================================================
   HOME.CSS
   ============================================================ */

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  padding: 80px 48px 48px;
  position: relative;
  overflow: hidden;
}

.hero__orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: spin linear infinite;
}

.hero__orb:nth-child(1) { width: 80px;  height: 80px;  top: 10%; right: 5%;  animation-duration: 8s;  }
.hero__orb:nth-child(2) { width: 140px; height: 140px; top: 25%; right: 13%; animation-duration: 12s; }
.hero__orb:nth-child(3) { width: 200px; height: 200px; top: 40%; right: 21%; animation-duration: 16s; }
.hero__orb:nth-child(4) { width: 260px; height: 260px; top: 55%; right: 29%; animation-duration: 20s; }
.hero__orb:nth-child(5) { width: 320px; height: 320px; top: 70%; right: 37%; animation-duration: 24s; }

.hero__content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease forwards;
}

.hero__pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-primary);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

[data-theme="luxury"] .hero__pill {
  background: rgba(201, 168, 76, 0.15);
  color: var(--color-primary);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s ease both;
}

[data-theme="luxury"] .hero__title {
  color: var(--color-accent);
}

[data-theme="bold"] .hero__title {
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
}

[data-theme="bold"] .hero__pill {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.2s ease both;
}

[data-theme="bold"] .hero__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

/* ---- Section Panels ---- */
.section-panel {
  padding: 96px 48px;
  background-color: var(--color-bg);
}

.section-panel--alt {
  background-color: var(--color-bg-alt);
}

/* ---- Services preview grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.service-card__duration {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-card__price {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-primary);
}

.service-card__from {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ---- Gallery preview grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-grid--large {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-thumb {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.gallery-thumb--large {
  aspect-ratio: 4 / 5;
}

.gallery-thumb__bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.gallery-thumb__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  padding: 32px 16px 16px;
}

.gallery-thumb__title {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.gallery-thumb__category {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

/* ---- Shop preview grid ---- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.product-card__img {
  aspect-ratio: 1;
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.product-card__category {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
}

/* ---- Section CTA ---- */
.section-cta {
  text-align: center;
  margin-top: 40px;
}

/* ---- Footer ---- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 6px;
}

.footer__tagline {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__socials {
  display: flex;
  gap: 32px;
}

.footer__social {
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.footer__social:hover {
  opacity: 0.75;
}

.footer__social-icon {
  font-size: 20px;
  margin-bottom: 4px;
}

.footer__social-label {
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
}

.footer__copy {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ============================================================
   CHRISTINE'S NAIL STUDIO THEME OVERRIDES
   Inspired by: watercolour brushstroke brand identity,
   elegant script logo, soft blush/rose palette
   ============================================================ */

/* Hero — mimics the large watercolour wash brushstroke */
[data-theme="christines"] .hero {
  background:
    radial-gradient(ellipse 80% 55% at 55% 45%, rgba(228, 170, 190, 0.38) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(210, 140, 165, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 90% 70% at 70% 30%, rgba(240, 200, 215, 0.28) 0%, transparent 60%),
    linear-gradient(150deg, #F8EEF2 0%, #F0E2E8 40%, #EDD8E2 70%, #F5EAF0 100%);
}

/* Orbs become soft watercolour blobs */
[data-theme="christines"] .hero__orb {
  border: none;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  background: radial-gradient(ellipse, rgba(212, 150, 170, 0.18), transparent 70%);
  animation: christinesFloat ease-in-out infinite;
}
[data-theme="christines"] .hero__orb:nth-child(1) { animation-duration: 7s; }
[data-theme="christines"] .hero__orb:nth-child(2) { animation-duration: 11s; border-radius: 40% 60% 30% 70% / 60% 40% 60% 40%; }
[data-theme="christines"] .hero__orb:nth-child(3) { animation-duration: 15s; border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%; }
[data-theme="christines"] .hero__orb:nth-child(4) { animation-duration: 9s; }
[data-theme="christines"] .hero__orb:nth-child(5) { animation-duration: 13s; }

@keyframes christinesFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  33%  { transform: translateY(-18px) rotate(3deg) scale(1.04); }
  66%  { transform: translateY(10px) rotate(-2deg) scale(0.97); }
}

/* Pill — watercolour brushstroke style */
[data-theme="christines"] .hero__pill {
  background:
    linear-gradient(105deg, rgba(212, 96, 130, 0.15) 0%, rgba(228, 160, 184, 0.22) 50%, rgba(212, 96, 130, 0.1) 100%);
  border: 1px solid rgba(196, 92, 122, 0.25);
  border-radius: 4px 16px 12px 6px / 12px 4px 16px 8px;
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  letter-spacing: 0.16em;
  font-size: 11px;
}

/* Title — large, flowing script */
[data-theme="christines"] .hero__title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 700;
  color: #2C1F26;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* Section headings — uppercase spaced, matching the menu card labels */
[data-theme="christines"] .section-header__label {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--color-primary);
  font-weight: 600;
}

[data-theme="christines"] .section-header__title {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  color: #2C1F26;
}

[data-theme="christines"] .section-header__divider {
  background: linear-gradient(90deg, var(--color-primary-light), transparent);
  height: 1px;
  margin-top: 12px;
}

/* Service card names in script */
[data-theme="christines"] .service-card__name {
  font-family: 'Dancing Script', cursive;
  font-size: 24px;
  font-weight: 700;
}

/* Service card price — rose pink */
[data-theme="christines"] .service-card__price {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Product card names in script */
[data-theme="christines"] .product-card__name {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
}

/* Panels — subtle warm tint on alt */
[data-theme="christines"] .section-panel--alt {
  background: linear-gradient(160deg, #EAE2E6 0%, #E8DCE2 100%);
}

/* Footer logo — large script */
[data-theme="christines"] .footer__logo {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  font-weight: 700;
}

/* Nav logo */
[data-theme="christines"] .nav__logo {
  font-family: 'Dancing Script', cursive;
  font-size: 26px !important;
  font-weight: 700;
}

/* Cards — very soft, warm white */
[data-theme="christines"] .card {
  background: #FDFBFC;
  border: 1px solid rgba(196, 132, 154, 0.2);
}

/* Buttons */
[data-theme="christines"] .btn-primary {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.1em;
  font-size: 13px;
}

[data-theme="christines"] .btn-outline {
  font-family: 'Josefin Sans', sans-serif;
  letter-spacing: 0.1em;
  font-size: 13px;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================================ */

@media (max-width: 768px) {
  .hero {
    padding: 100px 24px 48px;
  }

  .section-panel {
    padding: 64px 24px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .footer {
    padding: 32px 24px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }
}
