/* ruckice.ba — suptilno poliranje (sloj preko style.css) */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: rgba(185,150,104,.28); }

/* Header: sjena tek kad se skrola */
.site-header { transition: box-shadow .35s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(46,42,38,.09); }

/* Ulazna animacija hero sadržaja */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.045); } to { transform: scale(1); } }
.hero-img, .room-hero img.bg { animation: heroZoom 2.2s ease-out both; }
.hero-content > * { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) both; }
.hero-content .sub { animation-delay: .12s; }
.hero-content p.lead { animation-delay: .24s; }
.hero-content .btn { animation-delay: .38s; }
.room-title > * { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) both; }
.room-title h1 { animation-delay: .1s; }
.room-title p { animation-delay: .22s; }

/* Otkrivanje pri skrolanju */
html.polish .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .8s cubic-bezier(.22,1,.36,1); }
html.polish .reveal.in { opacity: 1; transform: none; }

/* Zlatna linija ispod naslova sekcije */
.section-head h2::after { content: ""; display: block; width: 54px; height: 1px; background: var(--gold); margin: 18px auto 0; }
.section-head.left h2::after { margin-left: 0; }

/* Kartice: mekši, sporiji zoom i profinjeni label */
.cat-card img, .room-chip img { transition: transform 1s cubic-bezier(.22,1,.36,1), filter 1s ease; }
.cat-card:hover img, .room-chip:hover img { filter: brightness(1.05); }
.cat-card .label, .room-chip span { transition: background .3s, color .3s; border: 1px solid rgba(185,150,104,.55); }
/* ugniježdeni interp span ne smije naslijediti stil labela */
.room-chip span .sc-interp, .cat-card .label .sc-interp { position: static; background: transparent; border: 0; padding: 0; backdrop-filter: none; white-space: nowrap; }
.cat-card:hover .label, .room-chip:hover span { color: var(--gold); }

/* Proizvod kartice: tanki okvir koji pozlati na hover */
.prod-card { border: 1px solid rgba(46,42,38,.06); }
.prod-card:hover { border-color: rgba(185,150,104,.45); }

/* Citati i blokovi */
.quote-banner .quote { box-shadow: 0 26px 60px rgba(46,42,38,.16); }
.contact-block, .testi { transition: transform .35s ease, box-shadow .35s ease; }
.contact-block:hover, .testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* Jači kontrast teksta preko slika (hero / slider) */
.hero::after { background: linear-gradient(100deg, rgba(46,42,38,.66) 0%, rgba(46,42,38,.34) 55%, rgba(46,42,38,.10) 100%); }
.room-hero::after { background: linear-gradient(to top, rgba(46,42,38,.74) 0%, rgba(46,42,38,.22) 45%, rgba(46,42,38,0) 70%); }
.hero-content .script { text-shadow: 0 2px 28px rgba(0,0,0,.45); }
.hero-content .sub, .hero-content p.lead, .room-title .eyebrow, .room-title h1, .room-title p { text-shadow: 0 1px 14px rgba(0,0,0,.45); }

/* Hero: logo lockup centriran, "za nameštaj" bliže riječi Ručkice */
.hero-content { margin: 0 auto; text-align: center; }
.hero-content .script { line-height: 1; }
.hero-content .sub { justify-content: center; margin: 10px 0 0; }

/* Hero dugme: transparentno, centrirano, bliže donjoj ivici */
@keyframes fadeOnly { from { opacity: 0; } to { opacity: 1; } }
.btn.hero-cta { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 2; margin: 0; background: rgba(46,42,38,.18); backdrop-filter: blur(3px); border: 1px solid var(--white); color: var(--white); animation: fadeOnly 1s ease .5s both; }
.btn.hero-cta:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* Cover naslovi: tamno staklo sa zlatnim rubom (opcija B) */
.room-hero .container { max-width: none; margin: 0; padding-left: 48px; }
.room-hero .room-title { background: rgba(46,42,38,.32); backdrop-filter: blur(8px); border-left: 2px solid var(--gold); padding: 24px 34px; max-width: 640px; margin-bottom: 48px; }
.room-hero .room-title .eyebrow { color: #D9BE93; opacity: 1; }
.room-hero .room-title h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.room-hero .room-title p { font-size: 1.08rem; opacity: .95; margin: 0; }
.room-title .eyebrow, .room-title h1, .room-title p { text-shadow: none; }

/* Footer: dublja, toplija pozadina sa zlatnim sjajem umjesto jednobojne */
.site-footer { border-top: 2px solid var(--gold); position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 15% 0%, rgba(185,150,104,.16), transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 100%, rgba(185,150,104,.09), transparent 55%),
    linear-gradient(165deg, #33291E 0%, #241E18 55%, #1B1713 100%); }
.site-footer::after { content: "Ručkice"; position: absolute; right: -20px; bottom: -60px; font-family: 'Parisienne', cursive; font-size: 15rem; line-height: 1; color: rgba(185,150,104,.06); pointer-events: none; user-select: none; }
.site-footer .container { position: relative; z-index: 1; }

/* Utisci kupaca u jednom redu */
@media (min-width: 901px) { .testi-grid { grid-template-columns: repeat(4, 1fr); } }

/* Ostale prostorije: svih 5 u jednom redu, od ivice do ivice */
@media (min-width: 901px) { .room-strip { grid-template-columns: repeat(5, 1fr); gap: 20px; } }
.room-chip span { white-space: nowrap; }

/* Misija: kurziv u duhu logoa */
.promo-band h2.mission-quote { font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.1rem); max-width: 880px; margin-left: auto; margin-right: auto; line-height: 1.4; }
.promo-band h2.mission-quote::before { content: ""; display: block; width: 54px; height: 1px; background: var(--gold); margin: 0 auto 22px; }

@media (prefers-reduced-motion: reduce) {
  .hero-img, .room-hero img.bg, .hero-content > *, .room-title > * { animation: none !important; }
  html.polish .reveal { opacity: 1; transform: none; transition: none; }
}
