/* ═══════════════════════════════════════════════════════════
   amzomvelebi.ge — Main Stylesheet v2
   Primary:    #2E7D32  (Surveyor Green)
   Secondary:  #FF6D00  (Equipment Orange)
   ═══════════════════════════════════════════════════════════ */

/* ── Google Font import fallback ──────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@400;500;600;700;800&display=swap');

:root {
  --amz-green:    #2E7D32;
  --amz-green-d:  #1B5E20;
  --amz-green-l:  #E8F5E9;
  --amz-green-ll: #F1F8F2;
  --amz-orange:   #FF6D00;
  --amz-orange-l: #FFF3E0;
  --amz-bg:       #F5F7F5;
  --amz-card:     #FFFFFF;
  --amz-border:   #DEE8DF;
  --amz-text:     #1A2E1B;
  --amz-muted:    #6B7C6C;
  --radius-lg:    16px;
  --radius-md:    10px;
  --radius-xl:    20px;
  --shadow-xs:    0 1px 4px rgba(0,0,0,.06);
  --shadow-sm:    0 2px 12px rgba(46,125,50,.10);
  --shadow-md:    0 6px 28px rgba(46,125,50,.14);
  --shadow-lg:    0 12px 48px rgba(46,125,50,.18);
  --transition:   .2s ease;
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans Georgian', 'Segoe UI', system-ui, sans-serif;
  background: var(--amz-bg);
  color: var(--amz-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amz-green); }
img { max-width: 100%; }

/* ── Bootstrap overrides ─────────────────────────────────── */
.btn-primary {
  background: var(--amz-green) !important;
  border-color: var(--amz-green) !important;
  font-weight: 600;
  border-radius: var(--radius-md) !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--amz-green-d) !important;
  border-color: var(--amz-green-d) !important;
  box-shadow: 0 4px 14px rgba(46,125,50,.35) !important;
}
.btn-outline-primary {
  color: var(--amz-green) !important;
  border-color: var(--amz-green) !important;
  font-weight: 600;
  border-radius: var(--radius-md) !important;
}
.btn-outline-primary:hover {
  background: var(--amz-green) !important;
  border-color: var(--amz-green) !important;
  color: #fff !important;
}
.btn-outline-secondary { border-radius: var(--radius-md) !important; }
.text-primary   { color: var(--amz-green)  !important; }
.text-orange    { color: var(--amz-orange) !important; }
.bg-primary     { background-color: var(--amz-green) !important; }
.border-primary { border-color: var(--amz-green) !important; }
.badge.bg-primary { background-color: var(--amz-green) !important; }
.form-control:focus, .form-select:focus {
  border-color: var(--amz-green);
  box-shadow: 0 0 0 .2rem rgba(46,125,50,.18);
}
input[type=range]         { accent-color: var(--amz-green); }
.form-check-input:checked { background-color: var(--amz-green); border-color: var(--amz-green); }

