@import url('../fonts/inter/inter.css');

:root {
  --text: #111;
  --muted: #6a6a6a;
  --line: #dedede;
  --soft: #f7f7f7;
  --accent: #111;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

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

button { font: inherit; color: inherit; }

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 22px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 88px;
  max-width: min(360px, 58vw);
  object-fit: contain;
}

.top-nav { display: flex; gap: 22px; font-size: 14px; }
.top-nav a { text-decoration: none; }
.top-nav a:hover { text-decoration: underline; }

main { max-width: var(--max); margin: 0 auto; padding: 0 22px 64px; }

.intro { padding: 22px 0 18px; max-width: 780px; }
.intro h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 54px); line-height: 1; letter-spacing: -0.055em; }
.intro p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 8px;
  overflow: hidden;
  border-radius: 18px;
}

.hero-card {
  appearance: none;
  border: 0;
  padding: 0;
  background: #eee;
  cursor: pointer;
  overflow: hidden;
}

.hero-card--main { grid-row: span 2; }
.hero-card img, .photo-card img { transition: transform 180ms ease, filter 180ms ease; }
.hero-card:hover img, .photo-card button:hover img { transform: scale(1.025); filter: brightness(.96); }

.all-photos {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #fff;
  color: #111;
  text-decoration: none;
  border: 1px solid #111;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 54px;
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
}

.section-title { margin: 0 0 22px; font-size: 28px; letter-spacing: -0.035em; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 34px;
  margin: 0;
}

.facts div { padding-top: 18px; border-top: 1px solid var(--line); }
.facts dt { font-weight: 800; margin-bottom: 5px; }
.facts dd { margin: 0; color: var(--muted); line-height: 1.45; }

.booking-card {
  position: sticky;
  top: 22px;
  align-self: start;
  border: 1px solid #cfcfcf;
  border-radius: 18px;
  padding: 22px;
  background: #fff;
}

.price { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.booking-card p { color: var(--muted); line-height: 1.45; }

.booking-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #111;
  border-radius: 12px;
  overflow: hidden;
  margin: 18px 0;
}

.booking-detail div { padding: 12px; }
.booking-detail div + div { border-left: 1px solid #111; }
.booking-detail strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.booking-detail span { display: block; margin-top: 4px; font-weight: 700; }

.reservation-actions { display: grid; gap: 10px; }
.reservation-actions a {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 800;
}
.reservation-actions span { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; opacity: .78; }
.reservation-actions a:first-child { background: #111; color: #fff; }
.reservation-actions a:last-child { border: 1px solid #111; }

.amenities { padding: 54px 0; border-bottom: 1px solid var(--line); }
.amenities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 44px;
}
.amenities-list li { display: grid; grid-template-columns: 62px 1fr; gap: 14px; align-items: start; }
.amenity-icon { width: 52px; height: 52px; display: block; object-fit: contain; }
.amenities-list strong { display: block; font-size: 16px; }
.amenities-list span:not(.amenity-icon) { display: block; margin-top: 3px; color: var(--muted); line-height: 1.45; }

.location { padding: 54px 0 0; }
.location-map {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
}
.travel-times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 14px;
}
.travel-times-title {
  margin: 24px 0 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.travel-time {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}
.travel-time img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}
.travel-time p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}
.travel-time strong {
  display: block;
  color: var(--text);
  font-size: 18px;
}
.location-address {
  display: block;
  width: fit-content;
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.location-address:hover { color: var(--text); }

.photo-page main { max-width: 1240px; }
.photo-head { padding: 22px 0 26px; }
.photo-head h1 { margin: 0 0 18px; font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.055em; }
.photo-tabs { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.photo-tabs a { flex: 0 0 auto; text-decoration: none; border: 1px solid #d8d1c7; border-radius: 999px; padding: 8px 12px; font-weight: 700; font-size: 14px; }
.photo-tabs a:hover { border-color: #111; }

.photo-section {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 44px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.photo-section__text { position: sticky; top: 24px; align-self: start; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.photo-section__text h2 { margin: 0 0 12px; font-size: 24px; letter-spacing: -0.03em; }
.photo-section__text p:last-child { margin: 0; color: var(--muted); line-height: 1.5; }

.photo-section__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photo-card { margin: 0; }
.photo-card button { width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; background: #eee; cursor: pointer; overflow: hidden; border-radius: 12px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .88);
}
.lightbox.is-open { display: grid; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: 90vh; object-fit: contain; }
.lightbox button { position: fixed; top: 18px; right: 18px; border: 0; background: #fff; border-radius: 999px; padding: 10px 14px; cursor: pointer; font-weight: 800; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 28px 22px 42px; color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .top-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 280px 140px 140px; }
  .hero-card--main { grid-column: span 2; grid-row: span 1; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .booking-card { position: static; }
  .photo-section { grid-template-columns: 1fr; gap: 22px; }
  .photo-section__text { position: static; }
}

@media (max-width: 620px) {
  .site-header { padding-top: 18px; }
  main { padding-inline: 16px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-rows: 310px; border-radius: 14px; }
  .hero-card:not(.hero-card--main) { display: none; }
  .hero-card--main { grid-column: auto; }
  .all-photos { right: 12px; bottom: 12px; }
  .facts, .amenities-list { grid-template-columns: 1fr; }
  .photo-section__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 86px;
    grid-auto-flow: dense;
    gap: 6px;
  }
  .photo-card { min-width: 0; grid-row: span 2; }
  .photo-card:nth-child(6n + 3) { grid-column: 1 / -1; grid-row: span 3; }
  .photo-card:nth-child(6n + 4) { grid-row: span 4; }
  .photo-card button { height: 100%; aspect-ratio: auto; border-radius: 12px; }
  .booking-detail { grid-template-columns: 1fr; }
  .booking-detail div + div { border-left: 0; border-top: 1px solid #111; }
  .travel-times { gap: 16px; }
  .travel-time img { width: 84px; height: 84px; }
  .travel-time strong { font-size: 16px; }
}
