/* ==========================================================================
   THE PURPLE SPA - EXACT MATCH DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Colors */
  --c-purple-darkest: #1a0824; /* Deepest background */
  --c-purple-dark: #2f1340; /* Main dark sections */
  --c-purple-gradient-1: #3b1754;
  --c-purple-gradient-2: #5c2b73;
  --c-gold: #cca660; /* Luxury gold */
  --c-gold-light: #e6c587;
  --c-bg-light: #f9f7fa; /* Very light purple/cream for body */
  --c-white: #ffffff;
  --c-text-dark: #222222;
  --c-text-light: #666666;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 100px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.05);
  --shadow-heavy: 0 20px 40px rgba(0,0,0,0.3);
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: var(--font-sans);
  color: var(--c-text-dark);
  background-color: var(--c-bg-light);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section { padding: 80px 0; }
.text-center { text-align: center; }

/* ------------------- TYPOGRAPHY ------------------- */
.subtitle-gold {
  font-family: var(--font-sans);
  color: var(--c-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--c-purple-dark);
  margin-bottom: 15px;
}
.section-desc {
  font-size: 1rem;
  color: var(--c-text-light);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ------------------- BUTTONS ------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: 0.3s;
  white-space: nowrap;
}
.btn i { font-size: 1.1rem; }

.btn-gold {
  background: var(--c-gold);
  color: var(--c-purple-darkest);
}
.btn-gold:hover {
  background: var(--c-gold-light);
  transform: translateY(-2px);
}

.btn-dark {
  background: rgba(26, 8, 36, 0.8);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-dark:hover {
  background: var(--c-purple-darkest);
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: var(--c-white);
  color: var(--c-purple-dark);
}

.btn-purple {
  background: #73518f;
  color: white;
}
.btn-purple:hover { background: #5c3a75; }

/* ------------------- HEADER ------------------- */
.header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-white);
}
.header__logo img { width: 40px; filter: brightness(0) invert(1); }
.header__brand span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.header__brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  color: var(--c-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.header__nav ul { display: flex; gap: 30px; }
.header__nav a {
  color: var(--c-white);
  font-size: 0.9rem;
  font-weight: 400;
}
.header__nav a:hover { color: var(--c-gold); }

/* ------------------- HERO ------------------- */
.hero {
  position: relative;
  background: var(--c-purple-darkest);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Offset for header */
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
}
.hero__bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, var(--c-purple-darkest) 0%, transparent 100%);
  z-index: 1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 55%;
  padding: 0 0 20px;
  text-align: left;
}
.hero__title {
  font-size: 3.2rem;
  color: var(--c-white);
  line-height: 1.1;
  margin-bottom: 15px;
}
.hero__title span { color: var(--c-gold); display: block; }
.hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 90%;
  margin-bottom: 25px;
}

.hero__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}
.hero__feature {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  color: var(--c-white);
  font-size: 1rem;
}
.hero__feature span { font-size: 1.5rem; }

.hero__ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__ctas .btn {
  padding: 10px 20px;
  font-size: 0.8rem;
}

.hero__badge {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 8, 36, 0.9);
  border: 1px solid var(--c-gold);
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--c-white);
  z-index: 3;
}
.hero__badge span {
  color: var(--c-gold);
  font-size: 1.5rem;
  margin-bottom: 5px;
}
.hero__badge p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero .container { width: 100%; }

/* ------------------- TRUST STRIP (PILL) ------------------- */
.trust-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.trust-strip {
  background: linear-gradient(90deg, var(--c-purple-gradient-1) 0%, var(--c-purple-gradient-2) 100%);
  border-radius: var(--radius-pill);
  padding: 30px 40px;
  box-shadow: var(--shadow-heavy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--c-white);
  flex: 1;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-item:last-child { border-right: none; }
.trust-item .icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  color: var(--c-gold);
  font-size: 1.2rem;
}
.trust-item h3 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.trust-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* ------------------- SERVICES ------------------- */
.services-section {
  background: var(--c-bg-light);
  padding-top: 150px; /* Space for the pill */
  margin-top: -100px;
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card {
  background: var(--c-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 15px;
  transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }
.service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--c-text-light);
  margin-bottom: 20px;
}
.service-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--c-text-dark);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-link span { color: var(--c-gold); font-size: 1.2rem; }

