/* ===================================
   COMPONENTS - UI ELEMENTS
   =================================== */

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--btn-padding-x);
  height: var(--btn-height);
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  font-family: var(--font-primary);
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-2xl);
  cursor: pointer;
  transition: all var(--duration-300) var(--ease-out);
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  will-change: transform;
  contain: layout;
  isolation: isolate;
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-200);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, 
    rgba(240, 177, 96, 1) 0%,
    rgba(255, 215, 0, 0.9) 30%,
    rgba(240, 177, 96, 1) 70%,
    rgba(196, 125, 31, 1) 100%);
  color: #000;
  font-weight: var(--font-bold);
  border: 2px solid rgba(255, 215, 0, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(240, 177, 96, 0.4),
              0 4px 12px rgba(255, 215, 0, 0.2) inset,
              0 2px 6px rgba(255, 255, 255, 0.6) inset;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, 
    rgba(255, 215, 0, 1) 0%,
    rgba(240, 177, 96, 1) 30%,
    rgba(255, 215, 0, 1) 70%,
    rgba(240, 177, 96, 1) 100%) !important;
  background-size: 100% 100% !important;
  box-shadow: 0 12px 35px rgba(240, 177, 96, 0.6),
              0 6px 15px rgba(255, 215, 0, 0.3) inset,
              0 2px 8px rgba(255, 255, 255, 0.8) inset,
              0 0 20px rgba(255, 215, 0, 0.4) !important;
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(255, 215, 0, 0.8);
  color: #000 !important;
  filter: none;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1),
              0 2px 4px rgba(255, 255, 255, 0.05) inset;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
              0 4px 8px rgba(255, 255, 255, 0.1) inset !important;
  color: white !important;
  filter: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: var(--border-2) solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--text-inverse);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--color-gray-100);
  color: var(--text-primary);
}

/* Button Sizes */
.btn-sm {
  height: var(--btn-height-sm);
  padding: var(--space-2) var(--btn-padding-x-sm);
  font-size: var(--text-sm);
}

.btn-large {
  height: var(--btn-height-lg);
  padding: var(--space-4) var(--btn-padding-x-lg);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
}

.btn-full {
  width: 100%;
}

/* Button Icon */
.btn-icon {
  width: 1.25em;
  height: 1.25em;
  transition: transform var(--duration-200) var(--ease-out);
}

.btn:hover .btn-icon {
  transform: translateX(2px);
}

/* Button Shimmer Effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left var(--duration-500) var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

/* Enhanced Primary Button Shimmer */
.btn-primary::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    rgba(255, 215, 0, 0.4),
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* ============ CARDS ============ */

.card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: var(--space-8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
              0 2px 8px rgba(255, 255, 255, 0.08) inset;
  transition: all var(--duration-500) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    transparent 100%);
}

.card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-500) var(--ease-out);
  pointer-events: none;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.4),
              0 4px 16px rgba(255, 255, 255, 0.12) inset;
  transform: translateY(-8px) scale(1.02);
}

.card:hover::after {
  opacity: 1;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
}

/* Card Variants */
.card-flat {
  background: var(--bg-primary);
  border: var(--border) solid var(--color-gray-200);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: var(--shadow-sm);
}

.card-elevated {
  box-shadow: var(--shadow-xl);
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:hover {
  transform: translateY(-6px) scale(1.02);
}

/* ============ GLASSMORPHISM ELEMENTS ============ */

.glass {
  background: var(--glass-bg);
  border: var(--border) solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(var(--blur-xl));
  -webkit-backdrop-filter: blur(var(--blur-xl));
}

.glass-subtle {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(var(--blur-sm));
  -webkit-backdrop-filter: blur(var(--blur-sm));
}

/* ============ BADGES ============ */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-primary {
  background: var(--color-primary-100);
  color: var(--color-primary-900);
}

.badge-secondary {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.badge-glass {
  background: var(--glass-bg);
  border: var(--border) solid var(--glass-border);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  color: var(--text-primary);
}

.badge-gradient {
  background: var(--gradient-primary);
  color: var(--text-inverse);
}

/* ============ FORMS ============ */

.form-group {
  margin-bottom: var(--space-6);
}

/* Compact form groups for modals */
.booking-form-container .form-input::placeholder {
  color: rgba(128, 128, 128, 0.6);
  font-weight: 400;
}

.booking-form-container .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) !important;
  margin-bottom: var(--space-3);
}

