/* ========================================
   KIMANI YACHT — STYLES
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #ac8d62;
  --gold-border: #d4c3aa;
  --gold-dark: #71624c;
  --footer-bg: #f5f1eb;
  --black: #000000;
  --white: #ffffff;
  --font-heading: 'Bodoni Moda', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --side-padding: 54px;
  --max-width: 1800px;
}

body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 15;

  /* OpenType značajke */
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- UTILITY — page containers ---------- */
.page-section {
  max-width: calc(1200px + var(--side-padding) * 2);
  margin: 0 auto;
  padding: 80px var(--side-padding);
}

.page-section--narrow {
  max-width: calc(750px + var(--side-padding) * 2);
  margin: 0 auto;
  padding: 80px var(--side-padding);
}

ul {
  list-style: none;
}

/* ---------- UTILITY ---------- */
.text-gold {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-title--center {
  text-align: center;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 36px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn--white {
  background: var(--white);
  color: var(--black);
}

.btn--white:hover {
  background: var(--gold);
  color: var(--white);
}

.btn--outline-gold {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold);
  font-weight: 500;
}

.btn--outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--outline-gold:hover svg path {
  stroke: var(--white);
}

.btn--outline-gold:hover img {
  filter: brightness(0) invert(1);
}

.btn--outline-gold-dark {
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  font-weight: 400;
}

.btn--outline-gold-dark:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--sm {
  height: 42px;
  padding: 0 28px;
  font-size: 13px;
}

.btn--icon svg {
  flex-shrink: 0;
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 106;
  padding: 0 var(--side-padding);
  transition: background 0.4s ease, padding 0.4s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.is-scrolled .header__logo-img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(31%) saturate(465%) hue-rotate(355deg) brightness(79%) contrast(88%);
}

.header.is-scrolled .hamburger span {
  background: var(--black);
}

.header.is-scrolled .header__book {
  background: var(--gold);
  color: var(--white);
}

.header.is-scrolled .header__book:hover {
  background: #333;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ---------- HAMBURGER ---------- */
.hamburger {
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--white);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

.header.nav-open {
  background: transparent;
  box-shadow: none;
}

.header.nav-open .header__logo-img {
  filter: brightness(0) saturate(100%) invert(68%) sepia(31%) saturate(465%) hue-rotate(355deg) brightness(79%) contrast(88%);
}

.header.nav-open .header__book {
  display: none;
}

.hamburger.is-active span {
  background: var(--black);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ========================================
   NAV OVERLAY
   ======================================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__list {
  text-align: center;
}

.nav-overlay__list li {
  overflow: hidden;
}

.nav-overlay__link {
  display: block;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--black);
  padding: 5px 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.6s ease, color 0.3s ease;
}

.nav-overlay.is-open .nav-overlay__link {
  transform: translateY(0);
  opacity: 1;
}

.nav-overlay.is-open li:nth-child(1) .nav-overlay__link { transition-delay: 0.1s; }
.nav-overlay.is-open li:nth-child(2) .nav-overlay__link { transition-delay: 0.15s; }
.nav-overlay.is-open li:nth-child(3) .nav-overlay__link { transition-delay: 0.2s; }
.nav-overlay.is-open li:nth-child(4) .nav-overlay__link { transition-delay: 0.25s; }
.nav-overlay.is-open li:nth-child(5) .nav-overlay__link { transition-delay: 0.3s; }
.nav-overlay.is-open li:nth-child(6) .nav-overlay__link { transition-delay: 0.35s; }
.nav-overlay.is-open li:nth-child(7) .nav-overlay__link { transition-delay: 0.4s; }

.nav-overlay__link:hover {
  color: var(--gold);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  /* min-height: 700px; */
  overflow: hidden;
  background: #2a9d9d;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.hero__video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.3);
  /* Always cover the hero regardless of aspect ratio */
  width: max(100vw, calc(100vh * 1.7778));
  height: max(56.25vw, 100vh);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.25) 40%,
    rgba(0, 0, 0, 0.3) 70%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 3;
}

.hero__content {
  position: absolute;
  left: var(--side-padding);
  top: 50%;
  transform: translateY(-60%);
  z-index: 4;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 71px;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__watch {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.hero__watch-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__watch-line {
  display: block;
  width: 99px;
  height: 1px;
  background: var(--white);
  transition: width 0.3s ease;
}

.hero__watch:hover .hero__watch-line {
  width: 50px;
}

.hero__stats {
  position: absolute;
  left: var(--side-padding);
  bottom: 18%;
  z-index: 4;
}

.hero__stat--top-row {
  display: flex;
}

.hero__stat--bottom-row {
  display: flex;
}

.hero__stat-cell {
  width: 116px;
  height: 70px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__stat-cell--last {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__stat-cell--wide {
  width: 173px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__stat-cell--bordered {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__stat-label {
  font-size: 14px;
  font-weight: 400;
  color: #cdcdcd;
  text-transform: uppercase;
}

.hero__stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.hero__cta {
  position: absolute;
  left: var(--side-padding);
  bottom: 8%;
  z-index: 4;
}

/* ========================================
   LIFESTYLE
   ======================================== */
.lifestyle {
  padding: 75px var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
  margin: 0 auto;
}

.lifestyle__subtitle {
  font-size: 20px;
  font-weight: 200;
  text-align: center;
  max-width: 741px;
  margin: 32px auto 100px;
  line-height: 1.7;
}

.lifestyle__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  position: relative;
}

.lifestyle__img {
  overflow: hidden;
  border-radius: 0;
}

.lifestyle__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.lifestyle__img:hover img {
  transform: scale(1.03);
}

.lifestyle__img--large {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 840px;
}

.lifestyle__img--tall {
  grid-column: 2;
  grid-row: 1;
  height: 550px;
  margin-top: -40px;
}

.lifestyle__img--small {
  grid-column: 2;
  grid-row: 2;
  width: 60%;
  height: 380px;
  justify-self: center;
}

/* ========================================
   SPECS
   ======================================== */
.specs {
  padding: 75px var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
  margin: 0 auto;
}

.specs__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}

.specs__content {
  min-width: 0;
}

.specs__image {
  margin-top: -20px;
  overflow: hidden;
  height: 680px;
}

.specs__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.specs__image:hover img {
  transform: scale(1.03);
}

.specs__image-actions {
  margin-top: 24px;
}

.specs__description {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
  max-width: 853px;
  margin: 32px 0 60px;
}

.specs__description strong {
  font-weight: 400;
}

.specs__icons {
  display: flex;
  gap: 80px;
  margin-bottom: 60px;
}

.specs__icon-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.specs__icon-img {
  width: 64px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.specs__icon-img img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.specs__icon-img--guests {
  gap: 4px;
}

.specs__icon-img--guests img {
  width: auto;
  height: auto;
  max-width: 22px;
  max-height: 44px;
}

.specs__icon-text {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  line-height: 1.2;
}

.specs__icon-number {
  font-size: 20px;
  font-weight: 600;
}

.specs__icon-label {
  font-size: 14px;
  font-weight: 300;
}

.specs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 80px;
  margin-bottom: 50px;
}

.specs__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 34px;
}

.specs__key {
  font-weight: 600;
  text-transform: uppercase;
}

.specs__val {
  font-weight: 300;
}

.specs__actions {
  display: flex;
  gap: 24px;
  margin-top: 40px;
}

/* ========================================
   AMENITIES
   ======================================== */
.amenities {
  padding: 75px var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
  margin: 0 auto;
}

.amenities__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.amenities__image {
  overflow: hidden;
  height: 610px;
}

.amenities__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenities__content .section-title {
  margin-bottom: 32px;
}

.amenities__text {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
  margin-bottom: 60px;
}

.amenities__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 80px;
}

.amenities__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 34px;
}

.amenities__item-icon {
  width: 56px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.amenities__item-icon img {
  max-width: 56px;
  max-height: 48px;
  object-fit: contain;
}

.amenities__actions {
  margin-top: 48px;
}

/* ========================================
   VIDEO
   ======================================== */
.video {
  position: relative;
  width: 100%;
  margin: 80px auto;
  padding: 0 var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
}

.video__bg {
  width: 100%;
  height: 800px;
  overflow: hidden;
  position: relative;
}

.video__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease;
}

.video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.video__play svg {
  width: 100px;
  height: 100px;
}

/* ========================================
   PERFORMANCE
   ======================================== */
.performance {
  padding: 75px var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
  margin: 0 auto;
}

.performance__subtitle {
  font-size: 20px;
  font-weight: 200;
  text-align: center;
  max-width: 740px;
  margin: 32px auto 60px;
  line-height: 1.7;
}

.performance__slider-wrap {
  position: relative;
}

.performance__swiper {
  width: 100%;
  height: 870px;
  overflow: hidden;
}

.performance__swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.performance__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: transparent;
  border: 3px solid var(--white);
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.performance__arrow:hover {
  /* background: rgba(255, 255, 255, 0.9); */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.performance__arrow--prev {
  left: 30px;
}

.performance__arrow--prev svg {
  position: relative;
  transition: all .3s ease-out;
  transform: translateX(-25px);
}

.performance__arrow--prev:hover svg {
  transform: translateX(-35px);
}

.performance__arrow--next {
  right: 30px;
}

.performance__arrow--next svg {
  position: relative;
  transition: all .3s ease-out;
  transform: translateX(25px);
}

.performance__arrow--next:hover svg {
  transform: translateX(35px);
}

.performance__cta {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.performance__cta .btn--white {
  background: var(--white);
  color: var(--black);
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.performance__cta .btn--white:hover {
  background: var(--gold);
  color: var(--white);
}

/* ========================================
   ACCOMMODATION
   ======================================== */
.accommodation {
  padding: 75px var(--side-padding);
  max-width: calc(var(--max-width) + var(--side-padding) * 2);
  margin: 0 auto;
}

.accommodation .section-title {
  margin-bottom: 40px;
}

.accommodation__text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 100px;
}

.accommodation__text p {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
}

.accommodation__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.accommodation__img {
  overflow: hidden;
}

.accommodation__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.accommodation__img:hover img {
  transform: scale(1.03);
}

.accommodation__img--large {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 840px;
}

.accommodation__img--tall {
  grid-column: 2;
  grid-row: 1;
  height: 550px;
  margin-top: -40px;
}

.accommodation__img--small {
  grid-column: 2;
  grid-row: 2;
  width: 60%;
  height: 380px;
  justify-self: center;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  margin: 60px 0 0 0;
  background: var(--footer-bg);
  padding: 0 var(--side-padding);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 127px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo-img {
  height: 30px;
  width: auto;
  filter: invert(81%) sepia(12%) saturate(574%) hue-rotate(354deg) brightness(91%) contrast(87%);
}

.footer__contact {
  display: flex;
  gap: 40px;
}

.footer__link {
  font-size: 16px;
  font-weight: 300;
  color: var(--gold-dark);
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--gold);
}

/* ========================================
   GSAP ANIMATION CLASSES
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

.line-reveal {
  transform: scaleX(0);
  transform-origin: left;
}

/* ---------- LIGHTGALLERY OVERRIDES ---------- */
.lg-backdrop {
  background-color: #f5f1eb;
}

.lg-outer .lg-thumb-outer {
  background-color: #ffffff;
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: #ac8d62;
}

.lg-toolbar .lg-icon {
  color: rgba(0, 0, 0, 0.5);
}

.lg-toolbar .lg-icon:hover {
  color: var(--gold);
}

/* Navigation arrows */
.lg-next,
.lg-prev {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  color: var(--black);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-top: -26px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.lg-next:hover:not(.disabled),
.lg-prev:hover:not(.disabled) {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}

.lg-next {
  right: 24px;
}

.lg-prev {
  left: 24px;
}

/* ========================================
   FLATPICKR OVERRIDES
   ======================================== */
.flatpickr-calendar {
  font-family: var(--font-body);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month .flatpickr-monthDropdown-months {
  background: var(--white);
  color: var(--black);
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--black);
}

.flatpickr-weekdays,
span.flatpickr-weekday {
  background: var(--white);
  color: #ac8d62;
  font-weight: 600;
  font-size: 12px;
}

.flatpickr-day {
  font-size: 14px;
  color: var(--black);
  border-radius: 4px;
}

.flatpickr-day:hover,
.flatpickr-day.prevMonthDay:hover,
.flatpickr-day.nextMonthDay:hover {
  background: #f5f1eb;
  border-color: var(--gold-border);
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
  background: #ac8d62;
  border-color: #ac8d62;
  color: var(--white);
}

.flatpickr-day.today {
  border-color: var(--gold-border);
}

.flatpickr-day.today:hover {
  background: #f5f1eb;
  color: var(--black);
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #ccc;
}

.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  fill: #ac8d62;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--gold-dark);
}

/* ========================================
   SUBPAGE HERO (shared: Book Now, Crew…)
   ======================================== */
.page-hero {
  position: relative;
  width: 100%;
  height: 393px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.page-hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  color: var(--white);
  text-align: center;
}

/* ========================================
   BOOK NOW — INQUIRY
   ======================================== */
.inquiry__layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.inquiry__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 32px;
}

.inquiry__description {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 48px;
  max-width: 494px;
}

.inquiry__contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.inquiry__contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inquiry__contact-icon {
  flex-shrink: 0;
  width: 22px;
  height: auto;
}

.inquiry__contact-link {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  text-decoration: none;
  line-height: 34px;
}

.inquiry__contact-link:hover {
  color: var(--gold);
}

.inquiry__expect {
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 32px;
}

.inquiry__expect-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.inquiry__expect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inquiry__expect-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 300;
  line-height: 34px;
  color: var(--black);
}

.inquiry__expect-item svg {
  flex-shrink: 0;
}

.inquiry__form-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 30px 5px rgba(0, 0, 0, 0.1);
  padding: 48px;
}

/* ---- Form elements ---- */
.inquiry__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row--2 {
  flex-direction: row;
  gap: 16px;
}

.form-row--2 .form-field {
  flex: 1;
  min-width: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: #4d4d4c;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
}

.form-input {
  width: 100%;
  height: 55px;
  border: 1px solid #ded5c9;
  border-radius: 4px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: #7e7e7e;
}

.form-input:focus {
  border-color: var(--gold);
}

.form-input-wrap {
  position: relative;
}

.form-input-wrap .form-input {
  width: 100%;
}

.form-input-wrap--icon .form-input {
  padding-right: 44px;
  cursor: pointer;
}

.form-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.form-input-wrap--select {
  position: relative;
}

.form-input-wrap--select::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ac8d62' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.form-select {
  cursor: pointer;
  padding-right: 40px;
}