/* ── Navbar ──────────────────────────────────────────────── */
.navbar {
  background: #fff !important;
  border-bottom: 1px solid var(--amz-border);
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: .7rem 0;
}
.logo-icon { font-size: 1.4rem; }
.navbar-nav .nav-link {
  color: #444 !important;
  border-radius: 6px;
  padding: .4rem .75rem !important;
  font-size: .875rem;
  font-weight: 500;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover {
  background: var(--amz-green-l);
  color: var(--amz-green) !important;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  background: linear-gradient(145deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%);
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute; left: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute; right: -60px; bottom: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.hero-section h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.hero-section .lead { font-size: 1.05rem; opacity: .88; }
.hero-subtitle {
  display: inline-block;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  padding: 4px 16px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
/* Hero search */
.hero-search-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 7px;
  display: flex;
  gap: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  margin-top: 28px;
}
.hero-search-wrap input {
  border: none;
  outline: none;
  font-size: .95rem;
  padding: 12px 18px;
  flex: 1;
  border-radius: 14px;
  color: var(--amz-text);
  font-family: inherit;
  background: transparent;
  min-width: 0;
}
.hero-search-wrap input::placeholder { color: #aaa; }
.hero-search-wrap .btn {
  white-space: nowrap;
  padding: 12px 26px;
  border-radius: 14px !important;
  font-weight: 700;
  background: var(--amz-orange) !important;
  border-color: var(--amz-orange) !important;
  color: #fff !important;
}
.hero-search-wrap .btn:hover {
  background: #e65100 !important;
  border-color: #e65100 !important;
  box-shadow: 0 4px 14px rgba(255,109,0,.4) !important;
}
/* City pills */
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9) !important;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: .82rem;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}
.city-pill:hover { background: rgba(255,255,255,.22); color: #fff !important; }
/* Hero stats */
.hero-stat {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.17);
  border-radius: var(--radius-lg);
  padding: 16px 12px;
  text-align: center;
}
.hero-stat .stat-num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .stat-lbl { font-size: .75rem; color: rgba(255,255,255,.68); margin-top: 4px; }

/* ── Section helpers ─────────────────────────────────────── */
.section-title {
  font-size: 1.55rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 6px;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 44px; height: 4px;
  background: var(--amz-orange);
  border-radius: 2px;
}
.section-title.centered::after { left: 50%; transform: translateX(-50%); }
.section-alt { background: var(--amz-green-ll, #f1f8f2); }

/* ── Service Cards ────────────────────────────────────────── */
.service-card {
  background: var(--amz-card);
  border: 2px solid var(--amz-border);
  border-radius: var(--radius-xl);
  padding: 28px 16px 22px;
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: var(--shadow-xs);
  user-select: none;
  height: 100%;
}
.service-card:hover {
  border-color: var(--amz-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #f4faf4;
}
.service-card.selected {
  border-color: var(--amz-green);
  background: var(--amz-green-l);
  box-shadow: var(--shadow-sm);
}
.service-card .svc-icon {
  font-size: 2.6rem;
  color: var(--amz-green);
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}
.service-card .svc-name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--amz-text);
  line-height: 1.3;
}
/* Location picker */
#locationPicker {
  background: var(--amz-card);
  border: 1px solid var(--amz-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.location-pick-btn {
  border-radius: var(--radius-md) !important;
  font-size: .82rem !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
}
.location-pick-btn:hover {
  background: var(--amz-green) !important;
  border-color: var(--amz-green) !important;
  color: #fff !important;
}

/* ── How It Works ─────────────────────────────────────────── */
.step-wrap {
  background: var(--amz-card);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--amz-border);
  transition: var(--transition);
  height: 100%;
}
.step-wrap:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.step-circle {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--amz-green), var(--amz-green-d));
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(46,125,50,.3);
}
.step-wrap h5 { font-weight: 700; margin-bottom: 8px; }
.step-wrap p  { font-size: .875rem; color: var(--amz-muted); margin: 0; }
.step-line { height: 3px; background: var(--amz-green-l); flex: 1; margin-top: -42px; }

/* ── Surveyor Card ────────────────────────────────────────── */
.surveyor-card {
  background: var(--amz-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--amz-border);
}
.surveyor-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.surveyor-card .card-img-top {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--amz-green-l);
  margin: 24px auto 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--amz-green);
  color: #fff;
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.badge-price {
  display: inline-block;
  background: var(--amz-orange-l);
  color: var(--amz-orange);
  font-size: .88rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,109,0,.12);
}
/* Featured scroll */
.featured-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.featured-scroll::-webkit-scrollbar { height: 4px; }
.featured-scroll::-webkit-scrollbar-track { background: var(--amz-border); border-radius: 2px; }
.featured-scroll::-webkit-scrollbar-thumb { background: var(--amz-green); border-radius: 2px; }
.featured-scroll .surveyor-card { min-width: 230px; scroll-snap-align: start; flex-shrink: 0; }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-banner h3 { font-size: 1.6rem; font-weight: 800; }

/* ── Search / Filter ─────────────────────────────────────── */
.filter-card {
  background: var(--amz-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--amz-border);
  position: sticky;
  top: 80px;
}
.filter-card h6 {
  font-weight: 800;
  color: var(--amz-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amz-green-l);
}
.price-range-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--amz-muted); }

