@charset "utf-8";
/* CSS Document */

/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    background: #000;
    display: flex;
    justify-content: space-between;
    height: 100vh;
    overflow: hidden;
}

/* Menú lateral (lado derecho) */
.sidebar {
    width: 220px;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 0;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 10;
}

.sidebar ul {
    list-style: none;
    text-align: center;
}

.sidebar li {
    margin: 15px 0;
}

.sidebar a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 20px;
    display: block;
    transition: background 0.3s;
}

.sidebar a:hover,
.sidebar a.active {
    background: #e50914;
}

.contacto {
    text-align: center;
    margin-bottom: 30px;
}

.contacto a {
    display: inline-block;
    color: #000;
    background: #00b4ff;
    padding: 10px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
}

/* Sección principal */
.hero {
    flex: 1;
    position: relative;
    background: url('fondo.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 220px; /* deja espacio para el menú derecho */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    z-index: 2;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero-content .red {
    color: #e50914;
}

.hero-content p {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #ddd;
}

.buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-outline {
    border: 2px solid #ffde00;
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #ffde00;
    color: #000;
}

.btn-solid {
    background: #e50914;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-solid:hover {
    background: #b0060f;
}

/* Responsivo */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        right: 0;
        padding: 10px;
    }

    .hero {
        padding-right: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .buttons {
        flex-direction: column;
        gap: 10px;
    }
}