/* ========================================================
   BEST Valencia Course - Monsters University (MU) Theme
   Archivo: Valencia.css
   ======================================================== */

/* Declaración de fuentes locales */
@font-face {
  font-family: 'MU Collegiate';
  src: url('./Fuentes/MonstersUniversity-Collegiate.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'MU PhysicsLab';
  src: url('./Fuentes/MonstersUniversity-PhysicsLab.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'MU CampusText';
  src: url('./Fuentes/MonstersUniversity-CampusText.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@media all {
  :root {
    /* Paleta Primaveral Monsters University */
    --mu_spring_navy: #0B3254;        /* Azul marino primaveral */
    --mu_spring_blue: #1472B8;        /* Azul campus radiante */
    --mu_electric_blue: #0EA5E9;      /* Azul cielo de energía */
    --mu_gold: #FBB03B;               /* Amarillo/dorado universitario */
    --mu_sulley_teal: #1DB9C3;       /* Turquesa Sulley */
    --mu_mike_green: #70C13D;         /* Verde brote Mike Wazowski */
    --mu_cream: #FAF9F6;              /* Blanco marfil */

    --color_barra: var(--mu_spring_navy);

    /* Máscara coherente con la web */
    --degradado_hero: linear-gradient(to bottom, rgba(14, 165, 233, 0.35), rgba(11, 50, 84, 0.85));
  }

  *, ::after, ::before {
    box-sizing: border-box;
  }

  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: var(--mu_spring_navy);
  }

  h1, h2, h3, h4, h5 {
    font-family: 'MU Collegiate', serif;
    color: var(--mu_cream);
    letter-spacing: 0.5px;
  }

  p, li {
    color: var(--mu_cream);
    font-family: 'MU CampusText', sans-serif;
    line-height: 1.7;
    font-size: 1.2rem;
  }

  /* Líneas divisorias primaverales */
  .separador_sw {
    display: flex;
    justify-content: center;
    text-align: center;
    height: 6px;
    background: linear-gradient(to right, var(--mu_spring_blue), var(--mu_mike_green), var(--mu_gold));
  }

  #separador_2 {
    background: linear-gradient(to left, var(--mu_spring_blue), var(--mu_mike_green), var(--mu_gold));
  }
}

/* ========================================================
   Barra de Navegación Primaveral (Navbar)
   ======================================================== */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(90deg, #092742 0%, #0F4574 50%, #092742 100%);
  padding: 14px 45px;
  width: 100%;
  position: relative;
  z-index: 1000;
  border-bottom: 3.5px solid var(--mu_gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.logo_pequeño {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo_pequeño a {
  display: inline-flex;
  align-items: center;
}

.logo_pequeño img {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}

.bloque_derecho {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.bolas {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bolas a {
  display: inline-flex;
}

.bolas a img {
  width: 25px !important;
  height: 25px !important;
  max-width: 25px !important;
  max-height: 25px !important;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.bolas a img:hover {
  transform: scale(1.2);
  filter: drop-shadow(0 2px 5px rgba(251, 176, 59, 0.6));
}

.lista_barra {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
}

.lista_barra h4 {
  margin: 0;
  font-size: 1.18rem;
  font-family: 'MU CampusText', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lista_barra h4 a {
  text-decoration: none;
  color: var(--mu_gold);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.lista_barra h4 a:hover {
  color: var(--mu_cream);
  text-shadow: 0 0 10px rgba(251, 176, 59, 0.9);
}

.oculto {
  display: none;
}

/* ========================================================
   Sección Título Hero de Valencia
   ======================================================== */
.valencia_header {
  width: 100%;
  min-height: 38vh;
  background-color: var(--mu_spring_navy);
  background: 
    var(--degradado_hero),
    url('./Imagenes/TorresSerrano.png') no-repeat center center;
  background-size: cover;
  display: flex;
}

.valencia_header_filter {
  width: 100%;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.valencia_hero_title {
  font-size: 3.5rem;
  color: var(--mu_cream);
  margin: 0;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
}

.valencia_hero_subtitle {
  font-size: 1.4rem;
  color: var(--mu_gold);
  margin-top: 15px;
  font-family: 'MU CampusText', sans-serif;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ========================================================
   Galería de bienvenida (Prewelcome)
   ======================================================== */
.prewelcome {
  background-color: var(--mu_spring_navy);
  background-image: 
    linear-gradient(rgba(11, 50, 84, 0.05), rgba(20, 114, 184, 0.08)),
    url('./Imagenes/FallaConvento.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  width: 100%;
  padding: 85px 6% 100px 6%;
}

.welcome_section {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.pointless h2, .join h2 {
  font-size: 2.3rem;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.9);
  margin: 10px 0 35px 0;
  letter-spacing: 1px;
}

.join {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.welcome_imagenes {
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.welcome_imagenes section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 45px;
}

.welcome_imagenes img {
  width: 100%;
  max-width: 620px;
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  border: 3.5px solid var(--mu_gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome_imagenes img:hover {
  transform: scale(1.025);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.8);
}

/* ========================================================
   Sección Informativa (More About Valencia)
   ======================================================== */
.more_section {
  width: 100%;
  background-color: var(--mu_spring_navy);
  background-image: 
    var(--degradado_hero),
    url('./Imagenes/CAC_Panoramica.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

.transparencia {
  width: 100%;
  padding: 60px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.more_about_valencia h1 {
  font-size: 3rem;
  color: var(--mu_cream);
  text-align: center;
  margin-bottom: 35px;
  letter-spacing: 1.5px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.texto_more {
  width: 100%;
  max-width: 1100px;
}

.texto_val {
  background: rgba(11, 50, 84, 0.90);
  border-left: 5px solid var(--mu_gold);
  border-radius: 12px;
  padding: 38px 48px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.texto_val p {
  font-size: 1.38rem;
  line-height: 1.85;
  margin-bottom: 28px;
  text-align: justify;
}

.lista_more {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lista_more li {
  font-size: 1.25rem;
  line-height: 1.75;
  padding-left: 28px;
  position: relative;
  text-align: justify;
}

.lista_more li::before {
  content: "•";
  color: var(--mu_gold);
  font-size: 2.1rem;
  position: absolute;
  left: 0;
  top: -4px;
}

/* ========================================================
   Footer Centrado y Sin Partición de Líneas
   ======================================================== */
.end {
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg, #092742 0%, #0F4574 50%, #092742 100%);
  border-top: 4px solid var(--mu_gold);
  padding: 55px 40px 25px 40px;
  width: 100%;
}

.footer_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  gap: 30px;
  align-items: start;
}

.footer_col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer_col h2 {
  font-size: 1.6rem;
  color: var(--mu_gold);
  margin: 0 0 25px 0;
  letter-spacing: 0.5px;
  text-align: center;
  width: 100%;
  white-space: nowrap;
}

.footer_socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 34px;
}

.footer_socials img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: brightness(0.95);
}

.footer_socials img:hover {
  transform: scale(1.22);
  filter: brightness(1.2) drop-shadow(0 2px 8px rgba(251, 176, 59, 0.6));
}

.footer_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  width: 100%;
}

.footer_list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: 'MU CampusText', sans-serif;
  font-size: 1.18rem;
  color: var(--mu_cream);
  line-height: 1.45;
  width: 100%;
}

.footer_label {
  font-weight: 700;
  color: var(--mu_gold);
  margin-bottom: 2px;
}

.no-break {
  white-space: nowrap !important;
}

.footer_list a {
  color: var(--mu_cream);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer_list a:hover {
  color: var(--mu_gold);
  text-decoration: underline;
}

/* Copyright en una sola línea centrada con separador */
.copyright {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 45px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  flex-wrap: wrap;
}

.copyright h5 {
  color: #9BB0C1;
  margin: 0;
  font-size: 13px;
  text-align: center;
}

.copyright-sep {
  color: #9BB0C1;
  font-size: 13px;
  user-select: none;
  opacity: 0.6;
}

/* Adaptación para pantallas intermedias */
@media only screen and (max-width: 950px) {
  .footer_grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .footer_col h2 {
    white-space: normal;
  }
}

/* ========================================================
   Móvil y Tablets
   ======================================================== */
@media only screen and (max-width: 900px) {
  nav {
    padding: 12px 18px;
  }

  .logo_pequeño img {
    height: 42px !important;
  }

  .lista_barra {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .lista_barra h4 {
    font-size: 1.02rem;
  }

  .bolas a img {
    width: 22px !important;
    height: 22px !important;
  }

  .valencia_hero_title {
    font-size: 2.2rem;
  }

  .valencia_hero_subtitle {
    font-size: 1.1rem;
  }

  .prewelcome {
    padding: 50px 5%;
  }

  .welcome_imagenes {
    gap: 35px;
  }

  .welcome_imagenes section {
    flex-direction: column;
    gap: 25px;
  }

  .welcome_imagenes img {
    height: 250px;
    max-width: 100%;
  }

  .pointless h2, .join h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .join {
    justify-content: center;
  }

  .more_about_valencia h1 {
    font-size: 2rem;
  }

  .texto_val {
    padding: 22px;
  }

  .texto_val p {
    font-size: 1.15rem;
  }

  .lista_more li {
    font-size: 1.08rem;
  }

  .end {
    padding: 35px 20px 20px 20px;
  }

  .footer_grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer_socials img {
    width: 46px !important;
    height: 46px !important;
  }

  .copyright {
    justify-content: center;
    gap: 8px;
  }
}