/* Beauty by Anderson - Base Styles */
:root {
  --color-primary: #8b4a3d;
  --color-primary-dark: #6b352a;
  --color-accent: #c85a4a;
  --color-bg: #faf8f6;
  --color-bg-alt: #f2eeea;
  --color-card: #ffffff;
  --color-text: #2c2420;
  --color-text-muted: #5a4d47;
  --container-max: 1400px;
  --section-padding: 2.5rem 1.75rem;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --shadow: 0 2px 16px rgba(139, 74, 61, 0.08);
  --shadow-card: 0 4px 24px rgba(139, 74, 61, 0.1);
  --shadow-hover: 0 6px 28px rgba(139, 74, 61, 0.14);
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

body.fade-in {
  animation: fadeIn 0.4s ease;
}

body.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent);
}

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

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-card);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.header.nav-hidden {
  transform: translateY(-100%);
}

.nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  height: 95px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover {
  color: var(--color-primary);
  background: rgba(139, 74, 61, 0.06);
}

.btn-book {
  background: var(--color-primary);
  color: white !important;
  padding: 0.65rem 1.5rem;
  font-size: 1rem;
  border-radius: 50px;
}

.btn-book:hover {
  background: var(--color-primary-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(72vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel-inner {
  position: absolute;
  inset: 0;
  padding-bottom: 55%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(44,36,32,0.55) 0%, rgba(44,36,32,0.15) 55%, transparent 100%);
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 2.5rem 2rem 3rem;
  width: 100%;
  padding-left: 6rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  color: white;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  color: rgba(255,255,255,0.96);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 1.75rem;
  max-width: 520px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.hero-buttons {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  background: var(--color-primary);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.btn-hero:hover {
  background: var(--color-primary-dark);
}

.btn-hero-alt {
  background: rgba(255,255,255,0.15);
  color: white !important;
  border: 2px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: rgba(139,74,61,0.08);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 4px 20px rgba(44,36,32,0.2);
  transition: background var(--transition), transform var(--transition);
}

.hero-carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow {
  width: 24px;
  height: 24px;
}

.hero-carousel-prev { left: 1.5rem; }
.hero-carousel-next { right: 1.5rem; }

/* Sections */
section {
  padding: var(--section-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 2px;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

h2.section-title {
  position: relative;
  padding-bottom: 0.5rem;
}

h2.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: white;
  padding: 3rem 2rem 2rem;
}

.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.footer-contact, .footer-location, .footer-hours {
  text-align: center;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: rgba(255,255,255,0.15);
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.contact-btn:hover {
  background: rgba(255,255,255,0.25);
}

.map-container {
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

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

.footer-hours ul {
  list-style: none;
}

.footer-hours li {
  margin-bottom: 0.25rem;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-rating {
  text-align: center;
  margin-top: 1rem;
}

.footer-rating-stars { color: #ffc107; }

/* Why Choose */
.why-choose-section {
  padding: 3rem 2rem;
  background: var(--color-bg-alt);
}

.why-choose-section h2 { margin-bottom: 2rem; }
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.why-choose-item {
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--color-card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--color-primary);
}

.why-choose-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.6rem;
  background: rgba(139,74,61,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Popular Services */
.popular-services-section {
  padding: 3rem 2rem;
}

.popular-services-section h2 { margin-bottom: 2rem; }
.popular-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.popular-service-card {
  background: var(--color-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.popular-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 74, 61, 0.15);
}

.popular-service-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.popular-service-content {
  padding: 1.25rem;
  border-top: 3px solid var(--color-primary);
}

.popular-service-content h3 { font-size: 1.2rem; margin-bottom: 0.25rem; }
.popular-service-content p { color: var(--color-primary); font-weight: 600; }

/* Reviews Preview */
.reviews-preview-section {
  padding: 3rem 2rem;
  background: var(--color-bg-alt);
}

.reviews-preview-section h2 { margin-bottom: 2rem; }
.reviews-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-preview-card {
  background: var(--color-card);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--color-primary);
}

/* Visit Section */
.visit-section {
  padding: 3rem 2rem;
}

.visit-section h2 { margin-bottom: 2rem; }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.visit-map {
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.visit-section .visit-grid > div:last-child p { margin-bottom: 0.5rem; }
.visit-section .visit-grid > div:last-child .btn-hero { margin-top: 0.5rem; }

/* Subpage Heroes */
.services-hero, .reviews-hero, .about-hero, .team-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.services-hero h1, .reviews-hero h1, .about-hero h1, .team-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

/* Service Cards */
.service-card {
  background: var(--color-card);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--color-primary);
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.price { font-weight: 600; color: var(--color-primary); }
.duration { color: var(--color-text-muted); font-size: 0.95rem; }
.service-highlights { margin: 0.75rem 0; padding-left: 1.25rem; }
.service-highlights li { margin-bottom: 0.25rem; }
.service-details { margin-top: 0.75rem; }
.service-details-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.service-details[data-expanded="true"] .service-details-content { max-height: 200px; }
.service-details-toggle { background: none; border: none; color: var(--color-primary); cursor: pointer; font-size: 0.95rem; padding: 0; text-decoration: underline; }
.service-details-toggle:hover { color: var(--color-accent); }
.service-cta { margin-top: 1rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem; background: var(--color-primary); color: white; border-radius: 50px; font-weight: 600; }
.btn-primary:hover { background: var(--color-primary-dark); }
.services-main { padding: 2.5rem 2rem; max-width: var(--container-max); margin: 0 auto; }
.services-main h2 { margin-top: 2rem; margin-bottom: 1rem; }
.services-main h2:first-child { margin-top: 0; }
.booking-methods { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }

/* Book page form */
.booking-page main {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
}

.booking-form-container {
  background: var(--color-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(139, 74, 61, 0.12);
}

.booking-form .form-group {
  margin-bottom: 1.25rem;
}

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

.booking-form input,
.booking-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid rgba(139, 74, 61, 0.25);
  border-radius: 10px;
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.booking-form input:focus,
.booking-form select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139, 74, 61, 0.12);
}

.booking-form button[type="submit"] {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.booking-page .btn-text-us {
  color: var(--color-primary) !important;
}

.booking-page .btn-text-us:hover {
  color: var(--color-primary-dark) !important;
}

.booking-page .booking-methods {
  justify-content: center;
}
.footer-nap { text-align: center; padding-bottom: 1rem; font-size: 0.95rem; color: rgba(255,255,255,0.9); }
.footer-nap a { color: white; }

/* Review Cards */
.review-card {
  background: var(--color-card);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.review-stars { color: #e6a23c; margin-bottom: 0.5rem; }
.review-author { margin-top: 0.5rem; font-weight: 600; font-size: 0.9rem; }
.review-text-truncated { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.review-text-truncated.review-text-expanded { display: block; -webkit-line-clamp: unset; }
.review-toggle { background: none; border: none; color: var(--color-primary); cursor: pointer; font-size: 0.9rem; padding: 0; text-decoration: underline; margin-top: 0.25rem; }
.review-toggle:hover { color: var(--color-accent); }
.reviews-main { padding: 2.5rem 2rem; max-width: var(--container-max); margin: 0 auto; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.reviews-rating-badge { font-size: 1.2rem; margin-top: 0.5rem; }
.reviews-google-cta { text-align: center; margin-bottom: 1.5rem; }

/* Team Cards */
.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background: var(--color-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 2.5rem;
}

.team-card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.team-card-info {
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.team-card-info h2 { margin-bottom: 0; }
.team-card-info p { margin-bottom: 0.5rem; line-height: 1.7; }
.team-card-info .btn-hero { margin-top: 0.75rem; align-self: flex-start; padding: 0.75rem 1.5rem; }

.about-main { padding: 2rem; max-width: 800px; margin: 0 auto; }
.about-section { margin-bottom: 2rem; }
.about-philosophy { padding: 1.5rem; background: var(--color-bg-alt); border-radius: 8px; }
.about-cta { text-align: center; margin-top: 2rem; }

.specialty-tag {
  display: inline-block;
  background: rgba(139,74,61,0.1);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 99;
}

.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
}

.chat-bubble {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: var(--shadow-hover);
  max-width: 280px;
  display: none;
}

.chat-bubble.open { display: block; }

/* Mobile CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 0.75rem;
  justify-content: space-around;
  z-index: 98;
}

.mobile-cta a {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.mobile-cta-icon { width: 24px; height: 24px; }

/* Responsive */
@media (max-width: 768px) {
  .nav { flex-wrap: wrap; padding: 1rem; min-height: auto; }
  .nav-links { order: 3; width: 100%; gap: 0.5rem; justify-content: center; }
  .nav-links a { padding: 0.5rem 0.75rem; font-size: 0.95rem; }
  .logo-img { height: 72px; }
  .hero { min-height: min(65vh, 500px); }
  .hero-content { padding: 2rem 1.5rem 2rem 5.5rem; }
  .hero-text h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-subtitle { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn-hero { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .popular-services-grid { grid-template-columns: 1fr; }
  .reviews-preview-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .visit-map { height: 260px; }
  .team-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .team-card-info { padding: 1.75rem 2rem; }
  .mobile-cta { display: flex; }
  .why-choose-grid { grid-template-columns: 1fr 1fr; }
  .section-title::after { width: 36px; }
}

@media (max-width: 480px) {
  .why-choose-grid { grid-template-columns: 1fr; }
}
