/* =========================================
   NANOSUMMER.CSS - DISEÑO MODERNO
   ========================================= */

:root {
    --primary-blue: #002b4e;
    --primary-green: #2e7d32;
    --accent-teal: #009688; /* El toque "Summer" */
    --accent-gold: #ffc107; /* Para lo exclusivo */
    --bg-light: #f4f6f8;
    --text-main: #333;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    margin: 0; padding: 0;
}

/* NAVBAR */
.navbar {
    background-color: var(--primary-blue); padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-container { display: flex; align-items: center; gap: 10px; color: white; font-weight: 800; }
.logo-university { height: 40px; }
.navbar nav a { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; font-size: 0.9rem; }
.navbar nav a:hover { color: var(--accent-gold); }

/* =========================================
   HERO SECTION MEJORADO (BIG IMPACT)
   ========================================= */

.course-hero {
    position: relative;
    /* Color de fondo base */
    background-color: var(--primary-blue);
    /* Degradado elegante */
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    color: white;
    
    /* ALTURA Y ESPACIADO (La clave para que no se vea escondido) */
    width: 100%;
    min-height: 80vh; /* Ocupa el 80% de la altura de la pantalla */
    padding-top: 80px; /* Compensación para el Navbar fijo si lo hubiera */
    
    /* Centrado perfecto del contenido */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Patrón de fondo (Efecto Nano) */
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Crea una grilla de puntos sutil */
    background-image: radial-gradient(rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
    
    /* FLEXBOX COLUMNA: Obliga a los elementos a ponerse verticales */
    display: flex;
    flex-direction: column; 
    align-items: center; /* Los centra horizontalmente */
    justify-content: center;
    
    /* GAP: Espacio automático entre cada línea (Badge, Título, Subtítulo, Botón) */
    gap: 30px; 
}
/* Badge (Etiqueta) */
.badge-exclusive {
    display: inline-block;
    background: #ffca28; /* Dorado transparente */
    color: var(--primary-blue);
    border: 1px solid var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

/* Título */
.course-title {
    font-family: 'Merriweather', serif;
    font-size: 4.5rem; /* Letra más grande e impactante */
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.highlight-summer {
    font-weight: 300;
    font-style: italic;
    background: -webkit-linear-gradient(45deg, #b2dfdb, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Subtítulo */
.course-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin: 25px auto 40px;
    max-width: 700px;
    line-height: 1.6;
}

/* Botón de Acción */
.btn-hero {
    background-color: whitesmoke;
    color: var(--primary-blue);
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px white;
    background-color:whitesmoke;
}

.hero-scroll-text {
    font-size: 0.8rem;
    margin-top: 15px;
    opacity: 0.7;
}

/* Animación simple */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}





/* LAYOUT GRID */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 30px; max-width: 1000px; margin: 40px auto; padding: 0 20px;
    align-items: start;
}

/* CONTENIDO */
.intro-box { margin-bottom: 30px; }
.intro-box h3 { color: var(--primary-blue); font-family: 'Merriweather', serif; margin-bottom: 10px; border-bottom: 2px solid #eee; padding-bottom: 10px; display: inline-block;}
.intro-box p { line-height: 1.6; color: #555; text-align: justify; }

/* Grid de Características */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 40px;
}
.feature-item {
    background: white; padding: 20px; border-radius: 12px; text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #fff; transition: 0.3s;
}
.feature-item:hover { transform: translateY(-5px); border-color: var(--accent-teal); }

.f-icon { font-size: 1.8rem; color: var(--primary-green); margin-bottom: 10px; }
.feature-item h4 { margin: 0; font-size: 0.9rem; color: var(--primary-blue); font-weight: 700; }
.feature-item p { margin: 5px 0 0; font-size: 0.8rem; color: #777; }

/* CAJA DE INSCRIPCIÓN */
.registration-card-central {
    background: white; border-radius: 15px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); border: 1px solid #e0e0e0;
}
.reg-header {
    background: var(--primary-green); color: white; padding: 20px; text-align: center;
}
.reg-header h3 { margin: 0; font-size: 1.3rem; }
.reg-header p { margin: 5px 0 0; opacity: 0.9; font-size: 0.9rem; font-weight: 500;}

.reg-body { padding: 30px; text-align: center; }
.reg-body p { color: #666; margin-bottom: 25px; }

.btn-google-cta {
    display: inline-block; background-color: var(--primary-blue); color: white;
    padding: 18px 45px; border-radius: 50px; text-decoration: none;
    font-weight: 700; font-size: 1rem; transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 43, 78, 0.3); text-transform: uppercase;
}
.btn-google-cta:hover { transform: translateY(-3px); background-color: #0d47a1; box-shadow: 0 10px 25px rgba(0, 43, 78, 0.4);}

.reg-steps {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 30px; font-size: 0.75rem; color: #999; font-weight: 600;
}
.reg-steps .line { width: 30px; height: 1px; background: #ddd; }

/* SIDEBAR */
.info-card {
    background: white; border-radius: 12px; padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 20px; border: 1px solid #fff;
}
.highlight-card { border-top: 4px solid var(--primary-blue); }
.warning-card { background: #fff8e1; border: 1px solid #ffe0b2; }
.warning-card h4 { color: #f57f17; }
.warning-card p { font-size: 0.85rem; color: #555; margin: 0; }

.info-card h4 { margin-top: 0; color: var(--primary-blue); margin-bottom: 15px; font-size: 1rem; }
.key-data { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.key-data li { margin-bottom: 12px; display: flex; justify-content: space-between; border-bottom: 1px dashed #eee; padding-bottom: 5px;}
.key-data strong { color: #333; }

.instructor-profile { display: flex; align-items: center; gap: 15px; }
.avatar-circle {
    width: 45px; height: 45px; background: var(--primary-green); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold;
}


@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .course-title { font-size: 2.2rem; }
}

