/* =========================================================
   LA LUZ BEACH RESORT & SPA
   ROOMS PAGE 1
   INDEPENDENT STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    width: 100%;

    background: #fff;

    z-index: 1000;

    box-shadow:
        0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
    width: min(1400px, 92%);

    min-height: 88px;

    margin: auto;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;

    flex-shrink: 0;
}

.logo img {
    width: 150px;
    height: auto;
}


/* DESKTOP NAV */

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 27px;

    margin-left: auto;
}

.desktop-nav a {
    position: relative;

    padding: 8px 0;

    color: #222;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 1.2px;

    transition: color 0.3s ease;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 1px;

    background: #111;

    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #000;
}


/* HEADER BOOK BUTTON */

.header-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 125px;

    padding: 13px 20px;

    background: #111;
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.header-book-btn:hover {
    background: #333;

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;

    background: #111;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    padding: 20px 7% 28px;

    background: #fff;

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.10);
}

.mobile-menu.open {
    display: flex;

    flex-direction: column;
}

.mobile-menu a {
    padding: 14px 0;

    border-bottom: 1px solid #eee;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1px;
}

.mobile-menu a.active {
    font-weight: 800;
}

.mobile-menu .mobile-book-btn {
    margin-top: 15px;

    padding: 14px;

    border: 0;

    background: #111;
    color: #fff;

    text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.rooms-hero {
    position: relative;

    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.40),
            rgba(0, 0, 0, 0.40)
        ),
        url("images/hom5.JPG")
        center center /
        cover
        no-repeat;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.48)
        );
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(850px, 90%);

    color: #fff;

    text-align: center;
}

.hero-eyebrow {
    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;
}

.hero-content h1 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(48px, 7vw, 82px);

    font-weight: 400;

    line-height: 1.05;

    margin-bottom: 18px;
}

.hero-line {
    width: 65px;
    height: 1px;

    margin:
        0 auto 22px;

    background: #fff;
}

.hero-content > p:last-child {
    max-width: 600px;

    margin: auto;

    font-size: 15px;

    opacity: 0.95;
}


/* =========================================================
   INTRO
========================================================= */

.rooms-intro {
    padding:
        75px
        20px
        45px;

    background: #fff;
}

.intro-content {
    width: min(800px, 92%);

    margin: auto;

    text-align: center;
}

.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: #777;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 3px;
}

.intro-content h2,
.section-heading h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(32px, 4vw, 48px);

    font-weight: 400;

    line-height: 1.2;

    margin-bottom: 16px;
}

.intro-content p {
    max-width: 650px;

    margin: auto;

    color: #666;

    font-size: 15px;
}

.promo-note {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 24px;

    padding:
        11px
        18px;

    background: #f5f5f5;

    font-size: 12px;
    font-weight: 600;
}

.promo-note i {
    font-size: 13px;
}


/* =========================================================
   ROOMS SECTION
========================================================= */

.rooms-section {
    width: min(1320px, 92%);

    margin: auto;

    padding:
        35px
        0
        90px;
}

.section-heading {
    max-width: 700px;

    margin:
        0 auto 50px;

    text-align: center;
}

.section-heading p {
    color: #777;

    font-size: 14px;
}


/* =========================================================
   ROOMS GRID
========================================================= */

.rooms-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   ROOM CARD
========================================================= */

.room-card {
    position: relative;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e8e8e8;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.room-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 45px
        rgba(0, 0, 0, 0.12);
}


/* =========================================================
   ROOM IMAGE
========================================================= */

.room-image-wrap {
    position: relative;

    height: 270px;

    overflow: hidden;

    background: #eee;
}

.room-image-link {
    display: block;

    width: 100%;
    height: 100%;
}

.room-image-wrap img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.room-card:hover
.room-image-wrap img {
    transform: scale(1.05);
}


/* =========================================================
   BADGES
========================================================= */

.promo-badge {
    position: absolute;

    top: 16px;
    right: 16px;

    padding:
        8px
        11px;

    background: #111;
    color: #fff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   ROOM CONTENT
========================================================= */

.room-content {
    padding:
        25px
        25px
        27px;
}

.room-category {
    display: block;

    margin-bottom: 7px;

    color: #888;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.room-content h3 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 28px;
    font-weight: 400;

    line-height: 1.2;

    margin-bottom: 18px;
}


/* =========================================================
   ROOM DETAILS
========================================================= */

.room-details {
    list-style: none;

    display: flex;
    flex-direction: column;

    gap: 9px;

    min-height: 85px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eee;
}

.room-details li {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    color: #666;

    font-size: 12px;
}

.room-details i {
    width: 16px;

    margin-top: 4px;

    color: #222;

    font-size: 11px;
}


/* =========================================================
   PRICE
========================================================= */

.room-price {
    padding:
        20px
        0;
}

.price-label {
    display: block;

    margin-bottom: 4px;

    color: #888;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.price-row {
    display: flex;

    align-items: baseline;

    gap: 10px;
}

.old-price {
    color: #999;

    font-size: 13px;

    text-decoration: line-through;
}

.new-price {
    color: #111;

    font-size: 25px;
    font-weight: 700;
}

.price-period {
    color: #999;

    font-size: 10px;
}


/* =========================================================
   ROOM ACTIONS
========================================================= */

.room-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 8px;
}

