/* ==========================================================
   OnlineAll.net - Global Stil Dosyası
   Tasarım: Modern, Hızlı, Mobil Uyumlu
   ========================================================== */

/* GENEL AYARLAR */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* LİNKLER */
a {
  text-decoration: none;
  color: #0d6efd;
  transition: all 0.2s ease;
}
a:hover {
  color: #0a58ca;
}

/* HEADER */
header.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  padding: 0.8rem 0;
}
.navbar-brand img {
  height: 42px;
}
.navbar-brand span {
  font-weight: 600;
  font-size: 1.1rem;
}
.nav-link {
  font-weight: 500;
  color: #333 !important;
  padding: 0.5rem 1rem !important;
}
.nav-link:hover {
  color: #0d6efd !important;
}

/* HERO / SLIDER */
#slider .carousel-item img {
  border-radius: 8px;
}
#slider .carousel-caption {
  bottom: 40px;
}
#slider h5 {
  font-weight: 600;
  font-size: 1.4rem;
}

/* IFRAME */
.iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}
.iframe-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* BLOKLAR */
#bloklar .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 10px;
}
#bloklar .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* BLOG LİSTESİ */
#blog .card, .card {
  border-radius: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
#blog .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.card-title {
  font-weight: 600;
  font-size: 1.1rem;
}
.card-text {
  font-size: 0.95rem;
  color: #555;
}

/* SAYFALAMA */
.pagination .page-link {
  color: #0d6efd;
  border-radius: 50%;
  margin: 0 3px;
  width: 38px;
  text-align: center;
}
.pagination .page-item.active .page-link {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}

/* FOOTER */
footer {
  font-size: 0.95rem;
}
footer h5 {
  font-weight: 600;
  font-size: 1rem;
}
footer a:hover {
  text-decoration: underline;
}
footer .social-icons a {
  font-size: 1.2rem;
  margin-right: 8px;
  transition: color 0.2s ease;
}
footer .social-icons a:hover {
  color: #0d6efd;
}

/* BUTTONS */
.btn {
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn-primary {
  background-color: #0d6efd;
  border: none;
}
.btn-primary:hover {
  background-color: #0b5ed7;
}
.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: #fff;
}

/* FORMS */
.form-control {
  border-radius: 6px;
  box-shadow: none !important;
  border-color: #ddd;
}
.form-control:focus {
  border-color: #0d6efd;
}

/* ALERTS */
.alert {
  border-radius: 8px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header.navbar .navbar-brand span {
    font-size: 1rem;
  }
  #slider h5 {
    font-size: 1.1rem;
  }
  footer .row > div {
    text-align: center;
  }
  footer .social-icons {
    margin-top: 10px;
  }
}

/* ÖZEL GÖRSEL GEÇİŞLER */
img {
  transition: opacity 0.2s ease;
}
img:hover {
  opacity: 0.9;
}

/* KÜÇÜK YARDIMCI SINIFLAR */
.text-small {
  font-size: 0.9rem;
}
.text-muted {
  color: #666 !important;
}
.shadow-soft {
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.rounded-lg {
  border-radius: 10px;
}

/* ==========================================================
   ADMIN PANEL GENEL STİL (isteğe bağlı)
   ========================================================== */
.admin-header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.admin-sidebar {
  background-color: #fdfdfd;
  border-right: 1px solid #eee;
}
.admin-sidebar a {
  color: #333;
  padding: 10px 15px;
  display: block;
}
.admin-sidebar a:hover,
.admin-sidebar .active {
  background-color: #0d6efd;
  color: #fff;
}
