/* ============================================
   SLASTIČARNE BANJA LUKA – style.css
   Design system: Baloo 2 / Nunito
   Palette: Strawberry · Caramel · Pistachio · Vanilla
   ============================================ */

:root {
  /* PRIMARY — strawberry pink (kolači/CTA) */
  --pink:        #d63384;
  --pink-light:  #e85ca0;
  --pink-dark:   #a8276a;
  --pink-pale:   #fdf1f7;

  /* SECONDARY — caramel (torte po narudžbi) */
  --caramel:     #b8743b;
  --caramel-dark:#955b2a;
  --caramel-pale:#fbf2e6;

  /* TERTIARY — pistachio (zdravo/vegan) */
  --pistachio:   #7fa068;
  --pistachio-dark:#5d8048;
  --pistachio-pale:#f0f5ea;

  /* QUATERNARY — vanilla amber (sladoled) */
  --vanilla:     #e9b94c;
  --vanilla-dark:#c79a2f;
  --vanilla-pale:#fff7e1;

  /* neutrals */
  --chocolate:   #3d2417;
  --text:        #4a3a32;
  --text-light:  #8a7569;
  --cream:       #fffaf3;
  --bg:          #fdf9f2;
  --white:       #ffffff;
  --border:      #ecdfd0;

  --shadow-sm:   0 1px 4px rgba(80, 40, 20, 0.06);
  --shadow:      0 2px 14px rgba(80, 40, 20, 0.09);
  --shadow-lg:   0 6px 30px rgba(80, 40, 20, 0.12);
  --radius:      14px;
  --radius-sm:   8px;

  --font-head: 'Baloo 2', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--chocolate); }
h1 { font-size: clamp(1.85rem, 4.2vw, 2.7rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin-bottom: 0.85rem; }

/* ── LAYOUT ── */
.container { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 3.5rem 0; scroll-margin-top: 80px; }
section.alt { background: var(--cream); }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 242, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-head); font-weight: 800;
  color: var(--chocolate); display: flex; flex-direction: column;
  line-height: 1.15; text-decoration: none; gap: 0;
}
.logo-top { font-size: 1.05rem; font-weight: 800; color: var(--chocolate); }
.logo-bot { font-size: 0.72rem; font-weight: 600; color: var(--caramel); letter-spacing: 0.02em; }
.main-nav { display: flex; gap: 1.5rem; align-items: center; }
.main-nav a {
  color: var(--chocolate); font-weight: 700; font-size: 0.92rem;
  padding: 0.5rem 0; position: relative;
}
.main-nav a:hover { color: var(--pink); text-decoration: none; }

.hamburger {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--chocolate); border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 0.5rem 1.25rem 1rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.85rem 0.25rem; color: var(--chocolate);
  font-weight: 700; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--vanilla-pale) 55%, var(--caramel-pale) 100%);
  padding: 3rem 0 3rem;
  border-bottom: 1px solid var(--border);
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 span { color: var(--pink); }
.hero-lead {
  font-size: 1.08rem; color: var(--text);
  max-width: 720px; margin-bottom: 1.5rem;
}
.hero-img-wrap {
  display: block;
  width: 100%; overflow: hidden; line-height: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  margin: 0;
}
.hero-img {
  width: 100%; height: 380px; object-fit: cover;
  display: block;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem;
  margin-top: 1.25rem;
}
.stat {
  background: var(--white); padding: 1rem 0.8rem;
  border-radius: var(--radius-sm); text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.65rem; color: var(--pink); display: block; line-height: 1.1;
}
.stat-lbl { font-size: 0.78rem; color: var(--text-light); font-weight: 600; }

