@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #09111f;
  --primary-color-2: #111b2f;
  --secondary-color: #c8a66a;
  --secondary-color-2: #e3c28a;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --extra-light: #f7f4ef;
  --white: #ffffff;
  --max-width: 1240px;
  --header-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
  --shadow-lg: 0 24px 60px rgba(6, 12, 23, 0.12);
  --shadow-md: 0 16px 40px rgba(6, 12, 23, 0.1);
  --border-soft: 1px solid rgba(255, 255, 255, 0.08);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background:
    radial-gradient(circle at top left, rgba(200, 166, 106, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(9, 17, 31, 0.08), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #fbf8f2 45%, #f5f1ea 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 45%);
  pointer-events: none;
  z-index: -2;
}

::selection {
  color: var(--white);
  background: var(--secondary-color);
}

a {
  text-decoration: none;
}

img,
video {
  width: 100%;
  display: block;
}

img {
  object-fit: cover;
}

button,
input {
  font: inherit;
}

button,
a,
input,
[role="button"] {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 3px;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 6rem 1rem;
  position: relative;
  z-index: 1;
}

.section__subheader {
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.section__header {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.section__description {
  margin-top: 1rem;
  color: var(--text-light);
  line-height: 1.85;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-2));
  box-shadow: 0 14px 30px rgba(200, 166, 106, 0.28);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(200, 166, 106, 0.34);
}

.btn:active {
  transform: translateY(0);
}

.section__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section__nav span {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--text-dark);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.section__nav span:hover {
  color: var(--white);
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.2em;
}

.logo div {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  letter-spacing: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-2));
  border-radius: 0.9rem;
  box-shadow: 0 12px 30px rgba(9, 17, 31, 0.2);
}

nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9;
  padding: 0.9rem 1rem;
}

.nav__bar {
  max-width: var(--max-width);
  margin: auto;
  position: relative;
  isolation: isolate;
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.1rem;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.34), rgba(9, 17, 31, 0.16));
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 34px rgba(4, 8, 17, 0.2);
}

.nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: var(--border-soft);
  border-radius: 1.25rem;
  background: rgba(9, 17, 31, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  transform: translateY(-1rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.nav__links.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__links a {
  display: inline-block;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header {
  min-height: 100svh;
  padding: 8.5rem 0 6rem;
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  background-image: linear-gradient(180deg, rgba(4, 8, 17, 0.28), rgba(4, 8, 17, 0.72)),
    url("assets/hero.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header__container {
  max-width: 760px;
}

.header__container .section__subheader {
  color: rgba(255, 255, 255, 0.8);
}

.header__container h1 {
  margin-bottom: 2rem;
  font-size: clamp(3.25rem, 8vw, 7.5rem);
  line-height: 0.95;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--white);
  text-wrap: balance;
}

.header__container .btn {
  box-shadow: 0 20px 34px rgba(12, 17, 31, 0.3);
}

.booking {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.booking__container {
  padding-top: 0;
}

.booking__panel {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 244, 239, 0.92));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.booking__content {
  display: grid;
  gap: 1.1rem;
}

.booking__panel .section__header {
  max-width: 12ch;
}

.booking__contacts {
  display: grid;
  gap: 0.85rem;
}

.booking__contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  color: var(--text-dark);
  background: rgba(9, 17, 31, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.booking__contact:hover {
  color: var(--white);
  background: var(--primary-color);
}

.booking__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.booking__actions .btn {
  min-width: 10rem;
}

.booking__map {
  display: grid;
  gap: 0.85rem;
}

.booking__map iframe {
  width: 100%;
  min-height: 16rem;
  border: 0;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-md);
}

.booking__map-note {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-light);
}

.booking__btn--secondary {
  color: var(--text-dark);
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: none;
}

.booking__btn--secondary:hover {
  color: var(--white);
  background: var(--primary-color);
  box-shadow: 0 18px 34px rgba(9, 17, 31, 0.18);
}

.about {
  position: relative;
  isolation: isolate;
}

.about::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(78%, 62rem);
  height: 72%;
  background: linear-gradient(135deg, rgba(200, 166, 106, 0.08), rgba(9, 17, 31, 0.04)),
    url("images/about-bg.svg") center/cover no-repeat;
  opacity: 0.9;
  z-index: -1;
  filter: saturate(0.85);
}

.about__container {
  display: grid;
  gap: 4rem 2rem;
}

.about__grid {
  display: grid;
  gap: 1rem;
}

.about__card,
.feature__card,
.room__card__details,
.intro__video {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.about__card {
  height: 100%;
  padding: 2rem;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 1.25rem;
}

.about__card span {
  margin-bottom: 1rem;
  font-size: 2.6rem;
  color: var(--secondary-color);
}

.about__card h4 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--header-font);
  color: var(--text-dark);
}

.about__card p {
  color: var(--text-light);
  line-height: 1.75;
}

.about__card:nth-child(4) {
  background: linear-gradient(145deg, var(--primary-color), var(--primary-color-2));
}

.about__card:nth-child(4) :is(h4, p) {
  color: var(--white);
}

