/* Estilos Generales */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #222;
    color: #fff;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

/* Barra superior de redes sociales e idiomas */
.top-bar {
    background-color: transparent;
    padding: 5px 20px;
    height: 50px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-media {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.social-media li {
    display: flex;
    align-items: center;
}

.social-media li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
}

.social-media li.languages {
    margin-left: 10px;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Barra de navegación */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #000;
    padding: 5px 20px;
    position: fixed;
    width: 100%;
    top: 50px;
    left: 0;
    z-index: 1000;
}

.logo img {
    max-width: 120px;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 20px;
}

.menu li {
    margin: 0 15px;
}

.menu li a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    padding: 10px;
    position: relative;
    transition: color 0.3s ease;
}

/* Animación de subrayado en el menú */
.menu li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #f77f00;
    left: 50%;
    bottom: 0;
    transition: width 0.3s ease, left 0.3s ease;
}

.menu li a:hover::before {
    width: 100%;
    left: 0;
}

.menu li a:hover {
    color: #f77f00;
}

/* Menú hamburguesa */
.mobile-menu {
    display: none;
    font-size: 30px;
    color: white;
}

.mobile-menu div {
    width: 50px; /* Líneas más largas */
    height: 4px;
    background-color: white;
    margin: 6px 0;
    transition: 0.4s;
}

/* Ajustar el bloque central con imágenes de fondo diferentes */
.home-section {
    background: linear-gradient(135deg, #111 0%, #333 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px;
    border-radius: 10px;
    color: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 120px);
}

#home.home-section {
    background-image: url('armas.png'); /* Imagen de fondo para index */
}

#about.home-section {
    background-image: url('radio.png'); /* Imagen de fondo para nosotros */
}

.home-section h1, .home-section p {
    position: relative; /* Asegura que el texto esté por encima de la imagen */
    z-index: 1;
}

.home-section h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #f77f00;
    margin-bottom: 20px;
}

.home-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.home-section span {
    color: #f77f00;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    color: #fff;
    width: 100%;
}

footer a {
    color: #f77f00;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-container {
    font-size: 0.7rem;
    white-space: nowrap;
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .logo img {
        max-width: 80px;
    }

    .menu {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .menu.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #000;
        padding: 10px;
        border-radius: 5px;
    }

    .home-section h1 {
        font-size: 1.5rem;
    }

    .home-section p {
        font-size: 1rem;
    }
}
