/* === START: Content from global.css === */
/* === START: Content from global.css === */
:root {
    --primary-color: #f0f0e0;
    --secondary-color: #0e140f;
    --text-color: #f0f0e0;
    --light-text: #c0c0b0;
    
    --section-background: linear-gradient(to right, 
        hsl(135, 15%, 7%),
        hsl(137, 25%, 14%),
        hsl(135, 8%, 10%)
    );

    --font-secondary: 'Lato', sans-serif;
}

/* NEW: Animation keyframes */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.airbnb-preloader {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Use the glassmorphism from parent */
    background: rgba(240, 240, 224, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        inset 1px 1px 1px 0px rgba(240, 240, 224, 0.25), 
        inset -1px -1px 1px 0px rgba(0, 0, 0, 0.05),
        0px 2px 12px rgba(0, 0, 0, 0.2);
    /* Ensure it's at the bottom */
    z-index: 0; 
}

.airbnb-preloader img {
    width: 80px;
    height: auto;
    animation: pulse 1.5s ease-in-out infinite;
}


/* iframe still fills its container */
.airbnb-embed-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    /* NEW: Ensure iframe covers the preloader */
    z-index: 1; 
}

html {
    scroll-behavior: smooth;
}
/* ... (rest of the file) ... */
.preloader-logo {
    max-width: 400px; 
    width: 8%;
    height: auto;
    /* NEW: Added animation */
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-hidden {
/* ... (rest of the file) ... */    
    opacity: 0;
    visibility: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif; 
    
    background-color: var(--secondary-color);
    
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: clip;
}

/* NEW: Stop body from scrolling when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

h1, h2, h3 { 
    font-family: 'Aboreto', serif; 
}

/* --- Preloader --- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #dad7cd;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease; 
}

.preloader-logo {
    max-width: 400px; 
    width: 8%;
    height: auto;
}

.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* --- Desktop Header --- */
.header {
    position: fixed;
    top: 10px; 
    left: 20%; 
    right: 20%; 
    background-color: rgba(14, 20, 15, 0.275);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(240, 240, 224, 0.038);
    border-radius: 17px; 
    overflow: hidden; /* This is fine for desktop */
    z-index: 1000; 
    
    /* Use flexbox for desktop */
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    padding: 8px 30px;
    
    box-shadow: 
        inset 1px 1px 1px 0px rgba(240, 240, 224, 0.25), 
        inset -1px -1px 1px 0px rgba(0, 0, 0, 0.05),
        0px 2px 12px rgba(0, 0, 0, 0.2);

    transition: background-color 0.9s ease;
}

.header-scrolled {
    background-color: rgba(14, 20, 15, 0.355);
}

.header .logo {
    letter-spacing: 0.26em;
    font-family: 'Aboreto', serif;
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    padding: 6px 10px; /* makes background visible on hover */
    border-radius: 8px;
    background-color: transparent;
    /* slightly slower transitions for a smoother hover */
    transition: color 400ms ease, transform 250ms ease;
    /* prepare for feathered background via pseudo-element */
    position: relative;
    z-index: 0;
}

.header .logo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.037); /* semi-transparent white */
    filter: blur(10px); /* feathered/soft edge */
    opacity: 0;
    transform: scale(1);
    transition: opacity 400ms ease, transform 250ms ease;
    pointer-events: none;
    z-index: -1; /* place behind the text */
}

.header .logo:hover::before,
.header .logo:focus::before {
    opacity: 1;
    transform: scale(1.02);
}

.header .logo:hover,
.header .logo:focus {
    /* keep element background transparent so ::before provides the soft fill */
    background-color: transparent;
    color: #ffffff; /* text becomes black */
    transform: translateY(0px);
    outline: none;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .header .logo,
    .header .logo:hover {
        transition: none;
        transform: none;
    }
}

/* Wrapper for nav + button */
.main-nav-container {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between nav and button */
}
.header nav {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 20px;
}

.header nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
}

.header nav a:hover {
    color: var(--primary-color); 
}

.header .header-btn {
    font-family: 'Lato', sans-serif; 
    font-weight: 500;
    padding: 2px 10px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    cursor: pointer;
    background-color: #09350f;
    color: #ffffff;
    border: 2px solid #09350f;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.header .header-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}


/* --- Hamburger Menu Button --- */
.menu-toggle {
    display: none; /* Hidden on desktop */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Must be above the header AND the mobile menu overlay */
    
    /* NEW: Ensure it stays in place when its parent (.header) is 'overflow: visible' */
    position: relative; 
}

.hamburger-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-bar:not(:last-child) {
    margin-bottom: 5px;
}

/* Animate hamburger to "X" */
.menu-toggle.is-open .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-open .hamburger-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-open .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    width: 100px;
    height: 100px;
    bottom: 20px;
    left: 20px;
    background-color: #25d36500;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.whatsapp-float img {
    width: 100px;
    height: 100px;
}


/* =============================================== */
/* === START: Mobile Styles (Max-width: 768px) === */
/* =============================================== */

.site-footer {
    background-color: #1d1d1d; /* Dark grey bar */
    color: #000000;
    text-align: center;
    padding: 20px 10px;
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    margin-top: auto; /* Helps stick to bottom if content is short */
    box-sizing: border-box;
}

.site-footer p {
    margin: 0;
    opacity: 0.7;
}

/* ALL CONTENT FROM THE @media (max-width: 768px) BLOCK HAS BEEN REMOVED. */
/* === END: Content from global.css === */

/* === START: Content from reservas.css === */
/* Styles specific to reservas.html */

/* Note: The global body styles are in global.css.
   We override the specific properties needed for this page.
*/
body {
    font-family: 'Gotu', sans-serif; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

img {
    align-self: center;
    max-width: 20%;
    height: auto;
    padding-bottom: 100px;
}

.booking-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    min-height: 100vh;
    padding-bottom: 60px;
    padding-top: 60px;
 /* ✅ centers vertically within full screen */
}

/* Airbnb embed frame container */
.airbnb-embed-frame {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 5 / 4; /* 👈 now 5:4 */
    border: 1px solid rgba(240, 240, 224, 0.15);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(240, 240, 224, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        inset 1px 1px 1px 0px rgba(240, 240, 224, 0.25), 
        inset -1px -1px 1px 0px rgba(0, 0, 0, 0.05),
        0px 2px 12px rgba(0, 0, 0, 0.2);
}

/* iframe still fills its container */
.airbnb-embed-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.back-link {
    font-family: 'Gotu', sans-serif;
    color: var(--light-text);
    background-color: #162018d6;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.5s ease, background-color 0.5s ease;
}

.back-link:hover {
    color: var(--primary-color);
    background-color: #616362be;
}



@media (max-width: 700px) {
    .booking-container {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .header {
        left: 5%;
        right: 5%;
    }
    img {
        max-width: 60%;
    }
}
/* === END: Content from reservas.css === */