/* =========================================================
   LA LUZ BEACH RESORT & SPA
   ANNEX LOFT ROOM
   COMPLETE PAGE CSS
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --black: #111111;
    --dark: #1c1c1c;
    --text: #343434;
    --muted: #777777;
    --light: #f6f5f1;
    --white: #ffffff;
    --border: #e4e1db;

    --green: #758b32;
    --green-dark: #556923;

    --gold: #b08a55;
    --gold-dark: #8e6c3d;

    --heading: "Playfair Display", serif;
    --body: "Poppins", sans-serif;

    --container: 1180px;
}


/* =========================================================
   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.8;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   HEADER
   MASTER HEADER — SAME AS BOOKING PAGE
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: #ffffff;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
    width: 100%;
    max-width: 1400px;

    min-height: 86px;

    margin: 0 auto;
    padding: 0 45px;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* =========================================================
   HEADER LOGO
========================================================= */

.site-header .logo {
    display: flex;
    align-items: center;

    margin-right: auto;

    flex-shrink: 0;

    text-decoration: none;
}

.site-header .logo img {
    display: block;

    width: 145px;
    height: auto;

    max-width: none;
}


/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.site-header .desktop-nav {
    display: flex;
    align-items: center;

    gap: 27px;

    margin: 0;
    padding: 0;
}

.site-header .desktop-nav a {
    position: relative;

    display: inline-block;

    padding: 10px 0;

    color: #444444;

    font-family: "Poppins", sans-serif;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.7px;

    text-transform: uppercase;

    white-space: nowrap;

    text-decoration: none;

    transition: color 0.25s ease;
}


/* =========================================================
   NAV UNDERLINE
========================================================= */

.site-header .desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--green);

    transition: width 0.25s ease;
}

.site-header .desktop-nav a:hover,
.site-header .desktop-nav a.active {
    color: var(--green);
}

.site-header .desktop-nav a:hover::after,
.site-header .desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   BOOK NOW BUTTON
========================================================= */

.site-header .header-book-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 13px 20px;

    background: var(--green);
    color: #ffffff;

    font-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    white-space: nowrap;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.site-header .header-book-btn:hover {
    background: var(--green-dark);

    transform: translateY(-1px);
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.site-header .menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;

    background: transparent;

    cursor: pointer;

    flex-shrink: 0;
}

.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 {
    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-family: "Poppins", sans-serif;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-decoration: none;

    transition: color 0.2s ease;
}

.site-header .mobile-menu a:hover,
.site-header .mobile-menu a.active {
    color: var(--green);
}


/* =========================================================
   HERO
========================================================= */

.room-hero {
    min-height: 520px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.38),
            rgba(0, 0, 0, 0.55)
        ),
        url("images/annexloft2.jpg")
        center / cover no-repeat;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.05);
}

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 40px 20px;

    color: var(--white);
}

.hero-eyebrow {
    margin-bottom: 18px;

    font-size: 11px;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.hero-content h1 {
    font-family: var(--heading);

    font-size: clamp(50px, 7vw, 82px);

    font-weight: 500;

    line-height: 1.1;
}

.hero-line {
    width: 70px;
    height: 1px;

    margin: 25px auto;

    background: var(--white);
}

.hero-content > p:last-child {
    font-size: 14px;

    font-weight: 300;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading > span,
.section-label {
    display: inline-block;

    margin-bottom: 14px;

    color: var(--gold-dark);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.section-heading h2,
.description h2,
.amenities h2 {
    margin-bottom: 18px;

    color: var(--black);

    font-family: var(--heading);

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 500;

    line-height: 1.25;
}

.section-heading p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   ROOM INTRO
========================================================= */

.room-intro {
    width: 100%;
    max-width: var(--container);

    margin: 0 auto;

    padding: 100px 30px 65px;
}

.room-facts {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);
}

.fact {
    min-height: 120px;

    padding: 25px;

    display: flex;

    align-items: center;

    gap: 18px;

    border-right: 1px solid var(--border);
}

.fact:last-child {
    border-right: none;
}

.fact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    color: var(--gold-dark);
}

.fact small {
    display: block;

    margin-bottom: 3px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.fact strong {
    display: block;

    color: var(--black);

    font-family: var(--heading);

    font-size: 16px;

    font-weight: 600;

    line-height: 1.35;
}


/* =========================================================
   GALLERY
========================================================= */

.gallery-section {
    width: 100%;

    padding: 100px 30px;

    background: var(--light);
}

.gallery-container {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}

.main-gallery {
    width: 100%;
    height: 650px;

    position: relative;

    overflow: hidden;

    background: #dddddd;
}

.main-gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: opacity 0.25s ease;
}

.gallery-arrow {
    width: 50px;
    height: 50px;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    border: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.65);

    color: var(--white);

    cursor: pointer;

    transition: background 0.3s ease;

    z-index: 3;
}

.gallery-arrow:hover {
    background: var(--gold-dark);
}

.gallery-arrow.previous {
    left: 20px;
}