.form-textarea {
  height: 200px;
  padding: 16px;
  resize: vertical;
  line-height: 1.6;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form-checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox__box {
  flex-shrink: 0;
  width: 21px;
  height: 21px;
  border: 1px solid #ded5c9;
  border-radius: 2px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-checkbox__input:checked + .form-checkbox__box {
  background: var(--gold);
  border-color: var(--gold);
}

.form-checkbox__input:checked + .form-checkbox__box::after {
  content: '';
  width: 11px;
  height: 7px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg) translateY(-2px);
  display: block;
}

.form-checkbox__label {
  font-size: 15px;
  font-weight: 400;
  color: #4d4d4c;
  line-height: 1.5;
}

.form-checkbox__link {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  height: 60px;
  background: #bda786;
  border: 1px solid var(--gold-border);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit:hover {
  background: var(--gold);
}

/* ========================================
   CREW
   ======================================== */
.crew-section__header {
  text-align: center;
  margin-bottom: 64px;
}

.crew-section__heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.375;
  margin-bottom: 24px;
}

.crew-section__subtitle {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
  color: var(--black);
  max-width: 688px;
  margin: 0 auto;
}

.crew-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.crew-card {
  border: 1px solid #ded5c9;
  border-radius: 20px;
  padding: 40px 48px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crew-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.crew-card__name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.65;
  color: var(--black);
  text-align: center;
  margin-bottom: 4px;
}

.crew-card__role {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 34px;
  margin-bottom: 20px;
}

.crew-card__bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--black);
  width: 100%;
}

