:root {
  --ink: #241b18;
  --deep: #123b38;
  --water: #5f918b;
  --clay: #b15d4a;
  --rose: #d97a97;
  --gold: #c69a45;
  --sand: #f4eadb;
  --paper: #fff9f0;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(36, 27, 24, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(18, 59, 56, 0.72), rgba(18, 59, 56, 0));
}

.brand,
nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: var(--gold);
  background: rgba(36, 27, 24, 0.34);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1;
}

.brand small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav {
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 130px clamp(18px, 5vw, 72px) 44px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)),
    url("./public/assets/airbnb-04-lake-sunset.jpeg") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 75% 25%, rgba(217, 122, 151, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(18, 59, 56, 0.84), rgba(18, 59, 56, 0.28) 55%, rgba(18, 59, 56, 0.08)),
    linear-gradient(0deg, rgba(36, 27, 24, 0.78), rgba(36, 27, 24, 0.08) 45%);
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 10vw, 8.5rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  border-color: var(--gold);
  color: var(--ink);
  background: var(--gold);
}

.button.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.button.full {
  width: 100%;
}

.quick-card {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 44px;
  display: grid;
  gap: 8px;
  width: min(260px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(36, 27, 24, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-card span {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.quick-card span:last-child {
  border-bottom: 0;
}

.section-band,
.gallery-section,
.explore-section,
.booking-section,
.lifestyle {
  padding: clamp(72px, 9vw, 128px) clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(198, 154, 69, 0.09), rgba(217, 122, 151, 0.1)),
    var(--paper);
}

.intro p:last-child,
.section-heading p,
.booking-section p,
.pattern-panel p {
  color: rgba(36, 27, 24, 0.72);
  font-size: 1.05rem;
  line-height: 1.75;
}

.gallery-section {
  background: var(--deep);
  color: var(--white);
}

.gallery-section .section-heading {
  max-width: 740px;
  margin-bottom: 38px;
}

.gallery-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.gallery-carousel {
  position: relative;
  display: grid;
  gap: 16px;
}

.gallery-stage {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vw, 680px);
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0, rgba(198, 154, 69, 0.18), transparent 34%),
    rgba(9, 30, 28, 0.82);
}

.gallery-stage img {
  object-fit: contain;
  padding: clamp(10px, 1.4vw, 18px);
}

.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), transparent 48%);
}

.gallery-stage figcaption {
  position: absolute;
  z-index: 1;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  font-weight: 800;
}

.gallery-stage small {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-controls {
  position: absolute;
  z-index: 2;
  top: calc(clamp(360px, 56vw, 680px) / 2);
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.gallery-controls button,
.thumbnail-rail button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.gallery-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--white);
  background: rgba(36, 27, 24, 0.48);
  backdrop-filter: blur(14px);
  font-size: 1.35rem;
  pointer-events: auto;
  transition: transform 180ms ease, background 180ms ease;
}

.gallery-controls button:hover {
  transform: scale(1.05);
  background: rgba(36, 27, 24, 0.68);
}

.thumbnail-rail {
  display: grid;
  grid-auto-columns: minmax(92px, 132px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.14);
}

.thumbnail-rail button {
  height: 88px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.62;
  transition: opacity 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.thumbnail-rail button:hover,
.thumbnail-rail button.is-active {
  opacity: 1;
}

.thumbnail-rail button.is-active {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.stay-section {
  background: var(--sand);
}

.section-heading {
  max-width: 860px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(36, 27, 24, 0.12);
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--paper);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 40px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--deep);
  font-size: 0.82rem;
  font-weight: 900;
}

.feature-grid p {
  color: rgba(36, 27, 24, 0.66);
  line-height: 1.7;
}

.lifestyle {
  min-height: 72svh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(36, 27, 24, 0.78), rgba(36, 27, 24, 0.2)),
    url("./public/assets/airbnb-full/airbnb-20.jpeg") center / cover;
}

.pattern-panel {
  max-width: 680px;
  margin-right: auto;
  padding: clamp(30px, 5vw, 56px);
  color: var(--white);
  background:
    radial-gradient(circle at 0 0, transparent 18px, rgba(255, 255, 255, 0.08) 19px, transparent 20px) 0 0 / 36px 36px,
    rgba(18, 59, 56, 0.8);
  box-shadow: var(--shadow);
}

.pattern-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.explore-section {
  background:
    linear-gradient(135deg, rgba(18, 59, 56, 0.08), rgba(198, 154, 69, 0.1)),
    var(--paper);
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: rgba(36, 27, 24, 0.12);
}

.explore-grid article {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 480px;
  background: rgba(255, 249, 240, 0.86);
}

.explore-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.explore-grid article div {
  padding: clamp(22px, 3vw, 32px);
}

.explore-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.6vw, 2.3rem);
  font-weight: 500;
}

.explore-grid p {
  color: rgba(36, 27, 24, 0.68);
  line-height: 1.72;
}

.booking-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 460px);
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(95, 145, 139, 0.16), rgba(217, 122, 151, 0.14)),
    var(--paper);
}

.booking-card {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(36, 27, 24, 0.1);
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-note {
  margin: 0;
  color: rgba(36, 27, 24, 0.58);
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

footer span:first-child {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
}

footer small {
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 110px;
  }

  .quick-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 34px;
  }

  .intro,
  .booking-section {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: auto;
    padding-bottom: 30px;
  }

  h1 {
    font-size: clamp(3.1rem, 18vw, 5rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    height: 360px;
  }

  .gallery-stage figcaption {
    display: grid;
  }

  .gallery-controls {
    top: 156px;
    left: 10px;
    right: 10px;
  }

  .gallery-controls button {
    width: 42px;
    height: 42px;
  }

  .thumbnail-rail {
    grid-auto-columns: 84px;
  }

  .thumbnail-rail button {
    height: 68px;
  }

  .feature-grid article {
    min-height: 220px;
  }

  footer {
    display: grid;
  }
}
