/* ── DetailingRiga — Custom CSS ─────────────────────────────── */

:root {
  --bg-dark:       #0d0d0d;
  --bg-card:       #1a1a2e;
  --bg-card-hover: #22223a;
  --surface:       #16213e;
  --accent:        #00d4ff;
  --accent-warm:   #ff6b35;
  --accent-gold:   #ffd700;
  --accent-green:  #00e676;
  --text-primary:  #f0f0f0;
  --text-secondary:#a0a0b0;
  --text-muted:    #6b6b80;
  --border:        rgba(255,255,255,0.06);
  --border-hover:  rgba(0,212,255,0.3);
  --glass:         rgba(26,26,46,0.8);
  --segment-low:   #4caf50;
  --segment-mid:   #2196f3;
  --segment-premium:#ffd700;
  --radius:        12px;
  --radius-sm:     8px;
  --radius-lg:     20px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #66e0ff; }

/* ── Glassmorphism Card ─────────────────────── */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

/* ── Studio Card ────────────────────────────── */
.studio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.studio-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
  transform: translateY(-4px);
}
.studio-card__cover {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.studio-card__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.studio-card:hover .studio-card__cover img { transform: scale(1.05); }

.studio-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.studio-card__title { font-family: 'Sora', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-primary); }
.studio-card__location { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.studio-card__rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.studio-card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.studio-card__tag {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(0,212,255,0.08);
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.15);
}
.studio-card__actions { margin-top: auto; display: flex; gap: 0.5rem; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: #0d0d0d;
  box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33ddff, #00b8e6);
  color: #0d0d0d;
  box-shadow: 0 6px 20px rgba(0,212,255,0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-gold {
  background: linear-gradient(135deg, #ffd700, #e6b800);
  color: #0d0d0d;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}
.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(255,215,0,0.45);
  transform: translateY(-1px);
}
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-full { width: 100%; }

/* ── Header ─────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header__logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.header__logo span { color: var(--accent); }
.header__nav { display: flex; align-items: center; gap: 0.25rem; }
.header__nav a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  text-decoration: none;
}
.header__nav a:hover, .header__nav a.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.header__actions { display: flex; align-items: center; gap: 0.5rem; }
.header__lang { display: flex; gap: 0.25rem; }
.header__lang a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--text-muted);
  transition: all 0.2s;
}
.header__lang a.active, .header__lang a:hover { color: var(--accent); background: rgba(0,212,255,0.1); }
.header__mobile-btn {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__mobile-btn { display: block; }
  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(13,13,13,0.97);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.25rem;
  }
  .header__nav.open a { width: 100%; padding: 0.6rem 1rem; }
}

/* ── Hero ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 50%, #16213e 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1621993202237-1993a06b8d61?w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
  width: 100%;
}
.hero__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero__title span { color: var(--accent); }
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* ── Search Bar ──────────────────────────────── */
.search-bar {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  max-width: 720px;
}
.search-bar__input {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Inter', sans-serif;
}
.search-bar__input:focus { border-color: var(--accent); }
.search-bar__input::placeholder { color: var(--text-muted); }
.search-bar select.search-bar__input { cursor: pointer; }

/* ── Stats Row ───────────────────────────────── */
.stats-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.stat-item__number {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item__label { font-size: 0.8rem; color: var(--text-muted); }

/* ── Section ─────────────────────────────────── */
.section { padding: 4rem 0; }
.section__header { margin-bottom: 2.5rem; }
.section__title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.section__title span { color: var(--accent); }
.section__subtitle { color: var(--text-secondary); font-size: 0.95rem; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

/* ── Service Card ─────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}
.service-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.1);
}
.service-card__icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.service-card__name { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.service-card__count { font-size: 0.75rem; color: var(--text-muted); }

/* ── City Card ────────────────────────────────── */
.city-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
}
.city-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.city-card:hover .city-card__bg { transform: scale(1.05); }
.city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.city-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
}
.city-card__name { font-family: 'Sora',sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; }
.city-card__count { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

/* ── Rating Stars ─────────────────────────────── */
.stars { color: #fbbf24; letter-spacing: 0.05em; }

/* ── Filters Sidebar ──────────────────────────── */
.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.filters__title { font-weight: 600; margin-bottom: 1.25rem; color: var(--text-primary); }
.filter-group { margin-bottom: 1.25rem; }
.filter-group__label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; display: block; }
.filter-select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: 'Inter',sans-serif;
  outline: none;
  cursor: pointer;
}
.filter-select:focus { border-color: var(--accent); }
.segment-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.segment-pill {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: var(--text-secondary);
}
.segment-pill[data-value="low"].active  { border-color:#4caf50; color:#4caf50; background:rgba(76,175,80,0.1); }
.segment-pill[data-value="mid"].active  { border-color:#2196f3; color:#2196f3; background:rgba(33,150,243,0.1); }
.segment-pill[data-value="premium"].active { border-color:#ffd700; color:#ffd700; background:rgba(255,215,0,0.1); }

/* ── Breadcrumbs ─────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: var(--text-muted); flex-wrap: wrap; margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs__sep { opacity: 0.4; }

/* ── Tabs ────────────────────────────────────── */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 2rem; overflow-x: auto; }
.tab {
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Inter',sans-serif;
}
.tab:hover { color: var(--text-primary); }
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ── Badge ───────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}
.badge-verified { background: rgba(0,230,118,0.15); color: #00e676; border: 1px solid rgba(0,230,118,0.3); }
.badge-featured { background: rgba(255,215,0,0.15); color: #ffd700; border: 1px solid rgba(255,215,0,0.3); }
.badge-premium  { background: rgba(255,215,0,0.12); color: #ffd700; border: 1px solid rgba(255,215,0,0.25); }
.badge-mid      { background: rgba(33,150,243,0.12); color: #2196f3; border: 1px solid rgba(33,150,243,0.25); }
.badge-low      { background: rgba(76,175,80,0.12);  color: #4caf50; border: 1px solid rgba(76,175,80,0.25); }

/* ── Review Card ─────────────────────────────── */
.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.review-card__header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.review-card__author { font-weight: 600; font-size: 0.9rem; }
.review-card__date { font-size: 0.75rem; color: var(--text-muted); }
.review-card__text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }
.review-card__reply {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0,212,255,0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.825rem;
  color: var(--text-secondary);
}
.review-card__reply-label { font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-bottom: 0.25rem; }

/* ── Form ─────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.4rem; }
.form-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  font-family: 'Inter',sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); }
.form-input.error { border-color: #ef4444; }
.form-error { font-size: 0.75rem; color: #ef4444; margin-top: 0.25rem; }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input { cursor: pointer; }

/* ── Dashboard Sidebar ──────────────────────── */
.dash-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.dash-sidebar__logo { padding: 1.5rem; border-bottom: 1px solid var(--border); font-family:'Sora',sans-serif; font-size:1.1rem; font-weight:800; }
.dash-sidebar__logo span { color: var(--accent); }
.dash-sidebar__nav { flex: 1; padding: 1rem 0; }
.dash-nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  text-decoration: none;
}
.dash-nav-item:hover { background: rgba(255,255,255,0.04); color: var(--text-primary); }
.dash-nav-item.active { background: rgba(0,212,255,0.08); color: var(--accent); border-right: 3px solid var(--accent); }
.dash-sidebar__user { padding: 1rem 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--text-muted); }

/* ── Admin Table ─────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ── Pagination ──────────────────────────────── */
.btn-page {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
}
.btn-page:hover { border-color: var(--accent); color: var(--accent); }
.btn-page.active { background: var(--accent); border-color: var(--accent); color: #0d0d0d; font-weight: 700; }

/* ── Alert / Flash ───────────────────────────── */
.alert {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.alert-success { background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.3); color: #00e676; }
.alert-error   { background: rgba(239,68,68,0.1);  border: 1px solid rgba(239,68,68,0.3);  color: #ef4444; }
.alert-info    { background: rgba(0,212,255,0.1);  border: 1px solid rgba(0,212,255,0.3);  color: var(--accent); }

/* ── FAQ Accordion ───────────────────────────── */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 0.75rem; overflow: hidden; }
.faq-question {
  padding: 1.1rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card-hover); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--bg-card);
}
.faq-item.open .faq-answer { display: block; }
.faq-chevron { transition: transform 0.3s; font-size: 1rem; color: var(--accent); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── Modal ───────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal__title { font-family: 'Sora',sans-serif; font-weight: 700; font-size: 1.1rem; }
.modal__close { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.5rem; line-height: 1; transition: color 0.2s; }
.modal__close:hover { color: var(--text-primary); }
.modal__body { padding: 1.5rem; }

/* ── Neon Glow Accent ────────────────────────── */
.neon-text { color: var(--accent); text-shadow: 0 0 20px rgba(0,212,255,0.5); }
.neon-border { border-color: var(--accent); box-shadow: 0 0 15px rgba(0,212,255,0.2); }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ── Utility ─────────────────────────────────── */
.text-accent  { color: var(--accent); }
.text-gold    { color: var(--accent-gold); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.bg-card      { background: var(--bg-card); }
.bg-surface   { background: var(--surface); }
.border-dim   { border-color: var(--border); }
.rounded-card { border-radius: var(--radius); }
.divider      { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
