/* Estilos base */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --bg-color: #f4f6f7;
    --text-color: #333;
    --card-bg: #ffffff;
}
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; margin: 0; padding: 0; background-color: var(--bg-color); color: var(--text-color); }
header { width: 100%; background-color: #fff; border-bottom: 3px solid var(--primary-color); text-align: center; }
.logo-cabecera { width: 100%; max-width: 1200px; height: auto; display: block; margin: 0 auto; }
main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.intro-adivinarte { background: var(--card-bg); padding: 2rem; margin-bottom: 2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.intro-adivinarte h2 { color: var(--primary-color); margin-top: 0; font-size: 2rem; border-bottom: 2px solid var(--secondary-color); display: inline-block; padding-bottom: 0.5rem; }
.grid-apartados { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.card { background: var(--card-bg); padding: 1.5rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); display: flex; flex-direction: column; text-align: center; }
.card h3 { color: var(--primary-color); margin-top: 0; font-size: 1.4rem; }
.card img { max-width: 100%; height: auto; max-height: 250px; object-fit: contain; margin-bottom: 1rem; border-radius: 4px; }
.adivinanza-ejemplo { background: #ecf0f1; padding: 1rem; border-radius: 4px; margin-bottom: 1rem; font-style: italic; }
.btn { display: inline-block; margin-top: auto; padding: 0.6rem 1.2rem; background-color: var(--primary-color); color: #fff; text-decoration: none; border-radius: 4px; transition: background 0.3s; font-weight: bold; }
.btn:hover { background-color: var(--secondary-color); }

/* Estilos para el Carrusel CSS */
.carrusel-contenedor {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.carrusel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
    scrollbar-width: thin;
}
.carrusel img {
    flex: 0 0 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.carrusel-indicacion {
    color: #7f8c8d;
    margin-top: 0.5rem;
    font-style: italic;
}

footer { background-color: var(--primary-color); color: #fff; padding: 3rem 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.footer-col h4 { margin-top: 0; border-bottom: 1px solid #7f8c8d; padding-bottom: 0.5rem; color: #ecf0f1; }
.footer-col a { color: #bdc3c7; text-decoration: none; transition: color 0.3s; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.8rem; }
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.5rem; border: none; border-radius: 4px; box-sizing: border-box; }
.contact-form textarea { resize: vertical; }
.contact-form button { background-color: var(--secondary-color); color: #fff; border: none; padding: 0.7rem; cursor: pointer; border-radius: 4px; font-weight: bold; }
.contact-form button:hover { background-color: #c0392b; }
