/* ============================================================
   dozivigoliju.com — glavni stil
   Paleta: tamna maslinasto-zelena + krem (iz logotipa) + zlatna
   Fontovi: Fraunces (naslovi) + Instrument Sans (tekst)
   ============================================================ */

:root {
    --pine:   #232a19;
    --forest: #2e3524;
    --olive:  #47542f;
    --moss:   #75884e;
    --sage:   #a9b787;
    --sage-2: #cdd6b4;
    --cream:  #f4f0e2;
    --paper:  #fbf9f1;
    --gold:   #c39a3f;
    --gold-2: #e3c476;
    --ink:    #262c1b;
    --ink-2:  #5a6148;
    --line:   #ddd8c2;

    --ff-display: "Fraunces", Georgia, serif;
    --ff-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

    --shadow-sm: 0 2px 10px rgba(35, 42, 25, .08);
    --shadow-md: 0 10px 34px rgba(35, 42, 25, .14);
    --shadow-lg: 0 24px 60px rgba(35, 42, 25, .22);

    --radius: 18px;
    --radius-sm: 10px;
    --ease: cubic-bezier(.22, .8, .3, 1);
    --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

/* suptilna papirna tekstura */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: .35; mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .03 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-decoration: none; }
a:hover { color: var(--pine); }

h1, h2, h3, h4 {
    font-family: var(--ff-display);
    font-weight: 500;
    line-height: 1.15;
    color: var(--pine);
    margin: 0 0 .5em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.28rem; }

.container { width: min(1240px, 92%); margin-inline: auto; position: relative; z-index: 2; }
.container-narrow { width: min(860px, 92%); }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--pine); color: #fff; padding: .6rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------ dugmad */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font-family: var(--ff-body); font-weight: 600; font-size: .82rem;
    letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
    padding: .95rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .35s var(--ease);
    position: relative; overflow: hidden;
}
.btn-lg { padding: 1.1rem 2.2rem; font-size: .86rem; }
.btn-sm { padding: .62rem 1.25rem; font-size: .74rem; }
.btn-block { width: 100%; margin-bottom: .6rem; }

.btn-primary { background: var(--olive); color: var(--paper); box-shadow: 0 8px 22px rgba(71, 84, 47, .35); }
.btn-primary:hover { background: var(--pine); color: var(--paper); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(35, 42, 25, .4); }

.btn-ghost { background: rgba(251, 249, 241, .12); color: var(--paper); border-color: rgba(251, 249, 241, .5); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: var(--paper); color: var(--pine); border-color: var(--paper); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--olive); border-color: var(--moss); }
.btn-outline:hover { background: var(--olive); color: var(--paper); border-color: var(--olive); }

.btn-outline-light { background: transparent; color: var(--sage-2); border-color: rgba(205, 214, 180, .5); }
.btn-outline-light:hover { background: var(--sage-2); color: var(--pine); }

.btn-ghost-dark { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost-dark:hover { border-color: var(--olive); color: var(--olive); }

/* ------------------------------------------------ header */

.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(244, 240, 226, .92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: all .4s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); border-bottom-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.scrolled .header-inner { height: 68px; }

.logo img { width: 190px; height: auto; transition: width .4s var(--ease); }
.site-header.scrolled .logo img { width: 158px; }

.main-nav ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: .5rem .6rem; white-space: nowrap;
    font-size: .76rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
    color: var(--ink); border-radius: 8px; position: relative;
}
/* kućica za Početnu — na desktopu ikona, u mobilnom meniju tekst */
.nav-home { display: inline-flex; align-items: center; gap: .4rem; }
.nav-home-icon { display: block; }
.nav-home-text { display: none; }
.nav-home.active .nav-home-icon, .nav-home:hover .nav-home-icon { color: var(--olive); }
.main-nav a::after {
    content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .28rem;
    height: 2px; background: var(--gold); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a.active { color: var(--olive); }

.header-actions { display: flex; align-items: center; gap: .9rem; }

.lang-switch {
    display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper);
}
.lang-switch a {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.6em; padding: .38rem .55rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-indent: .08em;
    color: var(--ink-2); transition: all .25s;
}
.lang-switch a.on { background: var(--olive); color: var(--paper); }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px;
    background: transparent; border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--pine); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------ hero */

