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

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Work Sans", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.5rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #1f2937;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #374151;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #8b5cf6;
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: #7c3aed;
  transform: translateY(-2px);
}

/* Header */
.header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1f2937;
}

.nav-brand i {
  margin-right: 0.5rem;
  color: #8b5cf6;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #6b7280;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #8b5cf6;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1f2937;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 120px 0 80px;
  text-align: center;
}

.hero-content h1 {
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: #ffffff;
}

.services h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
  font-size: 3rem;
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #1f2937;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 1rem;
}

.service-card .price {
  font-weight: 600;
  color: #8b5cf6;
  font-size: 1.2rem;
}

/* Booking Section */
.booking {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.booking h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

.booking-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.booking-step {
  display: none;
}

.booking-step.active {
  display: block;
}

.booking-step h3 {
  margin-bottom: 2rem;
  text-align: center;
  color: #1f2937;
}

/* Service Options */
.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.service-option {
  padding: 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.service-option:hover {
  border-color: #8b5cf6;
  background-color: #f8fafc;
}

.service-option.selected {
  border-color: #8b5cf6;
  background-color: #ede9fe;
}

.service-option i {
  font-size: 2rem;
  color: #8b5cf6;
}

.service-option .price {
  font-weight: 600;
  color: #1f2937;
}

/* Staff Options */
.staff-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.staff-option {
  padding: 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.staff-option:hover {
  border-color: #8b5cf6;
  background-color: #f8fafc;
}

.staff-option.selected {
  border-color: #8b5cf6;
  background-color: #ede9fe;
}

.staff-option img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.staff-option h4 {
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.staff-option p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Calendar */
.datetime-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calendar-container {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.calendar-nav {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.calendar-nav:hover {
  background-color: #e2e8f0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.calendar-day:hover {
  background-color: #e2e8f0;
}

.calendar-day.selected {
  background-color: #8b5cf6;
  color: #ffffff;
}

.calendar-day.disabled {
  color: #d1d5db;
  cursor: not-allowed;
}

.calendar-day.other-month {
  color: #9ca3af;
}

/* Time Slots */
.time-slots {
  background-color: #f8fafc;
  border-radius: 8px;
  padding: 1rem;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
}

.time-slot {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.time-slot:hover {
  border-color: #8b5cf6;
  background-color: #ffffff;
}

.time-slot.selected {
  background-color: #8b5cf6;
  color: #ffffff;
  border-color: #8b5cf6;
}

/* Contact Form */
.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1f2937;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Booking Navigation */
.booking-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* Booking Summary */
.booking-summary {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f1f5f9;
  border-radius: 8px;
}

.booking-summary h4 {
  margin-bottom: 1rem;
  color: #1f2937;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
  font-weight: 600;
  color: #1f2937;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: #ffffff;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
  color: #1f2937;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #6b7280;
  line-height: 1.7;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: #f1f5f9;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

.contact-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item i {
  font-size: 1.5rem;
  color: #8b5cf6;
  margin-top: 0.25rem;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.contact-item p {
  color: #6b7280;
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #ffffff;
  padding: 2rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  font-family: "Work Sans", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.footer-brand i {
  margin-right: 0.5rem;
  color: #8b5cf6;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #8b5cf6;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: #d1d5db;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #8b5cf6;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  margin: 0;
  color: #1f2937;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.confirmation-details {
  background-color: #f1f5f9;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  text-align: left;
}

.confirmation-note {
  color: #6b7280;
  font-style: italic;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

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

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .services,
  .booking,
  .about,
  .contact {
    padding: 60px 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .datetime-container {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-links {
    order: -1;
  }

  .booking-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .modal-content {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .booking-container {
    padding: 1.5rem;
  }

  .service-options,
  .staff-options {
    grid-template-columns: 1fr;
  }

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

  .contact-info {
    grid-template-columns: 1fr;
  }
}
