/* ===========================
   VILA ŠANDROVAC — STYLESHEET
   =========================== */

:root {
  --gold: #C8973A;
  --gold-light: #E0BE7A;
  --stone-950: #1A1812;
  --stone-900: #2C2A25;
  --stone-800: #3A3830;
  --stone-600: #6A6050;
  --stone-400: #A09080;
  --stone-200: #D4C9B0;
  --stone-100: #F5EFE0;
  --stone-50: #FAFAF8;
  --forest: #2D4A2D;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Source Sans 3', system-ui, sans-serif; background: var(--stone-950); color: var(--stone-100); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* === LIGHTBOX === */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.93); align-items: center; justify-content: center;
  cursor: zoom-out; padding: 20px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 92vh; object-fit: contain; box-shadow: 0 0 60px rgba(0,0,0,0.8); }
#lightbox button {
  position: absolute; top: 20px; right: 30px;
  background: none; border: none; color: #fff; font-size: 48px; line-height: 1;
  cursor: pointer; font-family: inherit; font-weight: 300;
}
#lightbox button:hover { color: var(--gold); }
.zoomable { cursor: zoom-in; transition: opacity .2s; }
.zoomable:hover { opacity: .92; }

/* === NAVBAR === */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,24,18,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-800);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-accent { width: 3px; height: 32px; background: var(--gold); }
.nav-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--stone-100); }
.nav-sub { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { font-size: 13px; color: var(--stone-400); letter-spacing: .5px; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.burger { display: none; background: none; border: none; color: var(--gold); font-size: 22px; cursor: pointer; }
#mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--stone-900); border-top: 1px solid var(--stone-800);
  padding: 12px 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { font-size: 14px; color: var(--stone-200); padding: 10px 0; border-bottom: 1px solid var(--stone-800); }

/* === SECTIONS === */
.section { padding: 96px 0; }
.section-dark2 { background: var(--stone-900); }
.section-black { background: var(--stone-950); }
.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }
.section-header { margin-bottom: 48px; }
.section-label { font-size: 13px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--stone-100); line-height: 1.15; }
.body-text { font-size: 18px; font-weight: 300; color: var(--stone-200); line-height: 1.75; margin-bottom: 36px; }
.divider { width: 64px; height: 2px; background: var(--gold); margin: 24px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* === HERO === */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: flex-end; overflow: hidden;
  padding-top: 64px;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(26,24,18,.92) 0%, rgba(26,24,18,.65) 45%, rgba(26,24,18,.1) 100%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(to top, var(--stone-950), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto; padding: 0 40px 80px; width: 100%;
}
.label-top { font-size: 12px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
h1 { font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 700; color: var(--stone-100); line-height: .95; margin-bottom: 16px; }
.hero-sub { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 2.5vw, 1.8rem); color: var(--gold); font-style: italic; margin-bottom: 12px; }
.hero-desc { font-size: 17px; font-weight: 300; color: var(--stone-200); line-height: 1.7; max-width: 560px; margin-bottom: 36px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { padding: 10px 22px; font-size: 13px; font-weight: 600; letter-spacing: 1px; }
.chip-gold { background: var(--gold); color: var(--stone-900); }
.chip-dark-border { background: var(--stone-900); border: 1px solid var(--gold); color: var(--gold); }
.chip-dark { background: var(--stone-900); border: 1px solid var(--stone-800); color: var(--stone-200); }
.scroll-hint {
  position: absolute; bottom: 32px; right: 40px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--gold); font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* === LOKACIJA === */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-item { border-left: 2px solid var(--gold); padding-left: 14px; }
.info-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.info-val { font-size: 16px; color: var(--stone-100); }
.img-stack { display: flex; flex-direction: column; gap: 12px; }
.full-img { width: 100%; height: 260px; object-fit: cover; }
.img-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.img-row img { width: 100%; height: 160px; object-fit: cover; }
.zk-card { background: var(--stone-950); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 16px; height: 160px; }
.zk-title { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); font-weight: 700; }
.zk-info { font-size: 12px; color: var(--stone-200); text-align: center; line-height: 1.6; }

/* === SITUACIJSKI PLAN === */
.orient-banner { display: flex; gap: 0; margin-bottom: 36px; flex-wrap: wrap; }
.ob-item { flex: 1; min-width: 160px; background: var(--stone-900); padding: 14px 18px; border-right: 1px solid var(--stone-800); }
.ob-item:last-child { border-right: none; }
.ob-highlight { background: rgba(200,151,58,.15); border-top: 2px solid var(--gold); }
.ob-dir { display: block; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.ob-desc { font-size: 14px; color: var(--stone-200); }
.plan-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: start; }
.plan-img-wrap { }
.plan-img { width: 100%; border: 1px solid var(--stone-800); }
.legend-panel { background: var(--stone-900); padding: 28px; }
.legend-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--stone-100); margin-bottom: 20px; }
.legend-items { display: flex; flex-direction: column; gap: 0; }
.li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--stone-800); }
.li:last-child { border-bottom: none; }
.li-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; }
.li-name { font-size: 14px; color: var(--stone-200); flex: 1; }
.li-size { font-size: 13px; color: var(--gold); font-weight: 600; white-space: nowrap; }
.legend-total { margin-top: 16px; padding-top: 14px; border-top: 2px solid var(--gold); display: flex; justify-content: space-between; align-items: center; }
.legend-total span { font-size: 16px; color: var(--stone-100); }
.total-val { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--gold); }

