/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* BODY */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
    color: #ffffff;
}

/* HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
}

/* LOGO */
.logo img {
    height: 80px;
    cursor: pointer;
}

/* NAV DESKTOP */
.nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #00e0ff;
}

/* HAMBURGUESA */
.menu-toggle {
    display: none;
    width: 35px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 2001; /* CLAVE */
}

.menu-toggle span {
    width: 100%;
    height: 4px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* CONVERSIÓN A X */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* MAIN */
.main {
    flex: 1;
    padding: 60px 20px;
    text-align: center;
}

.bienvenida h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #00e0ff;
}

.bienvenida p {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.7;
}

/* FOOTER */
.footer {
    margin-top: auto;
    background: #020617;
    padding: 15px;
    text-align: center;
    font-size: 14px;
}

/* ============================= */
/* ===== RESPONSIVE MÓVIL ===== */
/* ============================= */
@media (max-width: 768px) {

    /* Mostrar hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar menú desktop */
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: #020617;
        padding-top: 100px;
        transition: right 0.4s ease;
        z-index: 2000;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav a {
        font-size: 18px;
    }
}



/* ================= CONTACTO ================= */
.contacto {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contacto h1 {
    font-size: 2.7rem;
    color: #d30d0d;
    margin-bottom: 30px;
}

.contacto-texto {
    font-size: 1.2rem;
    max-width: 900px;
    margin-bottom: 30px;
}

.horarios p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* REDES SOCIALES */
.redes {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.red {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-size: 1.1rem;
    border-radius: 40px;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.red:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* COLORES OFICIALES */
.facebook {
    background: #1877f2;
}

.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.tiktok {
    background: #000000;
}

.whatsapp {
    background: #25d366;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contacto h1 {
        font-size: 2.2rem;
    }

    .contacto-texto {
        font-size: 1.1rem;
    }

    .red {
        font-size: 1rem;
        padding: 12px 18px;
    }
}