.booking-form-container .form-input {
  height: 36px;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 10px;
  border: 2px solid rgba(240, 177, 96, 0.4);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
  transition: all var(--duration-300) var(--ease-out);
  position: relative;
}

.booking-form-container .form-input:focus {
  border-color: rgba(240, 177, 96, 0.8);
  background: transparent;
  box-shadow: 0 0 0 3px rgba(240, 177, 96, 0.15);
  transform: translateY(-2px);
}

.booking-form-container textarea.form-input {
  height: auto;
  min-height: 60px;
  padding: 8px 12px;
  resize: vertical;
  color: #fff;
  font-weight: 500;
}

.booking-form-container .form-label {
  font-size: 11px;
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: #fff;
  opacity: 0.9;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  height: var(--form-input-height);
  padding: var(--form-input-padding);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  color: #fff;
  background: transparent;
  border: var(--border) solid var(--glass-border);
  border-radius: var(--form-input-radius);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: all var(--duration-200) var(--ease-out);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  background: transparent;
  box-shadow: 0 0 0 3px var(--color-primary-100);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  height: auto;
  min-height: 120px;
  resize: vertical;
  padding-top: var(--space-3);
  padding-bottom: var(--space-3);
}

select.form-input {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f0b160' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right var(--space-3) center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: var(--space-10);
  cursor: pointer;
}

.custom-select-wrapper {
  position: relative;
  display: block;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23f0b160' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 45px;
  cursor: pointer;
}

.custom-select::-ms-expand {
  display: none;
}

.custom-select option {
  background: white;
  color: #000;
  padding: 10px;
  font-weight: 500;
}

.custom-select option:hover {
  background: rgba(240, 177, 96, 0.1);
}

/* ============ CUSTOM DROPDOWN ============ */

.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  position: relative;
  min-height: 44px;
  z-index: 1;
  pointer-events: auto;
}

.dropdown-selected:hover {
  border-color: rgba(240, 177, 96, 0.6);
}

.dropdown-selected.active {
  border-color: rgba(240, 177, 96, 0.8);
  box-shadow: 0 0 0 3px rgba(240, 177, 96, 0.15);
}

.dropdown-selected-text {
  flex: 1;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
}

.dropdown-selected-text.placeholder {
  color: rgba(128, 128, 128, 0.6);
  font-weight: 400;
}