/* === KONCEPCIJA === */
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.concept-card { background: var(--stone-950); padding: 20px; border-top: 2px solid var(--gold); margin: 2px; }
.concept-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--gold); margin-bottom: 8px; }
.concept-text { font-size: 14px; font-weight: 300; color: var(--stone-400); line-height: 1.5; }
.program-table-wrap { background: var(--stone-950); padding: 28px; }
.table-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--stone-100); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.prog-table { width: 100%; border-collapse: collapse; }
.prog-table tr { border-bottom: 1px solid var(--stone-800); }
.prog-table td { padding: 12px 0; font-size: 15px; color: var(--stone-200); }
.prog-table td:last-child { text-align: right; color: var(--gold); font-weight: 600; }
.prog-table .total-row td { background: var(--gold); padding: 12px 8px; color: var(--stone-900) !important; font-size: 16px; }

/* === TLOCRT === */
.tlocrt-note { background: rgba(200,151,58,.12); border-left: 4px solid var(--gold); padding: 14px 20px; margin-bottom: 36px; font-size: 15px; color: var(--stone-200); line-height: 1.6; }
.tlocrt-note strong { color: var(--gold); }
.tlocrt-img-wrap { }
.tlocrt-img { width: 100%; border: 1px solid var(--stone-800); }
.tlocrt-notes { display: flex; flex-direction: column; gap: 14px; }
.note-card { background: var(--stone-900); padding: 20px 22px; }
.note-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--gold); margin-bottom: 8px; }
.note-text { font-size: 14px; font-weight: 300; color: var(--stone-400); line-height: 1.5; }
.mat-card { background: var(--stone-100); padding: 20px 22px; }
.mat-card .note-title { color: var(--stone-900); }
.mat-list { display: flex; flex-direction: column; gap: 8px; }
.mat-item { display: flex; align-items: center; gap: 10px; }
.mat-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.mat-item span { font-size: 14px; color: var(--stone-900); }