/* ========================================
   RATES
   ======================================== */
.rates-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.rates-card {
  border: 1px solid #ded5c9;
  border-radius: 20px;
  overflow: hidden;
}

.rates-card__header {
  background: #f5f1eb;
  height: 137px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.rates-card__season {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 4px;
}

.rates-card__period {
  font-size: 16px;
  font-weight: 300;
  color: #605f5f;
  line-height: 1.75;
}

.rates-card__body {
  padding: 40px;
}

.rates-card__tier {
  padding-bottom: 40px;
}

.rates-card__tier + .rates-card__tier {
  padding-top: 40px;
  border-top: 1px solid #ded5c9;
  padding-bottom: 0;
}

.rates-card__tier-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 34px;
  margin-bottom: 4px;
}

.rates-card__price {
  margin-bottom: 20px;
  line-height: 28px;
}

.rates-card__price-amount {
  font-size: 32px;
  font-weight: 400;
  color: var(--black);
}

.rates-card__price-sep {
  font-size: 32px;
  font-weight: 200;
  color: var(--black);
}

.rates-card__price-unit {
  font-size: 20px;
  font-weight: 200;
  color: var(--black);
}

.rates-card__regions-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 28px;
}

.rates-card__regions-value {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  line-height: 28px;
}

.rates-card__enquire {
  font-weight: 600;
  text-decoration: underline;
  color: var(--black);
}