.gallery-arrow.next {
    right: 20px;
}

.gallery-count {
    position: absolute;

    right: 20px;
    bottom: 20px;

    padding: 7px 13px;

    background: rgba(0, 0, 0, 0.65);

    color: var(--white);

    font-size: 11px;

    letter-spacing: 1px;

    z-index: 3;
}

.thumbnails {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 10px;

    margin-top: 12px;
}

.thumbnail {
    height: 110px;

    padding: 0;

    overflow: hidden;

    border: 2px solid transparent;

    background: none;

    cursor: pointer;
}

.thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.35s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--gold);
}


/* =========================================================
   DETAILS
========================================================= */

.details-section {
    width: 100%;
    max-width: var(--container);

    margin: 0 auto;

    padding: 110px 30px;
}

.details-grid {
    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 100px;

    align-items: start;
}

.description p {
    margin-bottom: 20px;

    color: #5d5d5d;

    font-size: 14px;
}

.included-box {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 20px;

    margin: 25px 0 30px;

    background: var(--light);

    border-left: 3px solid var(--gold);
}

.included-box i {
    margin-top: 5px;

    color: var(--gold-dark);
}

.included-box p {
    margin: 0;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   AMENITIES
========================================================= */

.amenities {
    padding: 35px;

    background: var(--light);
}

.amenities h2 {
    font-size: 34px;

    margin-bottom: 30px;
}

.amenity-list {
    display: grid;
}

.amenity {
    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 15px;

    border-bottom: 1px solid var(--border);

    font-size: 13px;
}

.amenity:last-child {
    border-bottom: none;
}

.amenity i {
    width: 25px;

    flex-shrink: 0;

    text-align: center;

    color: var(--gold-dark);
}


/* =========================================================
   BOOKING CTA
========================================================= */

.booking-cta {
    width: 100%;

    padding: 120px 30px;

    color: var(--white);

    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.73),
            rgba(0, 0, 0, 0.73)
        ),
        url("images/annexloft3.jpg")
        center / cover no-repeat;
}

.cta-content {
    max-width: 760px;

    margin: 0 auto;
}

.cta-content > span {
    display: inline-block;

    margin-bottom: 15px;

    color: #d2b07d;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}

.cta-content h2 {
    margin-bottom: 20px;

    font-family: var(--heading);

    font-size: clamp(35px, 5vw, 55px);

    font-weight: 500;

    line-height: 1.2;
}

.cta-content p {
    max-width: 620px;

    margin: 0 auto 35px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 14px;

    font-weight: 300;
}

.cta-buttons {
    display: flex;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
}

.primary-button,
.outline-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 15px 28px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.4px;

    transition: all 0.3s ease;
}

.primary-button {
    background: var(--white);

    color: var(--black);
}

.primary-button:hover {
    background: var(--gold);

    color: var(--white);
}

.outline-button {
    border: 1px solid rgba(255, 255, 255, 0.65);

    color: var(--white);
}

.outline-button:hover {
    background: var(--white);

    color: var(--black);
}


/* =========================================================
   POLICIES
========================================================= */

.policies {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    padding: 100px 30px;
}

.accordion-container {
    border-top: 1px solid var(--border);
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-header {
    width: 100%;

    padding: 24px 5px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: 0;

    background: var(--white);

    color: var(--black);

    text-align: left;

    cursor: pointer;
}

.accordion-header span {
    display: flex;

    align-items: center;

    gap: 15px;

    font-family: var(--heading);

    font-size: 19px;
}

.accordion-header span i {
    color: var(--gold-dark);

    font-size: 15px;
}

.accordion-icon {
    color: var(--gold-dark);

    font-size: 13px;

    transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;

    padding: 0 35px 28px;

    color: var(--muted);

    font-size: 13px;
}

.accordion-item.open .accordion-content {
    display: block;
}

.accordion-content p {
    margin-bottom: 15px;
}

.accordion-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   POLICY TABLE
========================================================= */

.policy-table-wrapper {
    overflow-x: auto;

    margin: 20px 0;
}

.policy-table-wrapper table {
    width: 100%;

    min-width: 500px;

    border-collapse: collapse;
}

.policy-table-wrapper th,
.policy-table-wrapper td {
    padding: 14px 16px;

    border: 1px solid var(--border);

    text-align: left;
}

.policy-table-wrapper th {
    background: var(--light);

    color: var(--black);

    font-weight: 600;
}


/* =========================================================
   CORKAGE
========================================================= */

.corkage h3 {
    margin: 20px 0 12px;

    color: var(--black);

    font-family: var(--heading);

    font-size: 20px;
}

.corkage ul {
    padding-left: 20px;

    margin-bottom: 20px;
}

.corkage li {
    margin-bottom: 7px;
}

.corkage li::marker {
    color: var(--gold-dark);
}

.policy-note {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 18px;

    background: var(--light);
}

.policy-note i {
    margin-top: 5px;

    color: var(--gold-dark);
}

.policy-note p {
    margin: 0;
}


/* =========================================================
   BACK TO ROOMS
========================================================= */

.back-section {
    width: 100%;

    padding: 40px 30px 70px;

    text-align: center;
}

.back-section a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--black);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition: color 0.3s ease;
}

