/* ========================================
   PRINCIPAL.HTML - Página de Bienvenida
   ======================================== */

/* Navbar Actions */
.navbar-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login {
  background: var(--primary);
  color: #000000;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-login:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2d1b4e 50%, #1a1f3a 75%, #0a0e27 100%);
  color: white;
  padding: 6rem 2rem;
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Efecto de luces flotantes */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-glow 8s ease-in-out infinite;
}

.hero::before {
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 215, 0, 0) 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero::after {
  background: radial-gradient(circle, rgba(220, 20, 60, 0.6) 0%, rgba(220, 20, 60, 0) 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: 2s;
}

@keyframes float-glow {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(50px, -50px);
  }
  50% {
    transform: translate(-50px, 50px);
  }
  75% {
    transform: translate(-30px, -30px);
  }
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 5;
}

.hero-text {
  flex: 1;
  z-index: 10;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--danger) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  text-shadow: 
    0 0 20px rgba(255, 215, 0, 0.5),
    0 0 40px rgba(220, 20, 60, 0.3);
  -webkit-text-stroke: 0.5px rgba(255, 215, 0, 0.3);
}

.hero-text .subtitle {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
  }
  50% {
    text-shadow: 0 0 30px rgba(255, 215, 0, 1);
  }
}

.hero-text .description {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #000000;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-large {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.1) 100%);
  border-radius: 1rem;
  padding: 2rem;
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 3s ease-in-out infinite;
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.6),
    0 0 60px rgba(255, 215, 0, 0.3),
    inset 0 0 30px rgba(255, 215, 0, 0.2);
  position: relative;
  z-index: 10;
}

.logo-large img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Info Section */
.info-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2d1b4e 50%, #1a1f3a 75%, #0a0e27 100%);
  position: relative;
  overflow: hidden;
}

.info-section::before {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.4) 0%, rgba(255, 215, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(70px);
  top: -50px;
  left: 5%;
  opacity: 0.3;
  animation: float-glow 7s ease-in-out infinite;
}

.info-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.3) 0%, rgba(220, 20, 60, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  bottom: 10%;
  right: 10%;
  opacity: 0.3;
  animation: float-glow 8s ease-in-out infinite reverse;
}

.info-section h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
  position: relative;
  z-index: 5;
}

.section-description {
  text-align: center;
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 5;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.feature-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(220, 20, 60, 0.05) 100%);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 0 15px rgba(255, 215, 0, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 
    0 15px 35px rgba(255, 215, 0, 0.3),
    0 0 30px rgba(255, 215, 0, 0.4),
    inset 0 0 20px rgba(255, 215, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.08) 100%);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.feature-card p {
  color: #e0e0e0;
  line-height: 1.6;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Location Section */
.location-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #2d1b4e 50%, #1a1f3a 75%, #0a0e27 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.location-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.5) 0%, rgba(255, 215, 0, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
  top: 10%;
  right: 10%;
  opacity: 0.3;
  animation: float-glow 6s ease-in-out infinite;
}

.location-section::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(220, 20, 60, 0.4) 0%, rgba(220, 20, 60, 0) 70%);
  border-radius: 50%;
  filter: blur(50px);
  bottom: 10%;
  left: 5%;
  opacity: 0.3;
  animation: float-glow 7s ease-in-out infinite reverse;
}

.location-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.location-text {
  flex: 1;
}

.location-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--danger) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.location-country {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.5rem 0;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.location-city {
  font-size: 1.3rem;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.location-description {
  font-size: 1.05rem;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.location-map {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-placeholder {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(220, 20, 60, 0.1) 100%);
  border-radius: 1rem;
  border: 3px solid var(--primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 
    0 0 30px rgba(255, 215, 0, 0.5),
    0 0 60px rgba(255, 215, 0, 0.2),
    inset 0 0 30px rgba(255, 215, 0, 0.1);
  animation: pulse-box 2s ease-in-out infinite;
  position: relative;
  z-index: 10;
}

@keyframes pulse-box {
  0%, 100% {
    box-shadow: 
      0 0 30px rgba(255, 215, 0, 0.5),
      0 0 60px rgba(255, 215, 0, 0.2),
      inset 0 0 30px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow: 
      0 0 40px rgba(255, 215, 0, 0.7),
      0 0 80px rgba(255, 215, 0, 0.3),
      inset 0 0 30px rgba(255, 215, 0, 0.15);
  }
}

.map-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.map-placeholder p {
  font-size: 1.3rem;
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--danger) 100%);
  text-align: center;
  color: #000000;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
  top: -100px;
  right: -100px;
  opacity: 0.4;
  animation: float-glow 6s ease-in-out infinite;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #000000;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.cta-section p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

.btn-primary-large {
  padding: 1.2rem 3rem;
  background: #000000;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  position: relative;
  z-index: 10;
}

.btn-primary-large:hover {
  background: var(--primary);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: #000000;
  color: #999;
  padding: 2rem;
  text-align: center;
  border-top: 2px solid var(--primary);
}

.footer p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text .subtitle {
    font-size: 1.2rem;
  }

  .hero-text .description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .logo-large {
    width: 200px;
    height: 200px;
  }

  .info-section h2 {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-content {
    flex-direction: column;
    gap: 2rem;
  }

  .location-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    border-left: 3px solid var(--primary);
  }

  .location-text h2 {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .btn-primary-large {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .hero-text h1 {
    font-size: 1.5rem;
  }

  .hero-text .subtitle {
    font-size: 1rem;
  }

  .info-section {
    padding: 3rem 1rem;
  }

  .location-section {
    padding: 3rem 1rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }
}
