/* =========================================================
   Serenity Spa — Stylesheet
   Theme: soft blush pink, cream & rose-gold (spa aesthetic)
========================================================= */

:root {
  /* Colors */
  --clr-bg: #fffaf8;
  --clr-bg-soft: #fdeef0;
  --clr-bg-soft-2: #fbe4e8;
  --clr-primary: #e6a4ac;
  --clr-primary-dark: #cf8690;
  --clr-primary-light: #f6d9dd;
  --clr-accent: #d9a679;
  --clr-text: #4a3a3a;
  --clr-text-light: #8c7a7a;
  --clr-white: #ffffff;
  --clr-border: #f1d9dc;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;

  /* Layout */
  --max-width: 1180px;
  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 40px;
  --transition: all 0.3s ease;
  --shadow-soft: 0 10px 30px rgba(207, 134, 144, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-primary-dark);
  font-weight: 500;
  margin-bottom: 12px;
}

section {
  padding: 90px 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--clr-primary-dark);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--clr-primary);
  color: var(--clr-primary-dark);
  background: transparent;
}

.btn--outline:hover {
  background: var(--clr-primary-light);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 248, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clr-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-text);
}

.logo span {
  color: var(--clr-primary-dark);
}

.logo--light {
  color: var(--clr-white);
}

.logo--light span {
  color: var(--clr-primary-light);
}

.nav__list {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--clr-text);
  transition: var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--clr-primary-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  display: block;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding-top: 110px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-bg) 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
}

.hero__content h1 {
  font-size: 3.4rem;
  margin-bottom: 18px;
}

.hero__content h1 span {
  color: var(--clr-primary-dark);
  font-style: italic;
}

.hero__content p {
  color: var(--clr-text-light);
  max-width: 480px;
  margin-bottom: 30px;
  font-weight: 300;
}

.hero__actions {
  display: flex;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text);
}

.badge span {
  font-size: 1.1rem;
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===== Oval Image Frames ===== */
.hero__oval,
.about__oval,
.career__oval {
  position: relative;
  border-radius: 50% / 45%;
  overflow: hidden;
  border: 10px solid var(--clr-white);
  box-shadow: var(--shadow-soft);
  background: var(--clr-bg-soft-2);
}

.hero__oval {
  width: 380px;
  height: 460px;
  z-index: 2;
}

.hero__oval img,
.about__oval img,
.career__oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* fallback gradient shown if an image fails to load */
.img-fallback {
  background: linear-gradient(145deg, var(--clr-primary-light) 0%, var(--clr-bg-soft-2) 50%, var(--clr-accent) 100%);
}

.img-fallback img {
  opacity: 0;
}

.img-fallback::after {
  content: '\1F33F';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  opacity: 0.6;
}

.hero__circle {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
}

.hero__circle--1 {
  width: 220px;
  height: 220px;
  background: var(--clr-primary-light);
  top: -30px;
  right: 10px;
  opacity: 0.7;
}

.hero__circle--2 {
  width: 140px;
  height: 140px;
  border: 2px solid var(--clr-accent);
  bottom: -10px;
  left: 0;
  opacity: 0.6;
}

/* ===== 404 ===== */
.not-found {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--clr-bg-soft) 0%, var(--clr-bg) 100%);
}

.not-found__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.not-found__media {
  position: relative;
  display: flex;
  justify-content: center;
}

.not-found__oval {
  width: 320px;
  height: 380px;
}

.not-found__code {
  font-size: 6rem;
  line-height: 1;
  color: var(--clr-primary);
  margin-bottom: 6px;
}

.not-found__content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.not-found__content p {
  color: var(--clr-text-light);
  max-width: 480px;
  margin-bottom: 30px;
}

@media (max-width: 992px) {
  .not-found__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .not-found__content .hero__actions,
  .not-found__content p {
    margin-left: auto;
    margin-right: auto;
  }

  .not-found__content .hero__actions {
    justify-content: center;
  }
}

/* ===== About ===== */
.about {
  background: var(--clr-bg);
}

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 60px;
}

.about__media {
  position: relative;
  min-height: 460px;
}

.about__oval {
  width: 320px;
  height: 400px;
}

.about__oval--small {
  position: absolute;
  width: 190px;
  height: 230px;
  bottom: -30px;
  right: -10px;
  border-width: 8px;
  z-index: 2;
}

