@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg:          #f5f0e8;
  --brown-dark:  #5a3a12;
  --brown-mid:   #8b5e2a;
  --brown-light: #c9a96e;
  --text:        #2c2416;
  --text-mid:    #4a3520;
  --text-light:  #7a5a30;
  --card-bg:     rgba(255,255,255,0.65);
  --radius:      16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── BG DECORATION ─────────────────────────────────────────── */
.bg-decoration {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-decoration img {
  position: absolute;
  opacity: 0.06;
}
.bg-decoration img:nth-child(1) { top: 6%;    left: 2%;   width: 170px; }
.bg-decoration img:nth-child(2) { top: 5%;    right: 2%;  width: 155px; }
.bg-decoration img:nth-child(3) { bottom: 9%; left: 3%;   width: 160px; }
.bg-decoration img:nth-child(4) { bottom: 6%; right: 2%;  width: 148px; }

/* ── LAYOUT ─────────────────────────────────────────────────── */
.page-wrapper { position: relative; z-index: 1; }

/* ── GLOBAL HEADER ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,0.28);
  box-shadow: 0 2px 20px rgba(90,58,18,0.07);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.site-logo { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; }
.site-logo img { height: 50px; width: auto; }

.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  flex-wrap: nowrap;
}
.site-nav a {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 7px 11px;
  border-radius: 8px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active {
  background: rgba(201,169,110,0.18);
  color: var(--brown-dark);
}
.site-nav a.nav-home {
  font-weight: 700;
  color: var(--brown-dark);
}

/* dropdown – Ščetke in omela */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-caret {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 0.75rem;
  padding: 7px 4px;
  margin-left: -8px;
  pointer-events: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  width: 560px;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  background: rgba(245,240,232,0.99);
  border: 1px solid rgba(201,169,110,0.3);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 14px 40px rgba(90,58,18,0.15);
}
.dropdown-menu::before { content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { display: grid; }
.dropdown-menu a { font-weight: 500; }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201,169,110,0.4);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  color: var(--brown-dark);
  font-size: 1.2rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(245,240,232,0.98);
    border-bottom: 1px solid rgba(201,169,110,0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 28px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(90,58,18,0.1);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; font-size: 0.82rem; }
  .site-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .nav-dropdown { flex-wrap: wrap; }
  .nav-parent { flex: 1; }
  .nav-caret { pointer-events: auto; font-size: 1rem; padding: 8px 14px; margin-left: 0; }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    position: static;
    width: 100%;
    margin: 0 0 6px;
    padding: 0 0 0 14px;
    border: none;
    border-left: 2px solid rgba(201,169,110,0.35);
    border-radius: 0;
    box-shadow: none;
    background: none;
  }
  .nav-dropdown.open .nav-caret { transform: rotate(180deg); }
}

/* ── HERO ───────────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,12,2,0.58) 0%, rgba(30,12,2,0.42) 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.95);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}
.page-hero h1 span { opacity: 0.75; font-weight: 300; }
.page-hero p {
  font-size: clamp(0.88rem, 2vw, 1.05rem);
  opacity: 0.88;
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.38);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 13px 34px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.hero-cta:hover { background: rgba(255,255,255,0.28); transform: scale(1.03); }

@media (max-width: 600px) {
  .page-hero { height: auto; aspect-ratio: 4/5; }
  .hero-bg { object-position: center center; }
}

/* ── MAIN WRAPPER ───────────────────────────────────────────── */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── INTRO BLOCK ────────────────────────────────────────────── */
.intro-block {
  background: var(--card-bg);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(201,169,110,0.22);
  border-radius: var(--radius);
  padding: 48px 52px;
  margin: 52px 0;
  text-align: center;
}
.years-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-mid));
  color: #f5f0e8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}
.intro-block h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.intro-block p {
  font-size: 0.96rem;
  color: var(--text-mid);
  line-height: 1.88;
  max-width: 760px;
  margin: 0 auto;
}

/* ── SECTION HEADING ────────────────────────────────────────── */
.section-heading {
  text-align: center;
  margin-bottom: 36px;
}
.section-heading h3 {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
}
.section-heading h3::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--brown-light), var(--brown-mid));
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ── CARDS GRID ─────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 68px;
  align-items: stretch;
}
@media (max-width: 900px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .cards-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card-bg);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brown-light), var(--brown-dark));
  opacity: 0;
  transition: opacity .22s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 14px 44px rgba(90,58,18,0.12); border-color: rgba(201,169,110,0.48); }
.card:hover::before { opacity: 1; }

