/* ==========================================================================
   Radionica Javor — konceptualni projekt Nibble IT Services
   Topla svijetla podloga, tamni orah, hrast i šumska zelena.
   ========================================================================== */

@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-opsz-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: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-wght-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: "Source Sans 3"; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F6F2EC;      /* topla svijetla podloga */
  --paper-2: #EEE7DC;    /* mekša podloga odjeljaka */
  --white: #FFFDF9;
  --ink: #2A1F18;        /* tamni orah: tekst (14,4 : 1) */
  --ink-2: #6A5848;      /* sekundarni tekst (6,1 : 1) */
  --line: #E0D5C6;
  --oak: #A8703C;        /* hrast: ukrasi i veliki tekst */
  --oak-text: #8A5A2E;   /* hrast za mali tekst (5,3 : 1) */
  --oak-light: #C9A57E;  /* hrast na tamnoj podlozi (7,0 : 1) */
  --green: #2F4A3A;      /* šumska zelena: gumbi (9,7 : 1 s bijelim) */
  --green-dark: #24372B; /* tamni odjeljci */
  --on-dark: #F3EEE6;
  --on-dark-2: #B9C7BD;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 4px;
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- Osnova ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; }
::selection { background: var(--green); color: var(--white); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--green); color: var(--white); padding: 10px 16px; border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }

.kicker { font: 600 .78rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--oak-text); }

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-light { background: var(--on-dark); color: var(--green-dark); }
.btn-light:hover { background: var(--white); }
.btn-text { padding-inline: 4px; color: var(--ink); text-decoration: underline; text-decoration-color: var(--oak); text-underline-offset: 6px; text-decoration-thickness: 1px; }
.btn-text:hover { text-decoration-thickness: 2px; }

/* ---------- Oznaka konceptualnog projekta ---------- */
.concept-bar { background: var(--ink); color: var(--on-dark); font-size: .84rem; }
.concept-inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; padding-block: 8px; }
.concept-bar p { display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.concept-bar strong { font-weight: 600; }
.concept-extra, .concept-short { color: #CDBFAF; }
.concept-short { display: none; }
.concept-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--oak-light); margin-right: 6px; flex: none; }
.concept-bar a { display: inline-block; padding-block: 3px; color: var(--oak-light); text-decoration: none; white-space: nowrap; }
.concept-bar a:hover { text-decoration: underline; }
@media (max-width: 640px) { .concept-extra { display: none; } .concept-short { display: block; flex-basis: 100%; padding-left: 13px; } }

/* ---------- Zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 242, 236, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; }
.brand-mark .ring-bg { fill: var(--green); }
.brand-mark .ring { fill: none; stroke: var(--oak-light); stroke-width: 1.4; }
.brand-text { display: grid; line-height: 1; }
.brand-small { font: 600 .66rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--oak-text); margin-bottom: 4px; }
.brand-name { font: 500 1.6rem/1 var(--serif); letter-spacing: -.01em; }
.nav ul { display: flex; gap: 30px; list-style: none; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav ul a { background: linear-gradient(var(--oak), var(--oak)) 0 100% / 0 1px no-repeat; transition: background-size .25s, color .2s; }
.nav ul a:hover, .nav ul a[aria-current="true"] { background-size: 100% 1px; }
.nav-cta-mobile { display: none; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); padding: 13px 26px; }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22.5px; transform: rotate(-45deg); }

@media (max-width: 980px) {
  /* backdrop-filter bi postao okvir za fiksni izbornik, pa ga na mobitelu isključujemo */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 112px); bottom: 0;
    background: var(--paper); padding: 16px var(--gutter) 32px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s;
  }
  .nav.open { visibility: visible; opacity: 1; transition: opacity .2s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 16px 0; font: 400 1.6rem/1.2 var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); background: none; }
  .nav-cta-mobile { display: inline-flex; margin-top: 28px; }
}