/* ------------------- ABOUT (SPLIT) ------------------- */
.about-section {
  background: #fbf9f4; /* Warmer cream for about section */
}
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 1rem;
}
.about-list {
  margin: 30px 0;
}
.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}
.about-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-purple-dark);
  font-weight: bold;
}

.about-image {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
  align-self: stretch;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-quote {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  background: var(--c-purple-dark);
  padding: 30px;
  color: var(--c-white);
}
.about-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.about-quote span {
  font-family: var(--font-serif);
  color: var(--c-gold);
}
.about-quote-icon {
  position: absolute;
  right: 20px; bottom: 20px;
  opacity: 0.2;
  font-size: 3rem;
}

/* ------------------- GALLERY ------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ------------------- LOCATION & MAP ------------------- */
.location-section {
  background: var(--c-bg-light);
}
.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  background: #e8f4f8; /* Light blue tint like the map background in image */
  border-radius: var(--radius-md);
  padding: 40px;
}
.location-info {
  background: var(--c-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.loc-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.loc-icon {
  font-size: 1.2rem;
  color: var(--c-purple-dark);
}
.loc-text p {
  font-size: 0.9rem;
  color: var(--c-text-light);
}
.loc-buttons {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  min-height: 350px;
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ------------------- BOOKING SECTION ------------------- */
.booking-section {
  background: var(--c-purple-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.booking-text { color: var(--c-white); }
.booking-text .subtitle-gold { margin-bottom: 10px; }
.booking-text h2 { color: var(--c-white); font-size: 3rem; margin-bottom: 20px; }
.booking-text p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.booking-image {
  margin-bottom: 40px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.booking-image img { width: 100%; max-width: 300px; }

.booking-form {
  background: transparent;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-control {
  background: #3a1b4d;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: var(--radius-sm);
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  width: 100%;
}
.form-control::placeholder { color: rgba(255,255,255,0.5); }
.form-control:focus { outline: none; border-color: var(--c-gold); }
select.form-control { appearance: none; }
textarea.form-control { height: 120px; resize: none; }

.btn-submit {
  width: 100%;
  background: var(--c-gold);
  color: var(--c-purple-darkest);
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}
.secure-text {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  margin-top: 15px;
}

/* ------------------- FOOTER ------------------- */
.footer {
  background: #15051d;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}
.custom-footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.custom-footer-logo img {
  width: 85px;
  height: 85px;
  object-fit: contain;
  margin-bottom: 0 !important; /* Override mobile */
  filter: drop-shadow(1px 1px 0px rgba(255,255,255,0.8)) 
          drop-shadow(-1px -1px 0px rgba(255,255,255,0.8)) 
          drop-shadow(1px -1px 0px rgba(255,255,255,0.8)) 
          drop-shadow(-1px 1px 0px rgba(255,255,255,0.8));
}
.cfl-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.cfl-text h2 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--c-white);
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}
.cfl-text span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--c-gold);
}
.brand-desc { font-size: 0.9rem; margin-bottom: 20px; }
.social-links { display: flex; gap: 15px; }
.social-links a {
  width: 35px; height: 35px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.social-links a:hover { background: var(--c-gold); color: #15051d; }

.footer h4 {
  color: var(--c-gold);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}
.footer-links li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-links a:hover { color: var(--c-gold); }

.footer-contact li {
  display: flex; gap: 15px; margin-bottom: 15px; font-size: 0.9rem;
}
.footer-contact i { color: var(--c-gold); font-size: 1.1rem; }

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #999;
}
.footer-legal {
  margin-top: 10px;
}
.footer-legal a {
  color: var(--c-gold);
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
}
.footer-legal a:hover {
  opacity: 0.8;
}

/* ------------------- MOBILE MENU ------------------- */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 24px;
  position: relative;
}
.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--c-white);
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}
.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 11px; }
.header__hamburger span:nth-child(3) { bottom: 0; }

.header__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.header__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0; right: -300px; /* Slide from right */
  width: 280px; 
  height: 100vh;
  background: var(--c-purple-darkest);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 100px 40px 40px;
  gap: 30px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  transition: right 0.4s ease;
}
.mobile-nav.active {
  right: 0;
}
.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--c-white);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}
.mobile-nav__link {
  font-size: 1.2rem;
  color: var(--c-white);
  font-family: var(--font-serif);
  text-transform: uppercase;
}

