@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@300;400&display=swap');
:root {
  --dark: #18261d;
  --sage: #bbc899;
  --pale: #f1f3e9;
  --ink: #41483b;
  --line: #aab77f;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font: 15px/1.7 Montserrat,Arial,sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.hero {
  height: 50vh;
  min-height: 600px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(#10211644,#10211666),url('images/hero.jpg') center/cover;
}
.hero>img {
  width: min(390px,48vw);
  filter: drop-shadow(0 5px 15px #0005);
}
.top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  padding: 0 7vw;
  display: flex;
  align-items: center;
  gap: 22px;
  background: #17281eee;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.top span {
  margin-left: auto;
  gap: 15px;
  display: flex;
}
.top span a {
  display: inline-block;
  /*display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: 7px;
  border-radius: 50%;
  background: #d7dfbb;
  color: #18261d;*/
}
.reserve {
  border: 1px solid #c6d099;
  padding: 2px 7px;
}
nav {
  --fixed-nav-offset: 18px;
  position: absolute;
  top: 64px;
  width: 100%;
  text-align: center;
  z-index: 20;
  transition: background-color .3s ease,box-shadow .3s ease;
}
nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  padding: 18px 20px;
  background: rgba(24,38,29,.96);
  box-shadow: 0 5px 18px rgba(8,20,12,.24);
  backdrop-filter: blur(8px);
}
nav div {
  display: flex;
  justify-content: center;
  gap: 42px;
  text-transform: uppercase;
  font: 20px "Cormorant Garamond bold",serif ;
  letter-spacing: .07em;
}
nav.is-fixed div {
  font: 18px "Cormorant Garamond bold",serif ;
  gap: 50px;
}
nav div a {
  position: relative;
  transition: color .25s ease;
}
nav div a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -6px;
  height: 1px;
  background: #cbd6a1;
  transition: left .25s ease,right .25s ease;
}
nav div a:hover,nav div a.active {
  color: #cbd6a1;
}
nav div a:hover::after,nav div a.active::after {
  left: 0;
  right: 0;
}
nav button {
  display: none;
}
.scroll {
  position: absolute;
  bottom: 20px;
  font-size: 30px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.split1 {
  grid-template-columns: 3fr 3fr 1fr;
}
.split2 {
  grid-template-columns: 2fr 6fr 8fr;
}
.photo,.gallery button {
  background-position: center;
  background-size: cover;
}
.p1 {
  background-image: url('images/treehouse-1.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;
}
.p2 {
  background-image: url('images/treehouse-2.jpg');
}
.p3 {
  background-image: url('images/treehouse-3.jpg');
}
.split>article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 75px clamp(38px,8vw,140px);
}
.intro .photo {
  min-height: 420px;
  margin: 80px 0 80px clamp(30px, 10vw, 190px);
}
.intro>article {
  padding-left: 45px;
}
.pale {
  background: var(--pale);
}
i {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: #87936b;
  font-size: 12px;
}
h1,h2 {
  font: 500 36px/1.1 "Cormorant Garamond bold",serif;
  text-transform: uppercase;
  margin: 5px 0 28px;
}
h1:before,h2:before {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  margin-bottom: 15px;
  background: var(--line);
}
p {
  margin: 0 0 15px;
}
ul {
  padding-left: 17px;
  margin: 0 0 28px;
}
li {
  margin: 0 0 8px;
}
.button {
  align-self: flex-start;
  border: 1px solid #52604d;
  padding: 10px 16px;
  background: transparent;
  text-transform: uppercase;
  font: 16px "Cormorant Garamond",serif;
  cursor: pointer;
}
.button:hover {
  background: var(--dark);
  color: white;
}
.reviews {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 60px;
  padding: 60px max(10vw,35px);
  background: var(--sage);
  color: #fff;
  text-align: center;
}
.reviews article {
  max-width: 280px;
  margin: auto;
}
.reviews b {
  display: block;
  font: 70px/30px Georgia;
}
.reviews p {
  font: 22px/1.4 "Cormorant Garamond",serif;
}
.reviews small {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .08em;
}
.trips {
  background: #f7f3ed;
}
.trips h3 {
  font: 20px "Cormorant Garamond",serif;
  text-transform: uppercase;
  margin: 5px 0 5px;
  font-weight: bold;
}
.gallery {
  text-align: center;
  padding: 80px 8vw 95px;
}
.gallery h2:before,footer h2:before {
  margin-left: auto;
  margin-right: auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 35px auto 0;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--pale);
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease,filter .35s ease;
}
.gallery-grid a:hover img {
  transform: scale(1.035);
  filter: brightness(.9);
}
.gallery-grid .gallery-hidden {
  display: none;
}
.gallery-grid .gallery-revealing {
  animation: gallery-reveal .55s cubic-bezier(.22,.61,.36,1) both;
}
.gallery-more {
  margin: 30px auto 0;
}
.gallery-more[hidden] {
  display: none;
}
@keyframes gallery-reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.obsazenost {
  background-color: #BBC899;
  padding-block: 3rem;
}
.obsazenost_h2 {
  text-align: center;
}
.obsazenost_h2 h2 {
  /*color: #ffffff;*/
}
.obsazenost_h2 h2::before {
  margin: 0px auto 15px;
}
.obsazenost iframe {
  border: 0px;
  width: 100%;
  height: 280px;
}
footer {
  background: var(--dark);
  color: #e6eadc;
  text-align: center;
  padding: 55px 0px 0px;
  position: relative;
}
footer h2 {
  color: #fff;
}
.contacts {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  max-width: 800px;
  margin: 0px auto 120px;
  text-align: left;
  font-size: 15px;
}
.contacts p:nth-child(2) {
  text-align: center;
}
.contacts p:last-child {
  text-align: right;
}
.footer_img {
  position: absolute;
  bottom: 0px;
  text-align: center;
  width: 100%;
}
.footer_img img {
  width: 180px;
  background-color: #1C1B17;
  padding: 20px;
  border-radius: 50%;
  }
footer .small {
  display: block;
  padding-block: 16px;
  font-size: 12px;
  text-transform: uppercase;
  background-color: #1C1B17;
}
footer .small div {
  max-width: 1100px;
  text-align: left;
  margin: 5px auto;
}
footer .socky a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
footer .socky img {
  height: 36px;
}
@media(max-width:760px) {
  .top {
    justify-content: center;
  }
  .top>a:not(.reserve) {
    display: none;
  }
  .hero {
    min-height: 680px;
  }
  .hero>img {
    width: 76vw;
  }
  nav {
    --fixed-nav-offset: 10px;
    top: 55px;
    text-align: right;
    padding: 0 20px;
  }
  nav.is-fixed {
    top: 0;
    padding: 10px 20px;
  }
  nav button {
    display: inline-block;
    padding: 8px 12px;
    color: #fff;
    border: 1px solid #fff8;
    background: #17281ecc;
    text-transform: uppercase;
  }
  nav div {
    display: none;
    position: absolute;
    right: 20px;
    top: 43px;
    flex-direction: column;
    gap: 13px;
    padding: 20px;
    text-align: left;
    background: #17281ef5;
  }
  nav div.open {
    display: flex;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .split .photo {
    min-height: 420px;
    order: 1;
  }
  .split article {
    order: 2;
    padding: 60px 28px;
  }
  .intro .photo {
    margin: 45px 28px 0;
    min-height: 360px;
  }
  .intro>article {
    padding-left: 28px;
  }
  .reviews {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
  }  .contacts {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 12px;
  }
  .contacts p:nth-child(2),.contacts p:last-child {
    text-align: center;
  }
  footer .socky a {
    justify-content: center;
  }
}
