:root {
  --color-white:    #ffffff;
  --color-brown:    #7B6553;
  --color-beige:    #EFE7E0;
  --color-orange:   #B47440;
  --overlay:        rgba(180, 116, 64, 0.3);

  --font-large-d:   64px;
  --font-medium-d:  36px;
  --font-small-d:   24px;

  --font-large-m:   40px;
  --font-medium-m:  24px;
  --font-small-m:   20px;
}

body {
  font-family: 'Kalnia', serif;
  color: var(--color-orange);
  background: var(--color-beige);
  line-height: 1.6;
  font-size: 16px;
  margin: 0;
}
p {
	padding: 0;
	margin: 0;
}

.txt-l {
  font-size: var(--font-large-d);
  line-height: 1.1;
}
.txt-m {
  font-size: var(--font-medium-d);
}
.txt-s {
  font-size: var(--font-small-d);
}

section {
  margin-bottom: 120px;
}
.page-width {
  box-sizing: border-box;
  width: 100%;
  max-width: 940px;
  padding: 0 20px;
  margin-left: auto;
  margin-right: auto;
}
.btn-book {
  display: inline-block;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 16px 24px;
  text-decoration: none;
  line-height: 1.3;
  transition: all 0.3s;
  position: relative;
  z-index: 20;
}
.btn-book:hover {
  background: #9a5f35;
}

/* ─── Header ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  padding: 20px 40px;
  background: transparent;
  transition: all 0.3s ease;
}
header.scrolled {
  background: rgba(0, 0, 0, 0.5);
}
img.logo {
  max-width: 150px;
  width: 100%;
  height: auto;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  height: 66vw;
  min-height: 600px;
  background: url('../images/kalives-hero.webp') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
}
.hero-content h1 {
  margin-bottom: 16px;
}

.hero-sub {
  display: none;
}

/* ─── Story ─── */
.story img {
  max-width: 672px;
  width: 100%;
  margin: 0 auto 100px;
  display: block;
}
.story p {
  text-align: center;
}

/* ─── Video ─── */
.video-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 900px;
  margin-bottom: 100px;
}
.video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.video-section p {
  text-align: center;
}

/* ─── Swiper ─── */
.swiper {
	width: 100%;
	height: 710px;
	margin-left: auto;
	margin-right: auto;
}
.swiper-wrapper {
  height: 600px;
  align-items: center;
}
.swiper-slide {
  width: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-media {
  position: relative;
  flex: 0 0 auto;
}
.slide-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.swiper-slide.is-portrait .slide-media {
  height: 600px;
  width: auto;
}
.swiper-slide.is-portrait .slide-media img {
  height: 100%;
  width: auto;
}
.swiper-slide.is-landscape .slide-media {
  width: 600px;
  height: auto;
}
.swiper-slide.is-landscape .slide-media img {
  width: 100%;
  height: auto;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  transition: background 0.5s ease;
}
.swiper-slide:not(.swiper-slide-active) .slide-overlay {
  background: var(--overlay);
}
.swiper-slide:not(.swiper-slide-active) .slide-overlay:hover {
  background: transparent;
}
.swiper-buttons {
  width: 120px;
  height: 72px;
  padding: 8px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 10;
}
.swiper-button-prev img, .swiper-button-next img {
  width: 64px;
  height: 64px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.swiper-button-prev img:hover {
  transform: scale(1.12);
}
.swiper-button-next img {
  transform: rotate(180deg);
}
.swiper-button-next img:hover {
  transform: rotate(180deg) scale(1.12);
}

/* ─── Features ─── */
.features {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4%;
  align-items: center;
}
.features div {
  width: 45%;
  padding-bottom: 30px;
}

/* ─── Footer ─── */
footer {
  background: var(--color-brown);
  color: var(--color-white);
  padding: 120px 20px 60px;
}
.footer-content {
  width: 100%;
  max-width: 670px;
  margin: 0 auto;
}
.footer-content .map-image {
  width: 100%;
  height: auto;
}
.footer-content p {
  margin-bottom: 0px;
}
.footer-content .mail-anchor,
.footer-content .contact-anchor {
  display: block;
  color: var(--color-white);
  transition: color 0.3s ease;
}
.footer-content .mail-anchor {
  margin-bottom: 24px;
}
.footer-content .mail-anchor:hover,
.footer-content .contact-anchor:hover {
  color: var(--color-orange);
}
.footer-social {
  display: flex;
  gap: 28px;
  margin: 24px 0;
  flex-wrap: wrap;
}
.footer-social a {
  color: var(--color-white);
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--color-orange);
}

/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .features div {
    width: 100%;
    gap: 33px;
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  .txt-l { font-size: var(--font-large-m); }
  .txt-m { font-size: var(--font-medium-m); }
  .txt-s { font-size: var(--font-small-m); }
  header {
	padding: 20px;
  }
  .btn-book {
    padding: 16px;
  }
  section {
    margin-bottom: 80px;
  }
  .hero {
    background-position: center 30%;
  }
  .hero-content {
    display: none;
  }
  .hero-sub {
    display: block;
    text-align: center;
    padding: 0 20px;
    width: 90%;
  }
  .hero-sub p {
    color: #B47440;
  }
  .video-section {
	padding: 0;
	}
  .video-txt {
	padding: 0 20px;
  }
  .swiper {
    height: 500px;
  }
  .swiper-wrapper {
    height: 410px;
  }
  .swiper-buttons {
    width: 95px;
    height: 52px;
  }
  .swiper-button-prev img, .swiper-button-next img {
    width: 44px;
    height: 44px;
  }
  .swiper-slide.is-portrait .slide-media {
    height: 410px;
    width: auto;
  }
  .swiper-slide.is-landscape .slide-media {
    width: 410px;
    max-width: 100vw;
    height: auto;
  }
  .swiper-slide:not(.swiper-slide-active) .slide-overlay {
    background: transparent;
  }
}