.back-section a:hover {
    color: var(--gold-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;

    background: var(--black);

    color: var(--white);

    text-align: center;
}

.footer-content {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    padding: 75px 30px 55px;
}

.footer-logo {
    width: 130px;

    margin: 0 auto 25px;

    filter: brightness(0) invert(1);
}

.footer-description {
    margin-bottom: 40px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 13px;

    line-height: 1.8;
}

.footer-heading {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    margin: 30px 0 18px;
}

.footer-heading span {
    width: 35px;
    height: 1px;

    background: var(--gold);
}

.footer-heading h3 {
    font-size: 11px;

    font-weight: 500;

    letter-spacing: 2px;
}

.footer-contact p {
    margin: 7px 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 12px;
}

.footer-contact i {
    margin-right: 7px;

    color: var(--gold);
}

.footer-contact a:hover {
    color: var(--gold);
}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-icons {
    display: flex;

    justify-content: center;

    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;

    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: var(--white);

    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--gold);

    border-color: var(--gold);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    padding: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);

    font-size: 10px;
}


/* =========================================================
   REVEAL
   IMPORTANT:
   CONTENT MUST REMAIN VISIBLE EVEN IF JS DOES NOT RUN
========================================================= */

.reveal {
    opacity: 1;

    transform: none;

    visibility: visible;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);

    visibility: visible;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        padding: 0 30px;
    }

    .site-header .desktop-nav {
        gap: 20px;
    }

    .site-header .desktop-nav a {
        font-size: 12px;
    }

    .details-grid {
        gap: 55px;
    }

    .main-gallery {
        height: 550px;
    }
}


/* =========================================================
   TABLET HEADER
========================================================= */

@media (max-width: 850px) {

    .site-header .header-inner {
        min-height: 86px;

        padding: 0 25px;
    }

    .site-header .desktop-nav,
    .site-header .header-book-btn {
        display: none;
    }

    .site-header .menu-toggle {
        display: block;
    }


    /* Mobile hero */

    .room-hero {
        min-height: 440px;
    }


    /* Details */

    .details-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* Header */

    .site-header .header-inner {
        min-height: 78px;

        padding: 0 18px;
    }

    .site-header .logo img {
        width: 135px;
    }

    .site-header .menu-toggle {
        width: 44px;
        height: 44px;
    }


    /* Hero */

    .room-hero {
        min-height: 400px;
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-eyebrow {
        margin-bottom: 12px;

        font-size: 9px;

        letter-spacing: 2px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-line {
        width: 55px;

        margin: 20px auto;
    }

    .hero-content > p:last-child {
        font-size: 12px;
    }


    /* Room intro */

    .room-intro {
        padding: 70px 20px 50px;
    }

    .room-facts {
        grid-template-columns: 1fr;
    }

    .fact {
        min-height: 100px;

        padding: 20px;

        border-right: none !important;

        border-bottom: 1px solid var(--border);
    }

    .fact:last-child {
        border-bottom: none;
    }


    /* Gallery */

    .gallery-section {
        padding: 70px 15px;
    }

    .main-gallery {
        height: 400px;
    }

    .gallery-arrow {
        width: 42px;
        height: 42px;
    }

    .gallery-arrow.previous {
        left: 10px;
    }

    .gallery-arrow.next {
        right: 10px;
    }

    .gallery-count {
        right: 10px;
        bottom: 10px;
    }

    .thumbnails {
        grid-template-columns: repeat(3, 1fr);

        gap: 7px;
    }

    .thumbnail {
        height: 80px;
    }


    /* Details */

    .details-section {
        padding: 75px 20px;
    }

    .details-grid {
        gap: 45px;
    }

    .description h2,
    .amenities h2 {
        font-size: 34px;
    }


    /* Amenities */

    .amenities {
        padding: 25px 20px;
    }


    /* CTA */

    .booking-cta {
        padding: 80px 20px;
    }

    .cta-content h2 {
        font-size: 38px;
    }

    .primary-button,
    .outline-button {
        width: 100%;

        text-align: center;
    }


    /* Policies */

    .policies {
        padding: 70px 20px;
    }

    .accordion-header {
        padding: 20px 0;
    }

    .accordion-header span {
        font-size: 17px;
    }

    .accordion-content {
        padding: 0 15px 25px;
    }

    .policy-table-wrapper table {
        min-width: 420px;
    }


    /* Back */

    .back-section {
        padding: 35px 20px 60px;
    }


    /* Footer */

    .footer-content {
        padding: 60px 20px 45px;
    }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {

    .site-header .logo img {
        width: 125px;
    }

    .site-header .header-inner {
        padding: 0 15px;
    }

    .room-hero {
        min-height: 380px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .main-gallery {
        height: 330px;
    }

    .amenity {
        font-size: 12px;
    }
}