/* === GALLERY === */
.gallery-hero { position: relative; margin-bottom: 20px; }
.gallery-hero-img { width: 100%; height: 520px; object-fit: cover; }
.gallery-hero-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px; background: linear-gradient(to top, rgba(26,24,18,.9), transparent); }
.gc-label { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.gc-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--stone-100); }
.gallery-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery-item { position: relative; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 340px; object-fit: cover; }
.gi-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(to top, rgba(26,24,18,.88), transparent); }
.gi-label { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.gi-title { font-family: 'Playfair Display', serif; font-size: 17px; color: var(--stone-100); }

/* === PANORAMA === */
.panorama-wrap { position: relative; margin-bottom: 32px; }
.panorama-img { width: 100%; height: 500px; object-fit: cover; }
.panorama-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 50px; background: linear-gradient(to right, rgba(26,24,18,.7) 0%, rgba(26,24,18,.1) 60%); }
.po-label { font-size: 11px; font-weight: 600; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.po-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; color: var(--stone-100); max-width: 500px; }
.panorama-info { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.pi-text h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold); margin-bottom: 14px; }
.pi-text p { font-size: 16px; font-weight: 300; color: var(--stone-200); line-height: 1.75; }
.pi-facts { display: flex; flex-direction: column; gap: 0; }
.pf-item { padding: 14px 16px; border-left: 2px solid var(--gold); background: var(--stone-900); margin-bottom: 6px; }
.pf-title { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.pf-desc { font-size: 14px; color: var(--stone-200); }

/* === INTERIJER === */
.int-img { width: 100%; height: 320px; object-fit: cover; }
.int-caption { background: var(--stone-950); padding: 20px 22px; }
.int-title { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--gold); margin-bottom: 8px; }
.int-text { font-size: 14px; font-weight: 300; color: var(--stone-400); line-height: 1.55; }

/* === PEČENJARA === */
.pool-specs { display: flex; gap: 0; margin-top: 8px; }
.ps-item { flex: 1; background: var(--gold); text-align: center; padding: 16px; }
.ps-item.ps-dark { background: var(--stone-900); }
.ps-val { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--stone-900); }
.ps-dark .ps-val { color: var(--gold); }
.ps-label { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--stone-900); margin-top: 3px; }
.ps-dark .ps-label { color: var(--stone-600); }
.feature-list { display: flex; flex-direction: column; gap: 0; }
.feature-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--stone-800); }
.fi-bar { width: 3px; background: var(--gold); flex-shrink: 0; align-self: stretch; }
.fi-title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--gold); margin-bottom: 4px; }
.fi-text { font-size: 14px; font-weight: 300; color: var(--stone-400); line-height: 1.45; }

/* === PROGRAM === */
.prog-block { background: var(--stone-950); padding: 28px; margin-bottom: 16px; }
.prog-block-title { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--stone-100); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 2px solid var(--gold); }
.status-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.sc-green { background: var(--forest); color: #A8D4A8; font-size: 12px; font-weight: 600; padding: 8px 16px; }
.sc-gold { background: var(--gold); color: var(--stone-900); font-size: 12px; font-weight: 600; padding: 8px 16px; }
.sc-dark { background: var(--stone-800); color: var(--stone-200); font-size: 12px; font-weight: 600; padding: 8px 16px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ci { padding: 16px; border-bottom: 1px solid var(--stone-800); border-right: 1px solid var(--stone-800); background: var(--stone-900); }
.ci:nth-child(even) { border-right: none; }
.ci-title { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--gold); margin-bottom: 4px; }
.ci-text { font-size: 13px; font-weight: 300; color: var(--stone-600); line-height: 1.4; }

/* === FOOTER === */
footer { background: var(--stone-950); border-top: 1px solid var(--stone-800); padding: 48px 0; }
.footer-inner { max-width: 1300px; margin: 0 auto; padding: 0 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.footer-title { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--gold); font-weight: 700; }
.footer-sub { font-size: 13px; color: var(--stone-600); margin-top: 4px; }
.footer-right { text-align: right; }
.footer-owner { font-size: 16px; color: var(--stone-100); font-weight: 600; }
.footer-info { font-size: 13px; color: var(--stone-600); margin-top: 2px; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .two-col, .gallery-two, .plan-layout, .panorama-info { grid-template-columns: 1fr; gap: 32px; }
  .plan-layout { grid-template-columns: 1fr; }
  .orient-banner { gap: 2px; }
  .ob-item { min-width: 120px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  h2 { font-size: 1.8rem; }
  .gallery-hero-img { height: 280px; }
  .gallery-item img { height: 220px; }
  .panorama-img { height: 300px; }
  .info-grid { grid-template-columns: 1fr; }
  .concept-grid { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .ci { border-right: none; }
  .pool-specs { flex-wrap: wrap; }
  .ps-item { flex: 0 0 50%; }
  .footer-inner { flex-direction: column; text-align: left; }
  .footer-right { text-align: left; }
  .scroll-hint { display: none; }
  .hero-chips { gap: 8px; }
}
