:root {
  --ink: #241e18;
  --muted: #695e53;
  --paper: #f6f0e5;
  --paper-2: #e9dcc8;
  --cream: #fffaf1;
  --charcoal: #11100d;
  --green: #203f36;
  --green-soft: #dfe8df;
  --red: #b44931;
  --red-dark: #863523;
  --gold: #dfb56f;
  --line: rgba(36, 30, 24, 0.13);
  --light-line: rgba(255, 250, 241, 0.18);
  --radius: 8px;
  --shadow: 0 22px 60px rgba(38, 25, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

body::selection {
  background: var(--green);
  color: var(--cream);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

#sadrzaj,
#o-nama,
#ponuda,
#ambijent,
#kontakt {
  scroll-margin-top: 84px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-140%);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 850;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  color: var(--cream);
  background:
    linear-gradient(rgba(17, 16, 13, 0.9), rgba(17, 16, 13, 0.22)),
    rgba(17, 16, 13, 0.2);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: clamp(88px, 10vw, 108px);
  height: auto;
  object-fit: contain;
  filter: brightness(1.45) contrast(1.08);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 250, 241, 0.82);
  font-size: 0.94rem;
}

.nav a:hover {
  color: var(--cream);
}

.phone {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--red);
  color: var(--cream);
  font-weight: 850;
  white-space: nowrap;
}

.phone:hover {
  background: var(--red-dark);
}

.hero {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  color: var(--cream);
  background: var(--charcoal);
}

.hero-bg,
.hero-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: cover;
  object-position: center;
}

.hero-tint {
  background:
    radial-gradient(circle at 70% 44%, rgba(180, 73, 49, 0.18), transparent 27%),
    linear-gradient(90deg, rgba(17, 16, 13, 0.91) 0%, rgba(17, 16, 13, 0.66) 42%, rgba(17, 16, 13, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 16, 13, 0.7), rgba(17, 16, 13, 0.08) 58%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  min-height: 92svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 660px) minmax(280px, 390px);
  gap: clamp(32px, 7vw, 92px);
  align-items: end;
  padding: 122px 0 58px;
}

.hero-panel {
  align-self: center;
}

.label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.label.dark {
  color: var(--green);
}

h1,
h2 {
  margin: 0;
  font-family: Lora, Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  font-size: clamp(3.15rem, 6.3vw, 6.2rem);
  font-weight: 660;
}

h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.25rem);
  font-weight: 640;
}

.lead,
.contact p,
.river-grid p,
.signature-copy > p,
.intro-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero .lead {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 250, 241, 0.83);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 850;
  text-align: center;
}

.btn.primary {
  background: var(--red);
  color: var(--cream);
}

.btn.primary:hover {
  background: var(--red-dark);
}

.btn.subtle {
  border: 1px solid rgba(255, 250, 241, 0.34);
  background: rgba(255, 250, 241, 0.08);
  color: var(--cream);
}

.btn.subtle:hover {
  border-color: rgba(255, 250, 241, 0.68);
  background: rgba(255, 250, 241, 0.13);
}

.hero-info {
  display: grid;
  gap: 12px;
  align-self: end;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(17, 16, 13, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero-info span,
.contact-card span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-info strong,
.contact-card strong {
  display: block;
  color: var(--cream);
  line-height: 1.35;
}

.mobile-section-nav {
  display: none;
}

.intro {
  padding: clamp(74px, 9vw, 120px) 0;
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 0.92fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.intro-copy p,
.signature-copy > p,
.river-grid p,
.contact p {
  margin: 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.trust-row div {
  border-top: 2px solid rgba(180, 73, 49, 0.72);
  padding-top: 12px;
}

.trust-row span {
  display: block;
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-row strong {
  display: block;
  max-width: 18ch;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.35;
}

.signature {
  padding: clamp(74px, 9vw, 124px) 0;
  background: linear-gradient(90deg, var(--paper-2) 0 48%, var(--green-soft) 48% 100%);
}

.signature-grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.86fr) minmax(0, 0.9fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
}

.signature-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.signature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms ease;
}

.signature-photo:hover img {
  transform: scale(1.025);
}

.signature-copy > p {
  max-width: 610px;
  margin-top: 22px;
}

.offer-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.offer-list div {
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 0 14px 18px;
  background: rgba(255, 250, 241, 0.45);
}

.offer-list strong,
.offer-list span {
  display: block;
}

.offer-list strong {
  font-size: 1.06rem;
}

.offer-list span {
  margin-top: 3px;
  color: var(--muted);
}

.river-band {
  padding: clamp(66px, 8vw, 110px) 0;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(32, 63, 54, 0.94), rgba(17, 16, 13, 0.66)),
    url("assets/river-dessert-1600.webp") center / cover;
}

.river-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.78fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: end;
}

.river-grid p {
  color: rgba(255, 250, 241, 0.76);
}

.ambience {
  padding: clamp(74px, 9vw, 124px) 0;
  background: var(--paper);
}

.section-title {
  max-width: 790px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: repeat(2, minmax(250px, auto));
  gap: 18px;
}

.photo-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 16px 44px rgba(42, 29, 17, 0.1);
}

.photo-card.large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.photo-card div {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
}

.photo-card h3 {
  margin: 0 0 7px;
  font-size: 1.22rem;
}

.photo-card p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  padding: clamp(70px, 8vw, 112px) 0;
  background: var(--paper-2);
}

