:root {
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --ink: #1f1c17;
  --muted: #6b655b;
  --line: #e6dfd2;
  --brown: #6b4513;
  --brown-d: #4a2f0c;
  --gold: #c9a043;
  --green: #4d6b2c;
  --green-l: #8bb53c;
  --dark: #17150f;
  --radius: 22px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 130px) 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin-inline: auto; }

.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.2vw, 74px); text-transform: uppercase; }
h2 { font-size: clamp(36px, 4.8vw, 64px); text-transform: uppercase; margin-bottom: 22px; }
.h-plain { text-transform: none; }
h3 { font-size: 28px; margin-bottom: 6px; }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brown); color: #fff; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: transform .25s, background .25s, box-shadow .25s; box-shadow: 0 10px 30px -12px rgba(107,69,19,.6); }
.btn:hover { background: var(--brown-d); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 10px 20px; box-shadow: none; }
.btn-light { background: #fff; color: var(--brown-d); }
.btn-light:hover { background: var(--cream); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 0 0 rgba(224,164,58,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224,164,58,0); } 100% { box-shadow: 0 0 0 0 rgba(224,164,58,0); } }

/* notice + header */
.notice-bar { background: var(--dark); color: #f3e7cf; font-size: 13px; letter-spacing: .04em; display: flex; justify-content: center; align-items: center; gap: 10px; padding: 9px 16px; text-align: center; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(247,243,236,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(0,0,0,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: var(--gold); transition: width .25s; }
.nav a:not(.btn):hover::after { width: 100%; }
.nav-toggle, .burger { display: none; }

/* hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-text .lead { margin: 26px 0 36px; max-width: 540px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 40px 80px -40px rgba(40,28,10,.45); }
.hero-badge { position: absolute; left: -28px; bottom: 40px; background: var(--paper); border-radius: 18px; padding: 16px 22px; display: flex; align-items: center; gap: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); transition: transform .25s; }
.hero-badge:hover { transform: translateY(-3px); }
.hero-badge strong { display: block; font-size: 15px; }
.hero-badge small { color: var(--muted); font-size: 13px; }
.reveal { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-media.reveal { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* about */
#apartmaji { background: var(--paper); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--radius); }
.features { display: grid; gap: 18px; margin-top: 40px; }
.feature { display: flex; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); transition: border-color .25s, transform .25s; }
.feature:hover { border-color: var(--gold); transform: translateX(4px); }
.feature .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brown); color: var(--gold); display: grid; place-items: center; flex: none; }
.feature .icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); }

/* dark / activities */
.dark { background: var(--dark); color: #ece6da; }
.dark .lead { color: #b9b1a2; }
.activities-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); margin-top: clamp(60px, 8vw, 110px); align-items: start; }
.activities-intro { position: sticky; top: 120px; }
.activities-intro p { color: #c9c1b2; margin-top: 8px; }
.activities-intro strong { color: #fff; }
.activities-intro .note { margin-top: 28px; padding: 20px 22px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.04); border-radius: 0 14px 14px 0; }
.accordion { display: grid; gap: 12px; }
.accordion details { border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.03); transition: background .25s, border-color .25s; }
.accordion details[open] { background: rgba(201,160,67,.08); border-color: rgba(201,160,67,.4); }
.accordion summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 24px; font-family: var(--serif); font-size: 26px; color: #fff; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion .num { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
.accordion .plus { margin-left: auto; width: 16px; height: 16px; position: relative; }
.accordion .plus::before, .accordion .plus::after { content: ""; position: absolute; inset: 7px 0 auto; height: 1.5px; background: var(--gold); transition: transform .3s; }
.accordion .plus::after { transform: rotate(90deg); }
.accordion details[open] .plus::after { transform: rotate(0); }
.acc-body { padding: 0 24px 26px 58px; color: #c9c1b2; }
.acc-body ul, .acc-body ol { margin: 14px 0 0 18px; display: grid; gap: 6px; }
.acc-body li::marker { color: var(--gold); }
.restavracije { grid-template-columns: 1fr 1fr; column-gap: 28px; }

/* contact */
.contact { background-size: cover; background-position: center; position: relative; }
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(23,21,15,.75), rgba(23,21,15,.25)); }
.contact .container { position: relative; }
.contact-card { background: rgba(255,253,249,.94); backdrop-filter: blur(10px); border-radius: 28px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 70px); box-shadow: 0 40px 100px -40px rgba(0,0,0,.6); }
.contact-card h2 { font-size: clamp(34px, 4vw, 52px); }
.contact-card .lead strong { color: var(--ink); }
.checks { list-style: none; margin: 28px 0 34px; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 14px; }
.checks li::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--gold); }
.info { list-style: none; display: grid; gap: 4px; align-content: center; border-left: 1px solid var(--line); padding-left: clamp(24px, 4vw, 56px); }
.info li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--brown-d); font-weight: 500; }
.info li:last-child { border-bottom: 0; }
.info svg { color: var(--gold); margin-top: 3px; }
.info a:hover { color: var(--brown); text-decoration: underline; }

/* gallery */
#galerija { background: var(--paper); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; margin-top: 60px; }
.gallery figure { overflow: hidden; border-radius: 18px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery figure:hover img { transform: scale(1.06); }
.g0 { grid-column: span 2; grid-row: span 2; }
.g3 { grid-row: span 2; }
.g5 { grid-column: span 2; }

/* reserve */
.reserve { padding-top: 0; background: var(--paper); }
.reserve-card { background: linear-gradient(135deg, var(--brown) 0%, var(--brown-d) 100%); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 80px); text-align: center; position: relative; overflow: hidden; }
.reserve-card::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(201,160,67,.35); right: -140px; top: -180px; }
.reserve-card .eyebrow { color: var(--gold); }
.reserve-card .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.reserve-card h2 { color: #fff; margin-bottom: 30px; }
.reserve-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* footer */
.footer { background: #1d140a; color: #d8cfbf; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 110px; width: auto; background: var(--paper); padding: 14px; border-radius: 18px; }
.footer h4 { color: var(--gold); font-size: 24px; margin-bottom: 18px; }
.footer a, .footer p { display: flex; gap: 12px; align-items: center; padding: 5px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer svg { color: var(--gold); width: 18px; height: 18px; }
.copy { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding-top: 24px; font-size: 13px; color: #8d8475; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .activities-grid, .contact-card { grid-template-columns: 1fr; }
  .activities-intro { position: static; }
  .info { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .g0, .g5 { grid-column: span 2; }

  .burger { display: grid; gap: 6px; cursor: pointer; padding: 10px; z-index: 2; }
  .burger span { width: 26px; height: 2px; background: var(--ink); transition: transform .3s; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 16px 20px 26px; background: var(--cream); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s; }
  .nav a:not(.btn) { padding: 12px 0; width: 100%; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .nav-toggle:checked ~ .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav-toggle:checked ~ .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .header-inner { height: 70px; }
  .nav { top: 70px; }
  .brand img { height: 50px; }
  .hero-media img { border-radius: 160px 160px var(--radius) var(--radius); }
  .hero-badge { left: 14px; bottom: 14px; }
  .acc-body { padding-left: 24px; }
  .accordion summary { font-size: 22px; padding: 18px 20px; }
  .restavracije { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