/* ---------- Naslovnica ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 350; letter-spacing: -.025em; line-height: 1.02; }
.hero h1 em { font-style: italic; color: var(--oak); font-weight: 350; }
.hero-lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); color: var(--ink-2); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding-top: 22px; margin-top: 8px; border-top: 1px solid var(--line); width: 100%; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--oak); }
.hero-media { margin: 0; position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 2px 120px 2px 2px; }
.hero-badge { position: absolute; left: -24px; bottom: 32px; background: var(--white); padding: 16px 20px; border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(42, 31, 24, .35); display: grid; gap: 2px; }
.hero-badge-k { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--oak-text); }
.hero-badge-v { font: 400 1.15rem/1.3 var(--serif); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 4 / 3; border-radius: 2px 72px 2px 2px; }
  .hero-badge { left: 12px; bottom: 12px; padding: 12px 16px; }
}

/* ---------- Sekcije ---------- */
.section { padding-block: var(--section); }
.section-soft { background: var(--paper-2); }
.section-dark { background: var(--green-dark); color: var(--on-dark); }
.section-dark .kicker { color: var(--oak-light); }
.section-head { display: grid; gap: 16px; max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 350; letter-spacing: -.02em; }
.section-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 58ch; }
.section-dark .section-lead { color: var(--on-dark-2); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }
.section-head-row > div { display: grid; gap: 16px; }
.section-note { max-width: 40ch; font-size: .95rem; color: var(--ink-2); border-left: 2px solid var(--oak); padding-left: 14px; }

/* Usluge */
.services { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 36px 28px 8px 0; display: grid; gap: 14px; align-content: start; }
.service + .service { padding-left: 28px; border-left: 1px solid var(--line); }
.service svg { width: 44px; height: 44px; fill: none; stroke: var(--oak); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.55rem; font-weight: 400; }
.service p { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { padding-left: 0; border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0 24px; border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
}

/* Kako radimo */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; }
.step { padding: 0 28px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step::before { content: ""; display: block; height: 1px; background: rgba(243, 238, 230, .25); margin-bottom: 22px; }
.step-no { font: 300 3rem/1 var(--serif); color: var(--oak-light); }
.step h3 { font-size: 1.4rem; font-weight: 400; }
.step p { color: var(--on-dark-2); font-size: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; row-gap: 32px; } .step { padding-right: 0; } }

/* Inspiracija: galerija */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 19vw, 250px); gap: 14px; }
.g-item { position: relative; min-width: 0; }
.g-wide-tall { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-item a { display: block; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 2px; background: var(--paper-2); cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.g-item a:hover img, .g-item a:focus-visible img { transform: scale(1.04); }
.g-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: var(--white);
  font: 400 1.05rem/1.3 var(--serif);
  /* jači prijelaz u donjem dijelu: natpis ostaje čitljiv i na svijetlom drvu (WCAG AA) */
  background: linear-gradient(transparent, rgba(30, 22, 16, .55) 45%, rgba(30, 22, 16, .85));
  text-shadow: 0 1px 2px rgba(20, 15, 11, .55);
}
.g-label::after { content: "+"; position: absolute; right: 16px; bottom: 12px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 253, 249, .6); display: grid; place-items: center; font: 300 1.1rem/1 var(--sans); }
.g-item a:focus-visible { outline: 3px solid var(--oak); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .g-item img { transition: none; } .g-item a:hover img { transform: none; } }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; }
  .g-wide-tall, .g-wide { grid-column: span 2; }
  .g-wide-tall { grid-row: span 1; }
  .g-label { font-size: .95rem; padding: 32px 12px 10px; }
  .g-label::after { width: 26px; height: 26px; right: 10px; bottom: 8px; }
}

/* O radionici */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 7vw, 104px); align-items: start; }
.about-media { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px 2px 2px 120px; }
.about-copy { display: grid; gap: 20px; }
.about-copy .section-head { margin-bottom: 8px; }
.about-copy > p { color: var(--ink-2); max-width: 58ch; }
.woods-title { font-size: 1.5rem; font-weight: 400; margin-top: 20px; }
.woods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.woods div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.woods dt { font: 500 1.15rem/1.3 var(--serif); margin-bottom: 4px; }
.woods dd { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .about-media img { aspect-ratio: 3 / 2; border-radius: 2px 2px 2px 72px; }
}
@media (max-width: 520px) { .woods { grid-template-columns: 1fr; } }

