:root {
  --azul-uam: #003A8F;
  --azul-sec: #0055cc;
  --blanco: #ffffff;
  --negro: #111111;
  --gris: #f5f5f5;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: var(--negro);
  color: var(--blanco);
}

/* NAVBAR DINÁMICO */
.navbar {
  position: fixed; /* 🔥 cambiado */
  top: 0;
  width: 100%;
  padding: 25px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

/* CUANDO HACES SCROLL */
.navbar.scrolled {
  background: rgba(0, 58, 143, 0.95);
  padding: 10px 50px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* LOGO */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 90px; /* 🔥 grande al inicio */
  transition: all 0.3s ease;
}

/* LOGO CUANDO SCROLL */
.navbar.scrolled .logo {
  height: 55px;
}

.logo-text {
  font-weight: 700;
  font-size: 16px;
}

/* BOTÓN NAV */
.btn-nav {
  background: var(--azul-uam);
  padding: 10px 20px;
  color: var(--blanco);
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-nav:hover {
  background: var(--azul-sec);
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1.05);
}

/* OVERLAY */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.5)
  );
  z-index: 1;
}

/* CONTENIDO */
.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  max-width: 600px;
}

/* TITULOS */
.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content h2 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #ddd;
}

/* BOTON */
.btn-main {
  background: var(--azul-uam);
  padding: 12px 30px;
  text-decoration: none;
  color: var(--blanco);
  border-radius: 4px;
  font-size: 16px;
  transition: 0.3s;
}

.btn-main:hover {
  background: var(--azul-sec);
}













.nav-buttons{
    display:flex;
    align-items:center;
    gap:12px;
}

.btn-admin{
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,0.15);
    color:#fff;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    transition:0.3s;
    border:1px solid rgba(255,255,255,0.25);
}

.btn-admin:hover{
    background:#003A8F;
    transform:rotate(90deg);
}