.hero {
    position: relative; min-height: 100svh;
    display: flex; align-items: center;
    color: var(--paper);
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: -6% 0;
    background-size: cover; background-position: center 30%;
    animation: heroZoom 18s var(--ease) both;
    will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(75deg, rgba(28, 34, 18, .82) 0%, rgba(28, 34, 18, .45) 42%, rgba(28, 34, 18, .08) 75%),
        linear-gradient(to top, rgba(28, 34, 18, .75), transparent 38%);
}

.hero-content { padding: calc(var(--header-h) + 3rem) 0 6rem; max-width: 860px; }

.hero-eyebrow {
    font-size: .78rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
    color: var(--sage-2); margin: 0 0 1.4rem;
    animation: fadeUp .9s var(--ease) .15s both;
}
.hero-title {
    color: var(--paper); font-weight: 400;
    font-size: clamp(2.7rem, 6.5vw, 5.2rem);
    margin-bottom: 1.2rem;
}
.hero-title .w {
    display: inline-block;
    animation: heroWord 1s var(--ease) calc(.35s + var(--d, 0s)) both;
}
@keyframes heroWord {
    from { opacity: 0; transform: translateY(1.2em) rotate(2.5deg); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}
.hero-sub {
    font-size: clamp(1.02rem, 1.6vw, 1.22rem); line-height: 1.7;
    color: rgba(251, 249, 241, .88); max-width: 620px; margin: 0 0 2.2rem;
    animation: fadeUp 1s var(--ease) .9s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; animation: fadeUp 1s var(--ease) 1.1s both; }

.hero-scroll {
    position: absolute; bottom: 6rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: .4rem;
    color: rgba(251, 249, 241, .8); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(28, 34, 18, .7);
    animation: fadeUp 1s var(--ease) 1.5s both;
    z-index: 4;
}
.hero-scroll:hover { color: var(--paper); }
.hero-scroll svg { animation: bounceY 2.2s ease-in-out infinite; }
@keyframes bounceY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------ sekcije */

.section { padding: clamp(3.6rem, 8vw, 6.2rem) 0; position: relative; }

.section-tint { background: linear-gradient(180deg, var(--paper), #f1ecd9); }
.section-tint::before {
    content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23a9b787' stroke-opacity='.18'%3E%3Cpath d='M60 340c40-70 90-60 130-110s20-90 80-120 110 10 130-40'/%3E%3Cpath d='M40 360c45-80 100-65 145-120s25-100 90-135 120 15 145-45'/%3E%3Cpath d='M20 380c50-90 110-70 160-130s30-110 100-150 130 20 160-50'/%3E%3C/g%3E%3C/svg%3E");
}

.section-dark { background: var(--pine); color: var(--sage-2); }
.section-dark h2 { color: var(--paper); }
.section-dark::before {
    content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23cdd6b4' stroke-opacity='.3'%3E%3Cpath d='M60 340c40-70 90-60 130-110s20-90 80-120 110 10 130-40'/%3E%3Cpath d='M20 380c50-90 110-70 160-130s30-110 100-150 130 20 160-50'/%3E%3C/g%3E%3C/svg%3E");
}

.section-head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
    margin-bottom: 2.6rem;
}
.section-head h2 { margin-bottom: 0; }

.eyebrow {
    font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
    color: var(--moss); margin: 0 0 .7rem;
    display: flex; align-items: center; gap: .7rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold); flex: none; }
.section-dark .eyebrow { color: var(--sage); }

.link-arrow {
    font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--olive); display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
}
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ------------------------------------------------ kategorije */

.section-cats { padding-top: 3rem; padding-bottom: 1rem; }
.cats-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
    margin-top: -5.4rem; position: relative; z-index: 5;
}
.cat-item {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.5rem 1rem 1.35rem; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: .3rem;
    box-shadow: var(--shadow-sm);
    transition: all .4s var(--ease);
    transition-delay: 0s !important;
}
.cat-item:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.cat-icon {
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(145deg, #eef0de, #dde2c4); color: var(--olive);
    margin-bottom: .5rem; transition: all .4s var(--ease);
}
.cat-item:hover .cat-icon { background: var(--olive); color: var(--paper); transform: rotate(-6deg) scale(1.06); }
.cat-title { font-weight: 700; font-size: .86rem; letter-spacing: .04em; text-transform: uppercase; color: var(--pine); }
.cat-sub { font-size: .8rem; color: var(--ink-2); }

/* ------------------------------------------------ kartice */

.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--sage); }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(35, 42, 25, .28), transparent 45%);
    opacity: 0; transition: opacity .45s;
}
.card:hover .card-media::after { opacity: 1; }