.dropdown-arrow {
  width: 20px;
  height: 20px;
  stroke: rgba(240, 177, 96, 1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.dropdown-selected.active .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 2px solid rgba(240, 177, 96, 0.4);
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  max-height: 400px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-options {
  overflow-y: auto;
  max-height: 300px;
  padding: 8px;
}

.dropdown-options::-webkit-scrollbar {
  width: 8px;
}

.dropdown-options::-webkit-scrollbar-track {
  background: rgba(240, 177, 96, 0.05);
  border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb {
  background: rgba(240, 177, 96, 0.3);
  border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 177, 96, 0.5);
}

.dropdown-option {
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  background: white;
  border: 1px solid transparent;
}

.dropdown-option:hover {
  background: rgba(240, 177, 96, 0.1);
  border-color: rgba(240, 177, 96, 0.2);
  transform: translateX(4px);
}

.dropdown-option.selected {
  background: rgba(240, 177, 96, 0.15);
  border-color: rgba(240, 177, 96, 0.4);
  font-weight: 600;
}

.dropdown-option-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(240, 177, 96, 0.2), rgba(240, 177, 96, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(240, 177, 96, 1);
  flex-shrink: 0;
  border: 2px solid rgba(240, 177, 96, 0.3);
}

.dropdown-option-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-option-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

.dropdown-option-specialty {
  font-size: 12px;
  color: rgba(128, 128, 128, 0.8);
  line-height: 1.3;
}

.dropdown-option-checkmark {
  width: 20px;
  height: 20px;
  color: rgba(240, 177, 96, 1);
  opacity: 0;
  transition: opacity 0.2s ease;
  flex-shrink: 0;
}

.dropdown-option.selected .dropdown-option-checkmark {
  opacity: 1;
}

.dropdown-loading {
  padding: 20px;
  text-align: center;
  color: rgba(128, 128, 128, 0.8);
  font-size: 14px;
}

.dropdown-no-results {
  padding: 20px;
  text-align: center;
  color: rgba(128, 128, 128, 0.8);
  font-size: 14px;
}

/* Form States */
.form-input:invalid {
  border-color: var(--color-error);
}

.form-input:valid {
  border-color: var(--color-success);
}

.form-error {
  color: var(--color-error);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.form-success {
  color: var(--color-success);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.form-hint {
  font-size: var(--text-xs);
  color: rgba(128, 128, 128, 0.8);
  margin-top: var(--space-1);
  display: block;
}

/* ============ NAVIGATION ============ */

.navbar {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: calc(100vw - 40px);
  max-width: 1200px;
  height: auto;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  z-index: 9999;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(255, 255, 255, 0.1) inset;
  will-change: auto;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              0 4px 12px rgba(255, 255, 255, 0.15) inset;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-6);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  min-height: 60px;
}

.nav-brand {
  display: flex;
  align-items: center;
  height: 100%;
}

  .brand-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-3);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--duration-300) var(--ease-out);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  min-height: auto;
  vertical-align: middle;
}

.brand-link:hover {
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.brand-logo {
  width: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  position: relative;
  vertical-align: middle;
}

.logo-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(240, 177, 96, 0.4)) brightness(1.1);
  transition: all var(--duration-300) var(--ease-out);
  max-width: none;
  max-height: none;
}

.brand-link:hover .logo-image {
  filter: drop-shadow(0 4px 12px rgba(240, 177, 96, 0.6)) brightness(1.2);
  transform: none;
}

.brand-link:hover .brand-logo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.brand-text {
  display: none !important;
}

.nav-menu {
  display: none;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 25px;
  padding: var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: 20px;
  position: relative;
  transition: all var(--duration-300) var(--ease-out);
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.nav-link.active {
  color: white;
  background: rgba(240, 177, 96, 0.6);
  box-shadow: 0 4px 15px rgba(240, 177, 96, 0.3);
}

.nav-link::after {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.time-display {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums;
  transition: all var(--duration-200) var(--ease-out);
}

.time-display:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-300) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 1023px) {
  .navbar {
    top: 10px;
    width: calc(100vw - 20px);
    border-radius: 25px;
  }
  
  .nav-container {
    padding: var(--space-2) var(--space-4);
  }
  
  .brand-logo {
    width: auto;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  
  .logo-image {
    height: 100%;
    width: auto;
    max-width: none;
    max-height: none;
  }
  
  .brand-text {
    display: none !important;
  }
  
  .brand-link {
    gap: var(--space-2);
    padding: 0;
    min-height: auto;
    background: transparent;
    border: none;
  }
  
  .time-display {
    display: none;
  }
  
  .nav-actions {
    gap: var(--space-2);
  }
  
  .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }
  
  .nav-toggle {
    display: flex;
    width: 32px;
    height: 32px;
    padding: var(--space-1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all var(--duration-200) var(--ease-out);
  }
  
  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

@media (min-width: 1024px) {
  .nav-menu {
    display: block;
  }
  
  .nav-toggle {
    display: none;
  }
}

/* Ultra-wide screens */
@media (min-width: 1400px) {
  .navbar {
    width: 1200px;
  }
}

/* ============ MOBILE MENU ============ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-16) var(--space-4);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-300) var(--ease-out);
}

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

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
  width: 100%;
  max-width: 400px;
}

.mobile-nav-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-500) var(--ease-out);
}

.mobile-menu.active .mobile-nav-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-item:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav-item:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav-item:nth-child(5) { transition-delay: 0.5s; }
.mobile-nav-item:nth-child(6) { transition-delay: 0.6s; }

.mobile-nav-link {
  font-size: var(--text-xl);
  font-weight: var(--font-medium);
  color: white;
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--duration-300) var(--ease-out);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  text-align: center;
  display: block;
}

.mobile-nav-link:hover {
  background: rgba(240, 177, 96, 0.2);
  border-color: rgba(240, 177, 96, 0.4);
  color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(240, 177, 96, 0.2);
}

.mobile-menu-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xl);
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-out);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ============ SECTION HEADERS ============ */

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: var(--color-primary-50);
  border: var(--border) solid var(--color-primary-200);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* ============ STATS & COUNTERS ============ */

.stat-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--glass-bg);
  border: var(--border) solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(var(--blur-lg));
  -webkit-backdrop-filter: blur(var(--blur-lg));
  transition: all var(--duration-300) var(--ease-out);
}

