/*
Theme Name: Jewish Baku
Theme URI: https://asher.az
Description: Тема для проекта «Еврей из Баку рекомендует»
Version: 1.0.0
Author: Asher.az
Author URI: https://asher.az
Text Domain: jewish-baku
*/

/* ================================================
   RESET & VARIABLES
   ============================================== */
:root {
  --gold: #D4A853;
  --gold-dark: #B8892E;
  --gold-light: #E8D5B7;
  --cream: #FAF7F2;
  --cream-dark: #F5F2ED;
  --text: #2D2A26;
  --text2: #6B665E;
  --muted: #9E9A94;
  --red: #C4696A;
  --red-dark: #A85455;
  --blue-soft: #C5D5E4;
  --green-soft: #D5E0C5;
  --pf: 'Playfair Display', serif;
  --dm: 'DM Sans', sans-serif;
  --radius: 24px;
}

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

body {
  font-family: var(--dm);
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ================================================
   NAVBAR
   ============================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .3s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 4px 30px rgba(0,0,0,.05);
}

.nav-logo { display:flex; align-items:center; gap:12px; text-decoration:none; }

.nav-logo-icon {
  width:44px; height:44px; border-radius:14px;
  background:linear-gradient(135deg,#D4A853,#C4946A);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; color:#fff; font-weight:700;
  font-family:var(--pf);
  box-shadow:0 4px 15px rgba(212,168,83,.3);
}

.nav-logo-text { font-family:var(--pf); font-size:18px; font-weight:700; }
.nav-logo-sub { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--muted); }

.nav-links { display:flex; gap:6px; }

.nav-link {
  color:var(--text); text-decoration:none; font-size:14px;
  font-weight:500; padding:8px 16px; border-radius:12px; transition:all .3s;
}
.nav-link:hover, .nav-link.active { background:rgba(212,168,83,.1); color:var(--gold); }

.lang-switcher { display:flex; gap:6px; }

