/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  color: #374151;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.main-content {
  max-width: 64rem;
  padding: 2rem 1rem;
}

/* Header */
.booking-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-align: center;
  min-width: 70px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.logo-text {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
}

.logo-subtitle {
  display: block;
  font-size: 0.625rem;
  opacity: 0.9;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: #16a34a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-link:hover {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

/* Page header */
.page-header {
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
  padding: 2rem 0;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #374151 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-description {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

.page-header-decoration {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}

.decoration-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  position: absolute;
}

.decoration-circle:first-child {
  top: -20px;
  right: -20px;
}

.decoration-circle:last-child {
  top: 20px;
  right: 40px;
  width: 60px;
  height: 60px;
}

/* Progress indicator */
.progress-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: #e2e8f0;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  position: relative;
  z-index: 2;
}

.step-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f1f5f9;
  border: 3px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
}

.progress-step.active .step-circle {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  border-color: #16a34a;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.progress-step.completed .step-circle {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-color: #22c55e;
}

.step-number {
  font-weight: 700;
  font-size: 1rem;
  color: #64748b;
  transition: all 0.3s ease;
}

.progress-step.active .step-number,
.progress-step.completed .step-number {
  color: white;
}

.step-check {
  position: absolute;
  opacity: 0;
  transition: all 0.3s ease;
}

.progress-step.completed .step-check {
  opacity: 1;
  color: white;
}

.progress-step.completed .step-number {
  opacity: 0;
}

.step-info {
  flex: 1;
}

.step-title {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.step-description {
  font-size: 0.75rem;
  color: #64748b;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.15);
  border-color: rgba(22, 163, 74, 0.3);
}

.service-card.selected {
  border-color: #16a34a;
  background: rgba(240, 253, 244, 0.9);
  box-shadow: 0 8px 30px rgba(22, 163, 74, 0.2);
}

.service-card-header {
  padding: 2rem 2rem 1rem;
  position: relative;
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.service-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.service-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.75rem;
}

.service-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  padding: 0 2rem;
}

.service-features {
  padding: 0 2rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #374151;
  font-size: 0.875rem;
}

.feature i {
  color: #16a34a;
  width: 1rem;
}

.service-card-footer {
  padding: 1.5rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  background: rgba(248, 250, 252, 0.5);
}

.service-price {
  font-weight: 700;
  color: #16a34a;
  font-size: 1.125rem;
}

.select-service-btn {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.select-service-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Forms */
.booking-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: #64748b;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.4);
}

.btn-secondary {
  background: rgba(248, 250, 252, 0.9);
  color: #374151;
  border: 2px solid #e2e8f0;
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(241, 245, 249, 0.9);
  border-color: #cbd5e1;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

/* Booking confirmation */
.booking-confirmation {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 2rem;
}

.booking-summary {
  background: #f8fafc;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-section {
  margin-bottom: 1.5rem;
}

.summary-section:last-child {
  margin-bottom: 0;
}

.summary-title {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.summary-content {
  color: #64748b;
}

.confirmation-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Utility classes */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* Responsive design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .page-description {
    font-size: 1.125rem;
    padding: 0 1rem;
  }

  .progress-indicator {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .progress-line {
    display: none;
  }

  .progress-step {
    justify-content: center;
    text-align: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    margin: 0 0.5rem;
  }

  .booking-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }

  .form-title {
    font-size: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    min-height: 56px; /* Better touch target */
  }

  .service-card-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .select-service-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .main-content {
    padding: 1rem 0.5rem;
  }

  .page-header {
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1rem;
  }

  .service-card-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .service-description,
  .service-features {
    padding: 0 1.5rem;
  }

  .service-card-footer {
    padding: 1.5rem;
  }

  .booking-form {
    padding: 1.25rem;
    margin: 0 0.25rem;
  }

  input,
  select,
  textarea {
    padding: 1.25rem 1rem;
    font-size: 1.125rem; /* Better for mobile input */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .main-content {
    padding: 1rem 0.25rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .logo {
    padding: 0.5rem;
    min-width: 60px;
  }

  .logo-text {
    font-size: 0.75rem;
  }

  .logo-subtitle {
    font-size: 0.5rem;
  }

  .step-circle {
    width: 2.5rem;
    height: 2.5rem;
  }

  .step-number {
    font-size: 0.875rem;
  }

  .step-title {
    font-size: 0.8rem;
  }

  .step-description {
    font-size: 0.7rem;
  }

  .service-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .booking-form {
    padding: 1rem;
    margin: 0;
  }

  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .page-title {
    font-size: 1.5rem;
  }

  .service-card-header {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .service-description,
  .service-features {
    padding: 0 1.25rem;
  }

  .service-card-footer {
    padding: 1.25rem;
  }

  .booking-form {
    padding: 0.75rem;
  }

  .form-group {
    margin-bottom: 1.25rem;
  }
}

/* Added landscape orientation support for mobile devices */
@media (max-height: 500px) and (orientation: landscape) {
  .page-header {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .progress-indicator {
    padding: 1rem;
  }

  .booking-form {
    padding: 1.25rem;
  }
}

/* Enhanced touch targets and accessibility for mobile */
@media (hover: none) and (pointer: coarse) {
  .service-card {
    transition: none;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card:active {
    transform: scale(0.98);
  }

  .btn:hover {
    transform: none;
  }

  .btn:active {
    transform: scale(0.98);
  }

  .select-service-btn:hover {
    transform: none;
  }

  .select-service-btn:active {
    transform: scale(0.98);
  }
}
