/* Estilos personalizados */
html {
  scroll-behavior: smooth;
}
  
/* Fuente personalizada */
@font-face {
  font-family: 'ClubFont'; /* Este nombre debe coincidir con el que usas en el body */
  src: url('../FONT/SHUTTLE-X.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'ClubFont';
}

/* ===== NAVEGACIÓN ===== */
/* Navegación con fondo transparente */
#navbar {
  background-color: transparent;
  transition: all 0.5s ease;
}
  
#navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
  
/* ===== HERO SECTION ===== */
.hero-section {
  background-image: url('../HERO_RA.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
  
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  z-index: 1;
}
  
.hero-content {
  position: relative;
  z-index: 10;
}
  
/* Estilos mejorados para el texto del hero */
.hero-title {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
  animation: fadeInDown 1.2s ease-out;
  position: relative;
  display: inline-block;
}
  
.hero-text-gradient {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
  
.hero-text-red {
  color: #dc2626;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}
  
.hero-text-highlight {
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  padding: 0 10px;
}
  
.hero-text-highlight::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.8), transparent);
  animation: expandWidth 2s ease-in-out infinite;
}
  
@keyframes expandWidth {
  0%, 100% {
    width: 0;
    left: 50%;
  }
  50% {
    width: 100%;
    left: 0;
  }
}
  
.hero-subtitle {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease-out 0.3s both;
}
  
.hero-buttons {
  animation: fadeIn 1.5s ease-out 0.6s both;
}
  
.hero-btn {
  position: relative;
  overflow: hidden;
}
  
.hero-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}
  
.hero-btn:hover::after {
  left: 100%;
}
  
/* ===== ANIMACIONES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
  
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
  
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
  
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  60% { transform: translateY(-10px); }
}
  
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
  
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
  
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
  
/* Clases de animación reutilizables */
.animate-fadeIn { animation: fadeIn 1s ease-in-out; }
.animate-slideInLeft { animation: slideInLeft 1s ease-in-out; }
.animate-slideInRight { animation: slideInRight 1s ease-in-out; }
.animate-bounce { animation: bounce 2s ease infinite; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-rotate { animation: rotate 10s linear infinite; }
  
/* ===== GALERÍA ===== */
.gallery-item {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}
  
.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
  
.gallery-item img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
  
.gallery-item:hover img {
  transform: scale(1.15);
}
  
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to top, rgba(220, 38, 38, 0.7), transparent);
  transition: height 0.5s ease;
  opacity: 0;
}
  
.gallery-item:hover::after {
  height: 30%;
  opacity: 1;
}
  
/* Estilos para el modal */
#gallery-modal {
  transition: opacity 0.5s ease;
}
  
#modal-img {
  transition: transform 0.5s ease;
  transform: scale(0.9);
}
  
#gallery-modal.active #modal-img {
  transform: scale(1);
}
  
/* ===== BOTÓN WHATSAPP ===== */
.whatsapp-btn {
  animation: pulse 2s infinite;
  transition: all 0.3s ease;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 100;
}
  
.whatsapp-btn:hover {
  transform: scale(1.1) rotate(10deg);
}
  
/* ===== TABS PARA CATEGORÍAS ===== */
.modern-tabs {
  display: flex;
  background-color: #f3f4f6;
  border-radius: 0.5rem;
  padding: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
  
.modern-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}
  
.modern-tab:hover {
  color: #111827;
  background-color: rgba(255, 255, 255, 0.5);
}
  
.modern-tab.active {
  color: #ffffff;
  background-color: #dc2626;
}
  
.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
  
.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
  
/* ===== SECCIÓN DE GORRAS ===== */
.cap-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
  
.cap-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
  
.cap-card .cap-img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
  
.cap-card:hover .cap-img {
  transform: scale(1.1) rotate(5deg);
}
  
.cap-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(220, 38, 38, 0.2), transparent);
  transition: top 0.5s ease;
  z-index: 1;
}
  
.cap-card:hover::before {
  top: 0;
}
  
/* ===== MENÚ MÓVIL ===== */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
  
#mobile-menu.active {
  max-height: 500px;
}
  
.mobile-link {
  transform: translateX(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}
  
#mobile-menu.active .mobile-link {
  transform: translateX(0);
  opacity: 1;
}
  
/* Transiciones escalonadas para los enlaces del menú móvil */
#mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
#mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }
#mobile-menu.active .mobile-link:nth-child(6) { transition-delay: 0.6s; }
#mobile-menu.active .mobile-link:nth-child(7) { transition-delay: 0.7s; }
  
/* ===== SECCIÓN DE CALENDARIO/EVENTOS ===== */
.event-filter-btn {
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  font-weight: 500;
}
  
.event-filter-btn:hover {
  background-color: #e5e7eb;
  color: #111827;
}
  
.event-filter-btn.active {
  background-color: #dc2626;
  color: white;
}
  
/* Carrusel de eventos */
.events-swiper {
  padding-bottom: 50px;
}
  
.swiper-button-next,
.swiper-button-prev {
  color: #dc2626 !important;
}
  
.swiper-pagination-bullet-active {
  background-color: #dc2626 !important;
}
  
/* ===== TARJETAS MODERNAS PARA EVENTOS ===== */
.modern-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 100%;
}
  
