
/* ========================================
   FRONT PAGE TYPOGRAPHY — overrides únicos sobre global.css
   ======================================== */

/* H3 con margen extra en el home */
.home h3 {
    margin-bottom: 40px;
}

/* H3 blanco en caja de fondo oscuro */
.home .question-box h3 {
    color: white;
}

html {
    overflow-x: hidden;
    background-color: #c4abb4;
}

body {
    width: 100%;
    background-color: #c4abb4; /* Match footer color to hide bottom whitespace */
}


.btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    padding: 7px 75px;
    background-color: #c4abb4;
    color: white;
    margin-top: 22px;
    cursor: pointer;
    border: none;
    border-radius: 0;
    font-family: 'Muli', sans-serif;
}

button:hover {
    background-color: #b28d63;
    color: white;
    font-weight: bold;
}

.frontpage {
    position: relative;
    overflow: visible;
}


/*Frontpage Navbar  */

#logo1 {
    display: none; /* Hidden on large screens */
    position: absolute;
    height: 70px;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

#logo1 img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 1;
}

.navbar {
    padding-top: calc(10px + env(safe-area-inset-top));
    padding-bottom: 10px;
    position: sticky;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    z-index: 9999;
    overflow: visible;
    background-color: rgba(196, 171, 180, 0.05); /* 5% transparency */
    backdrop-filter: blur(8px); /* Increased blur for a better glass effect */
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
}

.navbar #navbarmain li a {
    font-size: 17px;
    color: #ffffff; /* White links for contrast on pink */
    text-decoration: none;
    padding: 10px 19px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar #navbarmain li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0;
}

.navbar #navbarmain li a.nav-reservar {
    background-color: var(--color-accent-gold);
    color: #ffffff;
    padding: 8px 20px;
}

.navbar #navbarmain li a.nav-reservar:hover {
    background-color: #9a7a52;
    color: #ffffff;
}

.social {
    display: flex;
    align-items: center;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.social img {
    margin-right: 8px;
    margin-left: 4px;
    filter: brightness(0) invert(1); /* Make social icons white */
}

.social li {
    height: 30px;
}

.social #fb,
#ig {
    height: 22px;
    opacity: 0.75;
    margin-top: 3px;
}

.social #lnkd {
    height: 24px;
    opacity: 0.75;
    margin-top: 3px;
}

.social #git {
    height: 35px;
    padding-bottom: 5px;
    opacity: 0.75;
}

a img:hover {
    cursor: pointer;
}







/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: translateY(-5px) scale(1.05);
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}



/* ========================================
   DISABLE HOVER TRANSFORMS ON TOUCH
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .feature-card,
    .visit-card,
    .testimonial-card,
    .btn-reserve-primary,
    .btn-reserve-secondary,
    .btn-philosophy,
    .btn-location,
    .btn-contact-reserve,
    .btn-contact-submit,
    .whatsapp-float,
    .retreat-tag {
        transition: none !important;
    }

    .feature-card:hover,
    .visit-card:hover,
    .testimonial-card:hover,
    .btn-reserve-primary:hover,
    .btn-reserve-secondary:hover,
    .btn-philosophy:hover,
    .btn-location:hover,
    .btn-contact-reserve:hover,
    .btn-contact-submit:hover,
    .whatsapp-float:hover,
    .retreat-tag:hover {
        transform: none !important;
        box-shadow: none !important;
    }
}
/* Dropdown Styles for Accommodations Menu */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(44, 44, 44, 0.95);
    min-width: 220px;
    padding: 10px 0;
    list-style: none;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin-top: 0;
}

/* Invisible bridge to prevent closing on gap */
.menu-item-has-children > ul.sub-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.menu-item-has-children:hover > ul.sub-menu {
    display: block;
}

.menu-item-has-children > ul.sub-menu li {
    display: block;
}

.menu-item-has-children > ul.sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu-item-has-children > ul.sub-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #b28d63;
}

/* Ensure anchor links scroll to correct position accounting for sticky header */
#contact,
.hp-contact {
    scroll-margin-top: 100px;
}

