/* Reset para asegurar consistencia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa; /* Fondo gris muy claro para contrastar el header blanco */
}

/* Estilos del Header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10%; /* Aumentada la distancia lateral para alejar el logo y enlaces de los bordes */
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Sombra elegante */
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Contenedor del Logo */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    color: #555b6e; /* Color elegante para el texto del logo */
    display: flex;
    align-items: baseline;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Tipografía del logo simulando la imagen */
/* (Ya no se usa, pero lo dejamos por si se necesita para texto fallback) */
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: #8da4b4;
}

.logo-la {
    font-size: 26px;
    margin-right: 4px;
}

.logo-perla-p {
    font-size: 42px;
    font-style: italic;
    margin-left: -2px;
    margin-right: 2px;
    color: #8da4b4;
}

/* Menú de Navegación */
.nav-menu {
    display: flex;
    gap: 30px; /* Espaciado entre enlaces */
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #0081B9; /* Azul del menú */
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Ligero espaciado en mayúsculas */
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: #0081B9; /* Se mantiene el mismo color al hacer hover */
}

/* Efecto de ola en hover (Fina por defecto para la mayoría) */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 10px;
    bottom: -4px;
    left: 50%;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 10'%3E%3Cpath fill='none' stroke='%230081B9' stroke-width='1.2' stroke-linecap='round' d='M0,5 Q5,10 10,5 T20,5'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 20px 10px;
    transition: width 0.3s ease;
    transform: translateX(-50%);
    z-index: -1;
}

/* Efecto de ola gruesa solo para el último enlace (Trabaja con nosotros) */
.nav-item:last-child .nav-link::after {
    height: 14px;
    bottom: 0px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 14'%3E%3Cpath fill='none' stroke='%230081B9' stroke-width='2.5' stroke-linecap='round' d='M0,7 Q7.5,13 15,7 T30,7'/%3E%3C/svg%3E");
    background-size: 30px 14px;
}

.nav-link:hover::after {
    width: 100%;
}
/* Menú Hamburguesa (Oculto en Desktop) */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Siempre por encima del menú */
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: #0081B9;
    transition: all 0.3s ease;
}

/* Animación del botón a 'X' cuando está activo */
.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Diseño Responsivo para móviles y tablets */
@media (max-width: 992px) {
    .site-header {
        padding: 15px 30px;
        /* Mantenemos flex-row por defecto del .site-header y alineamos a los lados */
    }
    
    .hamburger-btn {
        display: block; /* Revelamos el botón de hamburguesa */
    }
    
    /* El menú de navegación se convierte en un dropdown oculto */
    .nav-menu {
        position: absolute;
        top: 100%; /* Justo debajo del borde del header */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        max-height: 0; /* Oculto inicialmente cerrando su altura */
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    
    /* Estado abierto del menú */
    .nav-menu.active {
        max-height: 400px; /* Suficiente para que se vea el contenido */
        border-top: 1px solid #f0f0f0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 20px 0;
        border-bottom: 1px solid #f9f9f9;
        font-size: 16px; /* Letra un poco más grande para tocar bien en móvil */
    }
    
    /* Quitamos el borde inferior al último elemento */
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Ocultamos las olas en el menú responsive para que quede limpio */
    .nav-link::after,
    .nav-item:last-child .nav-link::after {
        display: none;
    }
}

/* Estilos del Footer */
.site-footer {
    background-color: #f6f4ef;
    padding: 40px 60px;
    color: #7b7b7b;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-col {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.footer-icon {
    color: #0c8ec8;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.footer-content p {
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-content ul {
    list-style: none;
}

.footer-content li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 5px;
    line-height: 1.5;
}

.footer-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #7b7b7b;
}

.footer-contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-contact-row .footer-icon {
    margin-right: 10px;
    margin-top: 0;
}

.footer-link {
    color: #7b7b7b;
    text-decoration: underline;
    text-decoration-color: #7b7b7b;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.footer-link:hover {
    color: #0c8ec8;
    text-decoration-color: #0c8ec8;
}

@media (max-width: 900px) {
    .site-footer {
        flex-direction: column;
        gap: 30px;
    }
}

/* -------------------------------------- */
/* Estilos del Cuerpo Principal (Main)
/* -------------------------------------- */
.site-main {
    min-height: 50vh; /* Da algo de peso antes del footer */
    background-color: #f8f9fa; /* Fondo coherente */
}

/* Sección de Reservas CoverManager */
.reservation-section {
    padding: 60px 20px; /* Separación respecto a header y footer */
}

.reservation-container {
    max-width: 1100px; /* El iframe nunca será excesivamente ancho en pantallas grandes */
    margin: 0 auto; /* Centrado automático */
    background-color: #ffffff; /* Fondo blanco limpio tras el motor */
    border-radius: 12px; /* Esquinas redondeadas para un look moderno */
    box-shadow: 0 10px 40px rgba(0,0,0,0.06); /* Sombra elegante sutil */
    padding: 30px; /* Margen interior */
    overflow: hidden; /* Cortar desbordes incesarios */
}

/* Ajustes Responsivos para el Contenedor de Reservas */
@media (max-width: 768px) {
    .reservation-section {
        padding: 30px 15px; /* Menos márgenes en móviles */
    }
    
    .reservation-container {
        padding: 15px; /* Menos espacio interior en móviles */
        border-radius: 8px; /* Bordes un poco menos redondeados */
    }
}