.lang-btn {
  background:transparent; border:1.5px solid rgba(45,42,38,.15);
  padding:6px 14px; border-radius:20px; font-size:13px; font-weight:500;
  cursor:pointer; transition:all .3s; font-family:var(--dm);
}
.lang-btn:hover, .lang-btn.active { background:var(--gold); border-color:var(--gold); color:#fff; }

/* Mobile menu */
.mobile-toggle { display:none; background:none; border:none; font-size:24px; cursor:pointer; }

/* ================================================
   BUTTONS
   ============================================== */
.btn {
  padding:14px 32px; border-radius:50px; font-size:15px; font-weight:600;
  cursor:pointer; transition:all .3s; font-family:var(--dm); border:none;
  display:inline-flex; align-items:center; gap:8px; text-decoration:none;
}
.btn-gold { background:linear-gradient(135deg,#D4A853,#C4946A); color:#fff; }
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 12px 35px rgba(212,168,83,.35); }
.btn-outline {
  background:transparent; color:var(--text); border:2px solid rgba(45,42,38,.18);
  padding:13px 28px;
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); background:rgba(212,168,83,.04); }
.btn-white { background:rgba(255,255,255,.15); color:#fff; border:1.5px solid rgba(255,255,255,.3); backdrop-filter:blur(10px); }
.btn-white:hover { background:rgba(255,255,255,.25); }

/* ================================================
   CATALOG HERO
   ============================================== */
.hero {
  padding:140px 60px 60px;
  position:relative; overflow:hidden;
  background:linear-gradient(135deg,rgba(250,247,242,1) 0%,rgba(232,213,183,.2) 100%);
}

.hero-blob {
  position:absolute; top:-200px; right:-200px;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(212,168,83,.08) 0%,transparent 70%);
  pointer-events:none;
}

.hero h1 {
  font-family:var(--pf); font-size:clamp(36px,4.5vw,56px);
  font-weight:700; line-height:1.1; margin-bottom:14px;
}

.hero p { font-size:17px; color:var(--text2); max-width:550px; margin-bottom:28px; line-height:1.7; }

.hero-tag {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 18px; border-radius:50px;
  background:rgba(212,168,83,.1); color:var(--gold-dark);
  font-size:13px; font-weight:600; margin-bottom:18px;
}

.search-wrap { max-width:700px; display:flex; gap:12px; margin-bottom:0; }

.search-input {
  flex:1; padding:16px 24px; border-radius:50px;
  border:2px solid rgba(0,0,0,.08); font-size:15px;
  background:#fff; transition:all .3s; font-family:var(--dm); outline:none;
}
.search-input:focus { border-color:var(--gold); box-shadow:0 0 0 4px rgba(212,168,83,.12); }

.search-btn {
  padding:16px 32px; border-radius:50px;
  background:linear-gradient(135deg,#D4A853,#C4946A);
  color:#fff; font-size:15px; font-weight:600; border:none;
  cursor:pointer; transition:all .3s; font-family:var(--dm);
}
.search-btn:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(212,168,83,.3); }

.stats-row { display:flex; gap:28px; margin-top:24px; }
.stat-mini { font-size:14px; color:var(--text2); }
.stat-mini strong { color:var(--text); font-size:18px; }

/* ================================================
   FILTERS
   ============================================== */
.filters {
  max-width:1200px; margin:0 auto;
  padding:24px 60px 0;
}

.filter-tabs { display:flex; gap:10px; flex-wrap:wrap; }

.filter-tab {
  padding:10px 22px; border-radius:50px; font-size:13px;
  font-weight:600; cursor:pointer; transition:all .3s;
  border:1.5px solid rgba(0,0,0,.08); background:#fff;
  color:var(--text2); display:flex; align-items:center; gap:6px;
  font-family:var(--dm);
}
.filter-tab:hover, .filter-tab.active { background:var(--gold); border-color:var(--gold); color:#fff; }
.filter-tab .f-count { font-size:11px; opacity:.7; }

/* ================================================
   CATALOG GRID & VENUE CARDS
   ============================================== */
.catalog-grid {
  max-width:1200px; margin:0 auto;
  padding:32px 60px 80px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:24px;
}

.v-card {
  border-radius:24px; overflow:hidden; background:#fff;
  border:1px solid rgba(0,0,0,.04);
  transition:all .4s cubic-bezier(.16,1,.3,1);
  text-decoration:none; color:inherit; display:block;
}
.v-card:hover { transform:translateY(-7px); box-shadow:0 24px 60px rgba(0,0,0,.1); }

.v-img { height:210px; overflow:hidden; position:relative; }
.v-img img { width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.v-card:hover .v-img img { transform:scale(1.08); }

.v-img-overlay {
  position:absolute; inset:0;
  background:linear-gradient(180deg,transparent 50%,rgba(0,0,0,.1) 100%);
  pointer-events:none;
}

.v-cat-badge {
  position:absolute; top:12px; left:12px;
  padding:5px 14px; border-radius:20px;
  font-size:11px; font-weight:600; backdrop-filter:blur(10px); color:#fff;
}
.v-cat-rest { background:rgba(212,168,83,.85); }
.v-cat-hotel { background:rgba(90,158,111,.85); }
.v-cat-spa { background:rgba(139,165,190,.85); }
.v-cat-dental { background:rgba(196,105,106,.85); }
.v-cat-clinic { background:rgba(180,140,200,.85); }
.v-cat-resort { background:rgba(90,158,111,.85); }
.v-cat-excursion { background:rgba(139,165,190,.85); }
.v-cat-transport { background:rgba(100,120,140,.85); }

.v-badge {
  position:absolute; top:12px; right:12px;
  display:flex; align-items:center; gap:5px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  padding:5px 13px; border-radius:20px; font-size:12px; font-weight:600;
}

.v-price {
  position:absolute; bottom:12px; left:12px;
  background:rgba(255,255,255,.92); backdrop-filter:blur(10px);
  padding:4px 11px; border-radius:12px; font-size:12px; font-weight:600; color:var(--text2);
}

.v-blacklisted-badge {
  position:absolute; bottom:12px; right:12px;
  background:rgba(220,50,50,.9); color:#fff;
  padding:4px 12px; border-radius:12px; font-size:11px; font-weight:600;
}

.v-body { padding:20px 24px 24px; }
.v-cat { font-size:11px; color:var(--gold); font-weight:600; text-transform:uppercase; letter-spacing:1px; margin-bottom:5px; }
.v-name { font-family:var(--pf); font-size:20px; font-weight:600; margin-bottom:8px; }
.v-location { font-size:13px; color:var(--muted); margin-bottom:10px; display:flex; align-items:center; gap:4px; }

.v-rating { display:flex; align-items:center; gap:8px; margin-bottom:14px; }
.v-stars { display:flex; gap:2px; }
.v-stars svg { width:14px; height:14px; }

.v-tags { display:flex; gap:6px; flex-wrap:wrap; }
.v-tag {
  display:inline-flex; align-items:center; gap:4px;
  padding:4px 12px; border-radius:16px; font-size:11px; font-weight:500;
  background:rgba(212,168,83,.1); color:var(--gold-dark);
}
.v-tag-green { background:rgba(90,158,111,.1); color:#5A9E6F; }

/* ================================================
   SINGLE VENUE HERO
   ============================================== */
.venue-hero {
  position:relative; height:85vh; min-height:600px; overflow:hidden;
}

.venue-hero-img { position:absolute; inset:0; }
.venue-hero-img img { width:100%; height:100%; object-fit:cover; }

.venue-hero-gradient {
  position:absolute; inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.2) 0%,rgba(0,0,0,.1) 40%,rgba(0,0,0,.65) 100%);
}

.venue-hero-content {
  position:absolute; bottom:0; left:0; right:0;
  padding:0 60px 50px; z-index:2;
}

.venue-hero-inner {
  max-width:1200px; margin:0 auto;
  display:flex; align-items:flex-end; justify-content:space-between; gap:40px;
}

.venue-hero-info { flex:1; }

.hero-badges { display:flex; gap:10px; margin-bottom:18px; flex-wrap:wrap; }

.hero-verified {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 18px; border-radius:50px;
  background:rgba(212,168,83,.9); color:#fff;
  font-size:13px; font-weight:600;
}

.hero-kosher {
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 18px; border-radius:50px;
  background:rgba(90,158,111,.85); color:#fff;
  font-size:13px; font-weight:600;
}

.venue-hero-title {
  font-family:var(--pf); font-size:clamp(36px,5vw,64px);
  font-weight:700; color:#fff; margin-bottom:12px; line-height:1.05;
  text-shadow:0 2px 20px rgba(0,0,0,.3);
}

.hero-meta { display:flex; gap:24px; align-items:center; flex-wrap:wrap; margin-bottom:20px; }
.hero-meta-item { display:flex; align-items:center; gap:6px; color:rgba(255,255,255,.85); font-size:14px; font-weight:500; }

.hero-desc { font-size:16px; color:rgba(255,255,255,.7); max-width:550px; line-height:1.7; }

.hero-actions { display:flex; flex-direction:column; gap:12px; flex-shrink:0; }

/* ================================================
   INFO BAR
   ============================================== */
.info-bar { margin-top:-44px; position:relative; z-index:3; padding:0 60px; }

.info-bar-inner {
  max-width:1200px; margin:0 auto; border-radius:24px;
  padding:28px 40px; display:grid; gap:24px;
  box-shadow:0 20px 60px rgba(0,0,0,.06);
  background:rgba(255,255,255,.82); backdrop-filter:blur(30px);
  border:1px solid rgba(255,255,255,.6);
}

.info-bar-inner.cols-5 { grid-template-columns:repeat(5,1fr); }
.info-bar-inner.cols-4 { grid-template-columns:repeat(4,1fr); }
.info-bar-inner.cols-3 { grid-template-columns:repeat(3,1fr); }

.info-item { text-align:center; padding:8px 0; }
.info-item:not(:last-child) { border-right:1px solid rgba(0,0,0,.06); }
.info-icon { font-size:24px; margin-bottom:6px; }
.info-label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; font-weight:600; margin-bottom:4px; }
.info-value { font-size:15px; font-weight:600; }

/* ================================================
   PHOTO GALLERY
   ============================================== */
.gallery { padding:44px 60px 0; }

.gallery-grid {
  max-width:1200px; margin:0 auto;
  display:grid; grid-template-columns:repeat(4,1fr);
  grid-template-rows:200px 200px; gap:12px;
}

.gallery-item {
  border-radius:16px; overflow:hidden; position:relative;
  cursor:pointer; transition:all .4s;
}
.gallery-item:hover { transform:scale(1.02); box-shadow:0 12px 40px rgba(0,0,0,.12); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.gallery-item:hover img { transform:scale(1.08); }
.gallery-item.g-tall { grid-row:span 2; }
.gallery-item.g-wide { grid-column:span 2; }

.gallery-count {
  position:absolute; inset:0;
  background:rgba(0,0,0,.5); display:flex;
  align-items:center; justify-content:center;
  color:#fff; font-size:20px; font-weight:600;
  border-radius:16px; backdrop-filter:blur(4px);
}

/* ================================================
   MAIN CONTENT + SIDEBAR
   ============================================== */
.venue-main {
  max-width:1200px; margin:0 auto; padding:60px 60px 0;
  display:grid; grid-template-columns:1fr 380px; gap:50px;
}

.venue-content { min-width:0; }

.venue-sidebar { position:sticky; top:100px; align-self:start; }

/* Content Cards */
.content-card {
  background:#fff; border-radius:24px; padding:36px;
  border:1px solid rgba(0,0,0,.04); margin-bottom:32px;
}

.content-title {
  font-family:var(--pf); font-size:28px; font-weight:600;
  margin-bottom:18px; display:flex; align-items:center; gap:12px;
}

.content-text { font-size:15px; line-height:1.85; color:var(--text2); }

/* Features */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:24px; }

.feature-chip {
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:18px 12px; border-radius:16px; background:var(--cream-dark);
  text-align:center; transition:all .3s;
}
.feature-chip:hover { background:rgba(212,168,83,.08); transform:translateY(-2px); }
.feature-icon { font-size:28px; }
.feature-label { font-size:12px; font-weight:600; color:var(--text2); }

/* Sidebar */
.side-card {
  background:#fff; border-radius:24px; padding:28px;
  border:1px solid rgba(0,0,0,.04); margin-bottom:20px;
}

.side-title { font-family:var(--pf); font-size:20px; font-weight:600; margin-bottom:16px; }

.side-row {
  display:flex; align-items:flex-start; gap:12px;
  padding:12px 0; border-bottom:1px solid rgba(0,0,0,.04); font-size:14px;
}
.side-row:last-child { border-bottom:none; }
.side-icon { font-size:18px; flex-shrink:0; width:24px; text-align:center; }
.side-label { color:var(--muted); font-size:12px; }
.side-value { font-weight:500; }

/* Map */
.side-map {
  width:100%; height:200px; border-radius:16px; overflow:hidden;
  background:#e0ddd5; position:relative; margin-bottom:16px;
}
.side-map iframe { width:100%; height:100%; border:0; }

/* Verified Badge */
.side-badge {
  border-radius:24px; padding:32px; text-align:center;
  background:linear-gradient(135deg,rgba(212,168,83,.08),rgba(212,168,83,.02));
  border:1px solid rgba(212,168,83,.15);
}

.side-badge-circle {
  width:80px; height:80px; border-radius:50%;
  background:linear-gradient(135deg,#D4A853,#E8D5B7);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px; box-shadow:0 8px 25px rgba(212,168,83,.25);
}

.side-langs { display:flex; gap:8px; justify-content:center; margin-top:12px; }
.side-lang {
  padding:5px 12px; border-radius:12px; font-size:12px; font-weight:600;
  background:rgba(212,168,83,.1); color:var(--gold-dark);
}

/* ================================================
   SIMILAR VENUES
   ============================================== */
.similar { padding:60px; background:var(--cream-dark); }
.similar-inner { max-width:1200px; margin:0 auto; }

.similar-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:32px; }

.section-tag {
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 18px; border-radius:50px;
  background:rgba(212,168,83,.1); color:var(--gold-dark);
  font-size:13px; font-weight:600; margin-bottom:12px;
}

.section-title { font-family:var(--pf); font-size:32px; font-weight:700; }

/* ================================================
   FOOTER
   ============================================== */
.footer {
  background:var(--text); color:rgba(255,255,255,.7);
  padding:60px 60px 30px;
}

.footer-inner { max-width:1200px; margin:0 auto; }

.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }

