/* TRFiveM Modern Anasayfa Tasarımı */

:root {
  --dark-bg: #121212;
  --darker-bg: #0c0c0c;
  --card-bg: #1a1a1a;
  --card-bg-hover: #222222;
  --input-bg: #252525;
  --border-light: rgba(255, 255, 255, 0.1);
  --primary: #ff6600;
  --primary-hover: #ff8533;
  --primary-light: rgba(255, 102, 0, 0.2);
  --primary-gradient: linear-gradient(135deg, #ff6600, #ff8533);
  --text-color: #ffffff;
  --text-muted: #aaaaaa;
  --success: #4ade80;
  --danger: #ef4444;
  --info: #38bdf8;
}

/* ===== GENEL STILLER ===== */
body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
}

section {
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title span {
  color: var(--primary);
}

.line {
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  overflow: hidden;
  margin-top: -20px;
}

.hero-slide {
  position: relative;
  height: 80vh;
  min-height: 500px;
  max-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-slide-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 2;
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: var(--text-color);
  max-width: 700px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-slide-subtitle {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 30px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 102, 0, 0.3);
  color: var(--primary);
}

.hero-slide-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-slide-title span {
  color: var(--primary);
}

.hero-slide-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.hero-slide-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 10px;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: translateY(0);
}

.btn-primary {
  background: var(--primary-gradient);
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  color: white;
  background: linear-gradient(135deg, #ff8533, #ff6600);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-color);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  color: white;
}

.btn-lg {
  padding: 15px 35px;
  font-size: 15px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
  background-color: rgba(0, 0, 0, 0.5);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}

/* ===== İSTATİSTİK BARI ===== */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  margin-bottom: 3rem;
}

.stats-container {
  background: linear-gradient(to right, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.9));
  border-radius: 20px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 102, 0, 0.15), transparent 70%);
  z-index: 1;
}

.stat-box {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 10px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== KATEGORİLER BÖLÜMÜ ===== */
.categories {
  padding: 80px 0;
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.category-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.7), rgba(20, 20, 20, 0.7));
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  opacity: 0.7;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(145deg, rgba(40, 40, 40, 0.8), rgba(30, 30, 30, 0.8));
  border-color: rgba(255, 102, 0, 0.2);
}

.category-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--primary);
  height: 100px;
  width: 100px;
  line-height: 100px;
  text-align: center;
  background-color: rgba(255, 102, 0, 0.1);
  border-radius: 50%;
  margin: 0 auto 20px;
  position: relative;
  transition: all 0.3s ease;
}

.category-icon::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px solid rgba(255, 102, 0, 0.3);
  opacity: 0;
  transition: all 0.3s ease;
}

.category-card:hover .category-icon {
  background-color: rgba(255, 102, 0, 0.2);
  transform: scale(1.1);
}

.category-card:hover .category-icon::before {
  opacity: 1;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 15px;
  color: var(--text-color);
}

.category-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 30px;
  display: inline-block;
  margin-top: 10px;
}

/* ===== TABS BÖLÜMÜ ===== */
.tabs-container {
  margin-top: 3rem;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
}

.tabs-nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  width: 80%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.tab-button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 15px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  transition: all 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.tab-button:hover {
  color: var(--text-color);
}

.tab-button.active {
  color: var(--primary);
}

.tab-button.active::after {
  width: 70%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

/* ===== SUNUCU KARTLARI ===== */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.server-card {
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.server-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background-color: var(--card-bg-hover);
  border-color: rgba(255, 102, 0, 0.1);
}

.server-banner {
  position: relative;
  height: 170px;
  overflow: hidden;
}

.server-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.server-card:hover .server-banner img {
  transform: scale(1.05);
}

.server-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 30px;
  z-index: 2;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ffa500, #ff6600);
  color: white;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(255, 102, 0, 0.3);
}

.server-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.server-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.server-logo {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.server-card:hover .server-logo {
  border-color: rgba(255, 102, 0, 0.3);
}

.server-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-title {
  flex-grow: 1;
}

.server-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--text-color);
}

.server-title p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.server-description {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

.server-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.server-tag {
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.server-card:hover .server-tag {
  background-color: rgba(255, 102, 0, 0.1);
  color: var(--primary-hover);
}

.server-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.server-stats {
  display: flex;
  gap: 15px;
}

.server-stat {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.server-stat i {
  margin-right: 5px;
  color: var(--primary);
}

.server-online {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
  display: flex;
  align-items: center;
}

.server-online i {
  color: var(--success);
  margin-right: 5px;
  font-size: 0.7rem;
}

.server-online.offline {
  color: var(--danger);
}

.server-online.offline i {
  color: var(--danger);
}

.view-all-btn {
  margin-top: 3rem;
}

/* ===== ANİMASYON SINIFLAR ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== ÖDEME SEÇENEKLERİ BÖLÜMÜ (Anasayfa) ===== */
.payment-options {
  background-color: var(--darker-bg); /* Daha koyu arkaplan */
  padding: 60px 0;
}

.payment-methods-container {
  margin-top: 2rem;
}

.payment-method-card {
  background: var(--card-bg);
  border-radius: var(--border-radius-lg);
  padding: 35px 30px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.payment-method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 102, 0, 0.2);
}

.payment-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: inline-block;
  background-color: var(--primary-light);
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
}

.payment-method-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-color);
}

.payment-method-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.payment-method-card .btn-sm {
  padding: 8px 15px;
  font-size: 0.8rem;
}

.payment-method-card .btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
}

.payment-method-card .btn-outline-primary:hover {
  background-color: var(--primary);
  color: white;
}

.payment-method-card .btn-outline-secondary {
  border-color: var(--border-light);
  color: var(--text-muted);
}

.payment-method-card .btn-outline-secondary:hover {
  background-color: var(--card-bg-hover);
  color: var(--text-color);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wow {
  visibility: hidden;
}

/* ===== MEDYA SORGULARI ===== */
@media (max-width: 1200px) {
  .hero-slide-title {
    font-size: 2.8rem;
  }
  
  .servers-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-slide {
    height: 70vh;
  }
  
  .hero-slide-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .stats-container {
    flex-wrap: wrap;
  }
  
  .stat-box {
    flex: 1 0 50%;
    padding: 15px;
  }
  
  .servers-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: auto;
    padding: 80px 0;
  }
  
  .hero-slide-title {
    font-size: 2rem;
  }
  
  .hero-slide-content {
    padding: 1rem;
  }
  
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .tabs-nav {
    flex-wrap: wrap;
  }
  
  .servers-grid {
    grid-template-columns: 1fr;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .hero-slide-title {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .hero-slide-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-slide-buttons .btn {
    width: 100%;
  }
  
  .stat-box {
    flex: 100%;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .tab-button {
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}