.modern-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
  
.modern-card-image {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
  
.bg-red-600 {
  background-color: #dc2626;
}
  
.bg-red-800 {
  background-color: #991b1b;
}
  
.training-diagram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
  
.match-teams {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}
  
.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
  
.team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: white;
  border-radius: 50%;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}
  
.team-name {
  font-weight: 600;
  font-size: 0.875rem;
}
  
.vs-badge {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
  
.modern-card-content {
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}
  
.modern-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
  
.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #f3f4f6;
  color: #4b5563;
  border-radius: 9999px;
}
  
.modern-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}
  
.modern-card-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}
  
.modern-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
  
.detail-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #4b5563;
}
  
.detail-item i {
  width: 1.25rem;
  color: #dc2626;
  margin-right: 0.5rem;
}
  
.modern-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
}
  
.modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #dc2626;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}
  
.modern-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
}
  
/* ===== TIENDA ===== */
.store-card {
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}
  
.store-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
  
.store-card-image {
  position: relative;
  overflow: hidden;
}
  
.store-card-image img {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
  
.store-card:hover .store-card-image img {
  transform: scale(1.1);
}
  
.store-card-content {
  padding: 1.5rem;
  text-align: center;
}
  
.store-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}
  
.store-card-btn {
  display: inline-block;
  background-color: #dc2626;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}
  
.store-card-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
}
  
/* ===== EFECTOS DE REVELACIÓN AL HACER SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
  
.reveal[data-delay="0.1s"] { transition-delay: 0.1s; }
.reveal[data-delay="0.2s"] { transition-delay: 0.2s; }
.reveal[data-delay="0.3s"] { transition-delay: 0.3s; }
.reveal[data-delay="0.4s"] { transition-delay: 0.4s; }
  
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
  
/* Efectos de entrada desde los lados */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
  
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s cubic-bezier(0.5, 0, 0, 1);
}
  
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
  
/* ===== EFECTOS HOVER MEJORADOS ===== */
.hover-scale {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
  
.hover-scale:hover {
  transform: scale(1.05);
}
  
.hover-lift {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
  
.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
  
/* ===== EFECTOS PARA BOTONES ===== */
.btn-effect {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
  
.btn-effect::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
  z-index: -1;
}
  
.btn-effect:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
  
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons a {
    width: 100%;
    margin-bottom: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center;
  }
  
  .discover-more {
    width: 100%;
    text-align: center;
  }
  
  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
    transition-delay: 0s;
  }
  
  .reveal-left.active,
  .reveal-right.active {
    transform: translateY(0);
  }
  
  /* Corrección para la visualización de equipos en móviles */
  .match-teams {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
  
  .team {
    flex: 1;
  }
  
  .team-logo {
    width: 40px;
    height: 40px;
  }
  
  .team-name {
    font-size: 0.75rem;
  }
  
  .vs-badge {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
  
  .modern-tabs {
    flex-direction: column;
    width: 100%;
  }
  
  .modern-tab {
    width: 100%;
    text-align: center;
  }
}
  
/* ===== MEJORAS PARA FORMULARIOS ===== */
input, textarea, select {
  transition: all 0.3s ease;
}
  
input:focus, textarea:focus, select:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
  outline: none;
}
  
button[type="submit"] {
  position: relative;
  overflow: hidden;
}
  
button[type="submit"]::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
}
  
button[type="submit"]:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
  
/* ===== MEJORAS PARA ENLACES ===== */
a {
  transition: all 0.3s ease;
}
  
a:hover {
  text-decoration: none;
}
  
/* ===== MEJORAS PARA EL FOOTER ===== */
/* Nuevo estilo moderno para el footer */
footer {
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
  z-index: 1;
}

footer .container {
  position: relative;
  z-index: 2;
}

footer a {
  position: relative;
  display: inline-block;
}
  
footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #dc2626;
  transition: width 0.3s ease;
}
  
footer a:hover::after {
  width: 100%;
}
  
footer .social-icons a {
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}
  
footer .social-icons a:hover {
  transform: translateY(-5px);
  background-color: #dc2626;
}

/* Nuevo separador de footer */
.footer-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent, #dc2626, transparent);
  margin: 2rem 0;
  width: 100%;
  opacity: 0.5;
}

/* Nuevo estilo para el copyright */
.footer-copyright {
  position: relative;
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

.footer-copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
  
/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-top {
  position: fixed;
  bottom: 100px; /* Aumentado para dar más espacio */
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #dc2626;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}
  
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
  
.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===== TEXTO JUSTIFICADO ===== */
.text-justify {
  text-align: justify;
}

/* ===== NUEVOS EFECTOS MODERNOS ===== */
/* Efecto de borde brillante */
.glow-border {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.glow-border::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(90deg, #dc2626, #ffd700, #dc2626);
  z-index: -1;
  animation: border-glow 3s linear infinite;
}

@keyframes border-glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Efecto de tarjeta 3D */
.card-3d {
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.card-3d:hover {
  transform: perspective(1000px) rotateY(5deg) rotateX(5deg);
}

/* Efecto de texto con gradiente */
.gradient-text {
  background: linear-gradient(90deg, #dc2626, #ffd700);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
