.hero-banner {
    position: relative;
    height: 60vh;
    min-height: 500px;
    width: 100%;
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(210, 105, 30, 0.45) 0%,
        rgba(210, 105, 30, 0.35) 100%
    );
    z-index: 5;
}

.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text {
    color: white;
    max-width: 900px;
    padding-left: 2rem;
}

.hero-text h1 {
    font-size: 4.8rem;
    margin-bottom: 1.5rem;
    font-weight: 100;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 1);
    font-family: 'Roboto', sans-serif;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-text p {
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    font-family: 'Roboto', sans-serif;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-text strong {
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Ajuste del tamaño de los íconos */
.hero-text i.bi {
    font-size: 1.2rem;
    position: relative;
    top: 1px;
    opacity: 0.9;
}

.language-controls {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.2rem;
}

.flag-container {
    width: 60px;
    height: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.flag-container:hover img {
    transform: scale(1.1);
}

.language-buttons {
    display: flex;
    gap: 10px;
}

.btn-lang {
    padding: 10px 24px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 3px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.btn-lang:hover {
    transform: translateY(-1px);
    color: white;
}

.btn-lang-es {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-lang-es:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-lang-en {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-lang-en:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-banner {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-text {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1.2rem;
    }
    
    /* Ajustes para controles de idioma en tablet */
    .language-controls {
        top: 15px;
        right: 15px;
        gap: 0.8rem;
    }
    
    .flag-container {
        width: 45px;
        height: 30px;
    }
    
    .btn-lang {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        height: 45vh;
        min-height: 350px;
    }
    
    .hero-text {
        padding-left: 1rem;
        padding-right: 1rem;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    /* Controles de idioma más compactos para móvil */
    .language-controls {
        top: 10px;
        right: 10px;
        gap: 0.5rem;
        flex-direction: row;
        align-items: center;
    }
    
    .flag-container {
        width: 35px;
        height: 25px;
        order: 1;
    }
    
    .language-buttons {
        gap: 5px;
        order: 2;
    }
    
    .btn-lang {
        padding: 6px 12px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }
}