/* Keragos — paleta usklađena sa zelenim logotipom (šuma / keramika) */
:root {
  --bg: #f3f6f4;
  --bg-card: #ffffff;
  --ink: #141d17;
  --muted: #4d564f;
  --accent: #2f5c3e;
  --accent-soft: #6a9e7c;
  --line: #d8e4dc;
  --hero-overlay: rgba(12, 28, 18, 0.58);
  --radius: 12px;
  --shadow: 0 18px 50px rgba(20, 32, 25, 0.08);
  --max: 1120px;
  --header-h: 72px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.skip {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  outline: 2px solid var(--accent-soft);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 246, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  display: block;
  width: 180px;
  object-fit: contain;
}
.logo:hover {
  text-decoration: none;
  color: var(--accent);
}
.logo:hover img {
  opacity: 0.92;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition:
    transform 0.2s,
    opacity 0.2s;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.nav-list a:hover {
  color: var(--accent);
  text-decoration: none;
}
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-trigger {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}
.nav-dropdown-trigger:hover {
  color: var(--accent);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 15rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 120;
}
.nav-dropdown-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.55rem 1rem;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.nav-dropdown-item:hover {
  background: var(--bg);
  color: var(--accent);
}
a.nav-dropdown-item {
  text-decoration: none;
  color: var(--ink);
}
a.nav-dropdown-item:hover {
  text-decoration: none;
}
@media (max-width: 768px) {
  .nav-dropdown-wrap {
    border-bottom: 1px solid var(--line);
  }
  .nav-dropdown-trigger {
    display: block;
    width: 100%;
    padding: 0.85rem 0;
  }
  .nav-dropdown {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin: 0 0 0.5rem;
    padding: 0 0 0.5rem 0.75rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-dropdown-item {
    padding: 0.6rem 0;
    font-size: 0.95rem;
  }
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  background: var(--ink);
  color: #fff !important;
  border-radius: 999px;
  font-size: 0.9rem;
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--bg-card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .site-nav.is-open {
    max-height: 560px;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }
  .nav-list li {
    border-bottom: 1px solid var(--line);
  }
  .nav-list li:last-child {
    border-bottom: none;
    padding-top: 0.75rem;
  }
  .nav-list a {
    display: block;
    padding: 0.85rem 0;
  }
  .nav-cta {
    width: 100%;
    text-align: center;
  }
}
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 4rem 1.25rem;
  background:
    linear-gradient(135deg, var(--hero-overlay) 0%, rgba(10, 26, 16, 0.78) 100%),
    url('img/unutarnja_keramika/IMG-20260108-WA0006.jpg') center/cover no-repeat;
}
.hero-inner {
  max-width: 720px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-lead {
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  opacity: 0.95;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.btn-primary {
  background: var(--accent-soft);
  color: #fff;
  border-color: var(--accent-soft);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.25rem;
}
.section-alt {
  background: var(--bg-card);
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}
.section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.services-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 3.5rem);
}
.service-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2rem);
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(20, 32, 25, 0.04);
}
.service-block-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.2;
}
.service-desc {
  margin-bottom: 1.25rem;
  max-width: 68ch;
}
@media (min-width: 900px) {
  .service-desc {
    max-width: none;
    width: 100%;
  }
}
.service-desc p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.service-desc p + p {
  margin-top: 1rem;
}
.service-slider {
  margin-top: 0.25rem;
}
.service-slider-viewport {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #e4ebe7;
}
.service-slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}
.service-slider-slide {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
  padding: 0;
}
.service-slider-slide img {
  display: block;
  width: 100%;
  height: clamp(200px, 42vw, 380px);
  object-fit: cover;
}
.service-slider-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.service-slider-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.service-slider-btn:hover {
  background: var(--bg);
  border-color: var(--accent-soft);
  color: var(--accent);
}
.service-slider-btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
.service-slider-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.service-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 0;
}
.service-slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
.service-slider-dot:hover {
  background: #a8b6ae;
}
.service-slider-dot[aria-selected='true'] {
  background: var(--accent);
  transform: scale(1.15);
}
.service-slider-dot:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}