.card-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.card-body h3 { margin: 0; font-size: 1.22rem; }
.card-body h3 a { color: var(--pine); }
.card-body h3 a:hover { color: var(--olive); }
.card-body p { margin: 0; font-size: .92rem; color: var(--ink-2); }

.card-kicker {
    font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--moss);
}
.card-link { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); margin-top: auto; padding-top: .5rem; }
.card-link span { display: inline-block; transition: transform .3s var(--ease); }
.card:hover .card-link span { transform: translateX(5px); }

.card-meta { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.05rem; margin: 0; padding: 0; font-size: .82rem; color: var(--ink-2); }
.card-meta li { display: inline-flex; align-items: center; gap: .38rem; }
.card-meta svg { color: var(--moss); flex: none; }

.card-price { font-weight: 700; color: var(--olive) !important; font-size: .95rem !important; margin-top: auto !important; padding-top: .4rem; }

.badge {
    position: absolute; top: 1rem; left: 1rem; z-index: 2;
    font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: .42rem .85rem; border-radius: 999px;
}
.badge-cat { background: rgba(251, 249, 241, .92); color: var(--olive); backdrop-filter: blur(4px); }
.badge-gold {
    background: linear-gradient(120deg, var(--gold), var(--gold-2), var(--gold));
    background-size: 200% 100%;
    color: #3a2d0d;
    animation: goldShimmer 3.2s linear infinite;
    box-shadow: 0 4px 16px rgba(195, 154, 63, .5);
}
@keyframes goldShimmer { to { background-position: -200% 0; } }

.card-stay.is-gold { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 34px rgba(195, 154, 63, .22); }
.card-stay.is-gold:hover { box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg); }

/* ------------------------------------------------ statistika */

.stats-band .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.stats-intro p { font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.8rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
    background: rgba(251, 249, 241, .05); border: 1px solid rgba(169, 183, 135, .22);
    border-radius: var(--radius); padding: 1.6rem 1.5rem 1.3rem;
    transition: all .4s var(--ease);
}
.stat:hover { background: rgba(251, 249, 241, .09); transform: translateY(-4px); border-color: rgba(169, 183, 135, .45); }
.stat-num {
    font-family: var(--ff-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; color: var(--gold-2);
    font-variant-numeric: tabular-nums;
}
.stat-unit { font-family: var(--ff-display); font-size: 1.3rem; color: var(--sage); margin-left: .2rem; }
.stat p { margin: .4rem 0 0; font-size: .88rem; color: var(--sage-2); }

/* ------------------------------------------------ događaji */

.events-list { display: flex; flex-direction: column; gap: 1.2rem; }
.event-row {
    position: relative;
    display: grid; grid-template-columns: 96px 1fr auto; gap: 1.6rem; align-items: center;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    transition: all .4s var(--ease);
}
.event-row:hover { box-shadow: var(--shadow-md); border-color: var(--sage); transform: translateX(6px); }
.event-row-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.event-row .event-body { position: relative; }
.event-body h3 a { color: var(--pine); position: relative; z-index: 2; }
.event-row:hover .event-body h3 a { color: var(--olive); }
.event-row .card-link { position: relative; z-index: 2; pointer-events: none; }
.event-row:hover .card-link span { transform: translateX(5px); }
.event-date {
    text-align: center; background: var(--pine); color: var(--paper);
    border-radius: var(--radius-sm); padding: .8rem .5rem; line-height: 1.15;
}
.event-day { display: block; font-family: var(--ff-display); font-size: 1.9rem; color: var(--gold-2); }
.event-month { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sage-2); }
.event-year { display: block; font-size: .72rem; color: var(--sage); margin-top: .15rem; }
.event-body h3 { margin-bottom: .35rem; }
.event-body p { margin: .5rem 0 0; font-size: .92rem; color: var(--ink-2); }
.event-thumb { width: 150px; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.events-past { opacity: .68; }

/* ------------------------------------------------ CTA traka */

.cta-band {
    background-size: cover; background-position: center; background-attachment: fixed;
    position: relative; color: var(--paper); text-align: center;
}
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(28, 34, 18, .78), rgba(28, 34, 18, .78)); }
.cta-inner { max-width: 640px; }
.cta-inner h2 { color: var(--paper); }
.cta-inner p { color: rgba(251, 249, 241, .85); margin-bottom: 2rem; font-size: 1.05rem; }