.stat-card:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-2);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============ FILTERS ============ */

.services-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-12);
}

.filter-btn {
  padding: var(--space-2) var(--space-4);
  font-size: 0.8rem;
  font-weight: var(--font-medium);
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: var(--border) solid var(--glass-border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(var(--blur-md));
  -webkit-backdrop-filter: blur(var(--blur-md));
  cursor: pointer;
  transition: all var(--duration-200) var(--ease-out);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
  transform: translateY(-1px);
}

.filter-btn.active {
  color: #000;
  background: linear-gradient(135deg, rgba(240, 177, 96, 1) 0%, rgba(255, 215, 0, 0.9) 100%);
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 4px 12px rgba(240, 177, 96, 0.4);
  font-weight: var(--font-semibold);
}

@media (max-width: 768px) {
  .services-filter {
    gap: var(--space-1);
    margin-bottom: var(--space-8);
  }
  
  .filter-btn {
    padding: var(--space-1) var(--space-3);
    font-size: 0.7rem;
  }
}

/* ============ LOADERS ============ */

.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  z-index: var(--z-max);
  transition: opacity var(--duration-500) var(--ease-out);
}

.loader-content {
  text-align: center;
  padding: var(--space-8);
}

.loader-logo {
  margin-bottom: var(--space-6);
}

.loader-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  animation: pulse 2s infinite;
}

.loader-text {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--space-4);
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-4);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  animation: progress 3s ease-in-out;
}

.loader-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============ CUSTOM CURSOR ============ */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-max);
  mix-blend-mode: difference;
}

.cursor-inner {
  position: fixed;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: none;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  z-index: 10001;
}

.cursor-outer {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: none;
  opacity: 0.8;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  z-index: 10001;
}

/* Cursor state management */
.custom-cursor.cursor-hover .cursor-inner {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(240, 177, 96, 0.8);
}

.custom-cursor.cursor-hover .cursor-outer {
  transform: translate(-50%, -50%) scale(1.2);
  border-color: rgba(240, 177, 96, 0.6);
}

