/* Genel Stiller */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header Stili */
.header {
  background-color: #3498db;
  color: white;
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.header p {
  font-size: 1.2em;
  opacity: 0.9;
}

/* Section Stili */
.section {
  padding: 2rem;
  background-color: #f8f9fa;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  border-radius: 2px;
}

/* Grid ve Kart Stilleri */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.category-card:hover::before {
  opacity: 1;
}

/* Kart Başlık Stili */
.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.region-logo,
.league-logo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.card-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #2c3e50;
  line-height: 1.3;
}

.full-name {
  display: block;
  font-size: 0.9rem;
  color: #666;
  font-weight: normal;
  margin-top: 0.2rem;
}

/* Link Stilleri */
.region-link,
.league-link {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #3498db, #2ecc71);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-top: auto;
  width: 100%;
}

.region-link:hover,
.league-link:hover {
  background: linear-gradient(135deg, #2980b9, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Reklam Banner Stili */
.ad-banner {
  background-color: #eaeaea;
  padding: 20px;
  text-align: center;
  margin: 30px 0;
  border-radius: 10px;
}

/* Footer Stili */
.footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .section {
    padding: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .card-header {
    flex-direction: column;
    text-align: center;
  }

  .region-logo,
  .league-logo {
    width: 70px;
    height: 70px;
  }

  .card-header h3 {
    font-size: 1.2rem;
  }

  .category-card p {
    font-size: 0.9rem;
  }
}
