/* Ana Stil Dosyası - Güncellenmiş */

/* Genel Stiller */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Navigasyon */
.navbar-brand img {
  margin-right: 10px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #fff !important;
}

/* Giriş Yap Butonu */
.navbar-nav .nav-link.btn {
  margin-left: 10px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link.btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Slider */
.carousel-item img {
  height: 500px;
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

/* Kartlar */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Butonlar */
.btn {
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
  transform: translateY(-2px);
}

/* Timeline Stili (Hakkımızda sayfası için) */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #007bff;
}

.timeline-item {
  position: relative;
}

.timeline-marker {
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #007bff;
}

.timeline-content h5 {
  color: #007bff;
  margin-bottom: 10px;
}

/* Form Stili */
.form-control {
  border-radius: 8px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
  font-weight: 600;
  color: #495057;
}

/* Badge Stili */
.badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 15px;
}

/* Footer */
footer {
  background: #343a40 !important;
}

footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #007bff !important;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: #007bff;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #0056b3;
  transform: translateY(-3px);
}

/* Etkinlik Detay Sayfası */
.event-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.event-content h1,
.event-content h2,
.event-content h3 {
  color: #007bff;
  margin-top: 30px;
  margin-bottom: 15px;
}

.event-content p {
  margin-bottom: 15px;
}

.event-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

/* Sosyal Paylaşım */
.social-share .btn {
  margin-bottom: 10px;
}

/* Pagination */
.pagination .page-link {
  border-radius: 8px;
  margin: 0 2px;
  border: none;
  color: #007bff;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
}

/* Alert Mesajları */
.alert {
  border: none;
  border-radius: 10px;
  border-left: 4px solid;
}

.alert-success {
  border-left-color: #28a745;
  background-color: #d4edda;
}

.alert-danger {
  border-left-color: #dc3545;
  background-color: #f8d7da;
}

.alert-info {
  border-left-color: #17a2b8;
  background-color: #d1ecf1;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .card-img-top {
    height: 150px;
  }

  .timeline {
    padding-left: 20px;
  }

  .timeline-marker {
    left: -27px;
  }

  .display-4 {
    font-size: 2rem;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Özel Renkler */
:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
}

/* Özel Sınıflar */
.text-primary {
  color: var(--primary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.border-primary {
  border-color: var(--primary-color) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Özel Margin ve Padding */
.mt-6 {
  margin-top: 4rem !important;
}
.mb-6 {
  margin-bottom: 4rem !important;
}
.pt-6 {
  padding-top: 4rem !important;
}
.pb-6 {
  padding-bottom: 4rem !important;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
  background-color: rgba(0, 123, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/* Logo responsive boyutları */
.navbar-brand img {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 60px;
  }
}

@media (max-width: 480px) {
  .navbar-brand img {
    height: 50px;
  }
}
