/* ruckice.ba — stil na krem osnovi, vođen Majinim skicama */

/* ---------- Fontovi (lokalno hostovani, latin + latin-ext) ---------- */
@font-face { font-family: 'Parisienne'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/parisienne-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Parisienne'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/parisienne-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/jost-latin-ext-300-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/jost-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/jost-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/jost-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #FBF6EC;
  --bg-soft: #F5EDDD;
  --ink: #2E2A26;
  --muted: #8A8178;
  --gold: #B99668;
  --white: #FFFFFF;
  --shadow: 0 18px 40px rgba(46, 42, 38, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', 'Segoe UI', sans-serif; font-weight: 300;
  background: var(--bg); color: var(--ink); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 236, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(46, 42, 38, .08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; }
.brand .brand-script { font-family: 'Parisienne', cursive; font-size: 2rem; color: var(--ink); }
.brand .brand-sub { font-size: .58rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-left: 2px; }

.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav > li { list-style: none; position: relative; }
.main-nav a {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 8px 0; display: inline-block;
}
.main-nav > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold); transition: width .3s ease;
}
.main-nav > li:hover > a::after, .main-nav > li > a.active::after { width: 100%; }
.main-nav a.soon { color: var(--muted); cursor: default; }
.main-nav .has-sub > a::before { content: "▾"; float: right; margin-left: 6px; font-size: .7rem; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: -18px; min-width: 250px;
  background: var(--white); list-style: none; padding: 12px 0;
  box-shadow: var(--shadow); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub-menu a {
  display: block; padding: 8px 20px; text-transform: none; letter-spacing: .04em; font-size: .92rem;
}
.main-nav .sub-menu a:hover { background: var(--bg-soft); color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav-toggle span { display: block; height: 1.5px; width: 24px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; transform-origin: center; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; overflow: hidden; display: flex; align-items: center; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(46,42,38,.42) 0%, rgba(46,42,38,.12) 55%, rgba(46,42,38,0) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 620px; }
.hero-content .script { font-family: 'Parisienne', cursive; font-size: clamp(3.6rem, 8vw, 6.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero-content .sub { display: flex; align-items: center; gap: 18px; font-size: .85rem; letter-spacing: .5em; text-transform: uppercase; margin: 6px 0 26px; }
.hero-content .sub::before, .hero-content .sub::after { content: ""; height: 1px; width: 56px; background: var(--white); opacity: .8; }
.hero-content p.lead { font-size: 1.15rem; max-width: 460px; margin-bottom: 34px; }

.btn {
  display: inline-block; padding: 14px 38px; border: 1px solid var(--white); color: var(--white);
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn.dark { border-color: var(--ink); color: var(--ink); }
.btn.dark:hover { background: var(--ink); color: var(--bg); }

/* ---------- Sekcije ---------- */
.section { padding: 90px 0; }
.section.tight { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head.left { text-align: left; }
.section-head .eyebrow { font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.section-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.15; }
.section-head p.desc { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 1.02rem; }
.section-head.left p.desc { margin-left: 0; }

/* ---------- Grid kartica sa labelom ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.cat-card { position: relative; overflow: hidden; display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .label {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255,255,255,.92); color: var(--ink);
  padding: 9px 20px; font-size: .86rem; letter-spacing: .1em; transition: background .3s; max-width: calc(100% - 36px);
}
.cat-card:hover .label { background: var(--white); }
.cat-card.centered .label { left: 50%; bottom: 22px; transform: translateX(-50%); font-weight: 500; white-space: nowrap; }

/* ---------- Banner sa citatom (Ideje) ---------- */
.quote-banner { position: relative; min-height: 62vh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.quote-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote-banner .quote {
  position: relative; z-index: 2; margin: 0 24px 48px; background: rgba(251,246,236,.94);
  padding: 26px 40px; font-family: 'Cormorant Garamond', serif; font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.3; text-align: center; max-width: 900px; border-top: 2px solid var(--gold);
}
.quote-banner .quote small { display: block; font-family: 'Jost', sans-serif; font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.quote-banner.short { min-height: 46vh; }

/* ---------- Room hero (podstranice) ---------- */
.room-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.room-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,42,38,.6) 0%, rgba(46,42,38,0) 55%); }
.room-hero .room-title { position: relative; z-index: 2; color: var(--white); padding-bottom: 56px; }
.room-hero .room-title .eyebrow { font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; opacity: .85; margin-bottom: 8px; }
.room-hero .room-title h1 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.05; margin-bottom: 14px; }
.room-hero .room-title p { max-width: 620px; font-size: 1.12rem; }

/* ---------- Product grid ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.prod-card { background: var(--white); padding: 24px 22px 22px; text-align: center; transition: transform .35s ease, box-shadow .35s ease; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prod-card .ph { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden; }
.prod-card .ph img { max-height: 100%; max-width: 100%; object-fit: contain; }
.prod-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 1.35rem; }
.prod-card p { font-size: .8rem; color: var(--muted); letter-spacing: .06em; }

/* ---------- Prostorije: prelazak na ostale ---------- */
.room-switch { padding-top: 0; }
.room-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.room-chip { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.room-chip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-chip:hover img { transform: scale(1.06); }
.room-chip span { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.92); padding: 6px 14px; font-size: .78rem; letter-spacing: .1em; }
.main-nav .sub-menu li.sep { height: 1px; background: rgba(46,42,38,.08); margin: 8px 20px; }
.main-nav .sub-menu a.current { color: var(--gold); }

.room-strip.cats { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)) !important; }
.room-strip.cats .room-chip span { white-space: normal; font-size: .72rem; line-height: 1.3; left: 10px; bottom: 10px; max-width: calc(100% - 20px); }
.empty-note { text-align: center; color: var(--muted); font-size: 1.05rem; }
.empty-note a { color: var(--gold); text-decoration: underline; }

/* ---------- Promo band ---------- */
.promo-band { background: var(--bg-soft); text-align: center; padding: 80px 24px; }
.promo-band h2 { font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 26px; }

/* ---------- O nama ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.numbers { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(46,42,38,.08); border: 1px solid rgba(46,42,38,.08); }
.numbers div { background: var(--white); padding: 40px 20px; text-align: center; }
.numbers strong { display: block; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: 3rem; line-height: 1; color: var(--ink); }
.numbers span { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.about-text p { margin-bottom: 16px; font-size: 1.02rem; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.testi { background: var(--white); padding: 34px 30px; border-top: 2px solid var(--gold); }
.testi p { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; line-height: 1.4; margin-bottom: 18px; }
.testi cite { font-style: normal; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }

/* ---------- Kontakt sekcija ---------- */
.contact-section { padding-bottom: 100px; }
.contact-section .contact-lead { max-width: 620px; margin: 18px auto 0; color: var(--muted); font-size: 1.02rem; }
.contact-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; max-width: 860px; margin: 0 auto; text-align: center; }
.contact-block { background: var(--white); padding: 34px 26px; border-top: 2px solid var(--gold); }
.contact-block h4 { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 400; }
.contact-block p { font-size: .98rem; }
.contact-block a:hover { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #2E2A26; color: #CFC8BD; padding: 64px 0 40px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; }
.footer-main { max-width: 340px; }
.footer-logo { width: 149px; height: auto; margin-bottom: 18px; }
.footer-mission { font-size: .9rem; line-height: 1.7; }
.site-footer .cols { display: flex; gap: 64px; flex-wrap: wrap; }
.site-footer h4 { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 400; }
.site-footer ul { list-style: none; font-size: .92rem; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--bg); }
.site-footer .copy { width: 100%; text-align: center; font-size: .74rem; letter-spacing: .12em; color: #8A8178; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; margin-top: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header .container { height: auto; flex-wrap: wrap; padding: 12px 20px; gap: 10px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 4px; padding-bottom: 10px; }
  .main-nav.open { display: flex; }
  .main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; padding: 0 0 6px 14px; display: none; }
  .main-nav .has-sub.open .sub-menu { display: block; }
  .hero { min-height: 64vh; }
  .section { padding: 60px 0; }
  .quote-banner .quote { padding: 18px 22px; }
  .btn.hero-cta { white-space: nowrap; padding: 12px 26px; }
  .main-nav .sub-menu { width: 100%; }
}
