/*
Theme Name: ALS Eventos
Theme URI: https://alseventos.com
Author: ALS Eventos
Description: Tema personalizado para ALS Eventos
Version: 1.0



/* ==========================
   ARREGLAR ESPACIO BLANCO BAJO EL NAVBAR
========================== */
.navbar-toggler {
  border: 2px solid #ffd700;
  border-radius: 50%;
  padding: 6px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}




/* Ajusta el header y el contenido */
.site-header, 
.navbar {
  margin: 0;
  padding: 0.6rem 1rem;
  border-bottom: none !important;
}

/* Asegura que el contenido principal suba justo bajo el menú */
main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Corrige el hero si se está separando */
.hero {
  margin-top: -1px; /* fuerza a eliminar el gap */
}

/* Si hay alguna línea del contenedor principal */
.container {
  border: none !important;
}
header, nav {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* ==========================
   NAVBAR ALS EVENTOS
========================== */

.navbar {
  background-color: rgba(0, 0, 0, 0.9) !important;
  backdrop-filter: blur(6px);
  padding: 0.75rem 1rem;
}

.navbar-brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff !important;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #ffd700 !important;
}

.btn-outline-light {
  border: 1px solid #ffd700;
  color: #ffd700;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #ffd700;
  color: #000;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 0.5rem 0;
    width: 100%;
  }

  .btn-outline-light {
    margin-top: 0.8rem;
  }
}



/* ==========================
   SECCIÓN HERO (ALS EVENTOS)
========================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  background: url('../img/hero.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

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

.hero .container {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero p {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 2rem;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.hero .btn:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* Ícono de scroll hacia abajo */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  animation: bounce 2s infinite;
  font-size: 1.5rem;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Tablets */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
}

/* Móviles */
@media (max-width: 576px) {
  .hero {
    min-height: 90vh;
    background-position: center top;
  }

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

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .hero .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
  }

  .scroll-down {
    bottom: 10px;
    font-size: 1.2rem;
  }
}

/* ==========================
   SECCIÓN SERVICIOS
========================== */

#servicios {
  background: #f8f9fa;
}

#servicios h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #111;
  letter-spacing: 1px;
  margin-bottom: 3rem;
  position: relative;
}

.servicio-card {
  border-radius: 15px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.servicio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.icono-servicio {
  font-size: 3rem;
  color: #d4af37; /* dorado elegante */
  transition: color 0.3s ease;
}

.servicio-card:hover .icono-servicio {
  color: #000;
}

.servicio-card .card-title {
  color: #222;
  margin-bottom: 1rem;
}

.servicio-card .card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  #servicios h2 {
    font-size: 2rem;
  }

  .icono-servicio {
    font-size: 2.5rem;
  }

  .servicio-card {
    margin-bottom: 1rem;
  }
}



/* ==========================
   CARDS DE EVENTOS (CUADRADAS PEQUEÑAS)
========================== */
.grid-eventos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 1200px) {
  .grid-eventos {
    grid-template-columns: repeat(4, 1fr); /* 🔹 4 por fila en escritorio */
  }
}

@media (max-width: 992px) {
  .grid-eventos {
    grid-template-columns: repeat(2, 1fr); /* 2 en tablets */
  }
}

@media (max-width: 576px) {
  .grid-eventos {
    grid-template-columns: 1fr; /* 1 en móvil */
  }
}

.card-evento {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 400px; /* 🔹 tamaño máximo más pequeño */
  margin: 0 auto; /* centra las cards */
}

.card-evento:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.25);
}

/* Imagen cuadrada */
.card-evento .card-img-wrapper {
  width: 100%;
  position: relative;
  aspect-ratio: 1 / 1; /* mantiene cuadrado */
  overflow: hidden;
}

.card-evento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-evento:hover img {
  transform: scale(1.05);
}

.card-evento .card-body {
  background-color: #1a1a1a;
  border-top: 3px solid #ffd700;
  border-radius: 0 0 15px 15px;
  padding: 1rem;
}

.card-evento h5 {
  color: #ffd700;
  font-weight: 600;
  font-size: 1.1rem;
}

.card-evento p {
  font-size: 0.9rem;
  color: #ccc;
}

.card-evento .btn-outline-warning {
  border: 1px solid #ffd700;
  color: #ffd700;
  transition: all 0.3s ease;
}

.card-evento .btn-outline-warning:hover {
  background-color: #ffd700;
  color: #000;
}

/* Grid de eventos */
.grid-eventos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Responsive */
@media (max-width: 768px) {
  .card-evento {
    max-width: 260px; /* 🔹 más pequeño en móviles */
  }
}




/* ==========================
   FOOTER ALS EVENTOS
========================== */

.footer {
  background-color: #0c0c0c;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
}

.footer h6 {
  letter-spacing: 1px;
}

.footer a.footer-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a.footer-link:hover {
  color: #ffd700;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #444;
  border-radius: 50%;
  margin-right: 8px;
  color: #fff;
  transition: all 0.3s ease;
}

