/* Custom Styles for İGA İSİMGİRİN KULÜBÜ */

/* Custom animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
  }
}

/* Slideshow styles */
.slideshow-container {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
  display: block;
}

/* Gallery Slide Styles */
.gallery-slide {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.gallery-slide.active {
  display: block;
}

/* Navigation dots */
.slideshow-dots {
  text-align: center;
  padding: 20px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.dot.active {
  background-color: #3b82f6;
  transform: scale(1.2);
}

/* Header glass effect */
.glass-header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Card hover effects */
.fixture-card {
  transition: all 0.3s ease;
}

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

/* Button hover animations */
.nav-btn {
  position: relative;
  overflow: hidden;
}

.nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-btn:hover::after {
  width: 100%;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Slideshow arrows - Updated for inline Tailwind styling */
.slide-arrow {
  cursor: pointer;
  font-size: 18px;
}

.slide-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.slide-arrow.prev {
  left: 16px;
}

.slide-arrow.next {
  right: 16px;
}

/* Fixture Table Styles */
.fixture-section {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.fixture-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 32px;
}

.game-badge {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.week-header {
  background: rgba(59, 130, 246, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 32px;
  text-align: center;
}

.fixture-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.fixture-match:last-child {
  border-bottom: none;
}

.fixture-match:hover {
  background: rgba(59, 130, 246, 0.1);
  transform: scale(1.01);
}

.team-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.team-info.home {
  text-align: right;
  align-items: flex-end;
}

.team-info.away {
  text-align: left;
  align-items: flex-start;
}

.team-name {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.captain-name {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.vs-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 20px;
  min-width: 50px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* Fixture Mobile Styles */
  .fixture-match {
    flex-direction: column !important;
    gap: 12px !important;
    padding: 16px !important;
    text-align: center;
  }

  .fixture-match>div {
    justify-content: center !important;
    text-align: center !important;
  }

  .fixture-match>div:first-child,
  .fixture-match>div:last-child {
    flex-direction: row !important;
    width: 100%;
  }

  .fixture-match>div:first-child>div:last-child,
  .fixture-match>div:last-child>div:first-child {
    text-align: center !important;
  }

  /* Fixture header mobile */
  .fixture-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Gallery section mobile */
  .gallery-slider {
    border-radius: 12px;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}