/* 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 */
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: 1.8rem;
    font-weight: bold;
    color: #d4af37;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.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 */
.hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 450px;
    color: #fff;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-brand {
    margin-bottom: 30px;
}

.hero-logo {
    height: 100px;
    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;
}

/* 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;
    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, .reconocimientos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.ods-item, .reconocimiento-item {
    text-align: center;
    flex: 0 1 180px;
}

.ods-item img, .reconocimiento-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.ods-item:hover img, .reconocimiento-item:hover img {
    transform: scale(1.1);
}

.ods-item p, .reconocimiento-item p {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* HABITACIONES */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.room-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.room-img {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.room-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.room-price {
    background: #d4af37;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.room-content {
    padding: 25px;
}

.room-content h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.4rem;
}

.room-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.room-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.room-features span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

/* SERVICIOS */
.services {
    background-color: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 40px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #d4af37;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-item:hover:before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

/* GALERÍA */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(212, 175, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* POLÍTICAS */
.policies {
    background: #f8f9fa;
}

.policy-section {
    margin-bottom: 60px;
}

.policy-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.8rem;
    border-left: 4px solid #d4af37;
    padding-left: 15px;
}

.policy-section p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: #555;
}

.policy-grid, .terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.policy-item, .term-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.policy-item:hover, .term-item:hover {
    transform: translateY(-5px);
}

.policy-item h4, .term-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

.policy-item h4 i, .term-item h4 i {
    color: #d4af37;
}

.policy-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

.term-item ul {
    list-style: none;
    padding: 0;
}

.term-item li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.term-item li:last-child {
    border-bottom: none;
}

.term-item li strong {
    color: #2c3e50;
}

/* CONTACTO */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.contact-info, .contact-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3, .contact-form h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.contact-info i {
    color: #d4af37;
    width: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

/* Formularios */
.form-control:focus,
.form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* FOOTER */
footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    height: 60px;
    border-radius: 8px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #d4af37;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #b8941f;
    transform: translateY(-3px);
}

footer p {
    margin-top: 20px;
    color: #ccc;
    font-size: 0.9rem;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: white;
}

/* Sidebar */
.sidebar {
    min-height: calc(100vh - 76px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Tablas */
.table th {
    background-color: #f8f9fa;
    border-top: none;
}

/* Badges */
.badge {
    font-size: 0.85em;
}

/* Card hover effects */
.card, .card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Login page */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Custom utilities */
.rounded-top-left {
    border-top-left-radius: 0.375rem !important;
}

.rounded-top-right {
    border-top-right-radius: 0.375rem !important;
}

/* MEJORAS PARA HEADER - LOGO MÁS GRANDE */
.logo img {
    height: 70px; /* Aumentado de 50px a 70px */
    margin-right: 15px;
}

.logo {
    font-size: 2rem; /* Aumentado ligeramente para mantener proporción */
}

/* MEJORAS PARA SOSTENIBILIDAD */
.sostenibilidad-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.ods-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px; /* Espaciado uniforme */
    margin-top: 40px;
}

.ods-item {
    text-align: center;
    flex: 0 1 200px; /* Tamaño uniforme para todos los elementos */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ods-item img {
    width: 150px; /* Tamaño uniforme aumentado */
    height: 150px; /* Tamaño uniforme aumentado */
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    border-radius: 8px; /* Bordes redondeados para mejor apariencia */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.ods-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más pronunciada al hacer hover */
}

.ods-item p {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem; /* Tamaño de fuente ligeramente mayor */
    margin-top: 10px;
    min-height: 40px; /* Altura mínima para mantener uniformidad */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* MEJORAS PARA RECONOCIMIENTOS */
.reconocimientos-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.reconocimientos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px; /* Espaciado mayor para estas imágenes más grandes */
    margin-top: 40px;
}

.reconocimiento-item {
    text-align: center;
    flex: 0 1 280px; /* Tamaño uniforme para elementos de reconocimiento */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reconocimiento-item h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2c3e50;
    min-height: 60px; /* Altura uniforme para los títulos */
    display: flex;
    align-items: center;
    justify-content: center;
}

.reconocimiento-item img {
    width: 200px; /* Tamaño uniforme aumentado */
    height: 200px; /* Tamaño uniforme aumentado */
    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);
}

/* AJUSTES RESPONSIVE PARA LAS MEJORAS */
@media (max-width: 768px) {
    .logo img {
        height: 60px; /* Logo ligeramente más pequeño en móviles */
    }
    
    .ods-grid, .reconocimientos-grid {
        gap: 20px;
    }
    
    .ods-item {
        flex: 0 1 160px;
    }
    
    .ods-item img {
        width: 120px;
        height: 120px;
    }
    
    .reconocimiento-item {
        flex: 0 1 220px;
    }
    
    .reconocimiento-item img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .ods-grid, .reconocimientos-grid {
        gap: 15px;
    }
    
    .ods-item {
        flex: 0 1 140px;
    }
    
    .ods-item img {
        width: 100px;
        height: 100px;
    }
    
    .reconocimiento-item {
        flex: 0 1 180px;
    }
    
    .reconocimiento-item img {
        width: 140px;
        height: 140px;
    }
    
    .reconocimiento-item h2 {
        font-size: 1.1rem;
    }
}

/* RESPONSIVE */
@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 h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .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));
    }
    
    .ods-grid, .reconocimientos-grid {
        gap: 20px;
    }
    
    .ods-item, .reconocimiento-item {
        flex: 0 1 140px;
    }
    
    .ods-item img, .reconocimiento-item img {
        width: 100px;
        height: 100px;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .sidebar {
        min-height: auto;
        margin-bottom: 20px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

@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-grid, .reconocimientos-grid {
        gap: 15px;
    }
    
    .ods-item, .reconocimiento-item {
        flex: 0 1 120px;
    }
    
    .ods-item img, .reconocimiento-item img {
        width: 80px;
        height: 80px;
    }
}