.footer-social .social-link:hover {
  background-color: #ffd700;
  color: #000;
  border-color: #ffd700;
}

/* Línea divisoria */
.footer hr {
  opacity: 0.2;
}

/* Responsive */
@media (max-width: 767px) {
  .footer {
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}

/* ==========================
   PAGINACION DE EVENTOS
========================== */

#eventos-pagination {
  margin-top: 30px;
}

#eventos-pagination .page-link {
  background-color: #000;
  color: #ffd700;
  border: 1px solid #ffd700;
}

#eventos-pagination .page-link:hover {
  background-color: #ffd700;
  color: #000;
}

/* ==========================
   HEADER - CORRECCIÓN HORIZONTAL
========================== */

/* En escritorio (lg en adelante) */
@media (min-width: 992px) {
  .site-header .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  /* Menú horizontal */
  #mainMenu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  #mainMenu .navbar-nav {
    flex-direction: row !important;
    gap: 2rem;
    margin: 0;
  }

  #mainMenu .nav-item {
    display: inline-block;
  }

  #mainMenu .nav-link {
    color: #fff !important;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

  #mainMenu .nav-link:hover {
    color: #ffd700 !important;
  }

  /* Botón lateral derecho */
  .site-header .btn-outline-light {
    border: 1px solid #ffd700;
    color: #ffd700;
    transition: all 0.3s ease;
  }

  .site-header .btn-outline-light:hover {
    background-color: #ffd700;
    color: #000;
  }
}

/* En móviles sigue igual */
@media (max-width: 991px) {
  #mainMenu {
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 10px;
    padding: 1rem;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .btn-outline-light {
    width: 100%;
    margin-top: 1rem;
  }
}

/* ==========================
   MENÚ ALS EVENTOS
========================== */

.navbar-nav .nav-item {
  list-style: none;
}

.navbar-nav .nav-link {
  text-decoration: none !important;
  color: #fff !important;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ffd700 !important;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Enlace activo */
.navbar-nav .current-menu-item .nav-link {
  color: #ffd700 !important;
  border-bottom: 2px solid #ffd700;
}

/* Responsive (menú en columna en móviles) */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column !important;
    gap: 1rem;
  }

  .navbar-nav .nav-link {
    text-align: center;
    font-size: 1rem;
  }
}

/* ==========================
   SECCIÓN DE CONTACTO
========================== */

.contacto-section {
  background-color: #0b0b0b;
  color: #fff;
}

.contacto-form .form-control {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
}

.contacto-form .form-control:focus {
  border-color: #ffd700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.contacto-form button {
  border: none;
  color: #000;
  background-color: #ffd700;
  transition: all 0.3s ease;
}

.contacto-form button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #444;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background-color: #ffd700;
  color: #000;
  border-color: #ffd700;
}

@media (max-width: 768px) {
  .contacto-form,
  .contacto-info {
    text-align: center;
  }
}

/* =======================
   EVENTO VIP
======================= */
.evento-vip-img img {
  max-height: 500px;
  object-fit: cover;
}

.vip-badge {
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.evento-vip-content {
  border: 1px solid rgba(255, 215, 0, 0.3);
  line-height: 1.8;
}

.evento-vip-content p {
  color: #ddd;
}

.evento-vip-content strong {
  color: #ffd700;
}

/* Responsive */
@media (max-width: 768px) {
  .evento-vip-img img {
    max-height: 300px;
  }
}

/* ===========================
   BANNER VIP - EVENTOS
=========================== */

.banner-vip {
  position: relative;
  width: 100%;
  height: 450px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  border-bottom: 4px solid #FFD700; /* línea dorada */
}

.banner-vip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9));*/
  z-index: 1;
}

/* Contenido del banner */
.banner-vip h1 {
  position: relative;
  z-index: 2;
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #FFD700;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
  animation: fadeDown 1.2s ease-in-out;
}

.banner-vip p {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 1.2rem;
  margin-top: 10px;
  opacity: 0.9;
  animation: fadeUp 1.2s ease-in-out;
}

/* Animaciones */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .banner-vip {
    height: 300px;
    padding: 40px 20px;
  }

  .banner-vip h1 {
    font-size: 2rem;
  }

  .banner-vip p {
    font-size: 1rem;
  }
}

/* ===========================
   AQUI SE AJUSTA EL LOGO DE ALS EL CUAL SE OBSERVA EN EL HEADER Y EL MENU 
=========================== */
.logo {
  width: 64px;
  height: 64px;
  object-fit: contain; /* o cover, según prefieras */
}


html, body {
  height: 100%;
  margin: 0;
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  min-height: 60vh; /* asegura espacio visual */
}

.footer {
  margin-top: auto;
  background-color: #0c0c0c;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
}


/*CONTACTANOS*/
.contacto-form .form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.alert {
  border-radius: 8px;
  font-size: 1rem;
  padding: 0.75rem 1rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}
