/* =========================================================
   CABIN 1
   La Luz Beach Resort And Spa
========================================================= */

:root {
  --black: #111111;
  --dark: #181818;
  --white: #ffffff;
  --cream: #f7f5f0;
  --gold: #b79a68;
  --gold-dark: #967b4c;
  --text: #333333;
  --muted: #777777;
  --border: #dedbd4;

  --heading: "Playfair Display", serif;
  --body: "Poppins", sans-serif;

  --container: 1180px;
  --transition: 0.35s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;

  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.nav-container {
  width: min(1380px, calc(100% - 50px));
  min-height: 90px;
  margin: auto;

  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 145px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
}

.desktop-nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  gap: 25px;
}

.desktop-nav a {
  position: relative;

  color: #ffffff;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;

  padding: 8px 0;

  transition: var(--transition);
}

.desktop-nav a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: 0;

  width: 0;
  height: 1px;

  background: var(--gold);

  transition: var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

.book-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 13px 23px;

  background: var(--gold);
  color: #ffffff;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;

  transition: var(--transition);
}

.book-btn:hover {
  background: #ffffff;
  color: var(--black);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-icon {
  display: none;

  width: 42px;
  height: 42px;

  border: 0;
  background: transparent;

  cursor: pointer;

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  position: relative;
  z-index: 1100;
}

.menu-icon span {
  width: 24px;
  height: 2px;
  background: #ffffff;

  transition: var(--transition);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;

  background: rgba(15,15,15,0.98);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;

  opacity: 0;
  visibility: hidden;

  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  color: #ffffff;

  font-size: 13px;
  letter-spacing: 2px;

  transition: var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu .mobile-book {
  margin-top: 10px;

  padding: 14px 28px;

  background: var(--gold);
}


/* =========================================================
   HERO
========================================================= */

.rooms-hero {
  position: relative;

  height: 65vh;
  min-height: 540px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;

  background:
    url("images/cabin.jpg")
    center center / cover
    no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.18) 45%,
      rgba(0,0,0,0.65)
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  text-align: center;
  color: #ffffff;

  margin-top: 65px;
}

.hero-content span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
}

.hero-content h1 {
  margin: 15px 0;

  font-family: var(--heading);
  font-size: clamp(50px, 7vw, 82px);
  font-weight: 500;
  line-height: 1;
}

.line {
  width: 60px;
  height: 1px;
  margin: auto;

  background: var(--gold);
}


/* =========================================================
   ROOM INFORMATION
========================================================= */

.room-information {
  padding: 85px 0;

  background: #ffffff;
}

.room-info-container {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

  align-items: center;
}

