/* ===== Base Styles ===== */
* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #2D2A2E;
  background-color: #FFFAF7;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #B76E79, transparent);
}

/* ===== Buttons ===== */
.btn-primary {
  background-color: #B76E79;
  color: white;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #a25d67;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 110, 121, 0.3);
}

.btn-secondary {
  border: 1px solid #B76E79;
  color: #B76E79;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: #B76E79;
  color: white;
}

/* ===== Navigation ===== */
.nav-link {
  color: #2D2A2E;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #B76E79;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #B76E79;
}

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

.nav-link.active {
  color: #B76E79;
}

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

/* ===== Cards ===== */
.service-card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: #B76E79;
  box-shadow: 0 12px 24px rgba(45, 42, 46, 0.08);
}

.stylist-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stylist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(45, 42, 46, 0.1);
}

.stylist-card img {
  transition: transform 0.5s ease;
}

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

/* ===== Testimonial ===== */
.testimonial-quote {
  position: relative;
  padding-left: 2rem;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: #B76E79;
  opacity: 0.3;
  line-height: 1;
}

/* ===== Form Styles ===== */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #E5E0DC;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background-color: white;
}

.form-input:focus {
  outline: none;
  border-color: #B76E79;
  box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

.form-input::placeholder {
  color: #8A8689;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #2D2A2E;
}

.form-error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* ===== Gallery ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 42, 46, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

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

/* ===== Filter Buttons ===== */
.filter-btn {
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8A8689;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover {
  color: #B76E79;
}

.filter-btn.active {
  background-color: #B76E79;
  color: white;
  border-color: #B76E79;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

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

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 46, 0.95);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 100;
  transition: right 0.3s ease;
  padding: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 42, 46, 0.5);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== Booking Steps ===== */
.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
  animation: fadeInUp 0.4s ease;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E5E0DC;
  transition: all 0.3s ease;
}

.step-dot.active {
  background-color: #B76E79;
  transform: scale(1.2);
}

.step-dot.completed {
  background-color: #A8B5A0;
}

/* ===== Service Selection Cards ===== */
.service-select-card {
  border: 2px solid #E5E0DC;
  border-radius: 8px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-select-card:hover {
  border-color: #B76E79;
}

.service-select-card.selected {
  border-color: #B76E79;
  background-color: rgba(183, 110, 121, 0.05);
}

/* ===== Stylist Selection Cards ===== */
.stylist-select-card {
  border: 2px solid #E5E0DC;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.stylist-select-card:hover {
  border-color: #B76E79;
}

.stylist-select-card.selected {
  border-color: #B76E79;
  background-color: rgba(183, 110, 121, 0.05);
}

/* ===== Tab Navigation ===== */
.tab-btn {
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8A8689;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.tab-btn:hover {
  color: #B76E79;
}

.tab-btn.active {
  color: #B76E79;
  border-bottom-color: #B76E79;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* ===== Decorative Elements ===== */
.decorative-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #B76E79, transparent);
  margin: 1rem auto;
}

.decorative-dots::before {
  content: '...';
  letter-spacing: 8px;
  color: #B76E79;
  font-size: 1.5rem;
}

/* ===== Package Cards ===== */
.package-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #E5E0DC;
  transition: all 0.3s ease;
}

.package-card:hover {
  border-color: #B76E79;
  box-shadow: 0 12px 24px rgba(45, 42, 46, 0.08);
}

.package-card.featured {
  border-color: #B76E79;
  position: relative;
}

.package-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #B76E79;
  color: white;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .testimonial-quote::before {
    font-size: 3rem;
  }
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: linear-gradient(135deg, #B76E79, #A8B5A0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-pattern {
  background-image: 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='%23B76E79' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
