/* ========================== */
/* GENEL GÖVDE STİLİ */
/* ========================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
}

/* Sayfa yapısı (footer alta itilsin) */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.content-wrap {
  flex: 1;
}

/* ========================== */
/* SOSYAL MEDYA İKONLARI */
/* ========================== */
.social-link {
  color: #333;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  text-decoration: none;
}
.social-link:hover {
  color: #0d6efd;
}

/* ========================== */
/* HEADER SAĞ LOGO */
/* ========================== */
.header-right-logo {
  display: block;
  max-width: 100%;
  height: auto;
}
@media (max-width: 576px) {
  .header-right-logo {
    max-width: 70px;
  }
}

/* ========================== */
/* NAVBAR */
/* ========================== */
.navbar .nav-link {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}
.navbar .nav-link:hover {
  color: #007bff;
}

/* ========================== */
/* NAVBAR DROP DOWN TASARIMI */
/* ========================== */
.navbar .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.navbar .dropdown-menu .dropdown-item {
  color: #212529;
  font-size: 0.95rem;
  padding: 10px 20px;
  transition: all 0.2s ease;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.navbar .nav-link.active,
.navbar .nav-link:focus {
  color: #0d6efd;
  font-weight: 600;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* ========================== */
/* MODÜl BAŞLIĞI */
/* ========================== */
.myk-module-header {
  background-color: #f1f3f5;
  color: #212529;
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-left: 4px solid #0d6efd;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ========================== */
/* SLIDER */
/* ========================== */
.myk-slider-image {
  object-fit: cover;
  height: 400px;
}
.myk-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 6px;
  color: #fff;
}

/* ========================== */
/* GİRİŞ KARTLARI (cards.php) */
/* ========================== */
.myk-card-box {
  background-color: #003366;
  color: #fff;
  padding: 20px 10px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 150px;
}
.myk-card-box:hover {
  background-color: #0056b3;
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.myk-card-icon {
  margin-bottom: 10px;
  color: #fff;
  transition: color 0.3s ease;
}
.myk-card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #fff;
}

/* ========================== */
/* HABERLER (news.php) */
/* ========================== */
.myk-news-img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  display: block;
}
.myk-news-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  width: 100%;
  color: #fff;
  padding: 20px;
}
.myk-news-title {
  font-size: 1.25rem;
  font-weight: 600;
}
.myk-news-desc {
  font-size: 0.95rem;
}
.myk-news-list {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}
.myk-news-link {
  text-decoration: none;
  font-weight: 500;
  color: #003366;
  transition: color 0.3s;
}
.myk-news-link:hover {
  color: #0056b3;
}

/* ========================== */
/* HIZLI ERİŞİM KUTULARI */
/* ========================== */
.quick-access-box {
  background-color: #fff;
  color: #212529;
  border-radius: 12px;
  padding: 20px 10px 30px;
  position: relative;
  transition: all 0.3s ease;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid #dee2e6;
}
.quick-access-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background-color: #d9d9d9;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.quick-access-box i,
.quick-access-title {
  color: #212529;
  transition: color 0.3s ease;
}
.quick-access-box:hover {
  background-color: #e9ecef;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.quick-access-box:hover i,
.quick-access-box:hover .quick-access-title {
  color: #000;
}
.quick-access-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #7ac943;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ========================== */
/* MODERN FOOTER STİLLERİ */
/* ========================== */
.site-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #092743 100%);
  color: #ffffff;
  padding: 50px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-section {
  flex: 1;
  min-width: 220px;
  margin-bottom: 30px;
}

.footer-section h4 {
  border-bottom: 2px solid #4da8ff;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #4da8ff;
}

.footer-section p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.footer-section i {
  margin-right: 8px;
}

.social-icons a {
  display: inline-block;
  color: #ffffff;
  margin-right: 15px;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #4da8ff;
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid #4da8ff;
  text-align: center;
  padding-top: 15px;
  font-size: 0.9rem;
}