.custom-cursor.cursor-button .cursor-inner {
  transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor.cursor-button .cursor-outer {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: rgba(240, 177, 96, 1);
}

.custom-cursor.cursor-text .cursor-inner {
  width: 2px;
  height: 16px;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.custom-cursor.cursor-loading .cursor-outer {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (hover: none) {
  .custom-cursor {
    display: none;
  }
}

/* ============ FIXED ACTION BUTTONS ============ */

.fixed-action-buttons {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1000;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
              0 1px 0 rgba(255, 255, 255, 0.1) inset;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.action-btn:hover::before {
  opacity: 1;
}

.action-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.action-btn:hover svg {
  transform: scale(1.15) translateY(-2px);
}

.btn-text {
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Emergency Button */
.emergency-btn {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  color: white;
  border: 2px solid rgba(239, 68, 68, 0.5);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.emergency-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5),
              0 5px 15px rgba(239, 68, 68, 0.3),
              0 0 25px rgba(239, 68, 68, 0.4),
              0 1px 0 rgba(255, 255, 255, 0.2) inset;
  border-color: rgba(239, 68, 68, 0.8);
}

.emergency-btn:active {
  transform: translateY(-3px) scale(1.04);
}

/* Scroll to Top Button */
.scroll-top-btn {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(0, 0, 0, 0.95) 100%);
  color: #f0b160;
  border: 2px solid rgba(240, 177, 96, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, #f0b160 0%, #c47d1f 100%);
  color: #000000;
  border-color: #f0b160;
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 15px 40px rgba(240, 177, 96, 0.5),
              0 5px 15px rgba(240, 177, 96, 0.3),
              0 0 25px rgba(240, 177, 96, 0.4),
              0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.scroll-top-btn:active {
  transform: translateY(-3px) scale(1.04);
}

.scroll-top-btn svg {
  stroke-width: 2.5;
}

/* Pulse animation for emergency button */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 1px 0 rgba(255, 255, 255, 0.1) inset,
                0 0 15px rgba(239, 68, 68, 0.4);
  }
  50% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3),
                0 1px 0 rgba(255, 255, 255, 0.1) inset,
                0 0 30px rgba(239, 68, 68, 0.7),
                0 0 50px rgba(239, 68, 68, 0.3);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .fixed-action-buttons {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }
  
  .action-btn {
    width: 64px;
    height: 64px;
    font-size: 9px;
    border-radius: 16px;
  }
  
  .action-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .btn-text {
    font-size: 9px;
  }
}

/* ============ MODALS ============ */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: var(--z-max);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: modalFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
}

.modal.modal-show {
  opacity: 1;
}

.modal-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 2px solid rgba(240, 177, 96, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: visible;
  position: relative;
  animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.95) translateY(20px);
}

.modal.modal-show .modal-content {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) var(--space-8) var(--space-4);
  border-bottom: 1px solid rgba(240, 177, 96, 0.15);
  background: linear-gradient(135deg, rgba(240, 177, 96, 0.08) 0%, rgba(240, 177, 96, 0.03) 100%);
  position: relative;
  flex-shrink: 0;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 177, 96, 0.3), transparent);
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.modal-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(240, 177, 96, 0.15) 0%, rgba(240, 177, 96, 0.05) 100%);
  border: 2px solid rgba(240, 177, 96, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 
    0 8px 32px rgba(240, 177, 96, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.modal-icon:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 12px 40px rgba(240, 177, 96, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-icon svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 2px 4px rgba(240, 177, 96, 0.2));
}

.modal-title-section h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--text-primary);
  margin: 0 0 var(--space-1) 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  letter-spacing: -0.02em;
}

.modal-title-section p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
  opacity: 0.8;
}

.modal-close {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.modal-close::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.modal-close:hover {
  background: rgba(240, 177, 96, 0.15);
  border-color: rgba(240, 177, 96, 0.3);
  color: var(--color-primary);
  transform: scale(1.05) rotate(90deg);
  box-shadow: 0 8px 24px rgba(240, 177, 96, 0.15);
}

.modal-close:hover::before {
  left: 100%;
}

.modal-close:active {
  transform: scale(0.95) rotate(90deg);
}

/* Emergency Modal Specific Styles */
.emergency-modal-content {
  width: 500px;
}

.emergency-options {
  padding: var(--space-4) var(--space-6);
  background: linear-gradient(135deg, rgba(240, 177, 96, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.emergency-options .btn {
  font-size: var(--text-lg);
  padding: var(--space-4) var(--space-6);
  border-radius: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.emergency-options .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.emergency-options .btn:hover::before {
  left: 100%;
}

.emergency-options .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.emergency-options .btn:active {
  transform: translateY(-1px);
}

.emergency-options .divider {
  text-align: center;
  margin: var(--space-6) 0;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.1em;
  position: relative;
}

.emergency-options .divider::before,
.emergency-options .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - var(--space-6));
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 177, 96, 0.3), transparent);
}

.emergency-options .divider::before {
  left: 0;
}

.emergency-options .divider::after {
  right: 0;
}

/* Booking Modal Specific Styles */
.booking-modal-content {
  width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
}

.booking-form-container {
  padding: var(--space-5) var(--space-6);
  background: linear-gradient(135deg, rgba(240, 177, 96, 0.02) 0%, rgba(255, 255, 255, 0.05) 100%);
  overflow-y: auto;
  flex: 1;
}

.booking-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--space-8);
  right: var(--space-8);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 177, 96, 0.2), transparent);
}

