/* VARIABLES GLOBALES */
:root {
    --gold: #d4af37;
    --gold-hover: #f1c40f;
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --white: #ffffff;
    --gray: #a0a0a0;
}

/* RESET GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

/* CABECERA (HEADER) CON LOGO GRANDE */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Padding reducido para logo más grande */
    padding: 10px 8%; 
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    /* Altura fija para mantener tamaño constante */
    height: 80px; 
}

.logo img {
    /* --- TAMAÑO PROFESIONAL PARA WEB CORPORATIVA --- */
    height: 120px; 
    /* ---------------------------------------------- */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* ======================================
   SELECTOR DE IDIOMAS ELEGANTE
====================================== */
.language-selector {
    display: flex;
    align-items: center;
    gap: 3px;
}

.lang-option {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px 12px;
    border-radius: 20px;
    position: relative;
}

.lang-option::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-option:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.lang-option:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.lang-option.active {
    color: var(--gold);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2),
                inset 0 0 15px rgba(212, 175, 55, 0.1);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

.lang-divider {
    color: rgba(212, 175, 55, 0.25);
    font-weight: 200;
    font-size: 0.9rem;
    user-select: none;
    margin: 0 2px;
}

/* SECCIÓN HERO - AJUSTADA PARA LOGO GRANDE */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Espacio ajustado para header compacto */
    padding-top: 100px; 
}

/* Carrusel de fondo del hero */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* Contenido del hero sobre el carrusel */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.btn-hero {
    display: inline-block;
    padding: 12px 40px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-hero:hover {
    background: var(--gold-hover);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

/* Indicadores del hero carousel */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-indicator.active {
    background: var(--gold);
    width: 30px;
    border-radius: 6px;
    transform: scale(1.1);
}

/* GRID DE HOTELES */
main {
    padding: 100px 8%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

/* CONTAINER DE TARJETAS */
.card-container {
    position: relative;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* TARJETAS CON CARRUSEL */
.card {
    height: 450px;
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

/* IMÁGENES DEL CARRUSEL */
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.carousel-image.active {
    opacity: 1;
    z-index: 2;
}

/* INFORMACIÓN DE LA TARJETA */
.card-info {
    position: relative;
    z-index: 3;
}

.card-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.btn-visitar {
    color: var(--gold);
    text-decoration: none;
    border: 1px solid var(--gold);
    padding: 8px 20px;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
}

.card:hover .btn-visitar {
    background: var(--gold);
    color: black;
}

/* INDICADORES DEL CARRUSEL */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator.active {
    background: var(--gold);
    width: 30px;
    border-radius: 5px;
}

/* ======================================
   SECCIONES CORPORATIVAS
====================================== */

/* Contenedor general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* SECCIÓN SOBRE NOSOTROS */
.sobre-nosotros {
    padding: 100px 8%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
}

.sobre-nosotros h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.sobre-nosotros .lead {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.sobre-nosotros .description {
    font-size: 1rem;
    color: var(--gray);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.9;
}

/* SECCIÓN MISIÓN, VISIÓN Y VALORES */
.mision-vision {
    padding: 100px 8%;
    background-color: var(--dark-bg);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mvv-card {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.mvv-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.mvv-card.full-width {
    grid-column: 1 / -1;
}

.mvv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mvv-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.mvv-card p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* Lista de valores */
.valores-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.valor-item {
    background: rgba(212, 175, 55, 0.05);
    padding: 20px;
    border-radius: 10px;
    border-left: 3px solid var(--gold);
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
}

.valor-item strong {
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

/* SECCIÓN COMPROMISOS */
.compromisos {
    padding: 100px 8%;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    text-align: center;
}

.compromisos h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.compromisos .subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 60px;
}

.compromisos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.compromiso-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.compromiso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-hover));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.compromiso-card:hover::before {
    transform: scaleX(1);
}

.compromiso-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.compromiso-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 15px;
    line-height: 1;
}

.compromiso-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.compromiso-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ======================================
   FOOTER
====================================== */
footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #151515 100%);
    padding: 60px 8% 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
    margin: 5px 0;
}

.footer-credits {
    color: rgba(212, 175, 55, 0.6);
    font-style: italic;
}

/* ====================================== */

/* RESPONSIVO */
@media (max-width: 768px) {
    .logo img { height: 80px; } /* Logo un poco más pequeño en móviles */
    header { padding: 5px 5%; }
    .hero-content h1 { font-size: 2rem; }
    .grid {
        grid-template-columns: 1fr;
    }
    
    /* Secciones corporativas responsive */
    .sobre-nosotros, .mision-vision, .compromisos {
        padding: 60px 5%;
    }
    
    .sobre-nosotros h2, .compromisos h2 {
        font-size: 1.8rem;
    }
    
    .sobre-nosotros .lead {
        font-size: 1.1rem;
    }
    
    .sobre-nosotros .description {
        font-size: 0.95rem;
    }
    
    .mvv-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mvv-card {
        padding: 30px 20px;
    }
    
    .mvv-card h3 {
        font-size: 1.5rem;
    }
    
    .valores-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .compromisos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .compromiso-card {
        padding: 30px 20px;
    }
    
    .compromiso-number {
        font-size: 2.5rem;
    }
    
    .compromiso-card h4 {
        font-size: 1.2rem;
    }
    
    /* Footer responsive */
    footer {
        padding: 40px 5% 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Selector de idiomas en móvil */
    .language-selector {
        gap: 2px;
    }
    
    .lang-option {
        font-size: 0.75rem;
        letter-spacing: 1px;
        padding: 4px 8px;
    }
    
    .lang-divider {
        font-size: 0.75rem;
        margin: 0 1px;
    }
}