/* Estilo base */
body {
    background: linear-gradient(rgba(32, 67, 184, 0.6), rgba(101, 121, 185, 0.6)),
        url('../img/fondo.png') no-repeat center center;
    min-height: 100vh;
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Borde negro en texto blanco */
.text-borde {
    color: white;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
    text-align: center;
}

/* Header */
header {
    color: white;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 18, 51, 0.85); /* azul marino translúcido */
    backdrop-filter: blur(4px);
}

header h1 {
    margin: 0;
    font-size: 1.7rem;
    text-align: center;
}

header p {
    margin: 0;
    text-align: center;
}

p {
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
}

.toychato {
    font-size: 27px;
}

.online {
    font-size: 50px;
}

/* Navegación */
nav {
    margin-top: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

nav a {
    background: linear-gradient(rgba(32, 67, 184, 0.6), rgba(101, 121, 185, 0.6));
    color: #f1c40f;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
}

nav a:hover {
    text-decoration: underline;
}

.menu-toggle {
    display: none;
    background-color: #2036b8;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px  1px 0 #000,
        1px  1px 0 #000;
}

/* Hero */
.hero {
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

.hero > div {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Botón principal */
.btn {
    background-color: #f1c40f;
    color: #000;
    padding: 0.7rem 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: #d4ac0d;
}

/* Secciones */
.servicios, #sesiones, #materia, .sobre-mi, #contacto {
    padding: 3rem 1rem;
    text-align: center;
}

.servicios {
    background-color: #f5faff;
}

#sesiones {
    background-color: #d9ecff;
}

#materia {
    background-color: #f5faff;
}

.sobre-mi {
    background-color: #d9ecff;
}

#contacto {
    background-color: #d9ecff;
}

.servicios h2,
#sesiones h2,
#materia h2,
.sobre-mi h2,
#contacto h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.servicios ul,
#sesiones ul,
#materia ul {
    list-style: none;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.servicios li,
#sesiones li,
#materia li {
    margin: 0.5rem 0;
}

.perfil {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.imagen-perfil img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    width: 300px;
    height: auto;
}

.bio {
    flex: 1;
    max-width: 600px;
    text-align: left;
}

.contacto h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.redes .btn {
    margin: 0.5rem;
    background-color: #001f3f;
    color: #fff;
}

.redes .btn:hover {
    background-color: #000c26;
}

/* Footer */
footer {
    background-color: #001f3f;
    color: #ccc;
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        margin: 1rem auto;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .probando {
        margin: 0.5rem 0.3rem 0.5rem 0.3rem;
        padding: 0.4rem;
    }

    .perfil {
        flex-direction: column;
    }

    header h1, nav {
        text-align: center;
    }

    .online {
        font-size: 30px;
    }

    .toychato {
        font-size: 18px;
    }

    .bio {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .online {
        font-size: 24px;
    }

    .toychato {
        font-size: 16px;
    }
}

    .probando {
        margin: 0.3rem 0.2rem 0.3rem 0.2rem;
        padding: 0.3rem;
    }