.about__content p {
  color: var(--clr-text-light);
  margin-bottom: 18px;
  max-width: 540px;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.about__stats strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--clr-primary-dark);
}

.about__stats span {
  font-size: 0.85rem;
  color: var(--clr-text-light);
}

/* ===== Section Heading ===== */
.section-heading {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

.section-heading h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section-heading p {
  color: var(--clr-text-light);
}

/* ===== Services ===== */
.services {
  background: var(--clr-bg-soft);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
}

.services__loading {
  text-align: center;
  color: var(--clr-text-light);
  grid-column: 1 / -1;
}

.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 30px 24px 28px;
  text-align: center;
  box-shadow: 0 6px 24px rgba(207, 134, 144, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.service-card__oval {
  width: 140px;
  height: 170px;
  border-radius: 50% / 45%;
  overflow: hidden;
  border: 6px solid var(--clr-bg-soft);
  background: var(--clr-bg-soft-2);
  margin-bottom: 20px;
  position: relative;
}

.service-card__oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card__oval.img-fallback::after {
  font-size: 2rem;
}

.service-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-primary-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-card__meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.85rem;
  font-weight: 500;
  padding-top: 14px;
  border-top: 1px solid var(--clr-border);
  color: var(--clr-text);
}

.service-card__meta .price {
  color: var(--clr-primary-dark);
  font-weight: 600;
}

/* ===== Career ===== */
.career {
  background: var(--clr-bg);
}

.career__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.career__content p {
  color: var(--clr-text-light);
  max-width: 520px;
  margin-bottom: 20px;
}

.career__list {
  margin-bottom: 30px;
}

.career__list li {
  margin-bottom: 10px;
  color: var(--clr-text);
  font-size: 0.95rem;
}

.career__media {
  display: flex;
  justify-content: center;
}

.career__oval {
  width: 340px;
  height: 420px;
}

/* ===== Contact / Booking ===== */
.contact {
  background: var(--clr-bg-soft);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact__form,
.info-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: 0 6px 24px rgba(207, 134, 144, 0.08);
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--clr-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--clr-bg);
  color: var(--clr-text);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  background: var(--clr-white);
}

.form-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--clr-primary-dark);
  font-weight: 500;
}

.availability-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6fa380;
  min-height: 1.2em;
}

.availability-note--busy {
  color: #c25b5b;
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.info-card ul li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}

.info-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.info-card ul li strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.info-card ul li a,
.info-card ul li span {
  font-size: 0.9rem;
  color: var(--clr-text-light);
}

.info-card ul li a:hover {
  color: var(--clr-primary-dark);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-primary-dark);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.social-links--footer {
  margin-top: 20px;
}

.social-links--footer a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--clr-primary-light);
}

.social-links--footer a:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

/* ===== Map ===== */
.map {
  padding: 0;
}

.map__wrapper {
  width: 100%;
  height: 420px;
  filter: saturate(0.85);
}

/* ===== Footer ===== */
.footer {
  background: #3a2c2e;
  color: #f3e6e8;
  padding: 70px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand p {
  color: #d8c5c7;
  margin-top: 14px;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer__links h4,
.footer__contact h4 {
  color: var(--clr-white);
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.footer__links a {
  display: block;
  color: #d8c5c7;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--clr-primary-light);
}

.footer__contact p {
  color: #d8c5c7;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer__bottom {
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: #b8a3a5;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--clr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1100;
  transition: var(--transition);
  animation: wa-pulse 2.4s infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1ebe5b;
}

@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .hero__inner,
  .about__inner,
  .career__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .about__media,
  .career__media {
    order: -1;
    margin: 0 auto 40px;
  }

  .about__media {
    min-height: 380px;
    width: 100%;
    max-width: 380px;
  }

  .hero__media {
    order: -1;
  }

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

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav.open {
    max-height: 320px;
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .nav__list li {
    border-bottom: 1px solid var(--clr-border);
  }

  .nav__link {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero__content h1 {
    font-size: 2.4rem;
  }

  .hero__oval {
    width: 280px;
    height: 340px;
  }

  .about__oval {
    width: 240px;
    height: 300px;
  }

  .about__oval--small {
    width: 140px;
    height: 170px;
  }

  .career__oval {
    width: 260px;
    height: 320px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}