/* ── Profile page ─────────────────────────────────────────── */
.profile-hero {
  background: linear-gradient(135deg, var(--amz-green-l) 0%, #fff 100%);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--amz-border);
}
.profile-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 4px solid var(--amz-green);
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(46,125,50,.2);
}
.cert-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--amz-border);
  cursor: pointer;
  transition: var(--transition);
}
.cert-thumb:hover { transform: scale(1.08); border-color: var(--amz-green); }
.equipment-tag {
  display: inline-flex;
  align-items: center;
  background: var(--amz-green-l);
  color: var(--amz-green-d);
  font-size: .82rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 3px;
  font-weight: 600;
  border: 1px solid rgba(46,125,50,.1);
}

/* ── Booking multi-step ──────────────────────────────────── */
.step-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.step-dot {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #999;
  font-weight: 800;
  font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 1;
  flex-shrink: 0;
}
.step-dot.active  { background: var(--amz-green);   color: #fff; box-shadow: 0 0 0 4px rgba(46,125,50,.2); }
.step-dot.done    { background: var(--amz-green-d);  color: #fff; }
.step-connector   { flex: 1; height: 3px; max-width: 70px; background: #e0e0e0; transition: var(--transition); }
.step-connector.done { background: var(--amz-green); }
.booking-step     { display: none; }
.booking-step.active { display: block; }

/* ── Dashboard ───────────────────────────────────────────── */
.dash-stat-card {
  background: var(--amz-card);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--amz-border);
  border-top: 4px solid var(--amz-green);
  transition: var(--transition);
}
.dash-stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dash-stat-card .stat-num { font-size: 2.2rem; font-weight: 800; color: var(--amz-green); line-height: 1; }
.dash-stat-card .stat-lbl { color: var(--amz-muted); font-size: .85rem; margin-top: 4px; }
.order-row-new      { border-left: 4px solid var(--amz-orange) !important; }
.order-row-accepted { border-left: 4px solid var(--amz-green)  !important; }
.order-row-done     { border-left: 4px solid #bbb !important; }

/* ── Auth pages ──────────────────────────────────────────── */
.auth-card {
  max-width: 460px;
  margin: 60px auto;
  background: var(--amz-card);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--amz-border);
}
.auth-card .auth-logo { font-size: 2.2rem; color: var(--amz-green); text-align: center; margin-bottom: 8px; }
.auth-card h2 { font-size: 1.5rem; font-weight: 800; text-align: center; }
.role-tab {
  flex: 1; padding: 10px;
  border: 2px solid var(--amz-border);
  border-radius: var(--radius-lg);
  cursor: pointer; text-align: center;
  font-weight: 600; font-size: .9rem;
  transition: var(--transition);
  color: var(--amz-muted);
  background: var(--amz-card);
}
.role-tab.active { border-color: var(--amz-green); color: var(--amz-green); background: var(--amz-green-l); }

/* ── Stars ───────────────────────────────────────────────── */
.stars .bi-star-fill, .stars .bi-star-half { color: #FFC107; }
.stars .bi-star { color: #ddd; }

/* ── Card overrides ──────────────────────────────────────── */
.card { border-radius: var(--radius-xl) !important; border-color: var(--amz-border) !important; }
.card-header {
  background: #f4faf4 !important;
  border-bottom-color: var(--amz-border) !important;
  font-weight: 700;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0 !important;
}
.table thead th {
  background: #f4faf4;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--amz-green-d);
}

/* ── Toast ───────────────────────────────────────────────── */
.amz-toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; min-width: 280px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) { .filter-card { position: static; } }
@media (max-width: 767px) {
  .hero-section { padding: 48px 0 56px; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-search-wrap { flex-direction: column; }
  .hero-search-wrap .btn { width: 100%; }
  .auth-card { margin: 24px 12px; padding: 28px 20px; }
  .cta-banner { padding: 32px 20px; }
  .cta-banner h3 { font-size: 1.3rem; }
  .section-title { font-size: 1.3rem; }
}

