/* css/custom.css */
:root {
  /* Primary Colors - Black & White Theme */
  --spa-primary: #000000;
  --spa-secondary: #F8F9FA;
  --spa-accent: #333333;
  --spa-gold: #666666;
  --spa-aqua: #999999;
  
  /* Thai Traditional Colors - Monochrome */
  --thai-gold: #333333;
  --thai-green: #666666;
  --thai-cream: #F5F5F5;
  
  /* Text Colors */
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-light: #999999;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --border-color: #E9ECEF;
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Dancing Script', cursive;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
  
  /* Shadows */
  --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-heavy: 0 10px 15px rgba(0,0,0,0.1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.font-heading {
  font-family: var(--font-heading);
}

.font-accent {
  font-family: var(--font-accent);
}

/* Custom Button Styles */
.btn-spa-primary {
  background-color: var(--spa-primary);
  border-color: var(--spa-primary);
  color: white;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.btn-spa-primary:hover {
  background-color: var(--spa-accent);
  border-color: var(--spa-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-spa-secondary {
  background-color: transparent;
  border: 2px solid var(--spa-primary);
  color: var(--spa-primary);
  font-weight: 500;
  padding: 12px 30px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.btn-spa-secondary:hover {
  background-color: var(--spa-primary);
  color: white;
  transform: translateY(-2px);
}

/* Section Styles */
.section-padding {
  padding: var(--section-padding);
}

.bg-spa-light {
  background-color: var(--spa-secondary);
}

.bg-spa-primary {
  background-color: var(--spa-primary);
}

.text-spa-primary {
  color: var(--spa-primary);
}

.text-spa-accent {
  color: var(--spa-accent);
}

/* Custom Card Styles */
.spa-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
  border: none;
}

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

.spa-card .card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.spa-card:hover .card-img-top {
  transform: scale(1.05);
}

/* Navigation Styles */
.navbar-spa {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--spa-primary) !important;
  display: flex;
  align-items: center;
}

.navbar-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--spa-primary);
}

.nav-link {
  font-weight: 500;
  color: var(--text-primary) !important;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--spa-primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--spa-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: opacity 1.5s ease-in-out;
  opacity: 0;
}

.hero-background.active {
  opacity: 1;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero Slider Controls (Optional) */
.hero-slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-slider-dot.active {
  background: white;
  transform: scale(1.2);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

/* Statistics Counter */
.stat-counter {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
  color: #FFFFFF;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-price {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #000000;
  color: white;
  padding: 8px 15px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Contact Section */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--spa-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Location Cards */
.location-card {
  background: white;
  border: 2px solid var(--border-color) !important;
  transition: all 0.3s ease;
}

.location-card:hover {
  border-color: var(--spa-primary) !important;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.location-card h4 {
  color: var(--spa-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Map Container Styles */
.map-container {
  position: relative;
}

.map-legend {
  background: white;
  border: 2px solid var(--border-color) !important;
  transition: all 0.3s ease;
}

.map-legend:hover {
  border-color: var(--spa-primary) !important;
  box-shadow: var(--shadow-medium);
}

.location-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.location-marker.santan-valley {
  background: var(--spa-primary);
}

.location-marker.scottsdale {
  background: var(--spa-accent);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--light-gray);
    padding: 10px 0;
    margin-top: 76px;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-nav .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-nav .breadcrumb-item a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--spa-primary);
}

.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--text-light);
    margin: 0 8px;
}

/* Map Tabs Styles */
.map-tabs .nav-tabs {
  border-bottom: 2px solid var(--border-color);
}

.map-tabs .nav-tabs .nav-link {
  border: none;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 12px 20px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: all 0.3s ease;
}

.map-tabs .nav-tabs .nav-link:hover {
  color: var(--spa-primary);
  background-color: var(--light-gray);
  border-color: transparent;
}

.map-tabs .nav-tabs .nav-link.active {
  color: var(--spa-primary);
  background-color: white;
  border: 2px solid var(--border-color);
  border-bottom: 2px solid white;
  margin-bottom: -2px;
  font-weight: 600;
}

.map-tabs .tab-content {
  background: white;
  border: 2px solid var(--border-color);
  border-top: none;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  padding: 20px;
}

.map-tabs .tab-pane {
  transition: opacity 0.3s ease;
}

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

.accordion-item:not(:last-child) {
  border-bottom: 2px solid var(--border-color);
}

.accordion-button {
  background: white;
  border: none;
  padding: 1.25rem;
  font-weight: 600;
  color: var(--spa-primary);
  font-family: var(--font-heading);
}

.accordion-button:not(.collapsed) {
  background: var(--spa-primary);
  color: white;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--spa-primary);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  background: white;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Form Styles */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--spa-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.25);
}

/* Footer */
.footer {
  background: #000000;
  color: white;
  padding: 40px 0 20px;
}

.footer h5 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

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

.footer .list-unstyled a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
  color: #FFFFFF;
}

.footer-logo {
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--spa-accent);
}

/* Review Widget Styles */
.lc_reviews_widget {
  background: white;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.lc_reviews_widget:hover {
  border-color: var(--spa-primary);
  box-shadow: var(--shadow-medium);
}

/* Responsive adjustments for review widget */
@media (max-width: 768px) {
  .lc_reviews_widget {
    min-height: 300px !important;
  }
}

@media (max-width: 576px) {
  .lc_reviews_widget {
    min-height: 250px !important;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--spa-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
} 