/* ==================== PAYMENT INFO ==================== */
.payment-info {
  margin-top: 25px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  text-align: left;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.payment-info h3 {
  color: var(--c-gold);
  font-size: 1.15rem;
  margin-bottom: 15px;
  font-family: var(--font-serif);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 8px;
  text-align: left;
}
.payment-flex {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.payment-qr {
  flex: 0 0 110px;
  text-align: center;
}
.payment-qr img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #fff;
  background: #fff;
}
.payment-qr span {
  display: block;
  font-size: 0.75rem;
  color: #ccc;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.payment-details {
  flex: 1;
  color: #ddd;
  min-width: 200px;
}
.payment-grid {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 8px 10px;
  align-items: center;
}
.payment-grid span.label {
  color: #aaa;
  font-size: 0.85rem;
}
.payment-grid span.value {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero__bg { width: 100%; opacity: 0.4; }
  .hero__content { width: 80%; }
  .hero__badge { right: 5%; }
  .trust-strip { flex-direction: column; gap: 30px; border-radius: 20px; padding: 40px; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; width: 100%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrapper, .location-wrapper, .booking-wrapper { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 4/3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__nav, .header__cta-desktop { display: none; }
  .header__hamburger { display: block; }
  
  .hero { padding-top: 80px; }
  .hero__content { width: 100%; padding-bottom: 40px; }
  .hero__title { font-size: 2.5rem; }
  .hero__ctas { flex-direction: column; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__badge { display: none; }
  
  .trust-wrapper { margin-top: -30px; }
  
  .services-grid { grid-template-columns: 1fr; }
  
  .about-wrapper, .location-wrapper, .booking-wrapper { grid-template-columns: 1fr; gap: 25px; }
  
  .location-wrapper { padding: 20px; }
  
  .about-image { aspect-ratio: auto; }
  .about-image img { height: 250px; }
  .about-quote { position: relative; padding: 20px; }
  
  .booking-section { padding: 60px 0; text-align: center; }
  .booking-ctas { flex-direction: column; width: 100%; }
  .booking-ctas .btn { width: 100%; justify-content: center; }
  
  .payment-flex { flex-direction: column; text-align: center; gap: 20px; }
  .payment-info { padding: 20px 15px; text-align: center; margin-top: 25px; }
  .payment-qr { flex: 0 0 160px; margin: 0 auto; }
  .payment-details { width: 100%; min-width: 0; }
  .payment-grid { grid-template-columns: 1fr; text-align: center; gap: 5px; margin-bottom: 10px; }
  .payment-grid span.label { margin-top: 8px; color: var(--c-gold); }
  .payment-info h3 { font-size: 1.15rem; }
  
  .location-info { text-align: center; padding: 25px 15px; }
  .location-info p { text-align: center; font-size: 1.05rem; }
  .location-info h2.section-title { font-size: 2rem; margin-bottom: 20px; }
  .location-info .loc-item { flex-direction: column; align-items: center; text-align: center; margin-bottom: 15px; }
  .location-info .loc-buttons { flex-direction: column; width: 100%; gap: 15px; margin-top: 15px; }
  .location-info .loc-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; }
  
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-item { aspect-ratio: 4/3; }
  
  .form-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer-brand { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-brand img { margin: 0 auto 20px; }
  .footer-contact li { justify-content: center; text-align: left; }
  .social-links { justify-content: center; }
}
