/* Estilos básicos para toda la web A Misela */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #111827;
    color: #e5e7eb;
}

/* CABECERA */

.site-header {
    text-align: center;
    padding: 2.5rem 1rem 0.5rem;
}

.site-header h1 {
    font-size: 2.2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.subtitle {
    margin-top: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* LOGO EN LA PORTADA (index raíz) */

.logo img {
    width: 240px;
    margin: 1.4rem auto 0;
    display: block;
    opacity: 1;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

/* PORTADA DE SELECCIÓN DE IDIOMA */

.language-selector {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-top: 3rem;
}

.language-selector section {
    text-align: center;
    max-width: 480px;
}

.language-selector h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.lang-button {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    color: #111827;
    background: #f9fafb;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lang-button:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* MENÚ DE NAVEGACIÓN */

.main-nav {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.main-nav a:hover {
    opacity: 1;
}

/* Selector de idioma en el menú superior */

.lang-switch a {
    font-weight: 700;
    border-bottom: 1px solid #e5e7eb;
}

/* Imagen principal en cabecera (páginas internas) */

.header-image {
    margin-top: 1.5rem;
    margin-bottom: 1.8rem;
    display: flex;
    justify-content: center;
}

.header-image img {
    width: 100%;
    max-width: 900px;
    border-radius: 14px;
    box-shadow: 0 0 25px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.20);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    object-fit: cover;
}

/* CONTENIDO DE LAS PÁGINAS INTERNAS */

.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;  /* espacio extra abajo para que no “pise” el footer */
    line-height: 1.7;
    font-size: 1rem;
}

.page-content p {
    margin-bottom: 1.2rem;
}

.page-content h2 {
    text-align: center;
    font-size: 1.9rem;
    letter-spacing: 0.04em;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

/* FOTO DEL DIRECTOR */

.director-photo {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 2rem;
}

.director-photo img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    box-shadow: 0 0 18px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.2);
}

/* EVENTOS (Axenda / Agenda) */

.event {
    margin-bottom: 2rem;
    padding: 1rem 1.2rem;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    border-left: 4px solid #9ca3af;
}

.event h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
    color: #f3f4f6;
}

.event p {
    margin: 0;
}

/* PIE DE PÁGINA + ICONOS SOCIALES */

.site-footer {
    font-size: 0.85rem;
    padding: 0.8rem 1rem 1.2rem;
    opacity: 0.7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;          /* espacio entre iconos y texto */
    margin-top: 2.5rem;   /* separación del contenido */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 0.2rem;
}

.social-icons svg {
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}

.social-icons svg:hover {
    opacity: 1;
    transform: scale(1.15);
}
.enlace-director {
    color: #c4b5fd;                /* Lila suave elegante */
    font-weight: 600;              /* Un poco más destacado */
    text-decoration: none;         /* Sin subrayado normal */
    border-bottom: 2px solid #c4b5fd55; /* Subrayado suave y semifluido */
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.enlace-director:hover {
    color: #ffffff;                /* Blanco al pasar el ratón */
    border-bottom-color: #ffffffbb;
    text-shadow: 0 0 6px rgba(255,255,255,0.5);
}/* -------- FOOTER -------- */

/* -------- FOOTER -------- */

..site-footer {
    text-align: center;
    padding: 40px 20px 80px; /* un poco de aire abajo */
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 60px;
}

/* enlaces tipo “pastilla” (como ya los tenías) */
.site-footer .banner-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer .banner-links a {
    padding: 8px 16px;
    background-color: #1b2533;
    color: #c5d8ff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
}

.site-footer .banner-links a:hover {
    background-color: #334155;
    color: #e5edff;
}

/* iconos sociais con imaxes PNG */
.site-footer .social-icons {
    margin-top: 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.site-footer .social-icons a {
    display: inline-block;
}

.site-footer .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
}

.site-footer .social-icon:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* copyright */
.site-footer .copyright {
    margin-top: 18px;
    font-size: 0.9rem;
    opacity: 0.8;
}
/* ===== LOGOS PROYECTOS (FOOTER) ===== */
.site-footer .project-logos{
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer .project-logos .project-logo{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform .15s ease, background .15s ease;
}

.site-footer .project-logos .project-logo{
  width: 92px;
  height: 92px;
}

.site-footer .project-logos .project-logo img{
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
}


/* ===== REDES SOCIALES (FOOTER) ===== */
.site-footer .social-icons{
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.site-footer .social-icon{
  width: 34px !important;
  height: 34px !important;
  display: block;
  opacity: 0.85;
  transition: opacity .15s ease, transform .15s ease;
}

.site-footer .social-icon:hover{
  opacity: 1;
  transform: translateY(-2px);
}