/* Posjet */
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.visit-copy { display: grid; gap: 18px; }
.visit-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 350; letter-spacing: -.02em; }
.visit-copy > p { color: var(--ink-2); max-width: 50ch; }
.hours { border-collapse: collapse; width: 100%; max-width: 440px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font: 400 1.3rem/1.3 var(--serif); padding-bottom: 10px; }
.hours caption span { font: 400 .85rem var(--sans); color: var(--ink-2); }
.hours th, .hours td { padding: 12px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--line); }
.map-card { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 2px 96px 2px 2px; overflow: hidden; background: var(--paper-2); }
.map-card svg { width: 100%; height: 100%; display: block; }
.map-bg { fill: #EAE2D5; }
.map-park { fill: #D9DFCF; }
.map-water { fill: #D3DDDD; }
.map-road path { stroke: var(--white); stroke-width: 9; fill: none; }
.map-road-thin path { stroke: var(--white); stroke-width: 4; fill: none; opacity: .9; }
.map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); width: 34px; height: 34px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(36, 55, 43, .6); }
.map-pin span { width: 11px; height: 11px; border-radius: 50%; background: var(--oak-light); }
.map-note { position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgba(255, 253, 249, .94); padding: 10px 14px; border-radius: var(--radius); font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } .map-card { border-radius: 2px 64px 2px 2px; } }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy { display: grid; gap: 18px; }
.contact-copy h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 350; letter-spacing: -.02em; }
.contact-copy > p { color: var(--on-dark-2); max-width: 46ch; }
.contact-info { margin-top: 14px; padding-top: 20px; border-top: 1px solid rgba(243, 238, 230, .2); display: grid; gap: 6px; }
.contact-info-title { font: 400 1.25rem/1.3 var(--serif); }
.contact-info p:not(.contact-info-title) { color: var(--on-dark-2); font-size: .96rem; max-width: 46ch; }
.form { display: grid; gap: 20px; background: rgba(243, 238, 230, .05); border: 1px solid rgba(243, 238, 230, .16); border-radius: 2px 48px 2px 2px; padding: clamp(22px, 3.5vw, 40px); }
.form-demo { font-size: .95rem; color: var(--on-dark); background: rgba(201, 165, 126, .14); border-left: 2px solid var(--oak-light); padding: 12px 14px; }
.form-demo strong { color: #E6CCAB; font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 600; color: var(--on-dark); }
.field .opt { font-weight: 400; color: var(--on-dark-2); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem var(--sans); color: var(--on-dark);
  background: transparent; border: 0; border-bottom: 1px solid rgba(243, 238, 230, .35);
  padding: 10px 0; min-height: 46px; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-2) 50%), linear-gradient(135deg, var(--on-dark-2) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field select option { color: var(--ink); background: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: #A3B3A8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--oak-light); box-shadow: 0 1px 0 var(--oak-light); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-status { font-size: .95rem; color: var(--oak-light); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { border-radius: 2px 32px 2px 2px; } }

/* Podnožje */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: 56px 40px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px 64px; }
.footer-brand { display: grid; gap: 8px; align-content: start; }
.footer-name { font: 400 1.7rem/1.1 var(--serif); }
.footer-brand p:not(.footer-name) { color: #CDBFAF; }
.footer-concept { margin-top: 12px; }
.site-footer a { color: var(--oak-light); }
.credits { display: grid; gap: 10px; align-content: start; }
.credits-title { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--oak-light); }
.credits > p:not(.credits-title) { color: #CDBFAF; }
.credits ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 24px; margin-top: 4px; }
.credits li a { display: inline-block; padding-block: 3px; text-decoration: none; color: var(--on-dark); }
.credits li a:hover { color: var(--oak-light); text-decoration: underline; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .credits ul { grid-template-columns: 1fr; } }

/* ---------- Uvećani prikaz (lightbox) ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(20, 15, 11, .94); color: var(--on-dark); }
.lightbox::backdrop { background: rgba(20, 15, 11, .6); }
.lb-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 72px 24px; touch-action: pan-y; }
.lb-figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: min(1400px, 100%); max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lb-figure figcaption { text-align: center; font-size: .95rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
#lb-caption { font: 400 1.15rem/1.3 var(--serif); }
.lb-credit, .lb-count { color: #CDBFAF; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243, 238, 230, .35); background: rgba(20, 15, 11, .5); color: var(--on-dark); font: 300 2rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.lb-btn:hover { background: rgba(243, 238, 230, .14); border-color: var(--on-dark); }
.lb-close { top: 16px; right: 16px; font-size: 1.8rem; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-figure img.is-changing { opacity: 0; }
.lb-figure img { transition: opacity .2s; }
@media (max-width: 640px) {
  .lb-inner { padding: 64px 12px 96px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
  .lb-figure img { max-height: calc(100vh - 220px); }
}

/* ---------- Umjerene animacije ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .hero-copy > * { animation: rise .8s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(n+4) { animation-delay: .24s; }
  .hero-media { animation: rise 1s .1s ease both; }
}
