:root {
  --primary: #2d6a4f;
  --primary-light: #40916c;
  --accent: #e9c46a;
  --bg: #faf9f6;
  --card-bg: #ffffff;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --border: #e6e2da;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  font-family: 'Manrope', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

.container-narrow {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}

/* --- Public bio page --- */
.bio-page-wrap { max-width: 480px; margin: 0 auto; }
.bio-cover {
  height: 130px; width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  position: relative;
}
.bio-header {
  text-align: center; padding: 0 20px 20px; margin-top: -52px; position: relative;
}
.bio-logo {
  width: 104px; height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--card-bg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  background: var(--card-bg);
  transform: scale(1.16); /* çoxu loqoda kənarda boşluq/padding olur, bir az yaxınlaşdıraraq dairəni tam doldururuq */
}
.bio-name { font-size: 1.5rem; font-weight: 800; margin: 14px 0 2px; letter-spacing: -.2px; }
.bio-category-label {
  font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.bio-desc { color: var(--muted); font-size: 0.92rem; max-width: 340px; margin: 6px auto 0; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 20px; font-size: 0.78rem; font-weight: 700;
  margin-top: 10px; letter-spacing: .2px;
}
.status-open { background: rgba(46,125,50,.15); color: #2e7d32; }
.status-closed { background: rgba(198,40,40,.15); color: #c62828; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }

.bio-content { padding: 4px 18px 30px; }

.section-label {
  font-size: .72rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted); margin: 22px 2px 10px;
}
.section-label:first-child { margin-top: 4px; }

.social-icon-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 6px; }
.social-icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; color: var(--text); width: 64px;
}
.social-icon-btn .icon-circle {
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--card-bg); border: 1px solid var(--border); color: var(--primary); font-size: 1.25rem;
  transition: transform .15s, box-shadow .15s;
}
.social-icon-btn:hover .icon-circle { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.1); }
.social-icon-btn:hover { color: var(--text); }
.social-icon-btn .icon-label { font-size: .68rem; font-weight: 600; color: var(--muted); text-transform: capitalize; }

.bio-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.action-btn-row { display: flex; flex-direction: column; gap: 10px; }
.link-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 20px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: .95rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.link-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); color: var(--text); }
.link-btn .icon-badge {
  width: 34px; height: 34px; border-radius: 50%; background: var(--primary-tint, rgba(45,106,79,0.12));
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.link-btn i { font-size: 1.05rem; color: var(--primary); }
.link-btn .chev { margin-left: auto; color: var(--muted); font-size: .85rem; }

.promo-banner {
  background: var(--accent-grad, var(--accent));
  color: #3a2a05;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  font-weight: 700;
  position: relative; overflow: hidden;
}
.promo-banner .promo-icon { font-size: 1.3rem; margin-right: 8px; }

.service-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.service-row:last-child { border-bottom: none; }
.service-row .svc-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--primary-tint, rgba(0,0,0,.05));
  color: var(--primary); font-size: .68rem; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.service-row .svc-body { flex-grow: 1; min-width: 0; }
.service-row .svc-name { font-weight: 700; font-size: .96rem; letter-spacing: -.1px; }
.service-row .svc-desc { color: var(--muted); font-size: .82rem; margin-top: 3px; line-height: 1.4; }
.service-price {
  color: var(--primary); font-weight: 800; white-space: nowrap; font-size: .88rem;
  background: var(--primary-tint, rgba(0,0,0,.05)); padding: 4px 11px; border-radius: 20px; margin-top: 1px;
}
.menu-card-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.menu-card-header i { color: var(--primary); font-size: 1.05rem; }
.menu-card-header .section-label { margin: 0; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.gallery-grid img { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; transition: transform .15s, opacity .15s; }
.gallery-grid img:hover { transform: scale(1.03); opacity: .92; }

.review-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.review-item:last-child { border-bottom: none; }
.review-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary-tint, rgba(45,106,79,0.15));
  color: var(--primary); font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stars { color: var(--accent); letter-spacing: 1px; }
.muted { color: var(--muted); }

