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

:root {
  --night:    #09090B;
  --deep:     #111318;
  --sky:      #0F6BAD;
  --teal:     #0B7B6D;
  --forest-dk:#111318;
  --forest:   #1E2025;
  --forest-lt:#3FA060;
  --meadow:   #3FA060;
  --red:      #2E86AB;
  --orange:   #2E86AB;
  --gold:     #5FB0CE;
  --cream:    #F5EFE6;
  --text:     #1A1814;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 999;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 60px;
  background: rgba(6,14,26,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(63,160,96,0.25);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--meadow);
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: #ddeedd; text-decoration: none; font-size: .9rem;
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  position: relative; padding-bottom: 4px; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--meadow);
  transition: width .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--meadow); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-right { display:flex; align-items:center; gap:14px; }
.nav-social { color:rgba(200,240,220,.5); font-size:1.1rem; transition:color .2s; text-decoration:none; }
.nav-social:hover { color:var(--meadow); }
.lang-toggle {
  background:rgba(63,160,96,.15); border:1px solid rgba(63,160,96,.4);
  color:var(--meadow); font-size:.75rem; font-weight:700; letter-spacing:.1em;
  padding:5px 13px; border-radius:50px; cursor:pointer; transition:background .2s;
}
.lang-toggle:hover { background:rgba(63,160,96,.3); }

/* ─── PAGE HERO ─── */
.page-hero {
  min-height: 52vh;
  background:
    linear-gradient(180deg,
      rgba(6,12,20,0.72) 0%,
      rgba(6,12,20,0.52) 50%,
      rgba(6,12,20,0.82) 100%),
    url('../images/hero/dermandoo.webp') center 40% / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  padding-top: 100px; padding-bottom: 60px;
  position: relative;
}
.page-hero-content {
  text-align: center; position: relative; z-index: 2; padding: 0 20px;
}
.hero-badge {
  display: inline-block;
  background: rgba(9,9,11,0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(63,160,96,.55);
  color: #7de0a8; font-size: .8rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 9px 24px; border-radius: 50px; margin-bottom: 24px;
  animation: fadeDown .8s ease both;
}
.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,.9);
  animation: fadeDown .9s .1s ease both;
}
.page-title .accent { color: var(--meadow); }
.page-sub {
  font-size: 1rem; color: rgba(255,255,255,.8);
  max-width: 520px; margin: 18px auto 0; line-height: 1.8;
  animation: fadeDown 1s .2s ease both;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-22px); } to { opacity:1; transform:translateY(0); } }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: #fff; border-bottom: 1px solid #D8EFDF;
  padding: 12px 60px; display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: #6A8A70;
}
.breadcrumb a { color: var(--meadow); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: .65rem; }

/* ─── MAIN SECTION ─── */
.restorani-section {
  background: var(--cream);
  padding: 80px 60px 100px;
}
.restorani-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 52px; flex-wrap: wrap; gap: 24px;
}
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--forest-lt);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text); line-height: 1.15;
}
.section-title .line2 { color: var(--meadow); }

/* ─── FILTER TABS ─── */
.filter-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px;
}
.filter-tab {
  padding: 8px 20px; border-radius: 50px; font-size: .8rem; font-weight: 600;
  border: 1.5px solid #C8E6D0; background: #fff; color: #4A6A55;
  cursor: pointer; transition: all .2s;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--meadow); border-color: var(--meadow); color: #fff;
}