/* slika v ozadju kartice */
.card-img { isolation: isolate; }
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--img) center / cover no-repeat;
  opacity: 0.3;
  -webkit-mask-image: linear-gradient(135deg, rgba(0,0,0,0.12) 25%, #000 85%);
          mask-image: linear-gradient(135deg, rgba(0,0,0,0.12) 25%, #000 85%);
  transition: opacity .35s ease, transform .5s ease;
}
.card-img:hover::after { opacity: 0.45; transform: scale(1.05); }

.card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 14px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.card p {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.78;
  flex: 1;
}
.card ul { list-style: none; flex: 1; }
.card ul li {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.72;
  padding-left: 16px;
  position: relative;
}
.card ul li::before { content: '–'; position: absolute; left: 0; color: var(--brown-light); font-weight: 700; }

.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brown-mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card-arrow::after { content: '→'; transition: transform .2s; }
.card:hover .card-arrow::after { transform: translateX(5px); }

/* ── CTA BAND ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown-mid) 50%, var(--brown-light) 100%);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band h3 { font-size: clamp(1.1rem, 3vw, 1.65rem); font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.cta-band p  { font-size: 0.92rem; opacity: .86; margin-bottom: 28px; position: relative; z-index: 1; }
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.16);
  border: 2px solid rgba(255,255,255,0.38);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 13px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  position: relative; z-index: 1;
}
.btn-phone:hover { background: rgba(255,255,255,0.26); transform: scale(1.04); }
.btn-letak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 14px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.88);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: background .2s;
  position: relative; z-index: 1;
}
.btn-letak:hover { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 480px) { .btn-letak { margin-left: 0; margin-top: 10px; } }

/* ── SUBPAGE HERO (reuses .page-hero) ───────────────────────── */
.sub-hero { height: 380px; }
.sub-hero .hero-inner { max-width: 700px; }
.sub-hero h1 { font-size: clamp(1.6rem, 4.5vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.sub-hero p  { font-size: 0.96rem; opacity: .88; line-height: 1.72; margin-bottom: 0; }

@media (max-width: 600px) {
  .sub-hero { height: auto; aspect-ratio: 4/3; }
}

.sub-hero .hero-inner h1,
.sub-hero .hero-inner p { text-shadow: 0 2px 14px rgba(30,12,2,0.55); }

/* ── SUBPAGE BODY ───────────────────────────────────────────── */
.subpage-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.subpage-body.wide { max-width: 1200px; }
.subpage-lead a { color: var(--brown-mid); font-weight: 600; }
.back-link {
  display: inline-block;
  margin-bottom: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
}
.back-link:hover { color: var(--brown-dark); }
.subpage-lead {
  font-size: 1.02rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.92;
  margin-bottom: 44px;
}
.feature-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/7;
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; }

.content-card {
  background: var(--card-bg);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 24px;
}
.content-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(201,169,110,0.28);
}
.content-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.88;
  margin-bottom: 8px;
}
.content-card ul { list-style: none; }
.content-card ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.78;
  padding: 5px 0 5px 22px;
  position: relative;
}
.content-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--brown-light);
  font-size: 0.72rem;
  top: 7px;
}
.content-card .bold { font-weight: 700; color: var(--brown-dark); }

.specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}
.spec-chip {
  background: var(--bg);
  border: 1px solid rgba(201,169,110,0.32);
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
}
.spec-chip .lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  display: block;
  margin-bottom: 4px;
}
.spec-chip .val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 600px) {
  .two-col { grid-template-columns: 1fr; }
  .content-card { padding: 24px 20px; }
}

/* ── GALLERY (justified rows) ───────────────────────────────── */
.gallery-heading { margin-top: 48px; }
.gallery {
  --row-h: 190px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 48px;
  border-radius: var(--radius);
  overflow: hidden;
}
/* zadnja vrstica se ne raztegne čez celo širino */
.gallery::after { content: ''; flex-grow: 999999; }
.gallery-item {
  position: relative;
  flex-grow: var(--r);
  flex-basis: calc(var(--r) * var(--row-h));
  aspect-ratio: var(--r);
  overflow: hidden;
  background: #efe7da;
}
.gallery-item a { display: block; width: 100%; height: 100%; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(0.92); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 10px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(30,12,2,0.72), rgba(30,12,2,0));
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover figcaption { opacity: 1; }
@media (hover: none) { .gallery-item figcaption { opacity: 1; } }
@media (max-width: 760px) { .gallery { --row-h: 140px; } }
@media (max-width: 420px) { .gallery { --row-h: 110px; gap: 3px; } }
.gallery.gallery-lg { --row-h: 340px; }
@media (max-width: 760px) { .gallery.gallery-lg { --row-h: 220px; } }
@media (max-width: 420px) { .gallery.gallery-lg { --row-h: 160px; } }

/* ── GLOBAL FOOTER ──────────────────────────────────────────── */
.site-footer { position: relative; z-index: 1; }

.footer-map { width: 100%; height: 420px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.footer-bottom {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.82);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 28px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 680px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }

.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--brown-light);
  margin-bottom: 18px;
}
.footer-col p,
.footer-col a {
  font-size: 0.84rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: block;
}
.footer-col a:hover { color: var(--brown-light); }
.footer-col .big-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.footer-col .sub-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-top: 8px;
}

/* Google Reviews widget */
.reviews-widget {}
.stars { display: flex; gap: 3px; margin-bottom: 8px; }
.star { color: #fbbc04; font-size: 1.25rem; }
.review-score { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 4px; }
.review-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.google-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.g-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4285f4; }

.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.09);
  text-align: center;
  padding: 18px 24px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
  max-width: 100%;
}

/* ── UTILITIES ──────────────────────────────────────────────── */
.mt-lg  { margin-top: 64px; }
.mb-lg  { margin-bottom: 64px; }
@media (max-width: 480px) {
  .intro-block { padding: 30px 20px; }
  .cta-band    { padding: 40px 20px; }
  .subpage-body { padding: 36px 16px 60px; }
  .footer-map  { height: 300px; }
}
