/* ---------- Base ---------- */
:root{
  --bg: #0b1220;
  --surface: rgba(255,255,255,0.08);
  --surface-2: rgba(255,255,255,0.12);
  --text: #0b1220;
  --muted: #6c757d;
  --ring: rgba(13,110,253,0.25);
}

html, body{ height: 100%; }

body{ background: #f6f7fb; }

/* ---------- Topbar ---------- */
.topbar{
  background: linear-gradient(90deg, #0b1220, #101c35);
  color: rgba(255,255,255,0.85);
}
.topbar-link{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.topbar-link:hover{ color: #fff; }
.topbar-sep{ opacity: .6; }

/* ---------- Icon buttons ---------- */
.icon-btn{
  width: 34px;
  height: 34px;
  border-radius: 1px; /* 999px yerine daha az yuvarlak */
  display: grid;
  place-items: center;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.icon-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  color: #fff;
}
.icon-btn-footer{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

/* ---------- Header ---------- */
.site-header{
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.site-logo{ width: 120px; height: 120px; }
.brand-text{
  font-weight: 700;
  letter-spacing: .2px;
}

/* Navbar Link (yuvarlama azalt + hover belirgin) */
.navbar .nav-link{
  font-weight: 600;
  color: rgba(15,23,42,0.78);
  border-radius: 3px;           /* 999px yerine */
  padding: .52rem .85rem;
  border: 1px solid transparent;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
}
.navbar .nav-link:hover{
  background: rgba(13,110,253,0.12);
  border-color: rgba(13,110,253,0.22);
  box-shadow: 0 10px 28px rgba(13,110,253,0.12);
  color: rgba(15,23,42,0.95);
}
.navbar .nav-link.active{
  background: rgba(13,110,253,0.16);
  border-color: rgba(13,110,253,0.28);
  color: rgba(15,23,42,0.98);
}

/* Dropdown stil (daha net) */
.dropdown-menu{
  border-radius: 1px;
  padding: 1px;
  border: 1px solid rgba(15,23,42,0.08);
  z-index: 3000; /* slider altına kaçmasın */
}
.dropdown-item{
  border-radius: 1px;
  padding: 10px 12px;
  transition: background .15s ease, box-shadow .15s ease, color .15s ease;
}
.dropdown-item:hover{
  background: rgba(13,110,253,0.12);
  box-shadow: 0 8px 18px rgba(13,110,253,0.10);
}

/* ---------- Hero ---------- */
.hero{ padding: 24px 0 10px; }
.hero-carousel{ box-shadow: 0 20px 60px rgba(16,24,40,0.12); }

.hero-slide{
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 48px;
  color: #fff;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 30% 20%, rgba(255,255,255,0.12), transparent 55%),
              linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.35));
}
.hero-content{ position: relative; max-width: 640px; }

.hero-slide-1{
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(13,110,253,0.55), transparent 60%),
    radial-gradient(900px 500px at 80% 40%, rgba(32,201,151,0.45), transparent 55%),
    linear-gradient(120deg, #0b1220, #101c35);
}
.hero-slide-2{
  background:
    radial-gradient(1000px 600px at 20% 30%, rgba(255,193,7,0.45), transparent 55%),
    radial-gradient(900px 500px at 80% 40%, rgba(13,110,253,0.45), transparent 55%),
    linear-gradient(120deg, #0b1220, #1a2a55);
}
.hero-slide-3{
  background:
    radial-gradient(1000px 600px at 25% 35%, rgba(220,53,69,0.45), transparent 55%),
    radial-gradient(900px 500px at 80% 45%, rgba(32,201,151,0.35), transparent 55%),
    linear-gradient(120deg, #0b1220, #12224a);
}

@media (max-width: 576px){
  .hero-slide{ padding: 28px; min-height: 340px; }
}

/* ---------- Content ---------- */
.news-card{
  border-radius: 2px; /* 20 yerine */
  overflow: hidden;
}
.news-thumb{
  height: 100%;
  min-height: 190px;
  background-size: cover;
  background-position: center;
}

/* Placeholder thumbs (demo) */
.thumb-1{ background-image: linear-gradient(135deg, rgba(13,110,253,0.35), rgba(32,201,151,0.25)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop stop-color='%230b1220'/%3E%3Cstop offset='1' stop-color='%23101c35'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='800' height='600' fill='url(%23g)'/%3E%3Ccircle cx='200' cy='180' r='140' fill='%230d6efd' fill-opacity='.35'/%3E%3Ccircle cx='560' cy='340' r='180' fill='%2320c997' fill-opacity='.25'/%3E%3C/svg%3E"); }
.thumb-2{ background-image: linear-gradient(135deg, rgba(25,135,84,0.25), rgba(13,110,253,0.25)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Crect width='800' height='600' fill='%231a2a55'/%3E%3Cpath d='M0 420 C 220 320, 420 520, 800 380 L 800 600 L 0 600 Z' fill='%230d6efd' fill-opacity='.35'/%3E%3Cpath d='M0 460 C 240 360, 520 600, 800 420 L 800 600 L 0 600 Z' fill='%2320c997' fill-opacity='.25'/%3E%3C/svg%3E"); }
.thumb-3{ background-image: linear-gradient(135deg, rgba(255,193,7,0.20), rgba(13,110,253,0.20)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Crect width='800' height='600' fill='%2312224a'/%3E%3Crect x='120' y='130' width='560' height='340' rx='28' fill='%23ffc107' fill-opacity='.18'/%3E%3Crect x='160' y='170' width='480' height='60' rx='16' fill='%23ffffff' fill-opacity='.10'/%3E%3Crect x='160' y='250' width='360' height='40' rx='14' fill='%23ffffff' fill-opacity='.08'/%3E%3Crect x='160' y='310' width='420' height='40' rx='14' fill='%23ffffff' fill-opacity='.08'/%3E%3C/svg%3E"); }
.thumb-4{ background-image: linear-gradient(135deg, rgba(220,53,69,0.20), rgba(32,201,151,0.18)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='600'%3E%3Crect width='800' height='600' fill='%23101c35'/%3E%3Ccircle cx='620' cy='180' r='150' fill='%23dc3545' fill-opacity='.25'/%3E%3Ccircle cx='240' cy='380' r='190' fill='%2320c997' fill-opacity='.20'/%3E%3C/svg%3E"); }

/* Announce item (hover daha belirgin + radius azalt) */
.announce-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 1px;
  color: rgba(15,23,42,0.92);
  border: 1px solid rgba(15,23,42,0.06);
  background: rgba(255,255,255,0.65);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.announce-item:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.9);
  border-color: rgba(13,110,253,0.20);
  box-shadow: 0 12px 34px rgba(16,24,40,0.12);
}
.announce-dot{
  width: 10px;
  height: 10px;
  margin-top: 1px;
  border-radius: 2px;
  background: #0d6efd;
  box-shadow: 0 0 0 6px rgba(13,110,253,0.10);
}

.callout{
  background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(32,201,151,0.10));
  border: 1px solid rgba(13,110,253,0.12);
  border-radius: 2px;
}
.callout i{ opacity: .9; }

.sticky-offset{ top: 20px; }

/* ---------- Page Content ---------- */
.page-content{
  line-height: 1.8;
}
.page-content h2,.page-content h3{ margin-top: 1.2rem; }
.page-content img{
  max-width: 100%;
  height: auto;
  border-radius: 2px;
}

/* Sabit boyutlu gorsel kutusu (dikey/yatay fark etmez) */
.media-frame{
  width: 100%;
  height: 420px;
  background: #0b1220; /* istersen #fff yap */
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
@media (max-width: 576px){
  .media-frame{ height: 260px; }
}

/* ---------- Footer ---------- */
.site-footer{
  margin-top: 30px;
  background: linear-gradient(180deg, #0b1220, #070b14);
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-logo{ width: 34px; height: 34px; }
.footer-title{ font-weight: 700; margin-bottom: 12px; }

.footer-links a{
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  display: inline-block;
  padding: 4px 0;
}
.footer-links a:hover{ color: #fff; }

.footer-contact{ margin: 0; padding: 0; }
.footer-contact li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
}
.footer-contact a{
  color: rgba(255,255,255,0.82);
  text-decoration: none;
}
.footer-contact a:hover{ color: #fff; }

.footer-mini{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 14px;
}

/* ---------- Dropdown z-index fix ---------- */
.navbar,
.site-header{
  position: relative;
  z-index: 2000;
}

.content-area a,
.content-area a:visited{
  color: var(--bs-primary);   /* bootstrap primary */
  text-decoration: none;
}

.content-area a:hover{
  text-decoration: underline;
}
/* Cami Yönetim linki buton gibi görünmesin */
.navbar .cami-nav-link{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x) !important;
  color: var(--bs-navbar-color) !important;
}

/* Eğer bir yerde btn class’ı eklenmişse bile etkisiz kalsın */
.navbar .cami-nav-link.btn,
.navbar .cami-nav-link.btn-primary,
.navbar .cami-nav-link.rounded-pill{
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--bs-navbar-color) !important;
}
.btn-cami {
  background-color: #0b1220;   /* normal */
  border-color: #0b1220;
  color: #ffffff;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn-cami:hover,
.btn-cami:focus {
  background-color: #1a2547;   /* mouse üstüne gelince DAHA AÇIK */
  border-color: #1a2547;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(11, 18, 32, 0.35);
}

