/* Elysian Luxury Spa - Main Stylesheet */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Color Scheme */
:root {
  /* Forest Green & Champagne Gold Palette */
  --color-forest-deep: #18230F;
  --color-forest-shade: #27391C;
  --color-emerald: #255F38;
  --color-jade: #1F7D53;
  --color-champagne: #C3AD6F;
  --color-ivory: #F4F6F0;
  --color-white: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-border: #E0E0E0;
  --color-whatsapp: #25D366;
  
  /* Fonts */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Poppins', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Radius */
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-sm {
  max-width: 768px;
}

.container-lg {
  max-width: 1400px;
}

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(24, 35, 15, 0.2);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}

.navigation.scrolled {
  background: var(--color-forest-deep);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-champagne);
}

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

.nav-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-champagne);
}

.nav-link.active {
  color: var(--color-champagne);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: var(--color-forest-deep);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

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

.mobile-menu ul {
  list-style: none;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--color-champagne);
  color: var(--color-text);
  border-color: var(--color-champagne);
}

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

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

.btn-whatsapp:hover {
  background: #20BA5A;
  border-color: #20BA5A;
}

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-forest-deep) 0%, var(--color-emerald) 100%);
  color: white;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/includes/assets/images/Luxury_spa_hero_interior_940224ac.png') center/cover no-repeat;
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--color-champagne);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* Sections */
.section {
  padding: 5rem 1rem;
}

.section-light {
  background: var(--color-white);
}

.section-ivory {
  background: var(--color-ivory);
}

.section-dark {
  background: var(--color-forest-deep);
  color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--color-forest-deep);
}

.section-dark .section-title h2 {
  color: var(--color-champagne);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Cards */
/*.card {*/
/*  background: white;*/
/*  border-radius: var(--radius-lg);*/
/*  padding: 2rem;*/
/*  box-shadow: var(--shadow);*/
/*  transition: transform 0.3s ease, box-shadow 0.3s ease;*/
/*}*/

/*.card:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: var(--shadow-lg);*/
/*}*/

/*.card h3 {*/
/*  color: var(--color-forest-deep);*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.card p {*/
/*  color: var(--color-text-muted);*/
/*  margin-bottom: 1rem;*/
/*}*/

/*.card-icon {*/
/*  width: 60px;*/
/*  height: 60px;*/
/*  background: var(--color-champagne);*/
/*  border-radius: 50%;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  margin-bottom: 1.5rem;*/
/*  color: white;*/
/*  font-size: 1.5rem;*/
/*}*/


.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  color: var(--color-forest-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}

.card p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1; /* ensures consistent spacing before button */
}

.card-icon {
  width: 70px;
  height: 70px;
  background: var(--color-champagne);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 1.6rem;
}

.card .btn {
  align-self: center;
  background: var(--color-champagne);
  color: black;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s ease;
}

.card .btn:hover {
  background: #c6a96a; /* slightly darker shade */
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-champagne);
  color: var(--color-text);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background: var(--color-jade);
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-champagne);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
.footer {
  background: var(--color-forest-deep);
  color: white;
  padding: 3rem 1rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--color-champagne);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--color-champagne);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Accordion (FAQ) */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  padding: 1.25rem;
  background: white;
  border: none;
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.accordion-button:hover {
  background: var(--color-ivory);
}

.accordion-button.active {
  background: var(--color-ivory);
  color: var(--color-jade);
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-button.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-body {
  padding: 1.25rem;
  color: var(--color-text-muted);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.pt-5 { padding-top: 5rem; }
.pt-20 { padding-top: 80px; }

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.text-muted { color: var(--color-text-muted); }
.text-gold { color: var(--color-champagne); }
.text-white { color: white; }

/* Services Grid */
/*.service-card {*/
/*  position: relative;*/
/*  border: 2px solid transparent;*/
/*}*/

/*.service-card:hover {*/
/*  border-color: var(--color-champagne);*/
/*}*/

/*.service-card .badge {*/
/*  position: absolute;*/
/*  top: 1rem;*/
/*  right: 1rem;*/
/*}*/



.service-card {
  position: relative;
  border: none;
  border-radius: 1rem;
  padding: 2rem;
  color: var(--color-forest-deep);
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  min-height: 350px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4); /* light overlay */
  backdrop-filter: blur(6px); /* subtle blur */
  z-index: 0;
  transition: all 0.3s ease;
}

.service-card:hover::before {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.service-card * {
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Badge */
.service-card .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-champagne);
  color: #fff;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Text */
.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #333;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.service-card strong {
  color: #000;
}

/* Button */
.service-card .btn {
  background: var(--color-champagne);
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  align-self: start;
  transition: all 0.3s ease;
}

.service-card .btn:hover {
  background: #c6a96a;
}

/* Price Display */
.price {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-champagne);
}

/* Icon Styles */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

/* Responsive Images */
.img-responsive {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

/* Map Embed */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Blog */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* Testimonial */
.testimonial-card {
  position: relative;
  padding: 2rem;
  padding-top: 3rem;
}

.quote-mark {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  color: var(--color-champagne);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.rating {
  color: var(--color-champagne);
  margin-bottom: 1rem;
}

/* Loading Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: var(--color-champagne);
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}


.floating-btn {
  position: fixed;
  bottom: 20px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #25d366; /* WhatsApp green by default */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-btn:hover {
  transform: scale(1.1);
}

/* Specific positions */
.floating-btn.left {
  left: 20px;
}

.floating-btn.right {
  right: 20px;
  background-color: #007bff; /* Blue for call button */
}

/* Optional glowing effect */
.floating-btn::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  z-index: -1;
}