/* ─── CARDS ─── */
.rest-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.card {
  background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 4px 28px rgba(20,18,14,.09);
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s;
  cursor: pointer; display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 52px rgba(20,18,14,.18);
}
.card-img-wrap { position: relative; overflow: hidden; height: 230px; }
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.card:hover .card-img-wrap img { transform: scale(1.08); }
.card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; color: rgba(255,255,255,.7);
  transition: transform .5s;
}
.card:hover .card-img-placeholder { transform: scale(1.05); }
.card-img-placeholder i { font-size: 2.8rem; opacity: .8; }
.card-img-placeholder span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.ph-green  { background: linear-gradient(135deg, #1E4028 0%, #2D6A4F 60%, #3FA060 100%); }
.ph-blue   { background: linear-gradient(135deg, #0D2232 0%, #0F6BAD 60%, #5FB0CE 100%); }
.ph-teal   { background: linear-gradient(135deg, #0A1A1A 0%, #0B7B6D 60%, #2EC4B6 100%); }
.ph-warm   { background: linear-gradient(135deg, #1A1208 0%, #6B4C1E 60%, #B8860B 100%); }
.ph-red    { background: linear-gradient(135deg, #1A0808 0%, #8B2020 60%, #C0392B 100%); }
.ph-purple { background: linear-gradient(135deg, #1A1028 0%, #5A3A8A 60%, #9B59B6 100%); }
.card-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(63,160,96,.85); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 50px; text-transform: uppercase;
}
.card-badge.blue { background: var(--red); }
.card-badge.gold { background: var(--gold); color: #1B3A28; }
.card-rating {
  position: absolute; top: 14px; right: 14px;
  background: rgba(6,14,26,.75); backdrop-filter: blur(6px);
  color: var(--gold); font-size: .8rem; font-weight: 700;
  padding: 5px 11px; border-radius: 50px;
  display: flex; align-items: center; gap: 4px;
}
.card-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text); margin-bottom: 5px;
}
.card-type {
  font-size: .78rem; color: var(--forest-lt); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px;
}
.card-desc { font-size: .85rem; color: #4A6A55; line-height: 1.58; margin-bottom: 16px; flex: 1; }
.card-meta {
  display: flex; gap: 14px; font-size: .78rem; color: #6A8A70;
  border-top: 1px solid #D8EFDF; padding-top: 14px; flex-wrap: wrap;
}
.card-meta span { display: flex; align-items: center; gap: 5px; }
.card-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px;
}
.tag {
  font-size: .7rem; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; background: #E8F5EE; color: #2D6A4F;
  border: 1px solid #C8E6D0;
}

/* ─── INFO STRIP ─── */
.info-strip {
  background: linear-gradient(180deg, var(--forest-dk) 0%, #0D2232 100%);
  padding: 70px 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.info-item {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px;
  position: relative;
}
.info-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(63,160,96,.12);
}
.info-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(63,160,96,.12); border: 1.5px solid rgba(63,160,96,.35);
  color: var(--meadow); font-size: 1.4rem; margin-bottom: 18px;
}
.info-item h3 { font-size: 1rem; font-weight: 700; color: #e8f5ee; margin-bottom: 8px; }
.info-item p  { font-size: .84rem; color: rgba(200,240,220,.45); line-height: 1.7; max-width: 240px; }

/* ─── SAVJETI STRIP ─── */
.savjeti-strip {
  background: #f0faf5; padding: 70px 60px;
  border-top: 1px solid #C8E6D0; border-bottom: 1px solid #C8E6D0;
}
.savjeti-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  margin-top: 36px;
}
.savjet {
  background: #fff; border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 16px rgba(20,18,14,.06);
  border-left: 4px solid var(--meadow);
  display: flex; gap: 18px; align-items: flex-start;
}
.savjet-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: rgba(63,160,96,.1); border: 1px solid rgba(63,160,96,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--meadow); font-size: 1.1rem;
}
.savjet h4 { font-size: .95rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.savjet p  { font-size: .84rem; color: #4A6A55; line-height: 1.65; }

/* ─── LANG TOGGLE ─── */
html.en .t-bs { display: none !important; }
html.bs .t-en { display: none !important; }

/* ─── FOOTER ─── */
footer {
  background: var(--night);
  padding: 60px 60px 28px;
  color: rgba(200,240,220,.4);
}
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 48px; gap: 40px; flex-wrap: wrap;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { margin-bottom: 14px; }
.footer-brand p { font-size: .85rem; line-height: 1.75; }
.footer-links { flex: 1; display: flex; justify-content: center; }
.footer-links ul {
  list-style: none; display: flex; flex-direction: row;
  gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-links a {
  color: rgba(200,240,220,.5); font-size: .9rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; position: relative; padding-bottom: 4px;
  transition: color .3s;
}
.footer-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--meadow);
  transition: width .3s;
}
.footer-links a:hover { color: var(--meadow); }
.footer-links a:hover::after { width: 100%; }
.footer-bottom {
  border-top: 1px solid rgba(63,160,96,.08);
  padding-top: 26px; text-align: center; font-size: .78rem;
}
.footer-social { display:flex; gap:12px; margin-top:16px; }
.footer-social a {
  width:36px; height:36px; border-radius:50%;
  background:rgba(63,160,96,.08); border:1px solid rgba(63,160,96,.18);
  display:flex; align-items:center; justify-content:center;
  color:rgba(200,240,220,.45); font-size:.95rem;
  transition:background .2s,color .2s; text-decoration:none;
}
.footer-social a:hover { background:rgba(63,160,96,.22); color:var(--meadow); }

/* ─── RESPONSIVE ─── */
@media(max-width:900px){
  nav { padding:16px 22px; }
  .nav-links { gap:18px; }
  .breadcrumb { padding:12px 22px; }
  .restorani-section { padding:60px 22px 80px; }
  .rest-grid { grid-template-columns: 1fr 1fr; }
  .info-strip { grid-template-columns:1fr; padding:40px 22px; }
  .info-item:not(:last-child)::after { display:none; }
  .savjeti-strip { padding:50px 22px; }
  .savjeti-grid { grid-template-columns:1fr; }
  footer { padding:40px 22px 24px; }
}
@media(max-width:600px){
  .rest-grid { grid-template-columns: 1fr; }
  .restorani-header { flex-direction:column; align-items:flex-start; }
  .filter-tabs { gap:8px; }
}
