/* =========================================================
   GK11 WEBSITE
   HIMMAFUSHI · MALDIVES
========================================================= */

:root {
  --teal: #155f68;
  --teal-dark: #0b424a;
  --deep: #073f47;
  --orange: #ed7140;
  --cream: #f7f2e7;
  --sand: #ebe1cf;
  --ink: #16363a;
  --muted: #6c7774;
  --white: #fffdf8;
  --line: rgba(21, 95, 104, 0.14);

  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  background: var(--cream);

  color: var(--ink);

  font-family: var(--sans);

  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

img {
  max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  height: 88px;

  padding: 12px 5vw;

  display: flex;

  align-items: center;

  justify-content: space-between;

  position: fixed;

  top: 0;
  left: 0;
  right: 0;

  z-index: 20;

  background: rgba(247, 242, 231, 0.92);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--line);
}

.brand img {
  width: 76px;
  height: 76px;

  object-fit: cover;

  mix-blend-mode: multiply;
}

.desktop-nav {
  display: flex;

  gap: 34px;

  margin-left: auto;
  margin-right: 42px;
}

.desktop-nav a {
  position: relative;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.04em;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;
  height: 1px;

  background: var(--teal);

  transition: 0.3s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.header-book {
  padding: 13px 22px;

  background: var(--teal);

  color: white;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 700;

  transition: 0.25s;
}

.header-book:hover {
  background: var(--teal-dark);

  transform: translateY(-1px);
}

.menu-toggle {
  display: none;

  background: none;

  border: 0;

  color: var(--teal);

  font-size: 26px;

  cursor: pointer;
}

.mobile-menu {
  display: none;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  height: min(860px, 100vh);

  min-height: 680px;

  position: relative;

  display: flex;

  align-items: center;

  overflow: hidden;

  background: #b9d7d2;
}

.hero-image {
  position: absolute;

  inset: 0;

  background-position: center;

  background-size: cover;

  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(8, 46, 53, 0.67) 0%,
      rgba(8, 46, 53, 0.35) 45%,
      rgba(8, 46, 53, 0.07) 80%
    );
}

.hero-content {
  position: relative;

  z-index: 2;

  width: min(680px, 90%);

  margin-left: 8vw;

  margin-top: 60px;

  color: white;
}

.eyebrow {
  display: inline-block;

  margin-bottom: 18px;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.22em;
}

.eyebrow.teal {
  color: var(--teal);
}

.hero h1 {
  margin: 0 0 25px;

  font-family: var(--serif);

  font-size: clamp(55px, 7vw, 98px);

  font-weight: 500;

  line-height: 0.97;

  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  font-style: italic;

  font-weight: 500;
}

.hero p {
  max-width: 540px;

  margin: 0 0 32px;

  color: rgba(255, 255, 255, 0.9);

  font-size: 17px;

  line-height: 1.75;
}

.hero-actions {
  display: flex;

  gap: 13px;

  flex-wrap: wrap;
}

.button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 24px;

  padding: 15px 23px;

  border: 0;

  border-radius: 999px;

  cursor: pointer;

  font-size: 13px;

  font-weight: 700;

  transition: 0.25s;
}

.button-primary {
  background: var(--orange);

  color: white;
}

.button-primary:hover {
  background: #dc6032;

  transform: translateY(-2px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.55);

  backdrop-filter: blur(8px);
}

.button-ghost:hover {
  background: white;

  color: var(--teal);
}

.hero-scroll {
  position: absolute;

  z-index: 2;

  right: 6vw;

  bottom: 27px;

  color: white;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.18em;
}

.hero-scroll span {
  margin-left: 10px;

  font-size: 18px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
  padding: 115px 8vw;
}

h2 {
  margin: 0 0 22px;

  font-family: var(--serif);

  font-size: clamp(40px, 4.8vw, 65px);

  font-weight: 500;

  line-height: 1.05;

  letter-spacing: -0.035em;
}

.lead {
  max-width: 780px;

  color: #53635f;

  font-size: 18px;

  line-height: 1.8;
}

.text-link {
  display: inline-flex;

  align-items: center;

  gap: 13px;

  margin-top: 20px;

  padding-bottom: 5px;

  color: var(--teal);

  border-bottom: 1px solid var(--teal);

  font-size: 13px;

  font-weight: 700;
}

