/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1a1a1a;
  --secondary: #2d2d2d;
  --tertiary: #404040;
  --gold: #d4af37;
  --gold-light: #e8c547;
  --gold-dark: #aa8c1c;
  --white: #f5f5f5;
  --gray: #9ca3af;
  --text-primary: #f5f5f5;
  --text-secondary: #d1d5db;
  --border: #404040;
  --success: #10b981;
  --error: #ef4444;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--primary);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(45, 45, 45, 0.95);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--gold);
}

.nav-cta {
  background: var(--gold);
  color: var(--primary) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--gold-light);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-weight: 400;
}

.hero-hint {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 32px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: var(--tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--border);
  color: var(--gold);
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 100px 0;
  background: var(--primary);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--white);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--gold);
  background: var(--tertiary);
  transform: translateY(-8px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--white);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}

.service-price {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

/* ===== WHY US SECTION ===== */
.why-us {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.why-item {
  text-align: center;
}

.why-number {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--white);
}

.why-item p {
  color: var(--text-secondary);
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 0;
  background: var(--primary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.about-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 24px;
  color: var(--white);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
}

.about-text strong {
  color: var(--gold);
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-number {
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-label {
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ===== REVIEWS SECTION ===== */
.reviews {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.review-card {
  background: var(--primary);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 8px;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.review-stars {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.review-text {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1rem;
  font-style: italic;
}

.review-author {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--primary);
}

.cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary);
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(26, 26, 26, 0.8);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 100px 0;
  background: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  margin-top: 60px;
}

.contact-info,
.contact-hours {
  background: var(--secondary);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.contact-hours .btn {
  display: inline-block !important;
  visibility: visible !important;
  overflow: visible !important;
}

.contact-hours .btn-primary {
  color: #1a1a1a !important;
}

.contact-info h3,
.contact-hours h3 {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 24px;
}

.contact-info p,
.contact-hours p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.contact-info a,
.contact-hours a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover,
.contact-hours a:hover {
  color: var(--gold-light);
}

.contact-hours ul {
  list-style: none;
}

.contact-hours li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.hours-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ===== BOOKING FORM ===== */
.contact-hero {
  padding: 60px 0;
  text-align: center;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

.contact-hero p {
  color: var(--gray);
  font-size: 1.1rem;
}

.booking-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.calendar-section,
.booking-section {
  background: var(--secondary);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.calendar-section h3,
.booking-section h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group select {
  cursor: pointer;
}

#b-date,
.date-input-selected {
  background: var(--tertiary) !important;
  color: var(--gold) !important;
  cursor: not-allowed !important;
  font-weight: 600;
}

#b-date::placeholder,
.date-input-selected::placeholder {
  color: var(--gold);
}

/* ===== STYLISTS GRID ===== */
.stylists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  margin-bottom: 16px;
}

.stylist-card {
  position: relative;
  text-align: center;
  cursor: pointer;
  display: block;
}

.stylist-card input[type="radio"] {
  display: none;
}

.stylist-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.stylist-card input[type="radio"]:checked ~ .stylist-img {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.stylist-card input[type="radio"]:checked ~ .stylist-label {
  font-weight: 700;
  color: var(--gold);
}

.stylist-label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s ease;
  color: var(--text-secondary);
}

/* Text-only stylist cards */
.stylist-text-only {
  background: var(--secondary);
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stylist-text-only input[type="radio"]:checked {
  border-color: var(--gold);
}

.stylist-text-only input[type="radio"]:checked ~ .stylist-label {
  color: var(--gold);
}

.stylist-text-only:has(input:checked) {
  background: var(--tertiary);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* ===== CALENDAR ===== */
.calendar {
  background: var(--primary);
  border-radius: 8px;
  padding: 20px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.calendar-header h4 {
  flex: 1;
  text-align: center;
  color: var(--gold);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.cal-weekdays > div {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.cal-day:hover:not(.disabled):not(.other-month) {
  border-color: var(--gold);
  background: var(--tertiary);
}

.cal-day.other-month {
  color: var(--tertiary);
  background: transparent;
}

.cal-day.today {
  background: var(--gold);
  color: var(--primary);
  font-weight: 700;
}

.cal-day.selected {
  border-color: var(--gold);
  background: var(--tertiary);
}

.cal-day.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: transparent;
}

#timeSlots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 8px;
}

.slot {
  padding: 10px;
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.slot:hover:not(.disabled) {
  border-color: var(--gold);
  background: var(--tertiary);
  color: var(--gold);
}

.slot.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--error);
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.modal[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.modal-time {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.modal-actions .btn {
  width: 100%;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--secondary);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 40px auto;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  color: var(--gray);
}

/* ===== CALENDAR DEMO INLINE ===== */
.calendar-demo-inline {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--border);
}

.demo-calendar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.demo-calendar {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
}

.demo-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.demo-booking-info {
  padding: 20px;
}

.demo-booking-info h4 {
  font-size: 1.2rem;
}

.booking-steps {
  list-style: none;
  counter-reset: step-counter;
}

.booking-steps li {
  counter-increment: step-counter;
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.booking-steps li::before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  background: var(--gold);
  color: var(--primary);
  border-radius: 50%;
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.booking-steps strong {
  color: var(--white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .demo-calendar-container {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .demo-calendar-container {
    grid-template-columns: 1fr;
  }

  .demo-calendar {
    order: 2;
  }

  .demo-booking-info {
    order: 1;
  }
}
@media (max-width: 768px) {
  .nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .services-grid,
  .reviews-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .booking-container {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 10000;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  animation: toastSlideIn 0.3s ease;
}

.toast.error {
  background: var(--error);
  border-left: 4px solid #ff4444;
}

.toast.success {
  background: #4caf50;
  border-left: 4px solid #45a049;
}

.toast.info {
  background: var(--tertiary);
  border-left: 4px solid var(--gold);
}

@keyframes toastSlideIn {
  from {
    transform: translateX(-50%) translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