/* ------------------------------------------------ page hero (unutrašnje) */

.page-hero {
    padding: calc(var(--header-h) + 4.5rem) 0 3.4rem;
    background:
        radial-gradient(900px 380px at 85% -10%, rgba(169, 183, 135, .3), transparent),
        linear-gradient(180deg, #ece7d3, var(--cream));
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: .4rem; }
.page-hero-sub { font-size: 1.08rem; color: var(--ink-2); max-width: 640px; margin: 0; }

/* ------------------------------------------------ single hero */

.single-hero {
    min-height: 62svh; display: flex; align-items: flex-end;
    background-size: cover; background-position: center;
    position: relative; color: var(--paper);
    padding-top: var(--header-h);
}
.single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 34, 18, .85), rgba(28, 34, 18, .15) 60%); }
.single-hero-content { padding-bottom: 3.2rem; }
.single-hero .badge { position: static; display: inline-block; margin-bottom: 1rem; }
.single-hero h1 { color: var(--paper); font-size: clamp(2rem, 4.6vw, 3.6rem); }
.single-hero-sub { display: flex; align-items: center; gap: .5rem; color: var(--sage-2); margin: 0; }
.post-date { color: var(--gold-2); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: .9rem; }

/* ------------------------------------------------ prose (tekst iz editora) */

.prose { font-size: 1.04rem; line-height: 1.8; color: #333a26; }
.prose h2 { font-size: 1.7rem; margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.3rem; margin: 1.4em 0 .4em; }
.prose p { margin: 0 0 1.2em; }
.prose img { border-radius: var(--radius); margin: 1.6em 0; box-shadow: var(--shadow-md); }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
    margin: 1.6em 0; padding: 1rem 1.5rem;
    border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-family: var(--ff-display); font-style: italic; font-size: 1.15rem; color: var(--olive);
}
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.post-lead { font-size: 1.22rem; line-height: 1.7; color: var(--olive); font-family: var(--ff-display); margin-bottom: 2rem; }

/* ------------------------------------------------ spec red, share, paginacija */

.spec-row {
    list-style: none; margin: 0 0 2.4rem; padding: 1.3rem 1.6rem;
    display: flex; flex-wrap: wrap; gap: 1.2rem 2.8rem;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.spec-row li { display: flex; flex-direction: column; gap: .1rem; }
.spec-row span { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); }
.spec-row strong { font-size: 1rem; color: var(--pine); }

.single-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

.post-share {
    display: flex; flex-wrap: wrap; align-items: center; gap: .7rem;
    margin: 2.6rem 0 2rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
    font-size: .88rem; color: var(--ink-2);
}
.share-btn {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px;
    font-size: .8rem; font-weight: 600; color: var(--ink);
    transition: all .3s;
}
.share-btn:hover { border-color: var(--olive); color: var(--olive); transform: translateY(-2px); }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a {
    width: 42px; height: 42px; display: grid; place-items: center;
    border: 1.5px solid var(--line); border-radius: 50%; font-weight: 600; color: var(--ink-2);
    transition: all .3s;
}
.pagination a:hover { border-color: var(--olive); color: var(--olive); }
.pagination a.on { background: var(--olive); border-color: var(--olive); color: var(--paper); }

.filter-pills { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.4rem; }
.pill {
    padding: .55rem 1.25rem; border: 1.5px solid var(--line); border-radius: 999px;
    font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
    background: var(--paper); transition: all .3s;
}
.pill:hover { border-color: var(--moss); color: var(--olive); }
.pill.on { background: var(--olive); border-color: var(--olive); color: var(--paper); }

/* ------------------------------------------------ destinacije feature */

.dest-list { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.dest-feature {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: center;
}
.dest-feature.is-flip .dest-feature-media { order: 2; }
.dest-feature-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/2; }
.dest-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.dest-feature:hover .dest-feature-media img { transform: scale(1.05); }
.dest-num { font-family: var(--ff-display); font-size: 3rem; color: var(--sage); line-height: 1; display: block; margin-bottom: .6rem; }
.dest-tagline { font-family: var(--ff-display); font-style: italic; font-size: 1.2rem; color: var(--moss); margin: -.2rem 0 1rem; }