.footer-brand .nav-logo-text { color:#fff; }
.footer-brand .nav-logo-sub { color:rgba(255,255,255,.4); }
.footer-desc { margin-top:16px; font-size:14px; line-height:1.7; max-width:300px; }

.footer-heading {
  font-family:var(--pf); font-size:16px; font-weight:600;
  color:#fff; margin-bottom:16px;
}

.footer-links { list-style:none; }
.footer-links li { margin-bottom:10px; }
.footer-links a { font-size:14px; transition:color .3s; }
.footer-links a:hover { color:var(--gold); }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.1);
  padding-top:24px; display:flex; justify-content:space-between;
  align-items:center; font-size:13px;
}

/* ================================================
   PAGINATION
   ============================================== */
.pagination { display:flex; justify-content:center; gap:8px; padding:0 60px 60px; }
.pagination a, .pagination span {
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  font-size:14px; font-weight:600; transition:all .3s;
  border:1.5px solid rgba(0,0,0,.08); background:#fff; color:var(--text2);
}
.pagination .current { background:var(--gold); border-color:var(--gold); color:#fff; }
.pagination a:hover { border-color:var(--gold); color:var(--gold); }

/* ================================================
   ANIMATIONS
   ============================================== */
.reveal { opacity:0; transform:translateY(30px); transition:all .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

@keyframes pulse {
  0%, 100% { box-shadow:0 0 0 0 rgba(212,168,83,.4); }
  70% { box-shadow:0 0 0 12px rgba(212,168,83,0); }
}

/* ================================================
   NO RESULTS
   ============================================== */
.no-venues {
  grid-column:1/-1; text-align:center; padding:80px 20px;
}
.no-venues h2 { font-family:var(--pf); font-size:28px; margin-bottom:12px; }
.no-venues p { color:var(--muted); font-size:16px; }

/* ================================================
   RESPONSIVE
   ============================================== */
@media (max-width:1024px) {
  .navbar { padding:14px 24px; }
  .nav-links { display:none; }
  .mobile-toggle { display:block; }
  .hero { padding:120px 24px 40px; }
  .catalog-grid { grid-template-columns:repeat(2,1fr); padding:24px 24px 60px; }
  .filters { padding:24px 24px 0; }
  .venue-main { grid-template-columns:1fr; padding:40px 24px 0; }
  .venue-sidebar { position:static; }
  .venue-hero { height:60vh; min-height:400px; }
  .venue-hero-content { padding:0 24px 30px; }
  .venue-hero-inner { flex-direction:column; align-items:flex-start; }
  .info-bar { padding:0 24px; }
  .info-bar-inner { grid-template-columns:repeat(2,1fr); padding:20px; }
  .gallery { padding:24px; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); grid-template-rows:180px; }
  .gallery-item.g-tall { grid-row:span 1; }
  .similar { padding:40px 24px; }
  .similar-grid { grid-template-columns:1fr; }
  .footer { padding:40px 24px 20px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:32px; }
  .features-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width:640px) {
  .catalog-grid { grid-template-columns:1fr; }
  .info-bar-inner { grid-template-columns:1fr; }
  .info-item:not(:last-child) { border-right:none; border-bottom:1px solid rgba(0,0,0,.06); }
  .footer-grid { grid-template-columns:1fr; }
  .hero-actions { flex-direction:row; }
  .stats-row { flex-wrap:wrap; gap:16px; }
  .features-grid { grid-template-columns:1fr 1fr; }
  .hero-meta { gap:12px; }
}
