/* =========================
   RESET / BASE
========================= */
* {
    margin: 0;
    /* padding: 0; */
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

a { color: white; }
a:hover { color: white; }
a:visited { color: white; }

p { margin-bottom: 20px; }

h2 {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b591b5;
}
.violet-h2 { color: white; }

/* =========================
   HEADER + NAV
========================= */
header {
    background-color: #ffffff;
    color: #b591b5;
    text-align: center;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.title-box {
    background-color: #b591b5;
    color: white;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 10px;
}
.title-box p { margin-bottom: 5px; }

/* Nav */
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

nav a {
    color: #b591b5;
    background-color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 10px;
    transition: background .3s, color .3s;
}
nav a:hover {
    background-color: #b591b5;
    color: white;
}
nav a:visited {
    color: #b591b5;
    background-color: white;
}

/* Mobile menu */
.mobile-menu { display: none; }

#menu-toggle {
    display: none; /* oculto por defecto */
    background: #b591b5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    outline: none;
}

#mobile-menu-list {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.1);
}
#mobile-menu-list a {
    color: #b591b5;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}
#mobile-menu-list a:hover {
    background-color: #b591b5;
    color: white;
}

/* =========================
   MAIN / LAYOUT
========================= */
main {
    padding: 0 20px;
    max-width: 1200px;
    margin: auto;
}

section {
    background-color: white;
    padding: 0;
    margin-bottom: 10px;
    border-radius: 8px;
}

/* Two-column layout */
.text-columns {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.column { flex: 1; }

/* Lists inside #lista container */
#lista ul {
    margin: 10px 10px 10px 30px;
}

/* Violet content box */
.violet-box {
    background-color: #b591b5;
    color: white;
    padding: 15px 10px 0 20px;
    margin: 10px;
    border-radius: 10px;
}

/* =========================
   MEDIA / EMBEDS
========================= */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 20px 0;
}
.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* Images */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    max-width: 100%;
    overflow: hidden;
}
.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

/* =========================
   FOOTER
========================= */
footer {
    background-color: white;
    color: #333;
    padding: 20px;
    text-align: center;
    position: relative;
    border-top: 2px solid #b591b5;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.footer-module {
    flex: 1;
    background-color: #b591b5;
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin: 0 10px;
}
.footer-module p { margin-bottom: 2px; }

/* =========================
   LISTAS EN .text-columns
========================= */
.text-columns ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
    list-style-type: disc;
}
.text-columns li {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #333;
}

/* Enlaces dentro de listas en .text-columns */
.text-columns li a {
    color: #b591b5;
    font-weight: bold;
    text-decoration: none;
    transition: color .3s, text-decoration .3s;
}
.text-columns li a:hover {
    color: #7a4c7a;
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-menu { display: flex; justify-content: center; align-items: center; }
    #menu-toggle { display: inline-block; }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    .text-columns { flex-direction: column; }

    .footer-container { flex-direction: column; }
    .footer-module { flex: 1; margin: 5px; }

    .image-container { margin: 10px auto; }
    .image-container img { border-radius: 4px; }
}