/* ── CONTROLS / FILTER ── */
.controls {
  display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center;
  justify-content: space-between; margin-bottom: 1.75rem;
}
.filter-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--chocolate); padding: 0.55rem 1rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.86rem;
  cursor: pointer; transition: all 0.2s; min-height: 44px;
}
.filter-btn:hover { border-color: var(--pink); color: var(--pink); }
.filter-btn.active {
  background: var(--pink); border-color: var(--pink); color: var(--white);
}
.search {
  position: relative; flex: 1; min-width: 200px; max-width: 320px;
}
.search input {
  width: 100%; padding: 0.7rem 1rem 0.7rem 2.4rem;
  border: 1.5px solid var(--border); border-radius: 999px;
  font-family: var(--font-body); font-size: 0.95rem;
  background: var(--white); color: var(--chocolate);
  min-height: 44px;
}
.search input:focus { outline: none; border-color: var(--pink); }
.search::before {
  content: "🔍"; position: absolute; left: 0.85rem; top: 50%;
  transform: translateY(-50%); font-size: 0.95rem;
}

/* ── CARDS ── */
.content-section { margin-bottom: 2rem; }
.section-head {
  display: flex; align-items: center; gap: 0.7rem;
  margin-bottom: 1.2rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}
.section-head .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 1.1rem;
}
.badge-pink { background: var(--pink-pale); }
.badge-caramel { background: var(--caramel-pale); }
.badge-pistachio { background: var(--pistachio-pale); }
.badge-vanilla { background: var(--vanilla-pale); }

.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.salon-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.salon-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.salon-card h3 {
  font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem;
  color: var(--chocolate);
}
.salon-card .badge-type {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  padding: 0.18rem 0.55rem; border-radius: 999px;
  margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.02em;
}
.badge-sladoled { background: var(--vanilla-pale); color: var(--vanilla-dark); }
.badge-kolaci   { background: var(--pink-pale);    color: var(--pink-dark); }
.badge-narudzba { background: var(--caramel-pale); color: var(--caramel-dark); }
.badge-zdravo   { background: var(--pistachio-pale); color: var(--pistachio-dark); }

.salon-card .addr {
  font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.45rem;
  line-height: 1.45;
}
.salon-card .meta {
  font-size: 0.82rem; color: var(--text); margin-bottom: 0.65rem;
  line-height: 1.5;
}
.salon-card .contact {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto;
  padding-top: 0.5rem;
}
.salon-card .contact a {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.83rem; font-weight: 700; padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm); min-height: 36px;
}
.btn-phone { background: var(--pink-pale); color: var(--pink-dark); }
.btn-phone:hover { background: var(--pink); color: var(--white); text-decoration: none; }
.btn-web   { background: var(--pistachio-pale); color: var(--pistachio-dark); }
.btn-web:hover   { background: var(--pistachio); color: var(--white); text-decoration: none; }

.no-results {
  display: none; padding: 2rem 1rem; text-align: center;
  background: var(--cream); border-radius: var(--radius);
  color: var(--text-light); font-style: italic;
}
.no-results.show { display: block; }

/* ── MAP ── */
.map-wrap {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
#map { width: 100%; height: 480px; }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
  margin-top: 1rem; font-size: 0.85rem;
}
.map-legend .dot {
  display: inline-block; width: 14px; height: 14px;
  border-radius: 50%; vertical-align: middle; margin-right: 0.35rem;
  border: 2px solid var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.dot-sladoled { background: var(--vanilla-dark); }
.dot-kolaci   { background: var(--pink); }
.dot-narudzba { background: var(--caramel); }
.dot-zdravo   { background: var(--pistachio-dark); }

/* ── GUIDE / TIPS ── */
.guide-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem; margin-top: 1.5rem;
}
.guide-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.guide-card .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--pink-pale); font-size: 1.4rem;
  margin-bottom: 0.85rem;
}
.guide-card h3 {
  font-size: 1.1rem; margin-bottom: 0.5rem;
}
.guide-card p {
  font-size: 0.92rem; color: var(--text); margin: 0;
}

