/* Schedule page styles: hero, calendar/steps, form */

/* Hero */
.hero--schedule { background-position: center; background-size: cover; }
/* Map existing .schedule-hero to hero pattern */
.schedule-hero { position: relative; min-height: 65vh; display: grid; place-items: center; text-align: center; overflow: clip; }
.schedule-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.08; background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.0) 100%); }
.schedule-hero .hero-content { position: relative; z-index: 1; }

/* Steps & Actions */
.steps { display: grid; gap: var(--space-150); margin-bottom: var(--space-300); }
.steps .button--ghost { justify-self: start; }
.divider { height: 1px; background: color-mix(in srgb, var(--color-text) 10%, transparent); margin: var(--space-150) 0; }

/* Form */
.form { display: grid; gap: 1rem; max-width: 720px; }
.form label { text-transform: uppercase; letter-spacing: var(--ls-nav); color: var(--color-muted); font-size: 0.8rem; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-text) 18%, transparent);
  border-radius: var(--radius-xs);
  background: #fff;
}
.form textarea { min-height: 8rem; resize: vertical; }
.form .button-row { display: flex; gap: 0.75rem; align-items: center; }
/* ============================================
   SCHEDULE PAGE STYLES
   ============================================ */

/* ========== SCHEDULE HERO ========== */
.schedule-hero {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.schedule-hero .hero-content {
  text-align: center;
  padding: 3rem 2rem;
}

/* ========== BOOKING SECTION ========== */
.booking-section {
  padding: 4rem 0 6rem;
}

.booking-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ========== BOOKING FORM ========== */
.booking-form-wrapper {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 3rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Caveat', cursive;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  font-family: 'Caveat', cursive;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--kluxe-green);
  box-shadow: 0 0 0 3px var(--kluxe-green-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.char-count {
  position: absolute;
  bottom: -1.5rem;
  right: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== SERVICE SELECTOR ========== */
.service-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.service-option {
  flex: 0 0 auto;
  width: 150px;
  padding: 1.25rem 0.75rem;
  background: var(--bg-tertiary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.service-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-option:hover::before {
  opacity: 1;
}

.service-option:hover {
  border-color: var(--kluxe-green);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 255, 136, 0.25);
}

.service-option.selected {
  border-color: var(--kluxe-green);
  background: var(--kluxe-green-dim);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.4),
              inset 0 0 20px rgba(0, 255, 136, 0.1);
  transform: scale(1.05);
}

.service-option.selected::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.2rem;
  transition: transform var(--transition-smooth);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.service-option:hover .service-icon,
.service-option.selected .service-icon {
  transform: scale(1.15) rotateZ(5deg);
}

.service-name {
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .service-selector {
    gap: 0.75rem;
  }
  
  .service-option {
    width: 130px;
    padding: 1rem 0.5rem;
  }
  
  .service-icon {
    font-size: 1.8rem;
  }
  
  .service-name {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .service-option {
    width: calc(50% - 0.5rem);
    min-width: 110px;
  }
}

.service-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  font-family: 'Caveat', cursive;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.service-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Caveat', cursive;
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  text-transform: none;
  letter-spacing: 0.2px;
  font-weight: 600;
}
  font-weight: 600;
  text-transform: uppercase;
}

.service-tag.gold {
  background: var(--gold-wedding);
  color: var(--bg-primary);
}

.service-tag.blue {
  background: var(--blue-corporate);
  color: var(--bg-primary);
}

.service-tag.pink {
  background: var(--pink-festival);
  color: var(--bg-primary);
}

/* ========== CONSULTATION NOTE ========== */
.consultation-note {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--kluxe-green-dim);
  border: 1px solid var(--kluxe-green);
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

.note-icon {
  font-size: 1.5rem;
}

.consultation-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  font-family: 'Caveat', cursive;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

/* ========== SUBMIT BUTTON ========== */
.submit-btn {
  width: 100%;
  padding: 1.25rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.submit-btn.loading .btn-text {
  display: none;
}

.submit-btn.loading .btn-loading {
  display: flex;
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.6;
}

/* ========== BOOKING SIDEBAR ========== */
.booking-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.sidebar-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
}

.sidebar-card.highlight {
  background: var(--kluxe-green-dim);
  border-color: var(--kluxe-green);
}

.sidebar-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.sidebar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--kluxe-green);
  margin: 1rem 0;
}

.availability {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.offer-list {
  list-style: none;
  margin-top: 1rem;
}

.offer-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.offer-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--kluxe-green);
  font-weight: 700;
}

