/* ===== SAMMY'S MOBILE SPA — GLOBAL STYLES ===== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --sage: #7a9e7e;
  --sage-light: #a8c5ab;
  --sage-dark: #4e6e52;
  --sage-pale: #eef3ee;
  --gold: #b8973a;
  --gold-light: #d4b060;
  --gold-pale: #faf6eb;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --cream: #f2ede4;
  --charcoal: #2c2c2c;
  --mid-grey: #888;
  --light-grey: #e8e4df;
  --text: #3a3a3a;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --nav-h: 130px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.6;
}

html, body {
  width: 100%;
  max-width: 100%;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
a, p, li, span { overflow-wrap: anywhere; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
              background 0.4s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.4s cubic-bezier(0.4,0,0.2,1),
              border-color 0.4s cubic-bezier(0.4,0,0.2,1);
}

.nav.scrolled {
  height: 84px;
  background: var(--white);
  border-bottom: 1px solid rgba(184,151,58,0.15);
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 80px;
  width: auto;
  display: block;
  /* Make the original image completely white on transparent nav */
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.12));
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity var(--transition),
              transform var(--transition),
              filter var(--transition);
}
.nav.scrolled .nav-logo-img {
  height: 49px;
  /* Flip to Sage Green (#4e6e52) on scroll to stand out against light frosted background */
  filter: brightness(0) invert(42%) sepia(21%) saturate(713%) hue-rotate(76deg) brightness(87%) contrast(85%);
}
.nav-logo:hover .nav-logo-img {
  opacity: 0.85;
  transform: scale(0.97);
}

/* Kept for any remaining references, hidden by default */
.nav-logo-name, .nav-logo-tag { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Scrolled state — sage-dark green (matches logo leaf colour) */
.nav.scrolled .nav-links a { color: var(--sage-dark); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--sage-dark); opacity: 0.75; }
.nav.scrolled .nav-links a::after { background: var(--sage-dark); }

.nav-cta-item {
  display: flex;
  align-items: center;
}

.nav-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18) !important;
  color: var(--white) !important;
  min-height: 2.2rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), color var(--transition) !important;
}

.nav-book-btn span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transform: translateY(-1px);
}

.nav-book-btn::after {
  display: none !important;
}

.nav-book-btn:hover {
  background: rgba(255,255,255,0.3) !important;
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px) !important;
}

.nav.scrolled .nav-book-btn {
  background: var(--sage) !important;
  border-radius: 50px;
  border-color: transparent;
}

.nav.scrolled .nav-book-btn:hover {
  background: var(--sage-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255,255,255,0.9);
  transition: var(--transition);
}
.nav.scrolled .hamburger span { background: var(--charcoal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  transition: top 0.4s cubic-bezier(0.4,0,0.2,1);
  background: var(--white);
  padding: 2rem;
  border-bottom: 1px solid var(--light-grey);
  z-index: 999;
  flex-direction: column;
  gap: 0;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--charcoal);
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-grey);
  transition: color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--sage); }
.mobile-menu a:last-child { border-bottom: none; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  max-width: 100%;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(122,158,126,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover {
  background: #9a7e2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(184,151,58,0.35);
}

.btn-dark-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-dark-outline:hover {
  background: var(--charcoal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== SECTION WRAPPERS ===== */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-header { margin-bottom: 4rem; text-align: center; }
.section-header .eyebrow { margin-bottom: 0.75rem; display: block; }
.section-header h2 { color: var(--charcoal); margin-bottom: 1rem; }
.section-header p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--mid-grey);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ===== DIVIDER LINE ===== */
.gold-divider {
  width: 48px;
  height: 1.5px;
  background: var(--gold);
  margin: 1.25rem auto;
}
.gold-divider-left { margin-left: 0; }

/* ===== PETAL / IMAGE PLACEHOLDER ===== */
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

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

/* ===== PAGE BANNER ===== */
.page-banner {
  padding-top: calc(var(--nav-h) + 5rem);
  padding-bottom: 5rem;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, #8fb092 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.page-banner .eyebrow { color: var(--gold-light); margin-bottom: 1rem; display: block; }
.page-banner h1 { color: var(--white); margin-bottom: 1rem; }
.page-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 550px; margin: 0 auto; }

/* ===== FLOATING WHATSAPP ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9000;
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wa 3s infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.55);
  animation: none;
}
.fab-whatsapp svg { width: 30px; height: 30px; fill: white; }

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}


.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  /* Invert to white for the dark footer background */
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.2));
  opacity: 0.9;
  display: block;
  transition: opacity var(--transition);
}
.footer-logo-link:hover .footer-logo-img { opacity: 1; }

.footer-brand p { margin-top: 0; font-size: 0.9rem; line-height: 1.8; color: rgba(255,255,255,0.55); }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.9rem;
}
.footer-contact-item .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
}

/* Mobile menu tracks the shrunk nav height */
.nav.scrolled + .mobile-menu { top: 84px; }

@media (max-width: 768px) {
  .container, .container-wide { padding: 0 1rem; }
  .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
  }
  .hero-ctas,
  .cta-actions,
  .services-book-btns,
  .pricing-cta-btns,
  .quick-book-btns,
  .commitment-cta,
  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
  }
  .gold-divider-left {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  :root { --nav-h: 100px; }
  .nav.scrolled { height: 64px; }
  .nav.scrolled + .mobile-menu { top: 64px; }
  .nav-logo-img { height: 60px; }
  .nav.scrolled .nav-logo-img { height: 37px; }
  .section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fab-whatsapp { bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; }
}