.gallery-layout {
  display: grid;
  grid-template-columns: 0.48fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.gallery-layout h2 {
  font-size: clamp(2rem, 3.7vw, 3.75rem);
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 15px 42px rgba(42, 29, 17, 0.1);
}

.gallery-strip img:first-child {
  grid-row: span 2;
}

.contact {
  padding: clamp(74px, 9vw, 124px) 0;
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.92), rgba(32, 63, 54, 0.9)),
    url("assets/coffee-river-1500.webp") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.contact p {
  max-width: 570px;
  margin-top: 22px;
  color: rgba(255, 250, 241, 0.74);
}

.contact-card {
  overflow: hidden;
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  background: rgba(17, 16, 13, 0.48);
  backdrop-filter: blur(13px);
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card > a,
.contact-card > div:not(.social) {
  display: block;
  padding: 21px 23px;
  border-bottom: 1px solid var(--light-line);
}

.contact-card > a:hover {
  background: rgba(255, 250, 241, 0.07);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 21px 23px 23px;
}

.social a {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 50%;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.social svg,
.footer-social svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.social a:last-child svg,
.footer-social a:last-child svg {
  fill: currentColor;
  stroke: none;
}

.social a:hover {
  border-color: rgba(255, 250, 241, 0.44);
  background: var(--red-dark);
}

.footer {
  background:
    linear-gradient(180deg, #12100d 0%, #0b0907 100%);
  color: rgba(255, 250, 241, 0.72);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.78fr) minmax(180px, 0.58fr);
  gap: clamp(28px, 6vw, 76px);
  padding: 42px 0;
  align-items: start;
}

.footer-brand img {
  width: 148px;
  height: auto;
  object-fit: contain;
  filter: brightness(1.45) contrast(1.08);
}

.footer-brand p {
  max-width: 410px;
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 1.02rem;
}

.footer-block {
  display: grid;
  gap: 9px;
}

.footer-block span {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-block a,
.footer-block p {
  margin: 0;
  color: rgba(255, 250, 241, 0.78);
}

.footer-block a {
  width: fit-content;
  transition: color 180ms ease;
}

.footer-block a:hover {
  color: var(--cream);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 50%;
}

.footer-social a:hover {
  border-color: rgba(255, 250, 241, 0.44);
  background: rgba(255, 250, 241, 0.06);
}

.error-page {
  min-height: 100svh;
  background: var(--charcoal);
  color: var(--cream);
}

.error-main {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px 0 48px;
}

.error-bg,
.error-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.error-bg {
  object-fit: cover;
}

.error-tint {
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.94), rgba(32, 63, 54, 0.8)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.76), rgba(17, 16, 13, 0.18));
}

.error-content {
  position: relative;
  z-index: 1;
}

.error-content h1 {
  max-width: 760px;
}

.error-content > p:not(.label) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.error-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 940px;
  gap: 12px;
  margin-top: 34px;
}

.error-details div {
  border: 1px solid var(--light-line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(17, 16, 13, 0.54);
  backdrop-filter: blur(12px);
}

.error-details span {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.error-details strong {
  display: block;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    width: calc(100% - 28px);
    min-height: 74px;
    padding: 8px 0;
  }

  .nav {
    display: none;
  }

  .hero-inner,
  .intro-grid,
  .signature-grid,
  .river-grid,
  .contact-grid,
  .gallery-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 158px;
  }

  .hero-panel {
    align-self: auto;
  }

  .hero-info {
    width: min(100%, 460px);
  }

  .mobile-section-nav {
    display: grid;
    position: absolute;
    z-index: 2;
    top: 74px;
    left: 0;
    right: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 14px;
    background: rgba(17, 16, 13, 0.68);
    backdrop-filter: blur(12px);
  }

  .mobile-section-nav a {
    border: 1px solid rgba(255, 250, 241, 0.16);
    border-radius: 999px;
    padding: 9px 12px;
    color: rgba(255, 250, 241, 0.86);
    font-size: 0.86rem;
    font-weight: 850;
    text-align: center;
    background: rgba(255, 250, 241, 0.06);
  }

  .signature {
    background: var(--paper-2);
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-row strong {
    max-width: 42ch;
  }

  .signature-photo {
    aspect-ratio: 1.18 / 1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .photo-card,
  .photo-card.large {
    grid-template-columns: 1fr;
    grid-row: auto;
  }

  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-strip img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .error-details {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }

  .footer-brand p {
    max-width: 34rem;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 340px);
  }

  h1 {
    font-size: clamp(3.1rem, 6vw, 5.45rem);
  }

  .signature-grid,
  .contact-grid {
    gap: 46px;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-inner {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 82px;
  }

  .phone {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  .header-inner {
    gap: 10px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-tint {
    background:
      linear-gradient(0deg, rgba(17, 16, 13, 0.93), rgba(17, 16, 13, 0.66) 62%, rgba(17, 16, 13, 0.28)),
      linear-gradient(90deg, rgba(17, 16, 13, 0.72), rgba(17, 16, 13, 0.14));
  }

  .hero-inner {
    min-height: 100svh;
    padding: 158px 0 28px;
    gap: 24px;
  }

  .hero-bg {
    object-position: 56% center;
  }

  .error-main {
    padding: 118px 0 42px;
  }

  .lead,
  .contact p,
  .river-grid p,
  .signature-copy > p,
  .intro-copy p {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.25rem);
  }

  h2 {
    font-size: clamp(2rem, 10.5vw, 3.35rem);
  }

  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .intro,
  .signature,
  .ambience,
  .gallery,
  .contact,
  .river-band {
    padding: 58px 0;
  }

  .offer-list div {
    background: rgba(255, 250, 241, 0.6);
  }

  .gallery-strip {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-strip img:first-child {
    grid-column: auto;
  }

}

@media (max-width: 360px) {
  .hero-inner {
    padding-top: 218px;
  }

  .mobile-section-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-section-nav a {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