.text-link span {
  font-size: 17px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.intro {
  display: grid;

  grid-template-columns: 180px 1fr;

  gap: 80px;

  align-items: start;

  background: var(--white);
}

.intro-mark {
  padding-top: 9px;

  color: var(--teal);

  font-family: var(--serif);

  font-size: 74px;

  line-height: 0.8;
}

.intro-mark span {
  display: block;

  margin-top: 20px;

  margin-left: 9px;

  font-family: var(--sans);

  font-size: 12px;

  letter-spacing: 0.3em;
}


/* =========================================================
   ROOM CARDS
========================================================= */

.rooms {
  background: var(--cream);
}

.section-heading {
  display: flex;

  align-items: end;

  justify-content: space-between;

  margin-bottom: 45px;
}

.room-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 24px;
}

.room-card {
  overflow: hidden;

  background: var(--white);
}

.room-photo {
  height: 410px;

  position: relative;

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;
}

.room-tag {
  position: absolute;

  top: 22px;

  left: 22px;

  padding: 7px 11px;

  color: white;

  background: rgba(0, 0, 0, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.55);

  backdrop-filter: blur(8px);

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.16em;
}

.room-body {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 27px 28px 30px;
}

.room-body h3 {
  margin: 0 0 5px;

  font-family: var(--serif);

  font-size: 27px;

  font-weight: 500;
}

.room-body p {
  margin: 0;

  color: var(--muted);

  font-size: 13px;
}

.room-body > a {
  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  flex-shrink: 0;

  color: var(--teal);

  border: 1px solid var(--line);

  border-radius: 50%;

  font-size: 20px;

  transition: 0.25s;
}

.room-body > a:hover {
  background: var(--teal);

  color: white;
}


/* =========================================================
   ROOM DETAILS
========================================================= */

.gk-room-detail {
  padding: 100px 5vw;

  background: #fffdf9;
}

