@charset "utf-8";
/* CSS Document - IV Curso Complutense de Exploración Espacial */

/* VARIABLES DE COLOR */
:root {
    --azul-corporativo: #1c2d4f;
    --naranja-corporativo: #E67E22;
    --blanco: #ffffff;
    --gris-fondo: #f9f9f9;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: var(--blanco);
    line-height: 1.5;
}

.column-img {
    flex: 1.3;
    min-width: 280px;
}

.column-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

h1, h2, h3, h4, h5, p, a, label, input, textarea {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* CABECERA CON LOGOS */
.header-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background: white;
    flex-wrap: wrap;
}

.header-logos img,
.logo-item img {
    height: 60px;
    width: auto;
}

.header-logos .logo-grande {
    height: 120px;
}

.header-logos .logo-mediano {
    height: 100px;
}

.header-logos .logo-pequeno {
    height: 40px;
}
/* MENÚ DE NAVEGACIÓN */
nav {
    background-color: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 15px 0;
}

nav a {
    text-decoration: none !important;
    color: var(--azul-corporativo);
    font-weight: 600;
    margin: 0 20px;
    text-transform: uppercase;
    font-size: 20px;
    transition: color 0.3s ease;
    border-bottom: none !important;
}

nav a:hover {
    color: var(--naranja-corporativo);
}

/* SECCIÓN AZUL (HERO) - admite las dos clases usadas en las páginas */
.hero,
.hero-section {
    background-color: var(--azul-corporativo);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.hero h1,
.hero-section h1 {
    font-size: 2.2rem;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero p,
.hero-section p {
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0.9;
	font-size: 1.5rem;
}

/* CUERPO DE LA PÁGINA DE INICIO */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.column-text { flex: 2; min-width: 280px; }
.column-img {
    flex: 1.3;
    min-width: 280px;
}

.column-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

h2 {
    color: var(--azul-corporativo);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.texto-destacado {
    font-weight: bold;
}

/* CUADRO NARANJA DE UBICACIÓN */
.location-box {
    background-color: var(--naranja-corporativo);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px;
    font-weight: bold;
}

/* BOTÓN DE REGISTRO */
.btn-registro {
    display: block;
    background-color: var(--naranja-corporativo);
    color: white;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 40px;
    font-weight: bold;
    font-size: 1.2rem;
}

/* PIE DE PÁGINA (unificado en las 4 páginas) */
footer {
    background-color: var(--azul-corporativo);
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer h5 {
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-social,
.social-icons {
    margin-top: 20px;
}

.footer-social img,
.social-icons img {
    width: 30px;
    margin: 0 10px;
    filter: brightness(0) invert(1); /* Hace los iconos blancos */
}

.jcuva-section {
    margin-top: 30px;
}

.jcuva-logo {
    height: 90px;      /* mismo criterio de altura que usas en .header-logos img */
    width: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.jcuva-logo:hover {
    opacity: 1;
    transform: scale(1.03);
}

/* --- FORMULARIO DE REGISTRO (registro.html) --- */
.card-registro {
    max-width: 700px;
    margin: -60px auto 40px auto;  /* el valor negativo la sube sobre el hero */
    padding: 40px 30px 60px 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.obligatorio {
    color: var(--naranja-corporativo);
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--azul-corporativo);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--naranja-corporativo);
}

.btn-enviar {
    display: block;
    width: 100%;
    background-color: var(--naranja-corporativo);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-enviar:hover {
    background-color: #cf6c14;
}

/* --- ESTILOS ESPECÍFICOS PARA PROGRAMA --- */

.contenedor-centrado {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Barras de título azul oscuro */
.barra-titulo {
    background-color: #158F8A;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 40px 0 20px 0;
    border-radius: 4px;
}

/* Enlace de descarga PDF */
.pdf-link {
    display: block;
    text-align: center;
    color: var(--azul-corporativo);
    text-decoration: none;
    font-weight: bold;
    margin: 20px 0;
    text-transform: uppercase;
}

.pdf-link:hover {
    color: var(--naranja-corporativo);
}

/* Enlace destacado dentro de texto de párrafo */
.link {
    color: var(--naranja-corporativo);
    text-decoration: underline;
    font-weight: 600;
}

.link:hover {
    color: var(--azul-corporativo);
}
/* Tarjetas de Profesores */
.profesor-ficha {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
    flex-wrap: wrap;
}

.profesor-ficha:hover {
    background-color: #fcfcfc;
}

.profesor-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #eee;
}

.profesor-info h3 {
    margin: 0;
    color: var(--azul-corporativo);
    font-size: 1.1rem;
}

.profesor-info p {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Botón flotante para subir */
.btn-subir {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--naranja-corporativo);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    font-weight: bold;
	font-size: 1.4rem;
}

/* --- ESTILOS ESPECÍFICOS PARA MEDIA Y DIFUSIÓN --- */

.barra-doc {
    background-color: #158F8A;
    color: white;
    text-align: center;
    padding: 15px 20px;
    margin: 40px auto 20px auto;
    max-width: 1200px;
    border-radius: 4px;
}

.barra-doc h2 {
	 color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.barra-doc p {
    margin: 10px 0 0 0;
    font-size: 1.2rem;
}

.container-lecciones {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.leccion-card {
    padding: 10px;
}

.leccion-card h3 {
    color: var(--azul-corporativo);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--naranja-corporativo);
    padding-bottom: 5px;
}

.leccion-card h3 span {
    color: var(--azul-corporativo);
    font-weight: bold;
}

.leccion-card p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.leccion-card .ponente {
    color: var(--naranja-corporativo);
    font-weight: bold;
}

html {
    scroll-behavior: smooth;
}