.guide-block {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 1.6rem 1.5rem;
  margin-bottom: 1.25rem; box-shadow: var(--shadow-sm);
}
.guide-block h3 {
  font-size: 1.25rem; margin-bottom: 0.7rem; color: var(--chocolate);
  display: flex; align-items: center; gap: 0.55rem;
}
.guide-block h3::before {
  content: ""; width: 5px; height: 22px; background: var(--pink);
  border-radius: 4px; display: inline-block;
}
.guide-block h4 {
  font-size: 1rem; color: var(--caramel-dark); margin-top: 1rem;
  margin-bottom: 0.4rem;
}
.guide-block p, .guide-block li {
  font-size: 0.96rem; color: var(--text); line-height: 1.7;
}
.guide-block ul, .guide-block ol {
  padding-left: 1.4rem; margin-bottom: 0.85rem;
}
.guide-block li { margin-bottom: 0.35rem; }
.guide-block .note {
  background: var(--vanilla-pale); border-left: 4px solid var(--vanilla-dark);
  padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  margin: 0.9rem 0; font-size: 0.92rem;
}

.cost-table {
  width: 100%; border-collapse: collapse; margin: 0.85rem 0 1rem;
  font-size: 0.92rem;
}
.cost-table th, .cost-table td {
  padding: 0.7rem 0.85rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
.cost-table th {
  background: var(--pink-pale); color: var(--pink-dark);
  font-family: var(--font-head); font-weight: 700;
}
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table td:last-child { font-weight: 700; color: var(--chocolate); }

/* ── FAQ ── */
.faq-list { max-width: 900px; margin: 1rem auto 0; }
.faq-item {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 0.7rem;
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: 0;
  padding: 1rem 1.2rem; font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; color: var(--chocolate); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; min-height: 56px;
}
.faq-q::after {
  content: "+"; font-size: 1.5rem; font-weight: 700; color: var(--pink);
  transition: transform 0.25s; line-height: 1;
}
.faq-q.open::after { transform: rotate(45deg); }
.faq-q:hover { color: var(--pink); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 1.2rem;
}
.faq-a p {
  padding: 0.2rem 0 1rem; color: var(--text); font-size: 0.95rem;
  margin: 0;
}

/* ── SHARE / CTA ── */
.share-box {
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--vanilla-pale) 100%);
  border-radius: var(--radius); padding: 1.5rem 1.25rem;
  text-align: center; margin-top: 1.5rem;
}
.share-box h3 { margin-bottom: 0.5rem; }
.share-buttons {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center; margin-top: 1rem;
}
.share-buttons a, .share-buttons button {
  background: var(--white); color: var(--chocolate);
  border: 1px solid var(--border); padding: 0.55rem 1rem;
  border-radius: 999px; font-family: var(--font-body);
  font-weight: 700; font-size: 0.88rem; cursor: pointer;
  min-height: 40px; transition: all 0.2s;
}
.share-buttons a:hover, .share-buttons button:hover {
  background: var(--pink); color: var(--white);
  border-color: var(--pink); text-decoration: none;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--chocolate); color: #d9c7ba;
  padding: 2.5rem 0 1.75rem; margin-top: 2rem;
}
.site-footer .container { text-align: center; }
.site-footer p { font-size: 0.92rem; margin-bottom: 0.5rem; }
.site-footer a { color: var(--vanilla); font-weight: 700; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: center;
  margin: 1rem 0;
}
.footer-bottom {
  border-top: 1px solid #5a3d2c; padding-top: 1rem; margin-top: 1rem;
  font-size: 0.85rem; color: #b3998a;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-img { height: 280px; }
}
@media (max-width: 700px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  section { padding: 2.5rem 0; }
  .hero { padding: 2.25rem 0; }
  .hero-img { height: 220px; }
  .controls { flex-direction: column; align-items: stretch; }
  .search { max-width: none; }
  #map { height: 380px; }
  .stat-num { font-size: 1.4rem; }
  .guide-block { padding: 1.2rem 1.05rem; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
  .stat { padding: 0.75rem 0.5rem; }
  .hero-img { height: 180px; }
  .filter-btn { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .cards { grid-template-columns: 1fr; }
  .cost-table { font-size: 0.85rem; }
  .cost-table th, .cost-table td { padding: 0.55rem 0.55rem; }
}
