/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    padding-top: 50px; /* ajusta según la altura del header */
}

/* Estructura general */
body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s;
}

/* Contenedor del header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header.scrolled {
    background: rgba(0,0,0,0.8);
}

.logo img {
    height: 30px;
    width: auto;
    transition: all 0.3s;
}

/* Menú desktop */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #d4af37;
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 4vw;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 5px;
}

.hero-content p {
    font-size: 1.2vw;
    letter-spacing: 2px;
}

/* Menú hamburguesa (mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 15px 0;
    }
    
    .logo img {
        height: 25px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transform: translateX(100%);
        transition: transform 0.3s;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .hero-content h1 {
        font-size: 8vw;
    }
    
    .hero-content p {
        font-size: 4vw;
    }
}


/* GALERÍA - VERSIÓN CORREGIDA */
.gallery-section {
    padding: 40px 20px;
    background: #000;
    color: #fff;
}

.media-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.media-item {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%; /* Cuadrados perfectos */
}

.media-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Efecto hover */
.media-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .media-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .media-container {
        grid-template-columns: 1fr;
    }
}

/* Hero de la galería */
.gallery-hero {
    position: relative;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
}

.gallery-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.gallery-hero .hero-content p {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* Contenedor de la galería */
.image-gallery {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-hero {
        height: 20vh;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .gallery-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-container {
        grid-template-columns: 1fr;
    }
}

/* Ajuste específico para portátiles (entre 769px y 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
        max-width: 900px; /* Contenedor más estrecho */
    }
    
    .gallery-item {
        aspect-ratio: 4/3; /* Proporción horizontal */
    }
    
    .gallery-item img {
        max-height: 250px; /* Altura máxima fija */
        width: 100%;
        object-fit: cover;
    }
}

/* ===== ESTILOS ESPECÍFICOS PARA RESERVAS ===== */

.calendar-section {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.calendario-container {
    max-width: 800px;
    margin: auto;
    background: rgb(230, 228, 228);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.calendario-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
}

/* Navegación entre meses */
.navegacion {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.navegacion a {
    text-decoration: none;
    padding: 8px 16px;
    background: #007BFF;
    color: rgb(248, 245, 245);
    border-radius: 6px;
    transition: background 0.3s;
    font-size: 14px;
}

.navegacion a:hover {
    background: #0056b3;
}

/* Calendario en 7 columnas fijas */
.calendario {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

/* Cabecera de días de la semana */
.dia-header {
    font-weight: bold;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
    color: #333;
}

/* Días del calendario */
.dia {
    padding: 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(8, 8, 8);
}

/* Celda vacía antes del primer día */
.dia.empty {
    background: transparent;
    box-shadow: none;
}

/* Colores de estado */
.libre { background-color: #d4f8d4; } 
.ocupado { background-color: #ffb3b3; }
.entrada { background: linear-gradient(to top, #ffb3b3 50%, #d4f8d4 50%); }
.salida { background: linear-gradient(to bottom, #ffb3b3 50%, #d4f8d4 50%); }

/* Leyenda */
.leyenda {
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;position: fixed;
}

.leyenda div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

/* Botones de contacto */
.contacto {
    margin-top: 40px;
}

.contacto h3 {
    margin-bottom: 10px;
    color: #333;
}

.contacto a {
    display: inline-block;
    margin: 10px;
    padding: 12px 20px;
    background-color: #007BFF;
    color: rgb(4, 4, 4);
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
    font-size: 14px;
}

.contacto a:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .calendario-container {
        padding: 20px;
    }

    .dia, .dia-header {
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .dia, .dia-header {
        padding: 8px;
        font-size: 11px;
    }
}


/* Teléfono en el header */
.telefono-header {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-left: auto; /* empuja el teléfono a la derecha */
    white-space: nowrap; /* evita que se corte en 2 líneas */
}

.telefono-header:hover {
    color: #d4af37;
}

/* Responsive: en móviles */
@media (max-width: 768px) {
    .telefono-header {
        font-size: 16px; /* un poco más grande en móvil */
        margin-right: 10px;
    }
}

/* EXPERIENCIAS - ESTRUCTURA MOBILE FIRST */
@media (max-width: 768px) {
    .experiencias-container {
        padding: 30px 15px; /* Reducir padding lateral */
        width: 100%;
        box-sizing: border-box;
    }

.experiencia {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
    opacity: 0;
    transition: all 0.6s ease;
    padding-top: 10px;
}

.exp-imagen {
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;

}

.exp-imagen img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exp-contenido {
    width: 100%;
}

.exp-contenido h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #fff;
}

.exp-desc {
    line-height: 1.6;
    margin-bottom: 10px;
    color: #030303;
}

.exp-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.precio {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4af37;
}

.btn-contacto {
    display: inline-block;
    padding: 12px 25px;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
}
}

/* DESKTOP - DISEÑO ALTERNADO */
@media (min-width: 769px) {
    .experiencia {
        flex-direction: row;
        align-items: center;
        margin-bottom: 80px;
    }
    
    .experiencia-left {
        text-align: left;
    }
    
    .experiencia-right {
        flex-direction: row-reverse;
        text-align: right;
    }
    
    .exp-imagen {
        flex: 1;
        min-width: 50%;
        margin-bottom: 0;
    }
    
    .exp-imagen img {
        height: 350px;
    }
    
    .exp-contenido {
        flex: 1;
        padding: 0 40px;
    }
    
    .exp-info {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

/* EFECTOS DE APARICIÓN */
.experiencia-left {
    transform: translateX(-50px);
}

.experiencia-right {
    transform: translateX(50px);
}

.experiencia.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ESTILOS DE CONTACTO */
.contact-method {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.contact-method svg {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #d4af37;
}

.contact-method h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.contact-method a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-method a:hover {
    color: #d4af37;
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
}

.btn-submit {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #e8c04d;
}

.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
}

.language-switcher img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s;
}

.language-switcher img:hover {
    transform: scale(1.1);
}