.live-counter {
  font-size: 0.76rem; color: var(--muted); text-align: center; margin-top: 10px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

.footer-brand {
  text-align: center; padding: 20px 0 8px; font-size: 0.76rem; color: var(--muted);
}
.footer-brand a { color: var(--primary); text-decoration: none; font-weight: 700; }

/* --- Admin / Business panels --- */
.panel-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 18px;
}
.btn-brand {
  background: var(--primary); color: #fff; border: none;
  padding: 10px 20px; border-radius: 10px; font-weight: 600;
}
.btn-brand:hover { background: var(--primary-light); color: #fff; }
table.simple-table { width: 100%; border-collapse: collapse; }
table.simple-table th, table.simple-table td {
  padding: 10px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.9rem;
}
.sidebar {
  background: #1b2a22; color: #eee; min-height: 100vh; padding: 20px;
}
.sidebar a { color: #cfe8dc; text-decoration: none; display: block; padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; }
.sidebar a:hover, .sidebar a.active { background: rgba(255,255,255,0.1); color: #fff; }

/* Bootstrap-ın offcanvas-lg breakpoint-i .offcanvas-lg .offcanvas-body seçicisi ilə
   background-i sıfırlayır (yüksək specificity) — ona görə tünd fonu offcanvas-body-nin
   İÇİNDƏKİ ayrı bir div-ə qoyuruq ki, Bootstrap-ın seçicisi ona təsir etməsin. */
.sidebar-shell { background: transparent; }
.sidebar-inner {
  background: #0e1a14; color: #eee; min-height: 100vh; padding: 20px;
  display: flex; flex-direction: column; margin: -1px;
}
.sidebar-inner a { color: #cfe8dc; text-decoration: none; display: block; padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; }
.sidebar-inner a:hover, .sidebar-inner a.active { background: rgba(255,255,255,0.12); color: #fff; }
.sidebar-inner-header { background: #0a1128; }

/* Sidebar daxilindəki Bootstrap dropdown-menu ağ fonludur — .sidebar-inner a qaydası ora sızıb
   mətni görünməz edirdi. Burada ayrıca, yüksək spesifiklikli overraydla düzəldirik. */
.sidebar-inner .dropdown-menu { padding: 6px; border-radius: 10px; position: absolute !important; width: 100%; max-width: 280px; }
.sidebar-inner .dropdown-menu li a.dropdown-item {
  color: #212529 !important; padding: 9px 12px; border-radius: 6px; display: block; margin-bottom: 2px;
}
.sidebar-inner .dropdown-menu li a.dropdown-item:hover { background: #f1f1f1 !important; color: #212529 !important; }
.sidebar-inner .dropdown-menu li a.dropdown-item.active { background: var(--primary, #2d6a4f) !important; color: #fff !important; }
.sidebar-inner .dropdown-menu li a.dropdown-item.text-success { color: #198754 !important; }
.sidebar-inner .dropdown-menu li a.dropdown-item.text-danger { color: #dc3545 !important; }

/* --- Directory --- */
.directory-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text);
  margin-bottom: 10px;
}
.directory-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.06); color: var(--text); }
.directory-card img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.cat-pill {
  display: inline-block; padding: 6px 14px; border-radius: 20px; background: #fff;
  border: 1px solid var(--border); margin: 3px; text-decoration: none; color: var(--text); font-size: 0.85rem;
}
.cat-pill.active, .cat-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================
   PREMIUM MARKETING SITE (landing, directory shell, legal pages)
   Baku gecə üfüqü + Alov Qülləsi estetikası
   ============================================ */
:root {
  --navy-deep: #060a1a;
  --navy: #0a1128;
  --navy-light: #101a3a;
  --gold: #d4af37;
  --gold-light: #e9c968;
  --flame1: #ff6a3d;
  --flame2: #ffb347;
  --cream: #f4f0e6;
}

.site-navbar {
  background: rgba(6,10,26,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-navbar .brand {
  color: var(--cream); font-weight: 800; font-size: 1.25rem; text-decoration: none;
  display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0;
  letter-spacing: -.3px;
}
.site-navbar .brand .flame-icon { color: var(--gold); flex-shrink: 0; }
.site-navbar .brand .brand-text { white-space: nowrap; }
.site-navbar .brand .dot-gold { color: var(--gold); }
.site-navbar a.nav-link-custom {
  color: #cfd3e6; text-decoration: none; font-size: 0.85rem; margin-left: 26px;
  font-weight: 600; letter-spacing: .3px; position: relative; padding: 4px 0;
  transition: color .15s;
}
.site-navbar a.nav-link-custom::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1.5px;
  background: var(--gold); transition: right .2s ease;
}
.site-navbar a.nav-link-custom:hover { color: var(--gold-light); }
.site-navbar a.nav-link-custom:hover::after { right: 0; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #b8912c);
  color: #0a1128; font-weight: 700; border: none; padding: 10px 22px; border-radius: 10px;
  text-decoration: none; display: inline-block;
}
.btn-gold:hover { color: #0a1128; box-shadow: 0 8px 24px rgba(212,175,55,0.35); }
.btn-outline-gold {
  border: 1.5px solid var(--gold); color: var(--gold-light); background: transparent;
  padding: 9px 22px; border-radius: 10px; text-decoration: none; display: inline-block;
}
.btn-outline-gold:hover { background: rgba(212,175,55,0.1); color: var(--gold-light); }

.hero-premium {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,107,61,0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 90px 20px 0;
}
.hero-premium h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.15;
}
.hero-premium .lead-gold { color: var(--gold-light); }
.hero-premium p.subtitle { color: #b8bdd6; font-size: 1.15rem; max-width: 560px; }
.skyline-wrap { margin-top: 60px; line-height: 0; }
.hero-phone-mock { width: 220px; }
.page-type-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 20px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.3); color: var(--gold-light);
  font-size: .8rem; font-weight: 600;
}

.section-dark { background: var(--navy); color: var(--cream); padding: 70px 20px; }
.section-light { background: var(--bg); padding: 70px 20px; }
.section-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 2.1rem; text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 560px; margin: 0 auto 44px; }
.section-dark .section-sub { color: #a9b0c9; }

.feature-card-premium {
  background: var(--navy-light); border: 1px solid rgba(212,175,55,0.15); border-radius: 18px;
  padding: 24px 20px; height: 100%;
}
.feature-card-premium i { color: var(--gold); font-size: 1.7rem; margin-bottom: 12px; display: block; }
.feature-card-premium h5 { color: var(--cream); font-weight: 700; font-size: 1.05rem; overflow-wrap: break-word; }
.feature-card-premium p { color: #a9b0c9; font-size: 0.88rem; margin-bottom: 0; overflow-wrap: break-word; }

.theme-showcase-card {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s; background: #fff;
}
.theme-showcase-card:hover { transform: translateY(-6px); box-shadow: 0 16px 30px rgba(0,0,0,0.1); }
.theme-mini-mock {
  height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 16px;
}
.theme-mini-avatar { width: 34px; height: 34px; border-radius: 50%; }
.theme-mini-line { height: 6px; border-radius: 3px; }
.theme-mini-btn {
  width: 80%; height: 20px; border-radius: 6px; border: 1px solid; display: flex; align-items: center; padding: 0 8px;
}
.theme-mini-btn span { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

.theme-scroll-row {
  display: flex; gap: 16px; overflow-x: auto; padding: 6px 2px 18px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.theme-scroll-item { flex: 0 0 190px; scroll-snap-align: start; }
@media (min-width: 992px) {
  .theme-scroll-row { overflow-x: visible; flex-wrap: wrap; justify-content: center; }
  .theme-scroll-item { flex: 0 0 200px; }
}

.step-premium { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.step-premium .num {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), #b8912c);
  color: #0a1128; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.site-footer {
  background: var(--navy-deep); color: #8a90ab; padding: 50px 20px 24px; font-size: 0.88rem;
}
.site-footer a { color: #cfd3e6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer h6 { color: var(--cream); font-weight: 700; margin-bottom: 14px; }

.legal-page { background: var(--bg); padding: 60px 20px; }
.legal-page h1 { font-family: 'Playfair Display', serif; margin-bottom: 8px; }
.legal-page h2 { font-size: 1.3rem; margin-top: 34px; margin-bottom: 12px; color: var(--navy); }
.legal-page p, .legal-page li { color: #444; line-height: 1.7; }

@media (max-width: 768px) {
  .hero-premium h1 { font-size: 2.1rem; }
  .hero-premium { padding-top: 50px; }
  .hero-phone-mock { width: 160px; margin-top: 8px; }
  .skyline-wrap { margin-top: 24px; }
  .feature-card-premium { padding: 20px 16px; }
  .section-dark, .section-light { padding: 50px 16px; }
  .section-title { font-size: 1.6rem; }
}
