/* ESTILOS GENERALES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #262421;
    background-color: #f9f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: #d4af37;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: #d4af37;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.btn-outline:hover {
    background: #d4af37;
    color: white;
}

.btn-reserva {
    width: 100%;
    margin-top: 15px;
}

section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
    font-weight: 300;
}

h2:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: #d4af37;
    margin: 15px auto;
}

/* HEADER Y NAVEGACIÓN - LOGO MÁS GRANDE */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.2rem; /* Aumentado */
    font-weight: bold;
    color: #d4af37;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; /* Aumentado de 70px a 80px */
    margin-right: 15px;
}

.logo span {
    color: white;
}

nav ul {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

nav ul li a:hover {
    color: #d4af37;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d4af37;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
}

/* HERO SECTION - IMAGEN DE FONDO */
.hero {
    background-image: url('imagenes/Portada.png'); /* Imagen como fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh; /* Altura completa de la ventana */
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Overlay para mejor legibilidad */
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-brand {
    margin-bottom: 30px;
}

.hero-logo {
    height: 120px; /* Logo más grande en el hero */
    margin-bottom: 20px;
    border-radius: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Eliminar la imagen de portada que estaba en el HTML */
/*.Portada {
 /*   display: none;
/*}

/* SOSTENIBILIDAD Y RECONOCIMIENTOS */
.sostenibilidad-section, .reconocimientos-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-icon {
    height: 60px; /* Tamaño igual al texto */
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* ODS GRID - 5 ELEMENTOS EN UNA SOLA LÍNEA */
.ods-grid {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; /* Evita que se rompa en múltiples líneas */
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto; /* Scroll horizontal si es necesario en móviles */
    padding-bottom: 10px;
}

.ods-item {
    text-align: center;
    flex: 0 0 auto; /* No crece, no se encoge, tamaño automático */
    width: 180px; /* Ancho fijo para uniformidad */
}

.ods-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ods-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ods-item p {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RECONOCIMIENTOS GRID - 2 ELEMENTOS DEL MISMO TAMAÑO */
.reconocimientos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-top: 40px;
}

.reconocimiento-item {
    text-align: center;
    flex: 0 1 300px; /* Tamaño uniforme */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reconocimiento-item h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reconocimiento-item img {
    width: 180px; /* Tamaño uniforme y moderado */
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reconocimiento-item:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* PROTÉGEME SECTION */
.protegeme-section {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.protegeme-section .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 300;
}

.protegeme-images {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}

.protegeme-img {
    width: 200px; /* Tamaño uniforme */
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.protegeme-img:hover {
    transform: scale(1.05);
}

/* GOOGLE TRANSLATE ELEMENTO */
#google_translate_element {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 2000;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 6px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ... (el resto del CSS se mantiene igual hasta las media queries) ... */

/* RESPONSIVE */
@media (max-width: 1200px) {
    .ods-grid {
        flex-wrap: wrap; /* En tablets grandes, permite wrap */
        justify-content: center;
    }
    
    .ods-item {
        flex: 0 1 160px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #2c3e50;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    nav ul.show {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero {
        min-height: 80vh; /* Altura ajustada para móviles */
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* ODS en columna en móviles */
    .ods-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .ods-item {
        width: 100%;
        max-width: 200px;
    }
    
    /* Reconocimientos en columna en móviles */
    .reconocimientos-grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .reconocimiento-item {
        flex: 0 1 auto;
    }
    
    /* Protégeme en columna en móviles */
    .protegeme-images {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .logo img {
        height: 60px; /* Logo ligeramente más pequeño en móviles */
    }
    
    .logo {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .contact-info, .contact-form {
        padding: 25px;
    }
    
    .policy-grid, .terms-grid {
        grid-template-columns: 1fr;
    }
    
    .ods-item img {
        width: 100px;
        height: 100px;
    }
    
    .reconocimiento-item img {
        width: 140px;
        height: 140px;
    }
    
    .protegeme-img {
        width: 160px;
        height: 120px;
    }
}