/* iTeachTechSB.com - Custom Styles | Clean Minimal Light - Apple-inspired */
/* Mobile-first, production-ready enhancements */

:root {
  --charcoal: #1A1A1A;
  --darkgrey: #363636;
  --lightgrey: #D2D2D2;
  --accent: #0A84FF; /* Subtle Apple blue for focus states */
  --success: #10B981;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
  color: var(--darkgrey);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .font-heading {
  font-family: 'Space Grotesk', 'Inter', system_ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Navbar */
.navbar {
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  box-shadow: 0 1px 0 0 rgb(0 0 0 / 0.04);
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.hero-grid {
  background-image: 
    linear-gradient(rgba(26, 26, 26, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 26, 26, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.6;
}

/* Service Cards */
.service-card {
  transition: transform 0.2s cubic-bezier(0.4, 0.0, 0.2, 1), 
              box-shadow 0.2s cubic-bezier(0.4, 0.0, 0.2, 1),
              border-color 0.2s ease;
  border: 1px solid #e5e7eb;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  border-color: #d1d5db;
}

.service-card.selected {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 1px var(--charcoal);
  background-color: #fafafa;
}

.service-card .add-btn {
  transition: all 0.15s ease;
}

.service-card.selected .add-btn {
  background-color: #f3f4f6;
  color: var(--charcoal);
  border-color: #d1d5db;
}

/* Quote Builder & Steps */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.step.active {
  background-color: var(--charcoal);
  color: white;
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.1);
}

.step.completed {
  background-color: #e5e7eb;
  color: var(--charcoal);
}

.step-line {
  height: 2px;
  background-color: #e5e7eb;
  flex: 1;
  max-width: 60px;
  transition: background-color 0.3s ease;
}

.step-line.active {
  background-color: var(--charcoal);
}

/* Time slot buttons */
.time-slot {
  transition: all 0.1s ease;
  min-height: 44px;
  min-width: 88px;
}

.time-slot:hover:not(.disabled) {
  background-color: #f3f4f6;
  transform: translateY(-1px);
}

.time-slot.active {
  background-color: var(--charcoal) !important;
  color: white !important;
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.15);
}

.time-slot.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Testimonial Carousel */
.testimonial-container {
  scrollbar-width: none;
}

.testimonial-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Form Styles */
.input {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  border-color: var(--charcoal);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
  outline: none;
}

.input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-msg {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

/* Buttons */
.btn-primary {
  background-color: var(--charcoal);
  color: white;
  transition: all 0.15s cubic-bezier(0.4, 0.0, 0.2, 1);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.btn-primary:active {
  transform: scale(0.985);
}

.btn-secondary {
  background-color: white;
  color: var(--charcoal);
  border: 1px solid #d1d5db;
  transition: all 0.15s ease;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-secondary:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

/* Success states */
.success-check {
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
  from { transform: scale(0.6); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Parallax decorative element */
.parallax-layer {
  transition: transform 0.1s ease-out;
}

/* Mobile bottom safe area */
@supports (padding: max(0px)) {
  .safe-bottom {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

/* Accessibility & Focus */
:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 2px;
}

/* Print styles for receipt */
@media print {
  .no-print { display: none !important; }
  body { background: white; color: black; }
}