.gk-room-layout {
  width: min(1500px, 100%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1.35fr 0.85fr;

  gap: 55px;

  align-items: start;
}

.gk-room-main-image {
  width: 100%;

  height: 570px;

  display: block;

  object-fit: cover;

  object-position: center;

  border-radius: 18px;
}


/* =========================================================
   ROOM THUMBNAILS
========================================================= */

.gk-room-thumbnails {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;

  margin-top: 14px;
}

.gk-room-thumbnails img {
  width: 100%;

  height: 145px;

  display: block;

  object-fit: cover;

  object-position: center;

  cursor: pointer;

  border: 2px solid transparent;

  border-radius: 13px;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.gk-room-thumbnails img:hover {
  opacity: 0.85;

  transform: translateY(-2px);

  border-color: var(--teal);
}


/* =========================================================
   ROOM INFORMATION
========================================================= */

.gk-room-info {
  padding-top: 20px;
}

.gk-room-eyebrow {
  display: flex;

  align-items: center;

  gap: 15px;

  margin-bottom: 18px;

  color: #173d3d;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.2em;
}

.gk-room-eyebrow::after {
  content: "";

  width: 34px;

  height: 2px;

  background: #c8953e;
}

.gk-room-info h2 {
  margin: 0 0 15px;

  color: #073b36;

  font-family: var(--sans);

  font-size: clamp(47px, 5vw, 72px);

  font-weight: 700;

  line-height: 1;

  letter-spacing: -0.05em;
}

.gk-room-subtitle {
  margin-bottom: 27px;

  color: #263532;

  font-family: var(--serif);

  font-size: 22px;

  font-style: italic;
}

.gk-room-description {
  margin-bottom: 35px;

  color: #44524f;

  font-size: 16px;

  line-height: 1.8;
}


/* =========================================================
   ROOM AMENITIES
========================================================= */

.gk-room-amenities {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 12px;
}

.gk-amenity {
  min-height: 78px;

  display: flex;

  align-items: center;

  gap: 11px;

  padding: 15px 12px;

  background: #fff;

  color: #233633;

  border: 1px solid #e6e8e5;

  border-radius: 12px;

  font-size: 13px;
}

.gk-amenity-icon {
  width: 25px;

  flex-shrink: 0;

  color: #073b36;

  text-align: center;

  font-size: 21px;
}


/* =========================================================
   ROOM CAPACITY
========================================================= */

.gk-room-capacity {
  min-height: 76px;

  margin-top: 28px;

  padding: 15px 20px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 25px;

  background: #f0f7fa;

  border-radius: 14px;
}

.gk-capacity-item {
  display: flex;

  align-items: center;

  gap: 9px;

  color: #233633;

  font-size: 14px;
}

.gk-capacity-icon {
  font-size: 22px;
}

.gk-capacity-divider {
  width: 1px;

  height: 32px;

  background: #bdcdd1;
}


/* =========================================================
   ROOM BOOK BUTTON
========================================================= */

.gk-room-book {
  width: 100%;

  margin-top: 28px;

  padding: 20px 24px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 60px;

  background: #064d47;

  color: white;

  border-radius: 10px;

  font-size: 15px;

  font-weight: 600;

  transition: 0.25s ease;
}

.gk-room-book:hover {
  background: #033d38;

  transform: translateY(-2px);
}


/* =========================================================
   ROOM BENEFITS
========================================================= */

.gk-room-benefits {
  width: min(1500px, 100%);

  margin: 30px auto 0;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.gk-benefit {
  min-height: 95px;

  padding: 22px 30px;

  display: flex;

  align-items: center;

  gap: 22px;

  background: #faf9f7;

  border-radius: 15px;
}

.gk-benefit-icon {
  min-width: 40px;

  color: #073b36;

  font-size: 34px;
}

.gk-benefit strong {
  display: block;

  color: #173d3d;

  font-size: 15px;
}

.gk-benefit span {
  display: block;

  margin-top: 3px;

  color: #66736f;

  font-size: 12px;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience {
  padding: 0;

  display: grid;

  grid-template-columns: 1.05fr 0.95fr;

  background: var(--teal-dark);

  color: white;
}

.experience-image {
  min-height: 650px;

  background-color: #3f7776;

  background-position: center;

  background-size: cover;

  background-repeat: no-repeat;
}

.experience-copy {
  padding: 110px 8vw 90px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.experience-copy p {
  max-width: 520px;

  color: rgba(255, 255, 255, 0.75);

  line-height: 1.8;
}


/* =========================================================
   GALLERY
========================================================= */

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

.gallery .section-heading {
  margin-bottom: 42px;
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    1.05fr
    1fr
    1fr;

  grid-template-rows:
    270px
    270px;

  gap: 12px;
}

.gallery-item {
  position: relative;

  overflow: hidden;

  background-color: #d7e4e0;

  background-repeat: no-repeat;

  background-size: cover;

  background-position: center;

  border-radius: 12px;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);

  filter: brightness(1.04);
}


/* LARGE LEFT IMAGE */

.g1 {
  grid-row: span 2;
background-position: center;
}


/* HIMMAFUSHI SWINGS */

.g2 {
background-position: center 53%;
}


/* LAGOON / FLAGS */

.g3 {
background-position: center 62%;
}


/* PAVILION / PALMS */

.g4 {
background-position: center;
}


/* LAGOON VIEW */

.g5 {
background-position: center 58%;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
  display: grid;

  grid-template-columns: 1.35fr 0.65fr;

  gap: 100px;

  align-items: center;
}

.about-copy p {
  max-width: 670px;

  color: var(--muted);
}

.about-card {
  width: min(330px, 100%);

  aspect-ratio: 1 / 1.15;

  justify-self: end;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-direction: column;

  background: var(--sand);

  text-align: center;
}

.about-card img {
  width: 190px;

  height: 190px;

  object-fit: cover;

  mix-blend-mode: multiply;
}

.about-card-line {
  width: 42px;

  height: 1px;

  margin: 15px 0;

  background: var(--teal);
}

.about-card p {
  margin: 0;

  color: var(--teal);

  font-size: 9px;

  letter-spacing: 0.22em;

  line-height: 1.7;
}


/* =========================================================
   REAL GOOGLE MAP LOCATION
========================================================= */

.location {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 80px;

  align-items: center;

  background: var(--cream);
}


/* MAP */

.real-map {
  width: 100%;

  height: 560px;

  overflow: hidden;

  background: #dce7e5;

  border-radius: 18px;

  box-shadow:
    0 18px 50px rgba(7, 63, 71, 0.09);
}

.real-map iframe {
  width: 100%;

  height: 100%;

  display: block;
}


/* LOCATION TEXT */

.location-copy {
  max-width: 580px;
}

.location-copy p {
  margin-bottom: 35px;

  color: var(--muted);

  font-size: 15px;

  line-height: 1.8;
}


/* LOCATION DETAILS */

.location-details {
  margin-top: 35px;

  border-top: 1px solid var(--line);
}

.location-detail {
  display: grid;

  grid-template-columns: 45px 1fr;

  gap: 15px;

  padding: 19px 0;

  border-bottom: 1px solid var(--line);
}

.location-detail > span {
  padding-top: 2px;

  color: #9aa6a3;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.12em;
}

.location-detail div {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.location-detail strong {
  color: var(--ink);

  font-size: 14px;
}

.location-detail small {
  max-width: 400px;

  color: var(--muted);

  font-size: 12px;

  line-height: 1.6;
}


/* DIRECTIONS */

.directions-button {
  margin-top: 30px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 35px;

  padding: 15px 24px;

  background: var(--teal);

  color: white;

  border-radius: 999px;

  font-size: 13px;

  font-weight: 700;

  transition: 0.25s ease;
}

.directions-button:hover {
  background: var(--teal-dark);

  transform: translateY(-2px);
}

.directions-button span {
  font-size: 17px;
}


/* =========================================================
   BOOKING
========================================================= */

.booking {
  padding: 105px 6vw;

  background: var(--teal);

  color: white;

  text-align: center;
}

.booking-inner {
  max-width: 1100px;

  margin: auto;
}

.booking h2 {
  font-size: clamp(46px, 5.5vw, 76px);
}

.booking-inner > p {
  max-width: 600px;

  margin: 0 auto;

  color: rgba(255, 255, 255, 0.72);
}

.booking-form {
  max-width: 1050px;

  margin: 42px auto 0;

  padding: 10px;

  display: grid;

  grid-template-columns: 1fr 1fr 0.72fr 1.05fr auto;

  gap: 8px;

  background: white;

  border-radius: 8px;

  text-align: left;
}

.booking-form label {
  display: flex;

  flex-direction: column;

  padding: 9px 13px;
}

.booking-form label span {
  margin-bottom: 2px;

  color: #77817f;

  font-size: 9px;

  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;
}

.booking-form input,
.booking-form select {
  padding: 3px 0;

  background: transparent;

  color: var(--ink);

  border: 0;

  outline: 0;

  font-size: 13px;
}

.button-light {
  padding: 0 25px;

  background: var(--orange);

  color: white;

  border-radius: 5px;
}

.button-light:hover {
  background: #d96135;
}

.form-note {
  margin-top: 16px !important;

  color: rgba(255, 255, 255, 0.45) !important;

  font-size: 11px !important;
}


/* BOOKING CONTACT OPTIONS */

.booking-contact-options {
  max-width: 1050px;

  margin: 28px auto 0;

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 10px;
}

.booking-contact-link {
  min-height: 82px;

  padding: 16px 18px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: center;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: 10px;

  font-size: 13px;

  font-weight: 700;

  text-align: left;

  transition: 0.25s ease;
}

.booking-contact-link span {
  margin-top: 4px;

  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;

  font-weight: 500;

  overflow-wrap: anywhere;
}

.booking-contact-link:hover {
  background: rgba(255, 255, 255, 0.15);

  border-color: rgba(255, 255, 255, 0.4);

  transform: translateY(-2px);
}

.booking-contact-link.booking-dot-com {
  background: rgba(255, 255, 255, 0.13);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding: 60px 8vw 25px;

  background: #083e46;

  color: white;
}

.footer-top {
  display: grid;

  grid-template-columns: 1.5fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 60px;
}

.footer-brand img {
  width: 95px;

  height: 95px;

  object-fit: cover;

  mix-blend-mode: screen;

  filter: brightness(1.25);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);

  font-size: 13px;
}

.footer-links {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 15px;

  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.04em;
}

.footer-contact {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 9px;
}

.footer-contact span {
  margin-bottom: 5px;

  color: rgba(255, 255, 255, 0.45);

  font-size: 9px;

  letter-spacing: 0.2em;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);

  font-size: 13px;
}

.footer-bottom {
  padding-top: 20px;

  display: flex;

  justify-content: space-between;

  color: rgba(255, 255, 255, 0.4);

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  font-size: 10px;

  letter-spacing: 0.04em;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

  .gk-room-layout {
    grid-template-columns: 1fr;
  }

  .gk-room-main-image {
    height: 500px;
  }

  .gk-room-info {
    padding-top: 10px;
  }

}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 850px) {

  .site-header {
    height: 76px;

    padding: 8px 5vw;
  }

  .brand img {
    width: 64px;

    height: 64px;
  }

  .desktop-nav,
  .header-book {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;

    z-index: 19;

    top: 76px;

    left: 0;
    right: 0;

    padding: 22px 7vw;

    display: flex;

    flex-direction: column;

    gap: 18px;

    background: var(--white);

    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.08);

    transform: translateY(-120%);

    transition: 0.35s;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu a {
    font-size: 14px;

    font-weight: 600;
  }

  .mobile-book {
    padding: 12px 18px;

    background: var(--teal);

    color: white;

    border-radius: 999px;

    text-align: center;
  }


  /* HERO */

  .hero {
    min-height: 700px;
  }

  .hero-image {
    background-position: center;
  }

  .hero-content {
    margin-left: 7vw;

    margin-top: 50px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-scroll {
    display: none;
  }


  /* GENERAL */

  .section {
    padding: 80px 7vw;
  }


  /* INTRO */

  .intro {
    grid-template-columns: 1fr;

    gap: 25px;
  }

  .intro-mark {
    display: none;
  }


  /* ROOMS */

  .section-heading {
    display: block;
  }

  .desktop-only {
    display: none;
  }

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

  .room-photo {
    height: 360px;
  }


  /* EXPERIENCE */

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

  .experience-image {
    min-height: 430px;
  }

  .experience-copy {
    padding: 75px 7vw;
  }


  /* GALLERY */

  .gallery-grid {
    grid-template-columns: 1fr 1fr;

    grid-template-rows:
      260px
      220px
      220px;
  }

  .g1 {
    grid-column: span 2;

    grid-row: auto;
  }


  /* ABOUT */

  .about {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .about-card {
    justify-self: center;
  }


  /* LOCATION */

  .location {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .real-map {
    height: 450px;
  }

  .location-copy {
    max-width: none;
  }


  /* BOOKING */

  .booking-form {
    grid-template-columns: 1fr 1fr;
  }

  .button-light {
    height: 55px;
  }

  .booking-contact-options {
    grid-template-columns: 1fr 1fr;
  }


  /* FOOTER */

  .footer-top {
    grid-template-columns: 1fr 1fr;

    gap: 45px;
  }

  .footer-brand {
    grid-column: span 2;
  }

}


/* =========================================================
   ROOM MOBILE
========================================================= */

@media (max-width: 700px) {

  .gk-room-detail {
    padding: 75px 5vw;
  }

  .gk-room-main-image {
    height: 360px;
  }

  .gk-room-thumbnails {
    gap: 8px;
  }

  .gk-room-thumbnails img {
    height: 105px;
  }

  .gk-room-info h2 {
    font-size: 44px;
  }

  .gk-room-amenities {
    grid-template-columns: 1fr 1fr;
  }

  .gk-room-benefits {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

  .hero h1 {
    font-size: 52px;
  }

  .hero-content {
    margin-top: 70px;
  }

  .button {
    width: 100%;
  }


  /* ROOMS */

  .room-photo {
    height: 300px;
  }


  /* GALLERY */

  .gallery-grid {
    display: grid;

    grid-template-columns: 1fr;

    grid-template-rows: none;

    gap: 10px;
  }

  .gallery-item,
  .g1,
  .g2,
  .g3,
  .g4,
  .g5 {
    grid-column: auto;

    grid-row: auto;

    height: 260px;
  }


  /* LOCATION */

  .real-map {
    height: 350px;

    border-radius: 12px;
  }

  .location-detail {
    grid-template-columns: 35px 1fr;
  }

  .directions-button {
    width: 100%;
  }


  /* BOOKING */

  .booking-form {
    grid-template-columns: 1fr;
  }

  .button-light {
    height: 52px;
  }

  .booking-contact-options {
    grid-template-columns: 1fr;
  }


  /* FOOTER */

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 8px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

  .gk-room-main-image {
    height: 300px;
  }

  .gk-room-thumbnails img {
    height: 90px;
  }

  .gk-room-amenities {
    grid-template-columns: 1fr;
  }

  .gk-room-capacity {
    flex-direction: column;

    gap: 12px;
  }

  .gk-capacity-divider {
    width: 80%;

    height: 1px;
  }

}

/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
  position: fixed;

  right: 24px;
  bottom: 24px;

  z-index: 40;

  min-height: 58px;

  padding: 0 19px 0 14px;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  background: #25d366;

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.28);

  border-radius: 999px;

  box-shadow:
    0 12px 28px rgba(7, 63, 71, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.14);

  font-size: 13px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;

  flex-shrink: 0;
}

.floating-whatsapp:hover {
  background: #1fbd59;

  transform: translateY(-2px);

  box-shadow:
    0 16px 34px rgba(7, 63, 71, 0.25),
    0 5px 14px rgba(0, 0, 0, 0.16);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);

  outline-offset: 3px;
}


/* =========================================================
   PERFORMANCE OPTIMIZATIONS
========================================================= */

.lazy-background {
  background-image: none;
}

@supports (content-visibility: auto) {
  .gk-room-detail,
  .experience,
  .gallery,
  .about,
  .location,
  .booking,
  footer {
    content-visibility: auto;

    contain-intrinsic-size: auto 800px;
  }
}

@media (max-width: 520px) {
  .floating-whatsapp {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));

    width: 56px;
    height: 56px;
    min-height: 56px;

    padding: 0;

    justify-content: center;
  }

  .floating-whatsapp span {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    white-space: nowrap;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* =========================================================
   ACCESSIBLE ROOM THUMBNAILS
========================================================= */

.gk-room-thumbnail {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.gk-room-thumbnail img {
  border: 0;
  border-radius: 10px;
}

.gk-room-thumbnail:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 95, 104, 0.45);
}

.gk-room-thumbnail.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(21, 95, 104, 0.12);
}

.gk-room-thumbnail:focus-visible {
  outline: 3px solid rgba(21, 95, 104, 0.35);
  outline-offset: 3px;
}


/* =========================================================
   ISLAND ACTIVITIES
========================================================= */

.activities {
  background: var(--cream);
}

.activities-lead {
  margin-bottom: 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.activity-card {
  min-height: 230px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.activity-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(21, 95, 104, 0.08);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 24px;
}

.activity-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.activities-cta,
.info-whatsapp {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 15px 24px;
  background: var(--teal);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.25s ease;
}

.activities-cta:hover,
.info-whatsapp:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}


/* =========================================================
   GETTING HERE & STAY INFO
========================================================= */

.stay-info {
  background: var(--white);
}

.stay-info-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.stay-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.info-panel {
  position: relative;
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-panel-number {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.info-panel h3 {
  margin: 0 0 27px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.info-list {
  border-top: 1px solid var(--line);
}

.info-list > div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.info-list strong {
  color: var(--ink);
  font-size: 12px;
}

.info-list span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}


/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-item {
  width: 100%;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: zoom-in;
}

.gallery-item:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  padding: 32px 90px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 21, 24, 0.94);
  backdrop-filter: blur(10px);
}

.gallery-lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(1200px, 100%);
  height: min(82vh, 820px);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: calc(100% - 42px);
  object-fit: contain;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.lightbox-content figcaption {
  min-height: 32px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-close {
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 31px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  font-size: 34px;
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}

body.lightbox-open {
  overflow: hidden;
}


/* =========================================================
   BOOKING HELP TEXT
========================================================= */

.guest-capacity-note {
  max-width: 720px;
  margin: 10px auto 0;
  padding: 11px 15px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 12px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 94px;
  z-index: 39;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  background: var(--white);
  color: var(--teal);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(7, 63, 71, 0.15);
  cursor: pointer;
  transition: 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(21, 95, 104, 0.35);
  outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE ADDITIONS
========================================================= */

@media (max-width: 900px) {
  .activity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stay-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    padding: 27px 22px;
  }

  .info-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .gallery-lightbox {
    padding: 70px 14px 26px;
  }

  .lightbox-content {
    height: 76vh;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 16px;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .lightbox-prev {
    left: calc(50% - 60px);
  }

  .lightbox-next {
    right: calc(50% - 60px);
  }

  .back-to-top {
    right: 19px;
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
}

/* Keep the thumbnail image itself still; the button carries the hover/active state. */
.gk-room-thumbnail img:hover {
  opacity: 1;
  transform: none;
  border-color: transparent;
}