.btn-small {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  width: 100%;
  margin-top: 0.5rem;
}

/* ========== WHAT TO EXPECT ========== */
.expect-section {
  background: var(--bg-secondary);
}

.expect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.expect-card {
  padding: 2rem;
  background: var(--bg-tertiary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  position: relative;
  transition: var(--transition-smooth);
}

.expect-card:hover {
  transform: translateY(-8px);
  border-color: var(--kluxe-green);
}

.expect-number {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--kluxe-green);
  color: var(--bg-primary);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 50%;
  box-shadow: var(--shadow-green);
}

.expect-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.expect-card p {
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ========== FAQ SECTION ========== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--kluxe-green);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--kluxe-green);
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ========== SUCCESS MODAL ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--kluxe-green);
  border-radius: var(--border-radius);
  padding: 3rem;
  max-width: 500px;
  text-align: center;
  animation: slideUp 0.5s ease-out;
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: var(--kluxe-green);
}

.modal-content p {
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
  .booking-container {
    grid-template-columns: 1fr;
  }
  
  .booking-sidebar {
    position: static;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .service-selector {
    grid-template-columns: 1fr;
  }
  
  .expect-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .booking-form-wrapper {
    padding: 2rem 1.5rem;
  }
  
  .sidebar-card {
    padding: 1.5rem;
  }
}

/* ========== CUSTOM DROPDOWN ========== */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select select {
  display: none;
}

.select-selected {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.select-selected:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--kluxe-green);
  border-bottom: 2px solid var(--kluxe-green);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.3s ease;
}

.select-selected.select-arrow-active:after {
  transform: translateY(-50%) rotate(-135deg);
}

.select-selected:hover {
  border-color: var(--kluxe-green);
  box-shadow: 0 0 0 3px rgba(0, 255, 136, 0.15);
}

.select-items {
  position: fixed !important;
  background: var(--bg-secondary);
  border: 2px solid var(--kluxe-green);
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.2s ease-out;
}

.select-items.select-hide {
  display: none;
}

.select-items div {
  padding: 0.875rem 1rem;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.select-items div:hover,
.select-items div.same-as-selected {
  background: rgba(0, 255, 136, 0.1);
  color: var(--kluxe-green);
  padding-left: 1.5rem;
}

/* ========== CUSTOM DATE PICKER ========== */
.custom-datepicker {
  position: relative;
  width: 100%;
}

.custom-datepicker input[type="date"] {
  display: none;
}

.datepicker-input {
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.85rem;
  cursor: pointer;
  user-select: none;
  position: relative;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.datepicker-input:hover {
  border-color: var(--kluxe-green);
  background: rgba(0, 255, 150, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 255, 150, 0.15);
}

.datepicker-input .calendar-icon {
  color: var(--kluxe-green);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.datepicker-calendar {
  position: absolute;
  background: var(--bg-secondary);
  border: 2px solid var(--kluxe-green);
  border-radius: 12px;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 99;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.2s ease-out;
  min-width: 320px;
  max-width: 90vw;
}

.datepicker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(0, 255, 150, 0.2);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.datepicker-header button {
  background: transparent;
  border: none;
  color: var(--kluxe-green);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.datepicker-header button:hover {
  background: rgba(0, 255, 150, 0.1);
  transform: scale(1.1);
}

.datepicker-header span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  flex: 1;
  text-align: center;
}

.datepicker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.datepicker-day-name {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.5rem;
  text-transform: uppercase;
}

.datepicker-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  min-height: 40px;
}

.datepicker-day:hover {
  background: rgba(0, 255, 150, 0.1);
  border-color: var(--kluxe-green);
  transform: scale(1.1);
}

.datepicker-day.other-month {
  color: var(--text-muted);
  opacity: 0.4;
}

.datepicker-day.selected {
  background: var(--kluxe-green);
  color: var(--bg-primary);
  font-weight: 700;
  border-color: var(--kluxe-green);
}

.datepicker-day.today {
  border-color: var(--kluxe-green);
  font-weight: 700;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
