/* ANASAYFA İÇERİKLERİ CSS */
/* KART SEKSİYONU KONUMLANDIRMA */
.card-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* 3x3 GRID SİSTEMİ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* KART TASARIMI */
.info-card {
  background: var(--beyaz-saf);
  border-radius: 20px;
  margin-bottom: 15px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ana-turuncu), #ffcc80);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-title {
  font-size: 1.5rem;
  color: var(--koyu-fume);
  margin: 0 0 15px 0;
  font-weight: 700;
}

.card-text {
  font-size: 0.95rem;
  color: #607d8b;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.card-btn {
  display: inline-block;
  padding: 12px 24px;
  color: var(--ana-turuncu);
  border: 2px solid var(--ana-turuncu);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  width: fit-content;
}

.card-btn:hover {
  background-color: var(--ana-turuncu);
  color: var(--beyaz-saf);
  box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* MEDIA QUERIES (Anasayfa Kartları İçin) */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
  .card-section {
    padding: 40px 15px;
  }
  .info-card {
    padding: 25px;
  }
  .card-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
}

/* MEGA GRID & SLIDER YERLEŞİMİ */
.mega-grid-container {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 25px;
  max-width: 1350px;
  margin: 40px auto;
  padding: 0 20px;
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.grid-center {
  display: flex;
  flex-direction: column;
}

.main-slider {
  width: 100%;
  aspect-ratio: 20 / 8;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background-color: #e2e8f0;
  contain: layout paint;
}

@media screen and (max-width: 768px) {
  .main-slider {
    aspect-ratio: 16 / 10 !important;
    min-height: 250px !important;
  }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: white;
}

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.special-card {
  background: linear-gradient(135deg, #e65100, #ff9800) !important;
  border: none !important;
}

.special-card h3,
.special-card p {
  color: white !important;
}

.special-card .card-btn {
  border-color: white !important;
  color: white !important;
}

/* HAMBURGER MENÜ FİX */
@media (min-width: 1025px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .mega-grid-container {
    grid-template-columns: 1fr;
  }
  .grid-column {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .grid-column .info-card {
    flex: 1;
    min-width: 280px;
  }
  .grid-center {
    order: -1;
  }
  .horizontal-grid {
    grid-template-columns: 1fr;
  }
  .menu-toggle {
    display: block !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-right: 15px;
  }
}
/* --- ANA SAYFA DÜZENİ & GRIDLER --- */
.mega-grid-container { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 25px; max-width: 1350px; width: 100%; margin: 0 auto; padding: 0 20px; align-items: start; }
.grid-center { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-right { display: flex; flex-direction: column; gap: 20px; }
.boxes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

/* --- KART TASARIMLARI (Anasayfa Vitrin) --- */
.info-card { background: white; border-radius: 14px; padding: 20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); border: 1px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.info-card:hover { transform: translateY(-5px); border-color: var(--accent-orange); box-shadow: 0 15px 30px rgba(241, 169, 24, 0.1); }
.card-title { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.card-text { font-size: 13px; color: var(--text-gray); margin-bottom: 15px; line-height: 1.5; }

/* Butonlar */
.card-btn { display: inline-block; padding: 10px 20px; background: #fff7ed; color: #d97706 !important; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; text-align: center; border: 1px solid #ffedd5; align-self: flex-start; cursor: pointer; }
.card-btn:hover { background: var(--accent-gradient) !important; color: white !important; border-color: transparent; box-shadow: 0 4px 12px rgba(241, 169, 24, 0.4); transform: translateY(-2px); }

/* Özel Kart (Duyuru) */
.special-card { background: var(--accent-gradient) !important; border: none !important; color: white !important; }
.special-card .card-title, .special-card .card-text { color: white !important; }
.special-card .card-btn { background: white !important; color: #d97706 !important; border-color: white !important; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.special-card .card-btn:hover { background: #fff7ed !important; color: #c2410c !important; transform: translateY(-2px); }

/* Sol Sidebar (Hızlı Linkler) */
.quick-links-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); top: 150px; }
.quick-links-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; text-transform: uppercase; }
.quick-link-item { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; background: #f8fafc; border-radius: 8px; text-decoration: none; color: var(--text-gray); font-size: 12.5px; font-weight: 600; transition: all 0.2s ease; border: 1px solid transparent; }
.quick-link-item:hover { background: #fff; color: var(--accent-orange); border-color: var(--accent-orange); box-shadow: 0 2px 8px rgba(241, 169, 24, 0.1); transform: translateX(5px); }

/* Slider (Daha detaylı) */
.main-slider { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); height: 340px; width: 100%; }
.main-slider img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); padding: 40px 30px; color: white; }
.slide-overlay h2 { font-size: 1.8rem; margin-bottom: 5px; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); font-weight: 800; }

/* Kayan Yazı (Ticker) */
.news-ticker-container { display: flex; background: var(--primary); color: white; overflow: hidden; font-size: 13px; height: 42px; align-items: center; margin-bottom: 0; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.ticker-title { background: #ef4444; padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 800; z-index: 2; white-space: nowrap; }
.ticker-content { display: flex; animation: ticker 30s linear infinite; white-space: nowrap; padding-left: 20px; align-items: center; height: 100%; }
.ticker-item { margin-right: 50px; font-weight: 500; display: flex; align-items: center; gap: 5px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* Sayaç (Countdown) */
.mini-countdown { display: flex; gap: 8px; margin: 15px 0; justify-content: center; }
.count-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 5px; text-align: center; flex: 1; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); }
.count-box span { display: block; font-size: 20px; font-weight: 800; color: var(--accent-orange); line-height: 1; margin-bottom: 3px; }
.count-box label { font-size: 9px; color: #64748b; font-weight: 800; text-transform: uppercase; }
/* --- MEGA GRID & SLIDER (Masaüstü) --- */
.mega-grid-container { display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 25px; max-width: 1350px; width: 100%; margin: 0 auto; padding: 0 20px; align-items: start; }
.grid-center { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.side-right { display: flex; flex-direction: column; gap: 20px; }
.boxes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

/* --- KART TASARIMLARI (Info Card) --- */
.info-card { background: white; border-radius: 14px; padding: 20px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); border: 1px solid #e2e8f0; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.info-card:hover { transform: translateY(-5px); border-color: var(--accent-orange); box-shadow: 0 15px 30px rgba(241, 169, 24, 0.1); }
.card-title { font-size: 16px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.card-text { font-size: 13px; color: var(--text-gray); margin-bottom: 15px; line-height: 1.5; }
.card-btn { display: inline-block; padding: 10px 20px; background: #fff7ed; color: #d97706 !important; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; text-align: center; border: 1px solid #ffedd5; align-self: flex-start; cursor: pointer; }
.card-btn:hover { background: var(--accent-gradient) !important; color: white !important; border-color: transparent; box-shadow: 0 4px 12px rgba(241, 169, 24, 0.4); transform: translateY(-2px); }

/* --- ÖZEL KARTLAR (Duyuru, Telegram, Robot, Motivasyon) --- */
.special-card { background: var(--accent-gradient) !important; border: none !important; color: white !important; }
.special-card .card-title, .special-card .card-text { color: white !important; }
.special-card .card-btn { background: white !important; color: #d97706 !important; border-color: white !important; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.special-card .card-btn:hover { background: #fff7ed !important; color: #c2410c !important; transform: translateY(-2px); }

.telegram-card { background: linear-gradient(135deg, #0088cc, #00a2ed) !important; border: none !important; color: white !important; margin-top: 50px; }
.telegram-card .card-title, .telegram-card .card-text { color: white !important; }
.telegram-btn { background: white !important; color: #0088cc !important; border-color: white !important; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); text-align: center; }
.telegram-btn:hover { background: #f0f8ff !important; color: #0077b5 !important; transform: translateY(-2px); }

.robot-promo-card { background: var(--accent-gradient) !important; border: none !important; margin-bottom: 25px !important; padding: 25px 30px !important; color: white !important; box-shadow: 0 10px 25px rgba(230, 81, 0, 0.2) !important; }
.robot-promo-content { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; }
.promo-title { margin: 0; font-size: 1.5rem; font-weight: 800; color: white !important; }
.promo-desc { margin: 8px 0 0 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); line-height: 1.4; }
.badge-new { background: rgba(255, 255, 255, 0.2); border: 1px solid rgba(255, 255, 255, 0.4); color: white; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px; display: inline-block; margin-bottom: 8px; }
.robot-promo-btn { background: white !important; color: var(--primary-color) !important; padding: 14px 28px; border-radius: 12px; text-decoration: none; font-weight: 800; font-size: 14px; display: flex; align-items: center; gap: 10px; transition: all 0.3s ease; white-space: nowrap; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); }
.robot-promo-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); background: #fff7ed !important; }

.motivasyon-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; padding: 20px 30px !important; text-align: center; position: relative; overflow: hidden; min-height: 50px; display: flex; align-items: center; justify-content: center; }
.motivasyon-card::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: var(--accent-gradient); }
.quote-icon { font-size: 40px !important; color: var(--accent-orange); opacity: 0.2; position: absolute; top: 20px; left: 20px; }
.motivasyon-text { font-size: 1.25rem; font-weight: 600; color: #1e293b; line-height: 1.6; margin: 0; font-style: italic; }
.motivasyon-divider { width: 50px; height: 2px; background: #e2e8f0; margin: 20px auto; }
.motivasyon-brand { font-size: 0.85rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 1px; }

/* --- SIDEBAR & EKSTRALAR --- */
.quick-links-card { background: white; border-radius: 12px; padding: 20px; border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); top: 150px; }
.quick-links-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; text-transform: uppercase; }
.quick-link-item { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 8px; background: #f8fafc; border-radius: 8px; text-decoration: none; color: var(--text-gray); font-size: 12.5px; font-weight: 600; transition: all 0.2s ease; border: 1px solid transparent; }
.quick-link-item:hover { background: #fff; color: var(--accent-orange); border-color: var(--accent-orange); box-shadow: 0 2px 8px rgba(241, 169, 24, 0.1); transform: translateX(5px); }

.news-ticker-container { display: flex; background: var(--primary); color: white; overflow: hidden; font-size: 13px; height: 42px; align-items: center; margin-bottom: 0; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
.ticker-title { background: #ef4444; padding: 0 20px; height: 100%; display: flex; align-items: center; font-weight: 800; z-index: 2; white-space: nowrap; }
.ticker-content { display: flex; animation: ticker 30s linear infinite; white-space: nowrap; padding-left: 20px; align-items: center; height: 100%; }
.ticker-item { margin-right: 50px; font-weight: 500; display: flex; align-items: center; gap: 5px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

.mini-countdown { display: flex; gap: 8px; margin: 15px 0; justify-content: center; }
.count-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 5px; text-align: center; flex: 1; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); }
.count-box span { display: block; font-size: 20px; font-weight: 800; color: var(--accent-orange); line-height: 1; margin-bottom: 3px; }
.count-box label { font-size: 9px; color: #64748b; font-weight: 800; text-transform: uppercase; }

.main-slider { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); height: 340px; width: 100%; }
.main-slider img { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); padding: 40px 30px; color: white; }
.slide-overlay h2 { font-size: 1.8rem; margin-bottom: 5px; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); font-weight: 800; }

/* --- ANASAYFA İÇİN ÖZEL MOBİL DÜZENLEMELER --- */
@media screen and (max-width: 1024px) {
  .mega-grid-container { display: flex !important; flex-direction: column !important; padding: 0 15px !important; width: 100% !important; margin: 0 !important; gap: 25px !important; }
  .grid-center { order: 1; width: 100% !important; }
  .side-right { order: 3; width: 100% !important; }
  .side-left { order: 2 !important; width: 100% !important; display: flex; flex-direction: column; }
  .telegram-card { order: -1; margin-top: 0; margin-bottom: 25px; }
  .quick-links-card { order: 2; position: static !important; }
  .boxes-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 15px !important; width: 100% !important; }
  .main-slider { height: 220px !important; margin-top: 10px !important; }
  .slide-overlay { padding: 15px !important; }
  .slide-overlay h2 { font-size: 1.2rem !important; }
}
@media (max-width: 768px) {
  .robot-promo-content { flex-direction: column; text-align: center; }
  .robot-promo-btn { width: 100%; justify-content: center; }
  .motivasyon-text { font-size: 1.1rem; }
  .motivasyon-card { padding: 30px 20px !important; }
}
@media screen and (max-width: 480px) {
  .boxes-grid { grid-template-columns: 1fr !important; }
}