/* ------------------------------------------------ smeštaj single, galerija */

.stay-layout { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start; }
.stay-side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: flex; flex-direction: column; gap: 1.4rem; }
.contact-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-sm);
}
.contact-card.is-gold { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-sm); }
.contact-card h3 { margin-bottom: 1.1rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: 2.2rem; }
.gallery-item {
    position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3;
    padding: 0; border: none; cursor: zoom-in; background: var(--sage-2); display: block;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-zoom {
    position: absolute; inset: 0; display: grid; place-items: center;
    color: #fff; background: rgba(28, 34, 18, .28); opacity: 0; transition: opacity .3s var(--ease);
}
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }
.gallery-zoom svg { filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }

/* ------------------------------------------------ lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20, 24, 14, .92); backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
    overscroll-behavior: contain; touch-action: none;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-stage { position: relative; width: 100%; height: 100%; overflow: hidden; cursor: grab; }
.lightbox-stage.dragging { cursor: grabbing; }
.lightbox-img {
    position: absolute; top: 50%; left: 50%;
    max-width: 92vw; max-height: 88vh; width: auto; height: auto;
    border-radius: 8px; box-shadow: 0 30px 90px rgba(0,0,0,.5);
    transform: translate(-50%, -50%) scale(1); transform-origin: center center;
    transition: transform .25s var(--ease); will-change: transform;
    user-select: none; -webkit-user-drag: none;
}
.lightbox-stage.dragging .lightbox-img, .lightbox-stage.zooming .lightbox-img { transition: none; }
.lightbox-btn {
    position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer;
    background: rgba(251, 249, 241, .12); color: #fff; border: 1.5px solid rgba(251,249,241,.35);
    backdrop-filter: blur(6px); transition: all .25s var(--ease);
}
.lightbox-btn:hover { background: var(--olive); border-color: var(--olive); transform: scale(1.06); }
.lightbox-close { top: 1.3rem; right: 1.3rem; }
.lightbox-prev { left: 1.3rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.3rem; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-hint {
    position: absolute; bottom: 1.3rem; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(251,249,241,.75); font-size: .78rem; letter-spacing: .06em;
    background: rgba(20,24,14,.5); padding: .5rem 1.1rem; border-radius: 999px; white-space: nowrap;
}
.lightbox-counter {
    position: absolute; top: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 3;
    color: rgba(251,249,241,.85); font-size: .85rem; font-weight: 600; letter-spacing: .1em;
}
body.lb-open { overflow: hidden; }
@media (max-width: 640px) {
    .lightbox-btn { width: 44px; height: 44px; }
    .lightbox-prev { left: .6rem; } .lightbox-next { right: .6rem; }
    .lightbox-close { top: .8rem; right: .8rem; }
    .lightbox-hint { font-size: .72rem; bottom: .8rem; }
}

/* ------------------------------------------------ o nama */

.about-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3.4rem; align-items: start; }
.about-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.fact-card {
    background: var(--pine); color: var(--sage-2); border-radius: var(--radius);
    padding: 1.8rem; margin-top: 1.4rem;
}
.fact-card h3 { color: var(--paper); }
.fact-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; }
.fact-card li strong { color: var(--gold-2); }
.fact-card p { font-size: .92rem; margin: 0; }
.contact-side .fact-card { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); margin-top: 1.4rem; }
.contact-side .fact-card h3 { color: var(--pine); }

/* ------------------------------------------------ kontakt */