.rates-card__enquire:hover {
  color: var(--gold);
}

/* ========================================
   FULL SPECIFICATION
   ======================================== */

   /* ---- Specs table ---- */
.fullspec-table {
  margin-bottom: 80px;
}

.fullspec-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid #e0e0e0;
  font-size: 16px;
  line-height: 34px;
  gap: 40px;
}

.fullspec-key {
  font-weight: 600;
  text-transform: uppercase;
  flex-shrink: 0;
}

.fullspec-val {
  font-weight: 300;
  text-align: right;
}

/* ---- Amenities ---- */
.fullspec-amenities-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.375;
  text-align: center;
  margin-bottom: 60px;
}

.fullspec-amenities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 60px;
}

.fullspec-amenity-item {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 300;
  line-height: 34px;
  color: var(--black);
}

.fullspec-amenity-item--full {
  grid-column: 1 / -1;
}

.fullspec-amenity-icon {
  flex-shrink: 0;
  width: auto;
  height: auto;
  max-width: 60px;
  max-height: 48px;
  object-fit: contain;
  display: block;
}

/* ========================================
   FOOD MENU
   ======================================== */
.foodmenu-header {
  text-align: center;
  margin-bottom: 60px;
}

.foodmenu-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.375;
  margin-bottom: 24px;
}

