:root {
  --hero-w: 1600;
  --hero-h: 835;
  --bg: #020202;
  --fg: #f3f3f3;
  --cta: #e1503b;
  --cta-hover: #c8442f;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Scroll reveal — subtle fade-up applied to sections via JS.
   The class is added by JS at run time so non-JS users (and search engines)
   see content immediately. We use the modern `translate` property (not
   `transform`) so the reveal animation doesn't clobber any existing
   `transform: translateX(-50%)` centering on book section elements. */
.reveal {
  opacity: 0;
  translate: 0 20px;
  transition: opacity 0.7s ease, translate 0.7s ease;
  will-change: opacity, translate;
}

.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    translate: 0 0;
    transition: none;
  }
}

/* Shared section primitives — used by .training, .stay, .location */
.s-photo {
  border-radius: 12px;
  overflow: hidden;
  background: #d8d8d8;
}

.s-photo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s-title {
  margin: 0;
  color: #161c2d;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  font-stretch: 125%;
  line-height: 58px;
  letter-spacing: -0.5px;
}

.s-text {
  margin: 0;
  color: #434343;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
}

/* Mobile-only carousel utility. On desktop the wrapper is a normal
 * block. Children that are absolutely positioned still resolve to the
 * nearest positioned ancestor (the section's `__inner`) since this
 * wrapper has `position: static`. Avoid `display: contents` here —
 * iOS Safari has long-standing bugs that drop children's renderings
 * inside contents-display boxes. */
.s-carousel {
  display: block;
}

@media (max-width: 760px) {
  .s-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 8px;
    margin: 0 -20px;
    /* Inset the snap port so the first item snaps with a 20px left gutter
       instead of flush against the viewport edge. */
    scroll-padding-inline-start: 20px;
    /* Explicit width so the carousel fills the parent regardless of
       the parent's `align-items` (which is `start` on tablet rules
       that bleed into mobile). Without this the carousel collapses to
       its content width and the flex-basis circular reference makes
       items 0px wide. */
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }

  .s-carousel::-webkit-scrollbar {
    display: none;
  }

  .s-carousel > * {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: start;
    height: auto;
    width: auto;
    position: static;
  }

  /* WebKit fails to derive height from `aspect-ratio` when the flex
     item's main-size comes from `flex-basis: calc(...)` while `width` is
     also explicitly declared (the per-section tablet rules leak in a
     `width: 100%` here). Forcing an explicit `width` and `flex-basis:
     auto` gives aspect-ratio an unambiguous reference so height resolves
     correctly — without this, the .s-photo collapses to height 0 and
     the inner <img> is invisible on Safari. */
  .s-carousel > .s-photo {
    flex: 0 0 auto;
    width: calc(100% - 48px);
  }
}

/*
 * Hero is designed at 1600 x 835. The wrapper provides an aspect-ratio
 * sized box that fills the viewport width, while .hero itself is rendered
 * at its native pixel size and scaled to fit. This preserves the exact
 * design positions at any viewport.
 */
.hero-wrapper {
  position: relative;
  width: 100vw;
  height: calc(100vw * var(--hero-h) / var(--hero-w));
  max-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--hero-w) * 1px);
  height: calc(var(--hero-h) * 1px);
  transform-origin: top left;
  transform: scale(calc(100vw / (var(--hero-w) * 1px)));
  background: var(--bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

/* Sticky top navigation — sits above every section with a glass-blur effect */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(2, 2, 2, 0.45);
  backdrop-filter: blur(7px) saturate(130%);
  -webkit-backdrop-filter: blur(7px) saturate(130%);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
}

.site-nav__brand img {
  height: 36px;
  width: 36px;
  display: block;
  object-fit: contain;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav__menu a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.1px;
  line-height: 26px;
  font-stretch: 125%;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.site-nav__menu a:hover {
  opacity: 0.7;
}

/* Hamburger toggle — hidden on desktop, shown on mobile */
.site-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  margin: -8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.site-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav[data-open] .site-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav[data-open] .site-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-nav[data-open] .site-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 760px) {
  .site-nav {
    padding: 12px 20px;
  }

  .site-nav__toggle {
    display: flex;
  }

  .site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(2, 2, 2, 0.85);
    backdrop-filter: blur(7px) saturate(130%);
    -webkit-backdrop-filter: blur(7px) saturate(130%);
    padding: 8px 20px 16px;
  }

  .site-nav[data-open] .site-nav__menu {
    display: flex;
  }

  .site-nav__menu a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__menu a:last-child {
    border-bottom: none;
  }
}