.contact-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: start; }
.contact-form-wrap {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { margin-bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.form-field label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.form-field input, .form-field textarea, .form-field select {
    font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
    padding: .85rem 1.05rem; background: var(--cream);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    transition: all .3s; width: 100%;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    outline: none; border-color: var(--moss); background: #fff; box-shadow: 0 0 0 4px rgba(117, 136, 78, .14);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #b4552e; background: #fdf3ee; }
textarea { resize: vertical; }

.alert {
    display: flex; align-items: flex-start; gap: .8rem;
    padding: 1rem 1.3rem; border-radius: var(--radius-sm); margin-bottom: 1.6rem; font-size: .95rem;
}
.alert svg { flex: none; margin-top: .1rem; }
.alert-success { background: #eaf2df; color: #3d5220; border: 1px solid #c4d6a4; }
.alert-error { background: #fdf0ea; color: #8c3a1a; border: 1px solid #eec4ad; }
.contact-dark li { color: var(--ink-2); }
.contact-dark a { color: var(--olive); font-weight: 600; }

/* ------------------------------------------------ 404 */

.nf-section { min-height: 70svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 2rem); }
.nf-inner { text-align: center; max-width: 560px; }
.nf-code {
    font-family: var(--ff-display); font-size: clamp(6rem, 16vw, 11rem); line-height: 1;
    color: transparent; -webkit-text-stroke: 2px var(--sage); margin: 0 0 .5rem;
}
.nf-inner p { color: var(--ink-2); margin-bottom: 2rem; }

.empty-note {
    text-align: center; padding: 3.5rem 1rem; color: var(--ink-2);
    border: 1.5px dashed var(--line); border-radius: var(--radius); background: var(--paper);
}

/* ------------------------------------------------ footer */

.site-footer { background: var(--pine); color: var(--sage-2); position: relative; margin-top: 0; }
.footer-ridge { color: var(--pine); margin-top: -48px; height: 48px; }
.footer-ridge svg { display: block; width: 100%; height: 100%; }
.site-footer .container { padding: 3.6rem 0 0; }
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.6rem;
    padding-bottom: 2.8rem; border-bottom: 1px solid rgba(169, 183, 135, .2);
}
.footer-logo { width: 200px; filter: brightness(0) invert(.94) sepia(.18); }
.footer-brand p { font-size: .92rem; line-height: 1.7; color: var(--sage); margin: 1.1rem 0 1.3rem; }
.footer-social { display: flex; gap: .7rem; }
.footer-social a {
    width: 40px; height: 40px; display: grid; place-items: center;
    border: 1px solid rgba(169, 183, 135, .35); border-radius: 50%; color: var(--sage-2);
    transition: all .3s var(--ease);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--pine); transform: translateY(-3px); }
.footer-col h3 {
    color: var(--paper); font-family: var(--ff-body); font-size: .8rem;
    font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul a { color: var(--sage); font-size: .94rem; transition: all .25s; }
.footer-col ul a:hover { color: var(--gold-2); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; color: var(--sage); font-size: .94rem; }
.footer-contact svg { margin-top: .25rem; flex: none; color: var(--moss); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
    padding: 1.5rem 0 1.7rem; font-size: .84rem; color: var(--sage);
}
.footer-bottom p { margin: 0; }
.footer-note { letter-spacing: .08em; }

/* ------------------------------------------------ back to top */

.back-to-top {
    position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 90;
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--olive); color: var(--paper); border: none; cursor: pointer;
    display: grid; place-items: center;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--pine); transform: translateY(-4px); }

/* ------------------------------------------------ reveal animacije */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ------------------------------------------------ korisne informacije */

.info-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.6rem; align-items: stretch; }
.info-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.8rem; box-shadow: var(--shadow-sm);
}

/* vreme */
.weather-card { display: flex; flex-direction: column; }
.weather-now { display: flex; align-items: center; gap: 1.2rem; padding-bottom: 1.3rem; border-bottom: 1px solid var(--line); }
.weather-ico { font-size: 3.4rem; line-height: 1; }
.weather-meta { display: flex; flex-direction: column; }
.weather-temp { font-family: var(--ff-display); font-size: 2.6rem; color: var(--pine); line-height: 1; }
.weather-label { font-weight: 600; color: var(--olive); margin-top: .2rem; }
.weather-loc { font-size: .85rem; color: var(--ink-2); margin-top: .15rem; }
.weather-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.3rem; }
.wday {
    display: flex; flex-direction: column; align-items: center; gap: .3rem; text-align: center;
    background: var(--cream); border-radius: var(--radius-sm); padding: .9rem .5rem;
}
.wday-name { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--moss); }
.wday-ico { font-size: 1.7rem; line-height: 1; }
.wday-temp { font-size: .92rem; font-weight: 600; color: var(--pine); }
.wday-temp span { color: var(--ink-2); font-weight: 400; }
.weather-src { font-size: .76rem; color: var(--ink-2); margin: 1rem 0 0; text-align: right; }

