@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;700&family=Rokkitt:ital,wght@0,400;0,700;1,400;1,700&display=swap");

/* ========== VARIABLES CSS ========== */
:root {
  --bs-primary: #511642;
  --bs-primary-rgb: 81, 22, 66;
  --bs-dark: #3c3c3c;
  --bs-dark-rgb: 23, 20, 31;
  --primary-gradient: linear-gradient(135deg, #511642, #5116428a);
  --primary-shadow: rgba(71, 15, 77, 0.97);
  --video-overlay: linear-gradient(135deg, rgba(0,48,87,0.8) 0%, rgba(0,72,131,0.7) 50%, rgba(0,96,175,0.6) 100%);
}

/* ========== TIPOGRAFÍA ========== */
html, body {
  height: 100%;
  overflow: hidden; /* Elimina el scroll del documento */
  margin: 0;
  padding: 0;
}

body {
  font-family: "Lexend", sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Rokkitt", serif !important;
}

/* ========== COMPONENTES GENERALES ========== */
.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.b-example-divider {
  width: 100%;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.1);
  border: solid rgba(0, 0, 0, 0.15);
  border-width: 1px 0;
  box-shadow: inset 0 0.5em 1.5em rgba(0, 0, 0, 0.1),
    inset 0 0.125em 0.5em rgba(0, 0, 0, 0.15);
}

.b-example-vr {
  flex-shrink: 0;
  width: 1.5rem;
  height: 100vh;
}

.bi {
  vertical-align: -0.125em;
  fill: currentColor;
}

/* ========== NAVEGACIÓN ========== */
.nav-scroller {
  position: relative;
  z-index: 2;
  height: 2.75rem;
  overflow-y: hidden;
}

.nav-scroller .nav {
  display: flex;
  flex-wrap: nowrap;
  padding-bottom: 1rem;
  margin-top: -1px;
  overflow-x: auto;
  text-align: center;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.navbar-main {
  z-index: 99;
}

.navHome {
  display: inline-flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  backdrop-filter: blur(15px);
  background: rgba(75, 0, 62, 0.5);
  padding: 0px;
  z-index: 10;
  height: 10vh; /* Ocupa el 10% de la altura del viewport */
  min-height: 60px; /* Altura mínima para móviles */
}

.img-brand-nav {
  max-height: 33px;
}

.brand-title {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin: 0; /* Elimina márgenes por defecto */
}

/* ========== BOTONES ========== */
.btn-bd-primary {
  --bd-violet-bg: #712cf9;
  --bd-violet-rgb: 112.520718, 44.062154, 249.437846;
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #6528e0;
  --bs-btn-hover-border-color: #6528e0;
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: #5a23c8;
  --bs-btn-active-border-color: #5a23c8;
}

.btn-primary {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  color: #fff;
  background-color: #3f0d59;
  border-color: #3f0d59;
}

.bd-mode-toggle {
  z-index: 1500;
}

/* ========== TARJETAS ========== */
.card-toggle {
  transition: transform 0.3s ease;
}

.card-toggle:hover {
  transform: scale(1.1);
}

.card {
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ========== PÁGINA DE CONSTRUCCIÓN ========== */
.construction-page {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#main {
  width: 100%;
  height: 95vh;
  position: relative;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--video-overlay);
  z-index: -1;
}

/* Compatibilidad con estilos anteriores */
#main video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#main .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.666);
  z-index: 1;
}

#main .main-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* ========== CONTENIDO PRINCIPAL ========== */
.main-content {
  height: 80vh; /* Ocupa el 90% restante del viewport */
  z-index: 2;
}

.construction-container {
  max-width: 800px;
  padding: 1rem;
}

.logo-animated {
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.construction-badge {
  background: var(--primary-gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  box-shadow: 0 10px 30px var(--primary-shadow);
  display: inline-block;
}

.construction-badge i {
  margin-right: 0.5rem;
}

.construction-subtitle {
  color: rgba(75, 0, 62, 0.8);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.3);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .navHome {
    height: 12vh; /* Un poco más alto en móviles */
    min-height: 70px;
  }
  
  .main-content {
    height: 88vh; /* Ajuste correspondiente */
  }
  
  .construction-badge {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
  }
  
  .logo-animated {
    max-width: 250px;
  }
  
  .brand-title {
    font-size: 1.5rem;
  }
  
  .construction-container {
    padding: 0.5rem;
  }
}

@media (max-width: 576px) {
  .navHome {
    height: 15vh; /* Más alto en pantallas muy pequeñas */
    min-height: 80px;
  }
  
  .main-content {
    height: 85vh; /* Ajuste correspondiente */
  }
  
  .construction-badge {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
  
  .logo-animated {
    max-width: 200px;
  }
  
  .brand-title {
    font-size: 1.3rem;
  }
}