/* Centered title block (FORTROLL wordmark + dates + subtitle + small shield) */
.hero__title {
  position: absolute;
  top: 209px;
  left: 50%;
  transform: translateX(-50%);
  width: 973px;
  height: 369px;
  z-index: 2;
  pointer-events: none;
}

.hero__title img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* CTA button */
.hero__cta {
  position: absolute;
  top: 615px;
  left: 50%;
  transform: translateX(-50%);
  width: 219px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 600;
  font-stretch: 125%;
  line-height: 32px;
  letter-spacing: 0.1px;
  z-index: 2;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

.hero__cta:hover {
  background: var(--cta-hover);
}

.hero__cta:active {
  transform: translateX(-50%) translateY(1px);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero__cta,
  .site-nav__menu a {
    transition: none;
  }
}

/* Mobile-only hero variant — narrow photo banner with stacked text + CTA below */
.hero-m {
  display: none;
}

@media (max-width: 760px) {
  .hero-wrapper {
    height: auto;
    max-height: none;
    background: var(--bg);
  }

  .hero {
    display: none;
  }

  .hero-m {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: #ffffff;
    min-height: 100vh;
  }

  .hero-m__photo {
    width: 100%;
    height: 30vh;
    min-height: 200px;
    max-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .hero-m__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-m__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 48px;
    text-align: center;
    gap: 14px;
  }

  .hero-m__brand {
    display: block;
    width: 280px;
    height: 96px;
    max-width: 100%;
    margin: 0 auto 4px;
  }

  .hero-m__location {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.9;
  }

  .hero-m__dates {
    margin: 4px 0 0;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.3px;
  }

  .hero-m__tagline {
    margin: 6px 0 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.65;
    max-width: 320px;
  }

  .hero-m__cta {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    height: 56px;
    background: var(--cta);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.1px;
    transition: background-color 0.2s ease;
  }

  .hero-m__cta:hover {
    background: var(--cta-hover);
  }

  .hero-m__cta:active {
    transform: translateY(1px);
  }
}

/* Info cards section (below hero) */
.info {
  background: #ffffff;
  padding: 80px 20px;
}

.info__inner {
  max-width: 1110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 30px;
  min-height: 146px;
  box-sizing: border-box;
}

.info-card__icon {
  flex: 0 0 auto;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card__icon img {
  width: 40.78px;
  height: 40.78px;
  display: block;
}

.info-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.info-card__title {
  margin: 0 0 8px;
  color: #161c2d;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  font-stretch: 125%;
  line-height: 1.2;
}

.info-card__text {
  margin: 0;
  color: #434343;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
}

@media (max-width: 760px) {
  .info {
    padding: 48px 20px;
  }

  .info__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .info-card {
    padding: 24px;
  }
}

/* "Više od kampa" section */
.beyond {
  background: #ffffff;
  padding: 40px 20px 80px;
}

.beyond__inner {
  position: relative;
  max-width: 1110px;
  margin: 0 auto;
  min-height: 1177px;
}

.beyond__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 43.55%;
  object-fit: contain;
  object-position: top center;
  user-select: none;
  pointer-events: none;
}

.beyond__shield {
  position: absolute;
  top: 252px;
  left: 50%;
  transform: translateX(-50%);
  width: 81px;
  height: 89px;
  display: block;
}

.beyond__title {
  position: absolute;
  top: 380px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #161c2d;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  font-stretch: 125%;
  line-height: 58px;
  letter-spacing: -0.5px;
}

.beyond__text {
  position: absolute;
  top: 459px;
  left: 50%;
  transform: translateX(-50%);
  width: 878px;
  margin: 0;
  text-align: center;
  color: #434343;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
}

.beyond__cards {
  position: absolute;
  top: 607px;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.beyond-card {
  width: 100%;
  aspect-ratio: 350 / 469;
  border-radius: 12px;
  overflow: hidden;
  background: #7d818d;
}

.beyond-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1150px) {
  .beyond__inner {
    min-height: 0;
  }

  .beyond__bg,
  .beyond__shield,
  .beyond__title,
  .beyond__text,
  .beyond__cards {
    position: static;
    transform: none;
  }

  .beyond__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .beyond__bg {
    width: 100%;
    height: auto;
    aspect-ratio: 1109.38 / 512.629;
    margin-bottom: -120px;
  }

  .beyond__shield {
    width: 64px;
    height: 70px;
    margin-top: 40px;
  }

  .beyond__title {
    font-size: 40px;
    line-height: 48px;
  }

  .beyond__text {
    width: 100%;
    max-width: 720px;
    padding: 0 16px;
  }

  .beyond__cards {
    width: 100%;
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .beyond {
    padding: 24px 0 56px;
  }

  .beyond__title {
    font-size: 32px;
    line-height: 40px;
  }

  .beyond__text {
    font-size: 17px;
    line-height: 26px;
  }

  /* Override the desktop grid so the .s-carousel mobile flex rules apply. */
  .beyond__cards {
    display: flex;
    grid-template-columns: none;
    width: 100%;
    margin: 16px 0 0;
  }

  .beyond-card {
    aspect-ratio: 350 / 469;
    max-width: none;
    margin: 0;
  }
}

/* "Treninzi" section */
.training {
  background: #f5f5f5;
  padding: 0;
}

.training__inner {
  position: relative;
  max-width: 1110px;
  margin: 0 auto;
  height: 1197px;
}

.training__text {
  position: absolute;
  top: 161px;
  left: 0;
  width: 520px;
}

.training__text-body {
  margin-top: 20px;
  width: 520px;
}

.training__photo--left,
.training__photo--right {
  position: absolute;
  width: 520px;
}

.training__photo--left {
  top: 441px;
  left: 0;
  height: 600px;
}

.training__photo--right {
  top: 156px;
  left: 590px;
  height: 670px;
}

@media (max-width: 1150px) {
  .training {
    padding: 80px 20px;
  }

  .training__inner {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .training__text {
    position: static;
    width: 100%;
  }

  .training__text-body {
    width: 100%;
  }

  .training__photo--left,
  .training__photo--right {
    position: static;
    width: 100%;
    height: auto;
  }

  .training__photo--left {
    aspect-ratio: 520 / 600;
  }

  .training__photo--right {
    aspect-ratio: 520 / 670;
  }
}

@media (max-width: 760px) {
  .training {
    padding: 56px 0;
  }

  .training__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .training__text {
    width: auto;
  }

  .training__text-body {
    width: 100%;
  }

  .training__photo--left,
  .training__photo--right {
    aspect-ratio: 520 / 600;
  }
}

/* "Smještaj i hrana" section */
.stay {
  background: #ffffff;
  padding: 80px 20px;
}

.stay__inner {
  position: relative;
  max-width: 1110px;
  margin: 0 auto;
  height: 1533px;
}

.stay__cell {
  position: absolute;
  width: 520px;
}

.stay__cell--tl {
  top: 0;
  left: 0;
  height: 670px;
}

.stay__cell--tr {
  top: 285px;
  left: 590px;
  height: 600px;
}

.stay__cell--bl {
  top: 718px;
  left: 0;
  height: 670px;
}

.stay__cell--br {
  top: 933px;
  left: 590px;
  height: 600px;
}

.stay__text {
  position: absolute;
  top: 5px;
  left: 590px;
  width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 1150px) {
  .stay__inner {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    align-items: start;
  }

  .stay__cell {
    position: static;
    width: 100%;
    height: auto;
  }

  .stay__cell--tl {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 520 / 670;
  }

  .stay__cell--tr {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 520 / 600;
  }

  .stay__cell--bl {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: 520 / 670;
  }

  .stay__cell--br {
    grid-column: 2;
    grid-row: 3;
    aspect-ratio: 520 / 600;
  }

  .stay__text {
    position: static;
    width: auto;
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 760px) {
  .stay {
    padding: 56px 0;
  }

  .stay__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .stay__text {
    width: auto;
  }

  .stay__cell {
    aspect-ratio: 520 / 600;
  }
}

/* "Lokacija" section — same desktop layout as Treninzi, mobile carousel */
.location {
  background: #f5f5f5;
  padding: 0;
}

.location__inner {
  position: relative;
  max-width: 1110px;
  margin: 0 auto;
  height: 1197px;
}

.location__text {
  position: absolute;
  top: 161px;
  left: 0;
  width: 520px;
}

.location__text-body {
  margin-top: 20px;
  width: 520px;
}

.location__photo--left,
.location__photo--right {
  position: absolute;
  width: 520px;
}

.location__photo--left {
  top: 441px;
  left: 0;
  height: 600px;
}

.location__photo--right {
  top: 156px;
  left: 590px;
  height: 670px;
}

@media (max-width: 1150px) {
  .location {
    padding: 80px 20px;
  }

  .location__inner {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .location__text {
    position: static;
    width: 100%;
  }

  .location__photo--left,
  .location__photo--right {
    position: static;
    width: 100%;
    height: auto;
  }

  .location__photo--left {
    aspect-ratio: 520 / 600;
  }

  .location__photo--right {
    aspect-ratio: 520 / 670;
  }
}

@media (max-width: 760px) {
  .location {
    padding: 56px 0;
  }

  .location__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 20px;
  }

  .location__text {
    width: auto;
  }

  .location__text-body {
    width: 100%;
  }

  .location__photo--left,
  .location__photo--right {
    aspect-ratio: 520 / 600;
  }
}

/* "Instruktori" section */
.instructors {
  background: #ffffff;
  padding: 143px 20px 140px;
}

.instructors__inner {
  max-width: 1158px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 68px;
}

.instructors__heading {
  width: 100%;
  max-width: 611px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.instructors__subtitle {
  margin: 0;
}

.instructors__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.instructor-card {
  width: 267px;
  flex-shrink: 0;
}

.instructor-card__photo {
  width: 267px;
  height: 356px;
  border-radius: 12px;
  background: #323232;
  overflow: hidden;
}

.instructor-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.instructor-card__name {
  margin: 31px 0 0;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #434343;
}

.instructor-card__title {
  margin: 4px 0 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
  color: #434343;
  opacity: 0.7;
}

@media (max-width: 1150px) {
  .instructors {
    padding: 96px 20px;
  }
}

@media (max-width: 760px) {
  .instructors {
    padding: 64px 0;
  }

  .instructors__inner {
    gap: 40px;
    padding: 0 20px;
  }

  .instructors__cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 16px;
    /* Override the desktop `width: 100%` so this carousel behaves like the
       others — extending past the parent's padded content area via
       `.s-carousel { margin: 0 -20px }` — and lets `scroll-padding-inline-start`
       create the 20px snap gutter consistently. */
    width: auto;
  }

  .instructor-card {
    width: auto;
  }

  .instructor-card__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 267 / 356;
  }
}

/* "Kako izgleda dan na Fort Roll kampu" section — dark bg, brick grid */
.day {
  background: #1a1a1a;
  padding: 141px 20px 140px;
}

.day__inner {
  max-width: 1070px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 70px;
}

.day__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  text-align: center;
}

.day__eyebrow {
  margin: 0;
  color: #fefefe;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.625px;
  text-transform: uppercase;
}

.day__title {
  margin: 0;
  color: #fdfdff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  font-stretch: 125%;
  line-height: 58px;
  letter-spacing: -0.5px;
  width: 521px;
  max-width: 100%;
  text-align: center;
}

.day__grid {
  position: relative;
  width: 1070px;
  height: 1147px;
}

.day-card {
  position: absolute;
  width: 500px;
}

.day-card--1 { top: 0;    left: 0; }
.day-card--2 { top: 0;    left: 570px; }
.day-card--3 { top: 700px; left: 0; }
.day-card--4 { top: 507px; left: 570px; }

.day-card__photo {
  width: 500px;
  border-radius: 12px;
  background: #e9e9e9;
  overflow: hidden;
}

.day-card--1 .day-card__photo,
.day-card--4 .day-card__photo { height: 540px; }
.day-card--2 .day-card__photo { height: 342px; }
.day-card--3 .day-card__photo { height: 346px; }

.day-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.day-card__num {
  margin: 32px 0 0;
  color: #fdfdff;
  opacity: 0.7;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
}

.day-card__name {
  margin: 4px 0 0;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.5px;
}

@media (max-width: 1150px) {
  .day {
    padding: 96px 20px;
  }

  .day__grid {
    position: static;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
  }

  .day-card {
    position: static;
    width: 100%;
  }

  .day-card__photo {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .day {
    padding: 64px 0;
  }

  .day__inner {
    padding: 0 20px;
    gap: 40px;
  }

  .day__title {
    font-size: 32px;
    line-height: 40px;
    width: auto;
  }

  .day__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 20px 8px;
    /* Span full viewport width. The parent's `align-items: center` centers
       this item within the parent's content area; with width: 100vw it
       naturally extends past the parent's 20px padding to viewport edges. */
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    scroll-padding-inline-start: 20px;
  }

  .day__grid::-webkit-scrollbar {
    display: none;
  }

  .day-card {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: start;
    width: auto;
  }

  /* Uniform photo aspect on mobile so all 4 cards have the same height */
  .day-card--1 .day-card__photo,
  .day-card--2 .day-card__photo,
  .day-card--3 .day-card__photo,
  .day-card--4 .day-card__photo {
    height: auto;
    aspect-ratio: 500 / 540;
  }
}

/* "Cijena kampa" pricing section */
.pricing {
  background: #ffffff;
  padding: 134px 20px 140px;
}

.pricing__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.pricing__intro {
  text-align: center;
  max-width: 646px;
}

.pricing__grid {
  margin-top: 56px;
  width: 100%;
  display: grid;
  grid-template-columns: 350px 350px;
  gap: 100px;
  justify-content: center;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #e7e9ed;
  border-radius: 12px;
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
}

.pricing-card--full {
  background: #f7f7f7;
}

.pricing-card__toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.pricing-card__eyebrow {
  color: #282828;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.625px;
  text-transform: uppercase;
}

.pricing-card__chevron {
  width: 12px;
  height: 8px;
  color: #282828;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  display: none;
}

.pricing-card__price {
  margin: 0 0 11px;
  color: #161c2d;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 48px;
  font-stretch: 125%;
  line-height: 58px;
  letter-spacing: -0.5px;
}

.pricing-card__price--soon {
  opacity: 0.3;
}

.pricing-card__note {
  margin: 0 0 22px;
  color: #b4b4b4;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
}

.pricing-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 19px;
  padding: 22px 0;
  border-top: 1px solid #e7e9ed;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 28px;
  color: #434343;
}

.pricing-feature:last-child {
  border-bottom: 1px solid #e7e9ed;
}

.pricing-feature__icon {
  flex-shrink: 0;
  width: 17px;
  height: 12px;
}

.pricing-feature__icon--x {
  width: 12px;
  height: 12px;
}

.pricing-card__cta {
  margin-top: 22px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 219px;
  height: 59px;
  background: var(--cta);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  font-stretch: 125%;
  line-height: 32px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.pricing-card__cta:hover {
  background: var(--cta-hover);
}

.pricing-card__cta--disabled,
.pricing-card__cta--disabled:hover {
  background: #d1d1d1;
  cursor: not-allowed;
}

@media (max-width: 1100px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .pricing {
    padding: 64px 20px;
  }

  .pricing__grid {
    gap: 16px;
    margin-top: 32px;
    max-width: none;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .pricing-card__chevron {
    display: block;
  }

  .pricing-card[data-open] .pricing-card__chevron {
    transform: rotate(180deg);
  }

  .pricing-card:not([data-open]) .pricing-card__details {
    display: none;
  }

  .pricing-card__cta {
    align-self: stretch;
    width: 100%;
  }
}

/* Site footer */
.footer {
  background: #1a1a1a;
  padding: 84px 20px 32px;
  color: #ffffff;
}

.footer__inner {
  max-width: 1310px;
  margin: 0 auto;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 40px;
}

.footer__tag {
  align-self: center;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.625px;
  text-transform: uppercase;
}

.footer__logo {
  width: 252px;
  height: 86px;
  display: block;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  justify-self: end;
}

.footer__social {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__social:hover {
  opacity: 0.7;
}

.footer__social svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__kontakt {
  margin: 0;
  color: #ffffff;
  opacity: 0.65;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
}

.footer__kontakt strong {
  font-weight: 700;
  opacity: 1;
}

.footer__kontakt a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer__kontakt a:hover {
  opacity: 0.7;
}

.footer__divider {
  margin: 60px 0 0;
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.footer__copyright {
  margin: 28px 0 0;
  text-align: center;
  color: #ffffff;
  opacity: 0.65;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 26px;
  letter-spacing: -0.1px;
}

@media (max-width: 760px) {
  .footer {
    padding: 48px 20px 24px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer__tag {
    align-self: auto;
  }

  .footer__logo {
    margin: 0 auto;
  }

  .footer__contact {
    align-items: center;
    justify-self: center;
  }

  .footer__divider {
    margin-top: 40px;
  }
}

/* FAQ section */
.faq {
  background: #f5f5f5;
  padding: 140px 20px;
}

.faq__inner {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__intro {
  margin: 25px 0 0;
  text-align: center;
  max-width: 610px;
}

.faq__list {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  width: 100%;
}

.faq-item details {
  background: #ffffff;
  border: 1px solid #e7e9ed;
  border-radius: 10px;
  padding: 24px 28px;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
}

.faq-item__question {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  line-height: 32px;
  letter-spacing: -0.2px;
  color: #161c2d;
}

.faq-item__chevron {
  width: 12px;
  height: 8px;
  color: #161c2d;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item details[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  margin: 12px 0 0;
  color: #161c2d;
  opacity: 0.7;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 29px;
  letter-spacing: -0.2px;
}

@media (max-width: 1100px) {
  .faq {
    padding: 96px 20px;
  }
}

@media (max-width: 760px) {
  .faq {
    padding: 64px 20px;
  }

  .faq__list {
    margin-top: 32px;
  }

  .faq-item details {
    padding: 20px;
  }

  .faq-item__question {
    font-size: 17px;
    line-height: 24px;
  }

  .faq-item__answer {
    font-size: 15px;
    line-height: 24px;
  }
}

/* "Putuješ do Šibenika?" travel section */
.travel {
  background: #ffffff;
  padding: 139px 20px 140px;
}

.travel__inner {
  max-width: 1110px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.travel__intro {
  margin: 25px 0 0;
  width: 100%;
  max-width: 505px;
  text-align: center;
}

.travel__steps {
  position: relative;
  margin: 60px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Dashed line connecting the icon circles. The line spans the full width
   minus the first and last column halves; the icons sit on top so the line
   is visible only between them. */
.travel__steps::before {
  content: "";
  position: absolute;
  top: 49.5px;
  left: calc(16.667% + 50px);
  right: calc(16.667% + 50px);
  border-top: 1px dashed #c6c6c6;
  pointer-events: none;
}

.travel-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.travel-step__icon {
  position: relative;
  z-index: 1;
  width: 99px;
  height: 99px;
  border-radius: 50%;
  background: #ebebeb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.travel-step__icon svg {
  width: 48px;
  height: 48px;
  color: #434343;
  display: block;
}

.travel-step__title {
  margin: 30px 0 0;
  color: #434343;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: -0.2px;
}

.travel-step__text {
  margin: 12px 0 0;
  color: #434343;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  max-width: 250px;
}

@media (max-width: 1100px) {
  .travel {
    padding: 96px 20px;
  }
}

@media (max-width: 760px) {
  .travel {
    padding: 64px 20px;
  }

  .travel__steps {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  /* Hide the horizontal connector when steps stack vertically */
  .travel__steps::before {
    display: none;
  }
}

/* Booking CTA banner — full-bleed dark photo with centered logo + CTA */
.book {
  position: relative;
  background: #a79ca3;
  width: 100%;
  height: 795px;
  overflow: hidden;
}

.book__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.book__tag {
  position: absolute;
  top: 63px;
  z-index: 1;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1.625px;
  text-transform: uppercase;
  line-height: 14px;
}

.book__tag--left {
  left: 80px;
}

.book__tag--right {
  right: 80px;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.book__logo {
  position: absolute;
  top: 63px;
  left: 50%;
  transform: translateX(-50%);
  width: 487px;
  height: 167px;
  z-index: 1;
  display: block;
}

.book__subtitle {
  position: absolute;
  top: 271px;
  left: 50%;
  transform: translateX(-50%);
  width: 368px;
  margin: 0;
  z-index: 1;
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  line-height: 28px;
  text-align: center;
}

.book__cta {
  position: absolute;
  top: 603px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 368px;
  height: 59px;
  background: var(--cta);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  font-stretch: 125%;
  line-height: 32px;
  transition: background-color 0.2s ease;
}

.book__cta:hover {
  background: var(--cta-hover);
}

.book__cta:active {
  transform: translateX(-50%) translateY(1px);
}

@media (max-width: 1100px) {
  .book__tag--left {
    left: 32px;
  }
  .book__tag--right {
    right: 32px;
  }
}

@media (max-width: 760px) {
  .book {
    height: auto;
    min-height: 560px;
    padding: 96px 20px 64px;
  }

  .book__tag {
    top: 24px;
    font-size: 10px;
    letter-spacing: 1.4px;
  }

  .book__tag--left {
    left: 20px;
  }

  .book__tag--right {
    right: 20px;
  }

  .book__logo {
    position: static;
    transform: none;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 487 / 167;
    margin: 0 auto;
  }

  .book__subtitle {
    position: static;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: 32px auto 0;
    font-size: 17px;
    line-height: 26px;
  }

  .book__cta {
    position: static;
    transform: none;
    width: 100%;
    max-width: 360px;
    margin: 32px auto 0;
  }

  .book__cta:active {
    transform: translateY(1px);
  }
}

/* Shared section primitive overrides for mobile */
@media (max-width: 760px) {
  .s-title {
    font-size: 32px;
    line-height: 40px;
  }

  .s-text {
    font-size: 17px;
    line-height: 26px;
  }
}
