/* ==========================
   FUENTE GENERAL
========================== */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 200; /* ExtraLight */
  line-height: 1.6;
  background-color: #fff;
  color: #212529;
  overflow-x: hidden;
}

/* ==========================
   NAVBAR
========================== */
.navbar {
  font-family: 'Roboto', sans-serif;
  font-weight: 200;
  transition: all 0.3s ease-in-out;
}

.navbar-brand img {
  object-fit: contain;
}

.navbar-brand span {
  font-weight: 200;
  font-size: 1.1rem;
  color: #000;
}

.navbar-nav .nav-link {
  font-weight: 200;
  color: #000 !important;
}

.navbar-toggler {
  border: none;
}

/* ==========================
   HERO (BANNER PRINCIPAL)
========================== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background-image: url("../img/Colegio.jpg"); /* cambia esta ruta */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed; /* efecto parallax */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: clamp(96px, 12vw, 160px);
  height: auto;
  margin-bottom: 1rem;
}

.hero h1 {
  font-weight: 200;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 3rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.hero p.lead {
  font-weight: 200;
  font-size: clamp(1rem, 1vw + 0.9rem, 1.25rem);
}

/* ==========================
   SECCIÓN DE BOTONES
========================== */
.section-links {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.section-links h2 {
  font-weight: 300;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #00458b;
}

/* ==========================
   BOTONES INSTITUCIONALES
========================== */
.btn-primary {
  background-color: #00458b !important;
  border-color: #00458b !important;
  color: #fff !important;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #003873 !important;
  border-color: #003873 !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
  color: #00458b !important;
  border-color: #00458b !important;
  background-color: transparent !important;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: #00458b !important;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================
   FOOTER
========================== */
footer {
  background: #212529;
  color: #adb5bd;
  text-align: center;
  font-weight: 200;
}

footer small {
  font-size: 0.9rem;
}

/* ==========================
   RESPONSIVIDAD
========================== */
@media (max-width: 767.98px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .navbar-brand span {
    font-size: 1rem;
  }

  .section-links h2 {
    font-size: 1.2rem;
  }
}
  /* ==========================
   EFECTO DE SCROLL EN NAVBAR
========================== */
/* Quita cualquier borde/sombra del navbar */
.navbar,
.navbar-scrolled,
.transparent-nav {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Asegura que ningún hijo agregue borde */
.navbar * {
  border: 0 !important;
}

/* Evita el hairline entre navbar y hero */
.hero {
  margin-top: -1px;          /* pisa cualquier línea de 1px */
}

/* Por si la línea la aporta el primer h1 (colapso de márgenes) */
.hero h1 {
  margin-top: 0;
}

/* Transición suave */
.navbar {
  transition: background-color .4s ease, box-shadow .4s ease, color .4s ease;
}

/* Estado scrolleado (ligeramente translúcido) */
.navbar-scrolled {
  background-color: transparent !important; /* completamente transparente */
  backdrop-filter: none; /* quita difuminado */
  box-shadow: none;
}

/* Colores de links en ambos estados */
.navbar:not(.navbar-scrolled) .navbar-brand span,
.navbar:not(.navbar-scrolled) .nav-link {
  color: #fff !important;
}
.navbar.navbar-scrolled .navbar-brand span,
.navbar.navbar-scrolled .nav-link {
  color: #000 !important;
}