.section-label {
  color: var(--gold);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.room-heading h2,
.gallery-heading h2,
.description-content h2,
.amenities h3,
.policy-heading h2 {
  margin: 13px 0 20px;

  color: var(--black);

  font-family: var(--heading);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.15;
}

.room-heading h2 em,
.gallery-heading h2 em,
.description-content h2 em,
.amenities h3 em,
.policy-heading h2 em {
  color: var(--gold);
  font-style: normal;
}

.room-heading p {
  max-width: 560px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.room-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;

  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.highlight {
  min-height: 120px;
  padding: 22px;

  display: flex;
  align-items: center;
  gap: 16px;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);

  transition: var(--transition);
}

.highlight:hover {
  background: var(--cream);
}

.highlight > i {
  width: 25px;

  color: var(--gold);

  font-size: 20px;
  text-align: center;
}

.highlight div {
  display: flex;
  flex-direction: column;
}

.highlight span {
  color: var(--muted);

  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.highlight strong {
  margin-top: 4px;

  color: var(--black);

  font-family: var(--heading);
  font-size: 15px;
  font-weight: 600;

  line-height: 1.3;
}


/* =========================================================
   GALLERY
========================================================= */

.room-gallery {
  padding: 90px 0;

  background: var(--cream);
}

.gallery-container {
  width: min(1100px, calc(100% - 48px));
  margin: auto;
}

.gallery-heading {
  margin-bottom: 35px;
  text-align: center;
}

.room-slider {
  width: 100%;
}

.slides {
  position: relative;

  height: 590px;

  overflow: hidden;

  background: #ddd;
}

.slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.prev,
.next {
  position: absolute;
  top: 50%;

  width: 50px;
  height: 50px;

  transform: translateY(-50%);

  border: 1px solid rgba(255,255,255,0.5);

  background: rgba(0,0,0,0.38);
  color: #ffffff;

  cursor: pointer;

  transition: var(--transition);
}

.prev {
  left: 25px;
}

.next {
  right: 25px;
}

.prev:hover,
.next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.slide-counter {
  position: absolute;
  right: 25px;
  bottom: 22px;

  padding: 8px 13px;

  background: rgba(0,0,0,0.55);
  color: #ffffff;

  font-size: 10px;
  letter-spacing: 1px;
}

.slide-counter span:nth-child(2) {
  color: var(--gold);
  margin: 0 5px;
}

.gallery-thumbnails {
  margin-top: 10px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumbnail {
  height: 105px;

  padding: 0;

  border: 2px solid transparent;

  overflow: hidden;

  background: transparent;

  cursor: pointer;

  opacity: 0.55;

  transition: var(--transition);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border-color: var(--gold);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.room-description {
  padding: 95px 0;

  background: #ffffff;
}

.description-container {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
}

.description-content p {
  margin-bottom: 17px;

  color: var(--muted);

  font-size: 13px;
  line-height: 1.9;
}

.included-note {
  margin-top: 30px;
  padding: 20px;

  display: flex;
  gap: 15px;

  background: var(--cream);
  border-left: 3px solid var(--gold);
}

.included-note > i {
  color: var(--gold);

  font-size: 19px;
  margin-top: 4px;
}

.included-note strong {
  display: block;

  margin-bottom: 5px;

  color: var(--black);

  font-size: 10px;
  letter-spacing: 1.5px;
}

.included-note p {
  margin: 0;

  font-size: 11px;
  line-height: 1.7;
}


/* =========================================================
   AMENITIES
========================================================= */

.amenities h3 {
  font-size: 36px;
}

.amenities ul {
  list-style: none;

  border-top: 1px solid var(--border);
}

.amenities li {
  min-height: 55px;
  padding: 12px 0;

  display: flex;
  align-items: center;
  gap: 15px;

  border-bottom: 1px solid var(--border);

  color: var(--muted);

  font-size: 11px;
}

.amenities li i {
  width: 20px;

  color: var(--gold);

  text-align: center;
}


/* =========================================================
   BOOKING CTA
========================================================= */

.room-booking {
  position: relative;

  padding: 100px 20px;

  background:
    linear-gradient(
      rgba(0,0,0,0.7),
      rgba(0,0,0,0.7)
    ),
    url("images/cabin1.jpg")
    center / cover no-repeat;
}

.booking-content {
  position: relative;
  z-index: 2;

  text-align: center;
  color: #ffffff;
}

.booking-content .section-label {
  color: var(--gold);
}

.booking-content h2 {
  margin: 13px 0;

  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.15;
}

.booking-content h2 em {
  color: var(--gold);
  font-style: normal;
}

.booking-content p {
  margin-bottom: 30px;

  color: rgba(255,255,255,0.72);

  font-size: 13px;
}

.booking-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  min-height: 50px;
  padding: 0 25px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;

  transition: var(--transition);
}

.primary-btn {
  background: var(--gold);
  color: #ffffff;
}

.primary-btn:hover {
  background: #ffffff;
  color: var(--black);
}

.secondary-btn {
  border: 1px solid rgba(255,255,255,0.5);
  color: #ffffff;
}

.secondary-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--black);
}


/* =========================================================
   POLICY
========================================================= */

.policy-box {
  padding: 95px 0;

  background: var(--cream);
}

.policy-container {
  width: min(950px, calc(100% - 48px));
  margin: auto;
}

.policy-heading {
  margin-bottom: 35px;
  text-align: center;
}

.policy-heading h2 {
  font-size: clamp(34px, 4vw, 48px);
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion:last-child {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  min-height: 80px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 0;
  background: transparent;

  cursor: pointer;

  text-align: left;
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 20px;

  color: var(--black);

  font-family: var(--heading);
  font-size: 20px;
}

.policy-number {
  color: var(--gold);

  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.plus {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--border);

  color: var(--gold);

  font-size: 20px;

  transition: var(--transition);
}

.accordion.open .plus {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;

  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;

  overflow: hidden;

  transition: max-height 0.4s ease;
}

.accordion.open .accordion-content {
  max-height: 1500px;
}

.accordion-content > * {
  margin-bottom: 18px;
}

.accordion-content p {
  color: var(--muted);

  font-size: 12px;
  line-height: 1.8;
}

.accordion-content strong {
  color: var(--black);
}

.accordion-content h3 {
  margin-top: 10px;

  color: var(--black);

  font-family: var(--heading);
  font-size: 20px;
}

.rebooking-table-wrapper {
  width: 100%;

  overflow-x: auto;

  margin: 20px 0;
}

.rebooking-table-wrapper table {
  width: 100%;
  min-width: 450px;

  border-collapse: collapse;

  background: #ffffff;
}

.rebooking-table-wrapper th,
.rebooking-table-wrapper td {
  padding: 13px 17px;

  border: 1px solid var(--border);

  text-align: left;

  font-size: 11px;
}

.rebooking-table-wrapper th {
  background: var(--black);
  color: #ffffff;

  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.prohibited-list,
.policy-list {
  margin: 10px 0 25px 20px;

  color: var(--muted);

  font-size: 12px;
}

.prohibited-list li,
.policy-list li {
  margin-bottom: 7px;
}

.corkage-fees {
  list-style: none;
  margin-left: 0;
}

.corkage-fees li {
  padding: 11px 0;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  border-bottom: 1px solid var(--border);
}

.corkage-fees strong {
  color: var(--gold-dark);
}

.policy-note {
  padding: 16px 18px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  background: #ffffff;
  border-left: 3px solid var(--gold);
}

.policy-note i {
  color: var(--gold);
  margin-top: 4px;
}

.policy-note p {
  margin: 0;
}


/* =========================================================
   BACK TO ROOMS
========================================================= */

.back-to-rooms {
  padding: 35px 20px;

  background: #ffffff;

  text-align: center;
}

.back-to-rooms a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--black);

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;

  transition: var(--transition);
}

.back-to-rooms i {
  color: var(--gold);
}

.back-to-rooms a:hover {
  color: var(--gold-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  background: var(--black);
  color: #ffffff;
}

.footer-content {
  width: min(var(--container), calc(100% - 48px));
  margin: auto;
}

.footer-main {
  padding: 70px 0 55px;

  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr;
  gap: 60px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-text {
  max-width: 400px;

  color: rgba(255,255,255,0.58);

  font-size: 11px;
  line-height: 1.9;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-title .line {
  width: 30px;
  margin: 0;

  background: var(--gold);
}

.footer-title h3 {
  color: #ffffff;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.footer-column > p {
  margin-top: 20px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: rgba(255,255,255,0.62);

  font-size: 11px;
  line-height: 1.8;
}

.footer-column > p i {
  width: 15px;

  color: var(--gold);

  margin-top: 4px;
}

.footer-column a:hover {
  color: var(--gold);
}

.social-icons {
  margin-top: 22px;

  display: flex;
  gap: 10px;
}

.social-icons a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255,255,255,0.2);

  color: #ffffff;

  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.footer-bottom {
  padding: 22px 0;

  border-top: 1px solid rgba(255,255,255,0.1);

  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);

  font-size: 9px;
  letter-spacing: 0.5px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

  .desktop-nav {
    gap: 15px;
  }

  .room-info-container,
  .description-container {
    gap: 45px;
  }

}


@media (max-width: 900px) {

  .desktop-nav,
  .book-btn {
    display: none;
  }

  .menu-icon {
    display: flex;
    margin-left: auto;
  }

  .room-info-container,
  .description-container {
    grid-template-columns: 1fr;
  }

  .room-info-container {
    gap: 50px;
  }

  .description-container {
    gap: 60px;
  }

  .slides {
    height: 500px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}


@media (max-width: 600px) {

  .nav-container {
    width: calc(100% - 30px);
    min-height: 78px;
  }

  .logo {
    width: 125px;
  }

  .rooms-hero {
    height: 58vh;
    min-height: 470px;
  }

  .hero-content {
    margin-top: 45px;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .room-information,
  .room-gallery,
  .room-description,
  .policy-box {
    padding: 65px 0;
  }

  .room-info-container,
  .description-container,
  .gallery-container,
  .policy-container {
    width: calc(100% - 32px);
  }

  .room-highlights {
    grid-template-columns: 1fr;
  }

  .highlight {
    min-height: 95px;
  }

  .slides {
    height: 390px;
  }

  .prev,
  .next {
    width: 42px;
    height: 42px;
  }

  .prev {
    left: 12px;
  }

  .next {
    right: 12px;
  }

  .gallery-thumbnails {
    gap: 5px;
  }

  .thumbnail {
    height: 70px;
  }

  .booking-buttons {
    flex-direction: column;
    align-items: center;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
    max-width: 290px;
  }

  .accordion-title {
    font-size: 18px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

}


@media (max-width: 400px) {

  .hero-content h1 {
    font-size: 42px;
  }

  .slides {
    height: 320px;
  }

  .thumbnail {
    height: 60px;
  }

}


/* =========================================================
   MASTER HEADER
   MATCHES BOOKING PAGE
========================================================= */

.site-header {
  position: relative;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
  min-height: 86px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 45px;

  display: flex;
  align-items: center;

  gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.site-header .logo {
  display: flex;
  align-items: center;
  margin-right: auto;

  text-decoration: none;
}

.site-header .logo img {
  width: 145px;
  height: auto;
  display: block;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.site-header .desktop-nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.site-header .desktop-nav a {
  position: relative;

  font-size: 13px;
  font-weight: 600;

  letter-spacing: 0.7px;
  text-transform: uppercase;

  color: #444;

  padding: 10px 0;

  text-decoration: none;
}


/* UNDERLINE */

.site-header .desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 0;
  height: 2px;

  background: #758b32;

  transition: width 0.25s ease;
}

.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a.active::after {
  width: 100%;
}


/* =========================================================
   BOOK NOW
========================================================= */

.site-header .header-book-btn {
  background: #758b32;
  color: #ffffff;

  padding: 13px 20px;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 1px;

  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.site-header .header-book-btn:hover {
  background: #556923;
  transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.site-header .menu-toggle {
  display: none;

  width: 44px;
  height: 44px;

  border: 0;
  background: transparent;

  padding: 0;

  cursor: pointer;
}

.site-header .menu-toggle span {
  display: block;

  width: 25px;
  height: 2px;

  margin: 5px auto;

  background: #222222;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* HAMBURGER → X */

.site-header .menu-toggle.active span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.site-header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.site-header .menu-toggle.active span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.site-header .mobile-menu {
  display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

  .site-header .header-inner {
    min-height: 86px;
    padding: 0 25px;
  }


  /* Hide desktop navigation */

  .site-header .desktop-nav,
  .site-header .header-book-btn {
    display: none;
  }


  /* Show hamburger */

  .site-header .menu-toggle {
    display: block;
  }


  /* Mobile dropdown */

  .site-header .mobile-menu {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    display: flex;

    flex-direction: column;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow:
      0 12px 25px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;

    z-index: 999;
  }


  .site-header .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }


  .site-header .mobile-menu a {
    display: block;

    padding: 15px 25px;

    border-bottom: 1px solid #eeeeee;

    color: #333333;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;
  }


  .site-header .mobile-menu a:hover,
  .site-header .mobile-menu a.active {
    color: #758b32;
  }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

  .site-header .header-inner {
    padding: 0 18px;
  }

  .site-header .logo img {
    width: 135px;
  }

}