@media (max-width: 1100px) {
  .booking-modal-content {
    width: 95vw;
  }
  
  .booking-form-container {
    padding: var(--space-5) var(--space-6);
  }
}

@media (max-width: 768px) {
  .modal-content {
    border-radius: 12px;
    width: 95vw;
  }
  
  .booking-modal-content,
  .emergency-modal-content {
    width: 95vw;
  }
  
  .booking-form-container,
  .emergency-options {
    padding: var(--space-3) var(--space-4);
  }
  
  .modal-header {
    padding: var(--space-4) var(--space-4) var(--space-3);
  }
  
  .modal-icon {
    width: 40px;
    height: 40px;
  }
  
  .modal-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .modal-title-section h3 {
    font-size: var(--text-lg);
  }
  
  .form-row,
  .form-row-triple {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

@media (max-width: 480px) {
  .modal {
    padding: var(--space-1);
  }
  
  .modal-content {
    width: 98vw;
    border-radius: 8px;
  }
  
  .booking-modal-content,
  .emergency-modal-content {
    width: 98vw;
  }
  
  .booking-form-container,
  .emergency-options {
    padding: var(--space-3);
  }
  
  .modal-header {
    padding: var(--space-3);
  }
  
  .modal-header-content {
    gap: var(--space-2);
  }
  
  .modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  
  .modal-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .modal-title-section h3 {
    font-size: var(--text-base);
  }
  
  .modal-title-section p {
    font-size: var(--text-xs);
  }
  
  .modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    font-size: 16px;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* Enhanced Form Styling for Modals */
.modal .form-group {
  position: relative;
  margin-bottom: var(--space-4);
}

.modal .form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  border: 2px solid rgba(240, 177, 96, 0.3);
  border-radius: 14px;
  background: transparent;
  backdrop-filter: none;
  font-size: var(--text-base);
  font-weight: 500;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.modal .form-input:focus {
  outline: none;
  border-color: rgba(240, 177, 96, 0.8);
  background: transparent;
  box-shadow: 0 0 0 4px rgba(240, 177, 96, 0.1);
  transform: translateY(-2px);
}

.modal .form-input::placeholder {
  color: rgba(128, 128, 128, 0.6);
  font-weight: 400;
}

.modal .form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.modal .form-hint {
  font-size: var(--text-xs);
  color: rgba(128, 128, 128, 0.8);
  margin-top: var(--space-1);
  opacity: 1;
}

.modal .btn {
  position: relative;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.modal .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s ease;
}

.modal .btn:hover::before {
  left: 100%;
}

.modal .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.modal .btn:active {
  transform: translateY(0);
}

.modal .btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #e6a55c 100%);
  color: white;
}

.modal .btn-primary:hover {
  background: linear-gradient(135deg, #e6a55c 0%, var(--color-primary) 100%);
}

.modal .btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.modal .btn-full {
  width: 100%;
  justify-content: center;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-row-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-4);
}


.service-option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  padding: var(--space-3);
  border: 2px solid rgba(240, 177, 96, 0.3);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 16px rgba(240, 177, 96, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transition: all var(--duration-300) var(--ease-out);
}

.service-option:hover {
  border-color: rgba(240, 177, 96, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 
    0 6px 20px rgba(240, 177, 96, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px) scale(1.02);
}

.service-option input[type="checkbox"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid rgba(240, 177, 96, 0.4);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all var(--duration-200) var(--ease-out);
  box-shadow: 
    0 2px 8px rgba(240, 177, 96, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.service-option input[type="checkbox"]:checked {
  border-color: rgba(240, 177, 96, 0.8);
  background: rgba(240, 177, 96, 0.3);
  box-shadow: 
    0 3px 10px rgba(240, 177, 96, 0.3),
    inset 0 1px 3px rgba(255, 255, 255, 0.3);
}

.service-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: -1px;
  left: 2px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-option input[type="checkbox"]:checked + .service-label {
  color: #000;
}

.service-option input[type="checkbox"]:checked + .service-label .service-title {
  color: rgba(240, 177, 96, 0.9);
  font-weight: 700;
}

.service-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  flex: 1;
  cursor: pointer;
}

.service-icon {
  font-size: 20px;
  min-width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-info {
  flex: 1;
}

.service-title {
  font-size: 13px;
  font-weight: var(--font-semibold);
  color: #000;
  margin-bottom: 2px;
  line-height: 1.3;
}

.service-desc {
  font-size: 11px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.3;
}

.service-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.booking-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(240, 177, 96, 0.15);
  flex-shrink: 0;
}

.booking-actions .btn {
  padding: 10px 20px;
  font-size: 13px;
  height: auto;
}

@media (max-width: 480px) {
  .booking-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  
  .booking-actions .btn {
    width: 100%;
  }
}

.booking-info {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .booking-info {
    flex-direction: column;
  }
}

.info-card {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex: 1;
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-icon {
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 177, 96, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-title {
  font-size: 12px;
  font-weight: var(--font-semibold);
  color: var(--text-primary);
  margin-bottom: 2px;
}

.info-desc {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Form Messages */
.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: var(--space-3);
  color: #dc2626;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: var(--space-3);
  color: #16a34a;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.loading-message {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: var(--space-3);
  color: #2563eb;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============ UTILITY ANIMATIONS ============ */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

@keyframes progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

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

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============ SERVICE CATEGORIES ============ */

.service-category {
  margin-bottom: var(--space-12);
  animation: fadeInUp 0.6s ease-out;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid rgba(240, 177, 96, 0.2);
  position: relative;
}

.category-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, rgba(240, 177, 96, 0.8), transparent);
}

.category-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: white;
  margin: 0;
  text-shadow: 0 2px 8px rgba(240, 177, 96, 0.3);
}

.category-count {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(240, 177, 96, 0.9);
  background: rgba(240, 177, 96, 0.1);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid rgba(240, 177, 96, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-2);
}

.treatment-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--space-3);
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--duration-200) cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.treatment-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 177, 96, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--duration-200) var(--ease-out);
}

.treatment-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(240, 177, 96, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(240, 177, 96, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.treatment-item:hover::before {
  opacity: 1;
}

.treatment-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 1px 4px rgba(240, 177, 96, 0.2));
  transition: transform var(--duration-200) var(--ease-out);
}

.treatment-item:hover .treatment-icon {
  transform: scale(1.05) translateY(-1px);
}

.treatment-name {
  font-size: 0.75rem;
  font-weight: var(--font-medium);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: var(--space-2);
  }
  
  .treatment-item {
    padding: var(--space-2);
  }
  
  .treatment-icon {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
  }
  
  .treatment-name {
    font-size: 0.7rem;
  }
  
  .category-title {
    font-size: var(--text-xl);
  }
  
  .category-count {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }
}

@media (max-width: 480px) {
  .treatments-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  
  .treatment-item {
    padding: 8px;
    border-radius: 8px;
  }
  
  .treatment-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  
  .treatment-name {
    font-size: 0.65rem;
  }
}
