/* Archivo combinado: estilo único (fusiona style.css + style2.css) */
/* Conserva las mejores reglas y elimina repeticiones */

 /* 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: 2.2rem;
    font-weight: bold;
    color: #d4af37;
    display: flex;
    align-items: center;
}

.logo img {
    height: 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 (ruta correcta relativa a css/) */
.hero {
    background-image: url('../imagenes/Portada.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    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);
    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;
    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 / RECONOCIMIENTOS GRIDS */
.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;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ods-item img, .reconocimiento-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, .reconocimiento-item:hover img {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ods-item p, .reconocimiento-item p {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
    margin-top: 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 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;
}

/* 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;
    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: 75px;
    right: 10px;
    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);
}

/* AJUSTES RESPONSIVE Y MEDIA QUERIES CONSOLIDADOS */
@media (max-width: 1200px) {
    .ods-grid {
        flex-wrap: 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;
    }
    
    .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 {
        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;
    }
    
    .ods-grid, .reconocimientos-grid {
        gap: 15px;
    }
    
    .ods-item, .reconocimiento-item {
        flex: 0 1 120px;
    }
    
    .ods-item img, .reconocimiento-item img {
        width: 80px;
        height: 80px;
    }
    
    .reconocimiento-item h2 {
        font-size: 1.1rem;
    }
}