.about__image img {
  height: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about__content .section__description {
  margin-bottom: 2rem;
  max-width: 34rem;
}

.room__container {
  padding-block: 6rem;
}

.room__container :is(.section__subheader, .section__header) {
  padding-inline: 1rem;
  text-align: center;
}

.room__grid {
  max-width: 1500px;
  margin-inline: auto;
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.room__card {
  border-radius: 1.35rem;
  overflow: hidden;
}

.room__card img {
  min-height: 22rem;
  border-radius: 1.35rem 1.35rem 0 0;
  box-shadow: var(--shadow-md);
}

.room__card__details {
  margin: -2.5rem 1rem 0;
  padding: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1.1rem;
  position: relative;
  z-index: 1;
}

.room__card__details h4,
.feature__card h4,
.footer__col h4,
.footer__links h5 {
  font-family: var(--header-font);
}

.room__card__details h4 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
}

.room__card__details p {
  color: var(--text-light);
  line-height: 1.7;
}

.room__card__details--overlay {
  margin: -3rem 1rem 0;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.02), rgba(9, 17, 31, 0.88));
  border-color: rgba(255, 255, 255, 0.08);
}

.room__card__details--overlay h4,
.room__card__details--overlay p {
  color: var(--white);
}

.intro {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-2));
}

.intro::before {
  content: "";
  position: absolute;
  right: 0;
  inset-block: 0;
  width: min(32vw, 24rem);
  background: linear-gradient(180deg, rgba(200, 166, 106, 0.95), rgba(227, 194, 138, 0.75));
  z-index: -1;
}

.intro__container {
  display: grid;
  gap: 4rem 2rem;
  align-items: center;
}

.intro__container .section__subheader {
  color: var(--secondary-color-2);
}

.intro__container :is(.section__header, .section__description) {
  margin-bottom: 1rem;
  color: var(--white);
}

.intro__video {
  max-width: 560px;
  margin: auto;
  border-radius: 1.5rem;
  overflow: hidden;
}

.intro__video video {
  height: 100%;
}

.feature__container {
  padding-block: 6rem;
}

.feature__container :is(.section__subheader, .section__header) {
  text-align: center;
}

.feature__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}

.feature__grid--image-led {
  gap: 1.25rem;
}

.feature__card {
  padding: 1.6rem;
  border-radius: 1.25rem;
}

.feature__card--image {
  overflow: hidden;
  padding: 0;
}

.feature__card--image img {
  width: 100%;
  height: 16rem;
  display: block;
  object-fit: cover;
}

.feature__card--image div {
  padding: 1.25rem 1.35rem 1.4rem;
}

.feature__card--image h4 {
  margin-bottom: 0.65rem;
}

.feature__card span {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--secondary-color);
  border-radius: 1rem;
  background: rgba(200, 166, 106, 0.12);
}

.feature__card h4 {
  margin-bottom: 0.85rem;
  font-size: 1.18rem;
  color: var(--text-dark);
}

.feature__card p {
  color: var(--text-light);
  line-height: 1.8;
}

.footer {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, var(--primary-color), #060c17);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top center, rgba(200, 166, 106, 0.18), transparent 30%);
  pointer-events: none;
  z-index: -1;
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__logo {
  margin-bottom: 2rem;
  color: var(--white);
}

.footer__logo div {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color-2));
}

.footer__container .section__description {
  color: rgba(255, 255, 255, 0.68);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.68);
}

.footer__links a:hover {
  color: var(--secondary-color-2);
}

.footer__col:last-child .footer__links li {
  margin-bottom: 1.5rem;
}

.footer__links span {
  font-size: 1.6rem;
  color: var(--secondary-color);
}

.footer__links h5 {
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
}

.footer__links p {
  color: rgba(255, 255, 255, 0.68);
}

.footer__bar {
  padding: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (width > 480px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__image:nth-child(1) {
    grid-area: 1/2/2/3;
  }

  .about__image:nth-child(1),
  .about__card:nth-child(4) {
    transform: translateY(2rem);
  }

  .feature__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: 1/3;
  }
}

@media (width > 768px) {
  nav {
    padding: 0.95rem 1.5rem;
  }

  .nav__bar {
    padding: 0.95rem 1.4rem;
  }

  .nav__header {
    padding: 0;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    width: fit-content;
    padding: 0;
    position: static;
    flex-direction: row;
    gap: 0.25rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav__links a {
    color: rgba(255, 255, 255, 0.84);
  }

  .nav__links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
  }

  .booking__panel {
    padding: 2.25rem;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
  }

  .booking__content {
    align-content: start;
  }

  .booking__map {
    justify-self: stretch;
    align-self: stretch;
  }

  .about::before {
    width: 72%;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .room__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    grid-template-columns: 2fr repeat(2, 1fr);
  }

  .footer__col:first-child {
    grid-column: unset;
  }

}

@media (width > 1024px) {
  .section__container {
    padding-inline: 1.25rem;
  }

  .about__grid {
    gap: 1.5rem;
  }

  .room__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .room__card__details--overlay {
    margin: -3.25rem 1rem 0;
  }

  .feature__grid--image-led {
    gap: 1.5rem;
  }
}