/* telefoni */
.phones-card h3 { margin-bottom: 1.1rem; }
.phones-list { list-style: none; margin: 0; padding: 0; }
.phones-list li {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem;
}
.phones-list li:last-child { border-bottom: none; }
.phones-list span { color: var(--ink-2); }
.phones-list a { font-weight: 700; color: var(--olive); font-variant-numeric: tabular-nums; white-space: nowrap; }
.phones-list a:hover { color: var(--pine); }
.phones-ours { margin-top: .3rem; padding-top: .9rem !important; border-top: 2px solid var(--sage); border-bottom: none !important; }
.phones-ours span { color: var(--pine); font-weight: 600; }

/* ------------------------------------------------ partneri */

.partners-section { padding: clamp(2.6rem, 5vw, 4rem) 0; background: var(--paper); border-top: 1px solid var(--line); }
.partners-title {
    text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    color: var(--moss); margin: 0 0 2rem;
}
.partners-strip {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 4vw, 3.4rem);
}
.partner-item {
    display: inline-flex; align-items: center; justify-content: center;
    height: 64px; filter: grayscale(1); opacity: .62;
    transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.partner-item img { max-height: 64px; width: auto; max-width: 170px; object-fit: contain; }
.partner-item:hover { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }

/* ------------------------------------------------ mapa */

.map-head { margin-bottom: 1.6rem; }
.map-frame {
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
    border: 1px solid var(--line); line-height: 0;
}
.map-frame iframe { display: block; width: 100%; filter: saturate(.92); }

/* ------------------------------------------------ responsive */

/* duži nazivi u meniju traže više prostora — sakrij CTA ranije, stisni nav */
@media (max-width: 1440px) {
    .header-cta { display: none; }
    .main-nav a { padding: .5rem .5rem; font-size: .73rem; letter-spacing: .03em; }
}
@media (max-width: 1280px) {
    .main-nav a { padding: .48rem .42rem; font-size: .7rem; }
    .main-nav ul { gap: 0; }
}

@media (max-width: 1180px) {
    .cats-grid { grid-template-columns: repeat(3, 1fr); margin-top: -4.6rem; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1120px) {
    :root { --header-h: 72px; }
    /* bez backdrop-filtera: pravio bi containing block za fixed off-canvas meni */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 84vw);
        background: var(--pine); padding: calc(var(--header-h) + 1.5rem) 2rem 2rem;
        transform: translateX(105%); transition: transform .5s var(--ease);
        z-index: 99; overflow-y: auto;
        box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
    }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; gap: .3rem; }
    .main-nav a { color: var(--sage-2); font-size: 1rem; letter-spacing: .05em; padding: .8rem .6rem; border-bottom: 1px solid rgba(169, 183, 135, .14); }
    .main-nav a::after { display: none; }
    .main-nav a.active, .main-nav a:hover { color: var(--gold-2); }
    /* u mobilnom meniju prikaži tekst „Početna", sakrij kućicu */
    .nav-home-icon { display: none; }
    .nav-home-text { display: inline; }
    .nav-toggle { position: relative; z-index: 100; }
    .nav-toggle.open { border-color: rgba(169, 183, 135, .4); }
    .nav-toggle.open span { background: var(--paper); }
    body.nav-open { overflow: hidden; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .stats-band .container { grid-template-columns: 1fr; gap: 2.4rem; }
    .stay-layout, .about-layout, .contact-layout, .info-grid { grid-template-columns: 1fr; }
    .stay-side { position: static; }
    .dest-feature { grid-template-columns: 1fr; }
    .dest-feature.is-flip .dest-feature-media { order: 0; }
    .cta-band { background-attachment: scroll; }
    .event-thumb { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 15.5px; }
    .logo img { width: 152px; }
    .site-header.scrolled .logo img { width: 138px; }
    .cats-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: -3.6rem; }
    .cat-item { padding: 1.1rem .7rem 1rem; }
    .cat-icon { width: 50px; height: 50px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .hero-actions .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .event-row { grid-template-columns: 78px 1fr; padding: 1.1rem 1.2rem; gap: 1.1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .back-to-top { right: 1rem; bottom: 1rem; width: 46px; height: 46px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .spec-row { gap: 1rem 1.8rem; padding: 1.1rem 1.2rem; }
    .hero-scroll { display: none; }
}