/* About */
.about-section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto clamp(2rem, 5vw, 3rem);
}
.about-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
}
.about-section-head h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.65rem);
  font-weight: 600;
  margin: 0 0 1rem;
  line-height: 1.15;
}
.about-intro {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--muted);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}
.about-figure {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
}
.about-figure-frame {
  position: relative;
}
.about-figure-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: clamp(300px, 58vh, 620px);
}
.about-figure-media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.about-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.about-photo-caption {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}
@media (min-width: 901px) {
  .about-photo-caption {
    text-align: left;
  }
}
.about-stat-card {
  position: absolute;
  right: -0.35rem;
  bottom: 1.25rem;
  max-width: 11.5rem;
  padding: 1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(20, 32, 25, 0.12);
}
@media (max-width: 900px) {
  .about-stat-card {
    right: 0.75rem;
    bottom: 3.25rem;
  }
}
.about-stat-value {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.about-stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Stupci vrijednosti — vrh about-main */
.about-main .about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
@media (max-width: 640px) {
  .about-main .about-pillars {
    grid-template-columns: 1fr;
  }
}
.about-main .about-pillar {
  padding: 0.85rem 1rem;
  background: var(--bg);
  border-radius: 10px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent-soft);
}
.about-main .about-pillar-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.35rem;
}
.about-main .about-pillar-text {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}
.about-quote--sidebar {
  margin: 0;
  padding: 1.1rem 1.15rem 1.1rem 1.25rem;
  border-left: 4px solid var(--accent-soft);
  background: linear-gradient(105deg, rgba(47, 92, 62, 0.12) 0%, rgba(243, 246, 244, 0.65) 55%, transparent 100%);
  border-radius: 0 10px 10px 0;
}
.about-quote--sidebar p {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.about-main {
  min-width: 0;
}
.about-body p {
  margin: 0 0 1rem;
  color: var(--ink);
  line-height: 1.68;
  font-size: 1.02rem;
}
.about-cta-wrap {
  margin: 1.5rem 0 0;
}
.about-cta {
  display: inline-flex;
}

.section-contact {
  background: #e6ede8;
}
.contact-block {
  max-width: 100%;
  margin: 0 auto;
}
.contact-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.contact-section-title {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.85rem;
  line-height: 1.25;
}
.contact-section-intro {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.contact-layout-form {
  min-width: 0;
}
.contact-aside {
  text-align: left;
  padding: 0.25rem 0 1rem;
}
@media (min-width: 861px) {
  .contact-aside {
    padding-top: 0.5rem;
    padding-left: clamp(0.5rem, 2vw, 1.25rem);
    border-left: 1px solid var(--line);
  }
}
.contact-aside-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 0;
}
.contact-aside-brand img {
  display: block;
  width: clamp(140px, 42vw, 200px);
  height: auto;
  object-fit: contain;
}
.contact-aside-line {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.contact-aside-list {
  margin: 0;
  padding: 0;
}
.contact-aside-item {
  margin-bottom: 1.15rem;
}
.contact-aside-item:last-of-type {
  margin-bottom: 0;
}
.contact-aside-item dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin: 0 0 0.25rem;
}
.contact-aside-item dd {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.contact-aside-item a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.contact-aside-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.contact-social-label {
  margin: 1.75rem 0 0.65rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}
.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  color: var(--ink);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(20, 32, 25, 0.06);
  transition:
    color 0.2s,
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.contact-social-link:hover {
  color: var(--accent);
  border-color: var(--accent-soft);
  box-shadow: 0 6px 16px rgba(20, 32, 25, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}
.contact-form {
  margin-top: 0;
  text-align: left;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form-status {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  line-height: 1.45;
}
.contact-form-status.is-success {
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  border: 1px solid rgba(46, 125, 50, 0.35);
}
.contact-form-status.is-error {
  background: rgba(183, 28, 28, 0.08);
  color: #7f1d1d;
  border: 1px solid rgba(183, 28, 28, 0.3);
}
.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.form-field {
  margin-bottom: 1rem;
}
.form-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 540px) {
  .form-field-row {
    grid-template-columns: 1fr;
  }
}
.form-field-grow {
  min-width: 0;
}
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.form-required {
  color: var(--accent);
  font-weight: 700;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-card);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.form-textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.55;
}
.form-input:hover,
.form-textarea:hover {
  border-color: #c5d1c9;
}
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(106, 158, 124, 0.28);
}
.contact-form-footer {
  margin-top: 1.25rem;
}
.contact-form-submit {
  width: 100%;
  min-width: 0;
}
.btn-contact-submit {
  border-radius: 10px;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(180deg, var(--accent-soft) 0%, var(--accent) 100%);
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(30, 61, 43, 0.32);
  font-weight: 700;
}
.btn-contact-submit:hover:not(:disabled) {
  filter: brightness(1.05);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(30, 61, 43, 0.38);
}
.btn-contact-submit:disabled {
  box-shadow: none;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.site-footer {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer p {
  margin: 0.35rem 0;
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.site-footer strong {
  color: #fff;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

/* Galerija — podstranice + lightbox */
.gallery-page {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.gallery-breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}
.gallery-breadcrumb a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.gallery-breadcrumb a:hover {
  text-decoration: underline;
}
.gallery-page-head {
  margin-bottom: 2rem;
}
.gallery-page-head h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.15;
}
.gallery-page-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 52ch;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-item {
  margin: 0;
}
.gallery-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 4px 20px rgba(20, 32, 25, 0.06);
  transition:
    box-shadow 0.25s,
    border-color 0.25s;
}
.gallery-thumb:hover {
  border-color: var(--accent-soft);
  box-shadow: 0 8px 28px rgba(20, 32, 25, 0.1);
}
.gallery-thumb:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
.gallery-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-back {
  margin: 2.5rem 0 0;
}
.gallery-back .btn {
  text-decoration: none;
}
.gallery-back .btn:hover {
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 3.5rem;
}
.lightbox[hidden] {
  display: none;
}
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 8, 0.92);
  cursor: pointer;
}
.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  background: rgba(22, 38, 28, 0.88);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(47, 92, 62, 0.92);
  border-color: var(--accent-soft);
}
.lightbox__close {
  top: 1rem;
  right: 1rem;
}
.lightbox__prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
@media (max-width: 600px) {
  .lightbox {
    padding: 2.5rem 0.5rem;
  }
  .lightbox__prev {
    left: 0.25rem;
  }
  .lightbox__next {
    right: 0.25rem;
  }
}