.foodmenu-subtitle {
  font-size: 20px;
  font-weight: 200;
  line-height: 1.7;
  color: var(--black);
}

/* ---- Menu content ---- */
.foodmenu-menu {
  margin-bottom: 100px;
}

.foodmenu-category {
  margin-top: 60px;
}

.foodmenu-category:first-child {
  margin-top: 0;
}

.foodmenu-category-label {
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.foodmenu-item {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
}

.foodmenu-item-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
  line-height: 34px;
  display: block;
}

.foodmenu-item-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.75;
  display: block;
}

/* ---- Gallery ---- */
.foodmenu-gallery-wrap {
  max-width: calc(1200px + var(--side-padding) * 2);
  margin: 0 auto;
  padding: 0 var(--side-padding) 100px;
}

.foodmenu-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.foodmenu-gallery-item {
  display: block;
  height: 290px;
  overflow: hidden;
  cursor: pointer;
}

.foodmenu-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1);
  pointer-events: none;
}

.foodmenu-gallery-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   LAYOUTS
   ======================================== */

.layout-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
}

.layout-block:last-child {
  margin-bottom: 0;
}

.layout-block__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.375;
  color: var(--black);
  text-align: center;
  margin-bottom: 48px;
}

.layout-block__img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   GALLERY PAGE
   ======================================== */

/* Filters */
.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  margin-bottom: 48px;
}

.gallery-filter {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 34px;
  color: var(--black);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.gallery-filter.is-active {
  color: var(--gold);
}

.gallery-filter:hover {
  color: var(--gold);
}

/* Masonry grid */
.gallery-grid {
  columns: 3;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  display: block;
  margin-bottom: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.gallery-item--out {
  opacity: 0 !important;
  transform: scale(0.93);
}

.gallery-item--in {
  animation: galleryItemIn 0.42s ease both;
}

@keyframes galleryItemIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(14px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0, 0.25, 1);
}

.gallery-item:not(.lg-item):hover img {
  transform: scale(1.04);
}

/* .gallery-item--hidden not used — items are moved to off-screen pool via JS */


.form-success::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: #4caf50;
    color: #fff;
    font-weight: 700;
}


/* Uspješno slanje */
.form-success {
    margin-bottom: 30px;
    padding: 18px 22px;
    border: 1px solid #78b97a;
    background: #eef8ef;
    color: #2f6b32;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
}

/* Validation summary */
.form-errors {
    margin-bottom: 30px;
    padding: 18px 22px;
    border: 1px solid #d97a7a;
    background: #fff2f2;
    color: #b3261e;
    border-radius: 8px;
}

    .form-errors ul {
        margin: 0;
        padding-left: 18px;
    }

    .form-errors li {
        margin: 4px 0;
    }

/* Greška ispod pojedinog polja */
.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #b3261e;
    font-size: 13px;
    line-height: 1.4;
}

/* Validacijska poruka kad nema greške */
.field-validation-valid {
    display: none;
}

/* Input s greškom */
.input-validation-error,
.form-input.input-validation-error,
.form-select.input-validation-error,
.form-textarea.input-validation-error {
    border-color: #b3261e !important;
    background: #fff8f8;
    box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.08);
}

/* Checkbox greška */
.form-checkbox .input-validation-error + .form-checkbox__box {
    border-color: #b3261e;
}

/* Label greške kod checkboxa */
.form-checkbox + .field-validation-error,
.form-row .field-validation-error {
    margin-top: 8px;
}

.form-errors:empty {
    display: none;
}