.view-room,
.book-room {
    min-height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 10px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.view-room {
    border: 1px solid #ddd;

    background: #fff;

    color: #222;
}

.view-room:hover {
    border-color: #111;

    background: #111;

    color: #fff;
}

.book-room {
    gap: 7px;

    background: #111;

    color: #fff;
}

.book-room:hover {
    background: #333;
}


/* =========================================================
   CTA
========================================================= */

.rooms-cta {
    position: relative;

    min-height: 390px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-top: 10px;

    color: #fff;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.48),
            rgba(0, 0, 0, 0.48)
        ),
        url("images/hom5.JPG")
        center /
        cover
        no-repeat;
}

.cta-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.42)
        );
}

.cta-content {
    position: relative;

    z-index: 2;

    width: min(700px, 90%);
}

.section-label.light {
    color:
        rgba(255, 255, 255, 0.80);
}

.cta-content h2 {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(36px, 5vw, 56px);

    font-weight: 400;

    margin-bottom: 14px;
}

.cta-content p {
    margin-bottom: 28px;

    font-size: 15px;

    opacity: 0.95;
}

.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding:
        15px
        24px;

    background: #fff;

    color: #111;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.4px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.cta-button:hover {
    background: #111;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   PAGINATION
========================================================= */

.pagination {
    width: min(1320px, 92%);

    margin:
        55px auto
        65px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;
}

.pagination > span {
    margin-right: 15px;

    color: #888;

    font-size: 12px;
}

.pagination a {
    min-width: 38px;
    height: 38px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    border: 1px solid #ddd;

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    border-color: #111;

    background: #111;

    color: #fff;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #111;

    color: #fff;
}

.footer-main {
    width: min(1200px, 90%);

    margin: auto;

    padding:
        70px
        0
        55px;

    display: grid;

    grid-template-columns:
        1.4fr 1fr 0.8fr;

    gap: 60px;
}

.footer-brand {
    max-width: 430px;
}

.footer-logo {
    width: 155px;

    margin-bottom: 22px;

    filter:
        brightness(0)
        invert(1);
}

.footer-brand p {
    color: #aaa;

    font-size: 13px;

    line-height: 1.8;
}


/* FOOTER COLUMNS */

.footer-column h3 {
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 2px;
}

.footer-line {
    display: block;

    width: 38px;
    height: 1px;

    margin:
        13px
        0
        22px;

    background: #777;
}

.footer-column p {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    margin-bottom: 15px;

    color: #aaa;

    font-size: 12px;

    line-height: 1.7;
}

.footer-column p i {
    width: 14px;

    margin-top: 5px;

    color: #fff;

    font-size: 11px;
}

.footer-column p a {
    transition: color 0.3s ease;
}

.footer-column p a:hover {
    color: #fff;
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-icons {
    display: flex;

    gap: 10px;

    margin-bottom: 22px;
}

.social-icons a {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #444;

    color: #fff;

    font-size: 14px;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.social-icons a:hover {
    border-color: #fff;

    background: #fff;

    color: #111;
}


/* FOOTER BOOK */

.footer-book {
    display: inline-flex;

    padding:
        11px
        16px;

    border: 1px solid #555;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.footer-book:hover {
    border-color: #fff;

    background: #fff;

    color: #111;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding: 20px;

    border-top: 1px solid #2c2c2c;

    text-align: center;
}

.footer-bottom p {
    color: #777;

    font-size: 10px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 18px;
    }

    .desktop-nav a {
        font-size: 10px;
    }

    .header-book-btn {
        min-width: 105px;

        padding:
            12px
            14px;
    }

    .rooms-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-main {
        grid-template-columns:
            1fr 1fr;

        gap: 45px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .header-inner {
        min-height: 75px;
    }

    .logo img {
        width: 125px;
    }

    .desktop-nav,
    .header-book-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;

        margin-left: auto;
    }


    /* HERO */

    .rooms-hero {
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 52px;
    }

    .hero-content > p:last-child {
        font-size: 13px;
    }


    /* INTRO */

    .rooms-intro {
        padding:
            55px
            20px
            30px;
    }

    .intro-content h2,
    .section-heading h2 {
        font-size: 34px;
    }


    /* ROOMS */

    .rooms-section {
        width: 90%;

        padding-bottom: 60px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .room-image-wrap {
        height: 260px;
    }

    .room-content {
        padding: 22px;
    }


    /* CTA */

    .rooms-cta {
        min-height: 350px;
    }


    /* PAGINATION */

    .pagination {
        margin:
            40px auto
            50px;

        flex-wrap: wrap;
    }


    /* FOOTER */

    .footer-main {
        width: 88%;

        grid-template-columns: 1fr;

        gap: 40px;

        padding:
            55px
            0
            45px;
    }

    .footer-brand {
        grid-column: auto;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .hero-content h1 {
        font-size: 45px;
    }

    .hero-eyebrow {
        font-size: 9px;

        letter-spacing: 2px;
    }

    .room-image-wrap {
        height: 235px;
    }

    .room-content h3 {
        font-size: 25px;
    }

    .room-actions {
        grid-template-columns: 1fr;
    }

    .new-price {
        font-size: 23px;
    }

    .pagination > span {
        width: 100%;

        margin:
            0 0 10px;

        text-align: center;
    }

}


/* =========================================================
   ROOM REVEAL ANIMATION
========================================================= */

.room-card.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        box-shadow 0.35s ease;
}

.room-card.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}

.room-card.reveal.visible:hover {
    transform: translateY(-7px);
}

/* =========================================================
   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;
  }

}