/* ===== TEMEL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #d1d5db;
    display: flex;
    justify-content: center;
}

.page-wrapper {
    width: 70%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ===== ÜST HEADER ===== */
.top-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #bfc4cb;
    padding: 1rem 2rem;
    min-height: 160px;
    border-bottom: 1px solid #005baa;
}

.logo { position: absolute; left: 2rem; bottom: 25px; height: 120px; }
.ataturk-img { position: absolute; right: 3rem; bottom: 25px; height: 120px; opacity: 0.9; }
.header-text { display: flex; flex-direction: column; align-items: center; text-align: center; }
.header-text span { font-weight: normal; font-size: 1.4rem; color: #000; }

/* ALT HEADER */
.bottom-header {
    display: flex;
    justify-content: center;
    align-items: stretch;
    background-color: #004080;
    height: 40px;
}

/* MENÜ */
.nav-links { display: flex; gap: 0; height: 100%; }
.nav-links a, .nav-links .dropdown > a {
    display: flex; justify-content: center; align-items: center;
    height: 100%; padding: 0 12px;
    background-color: #004080; color: #fff; text-decoration: none;
    transition: background-color 0.3s ease; cursor: pointer;
}
.nav-links a:hover, .nav-links .dropdown:hover > a { background-color: #22c55e; }

/* DROPDOWN */
.nav-links .dropdown { position: relative; display: flex; align-items: center; }
.nav-links .dropdown-content {
    display: none; position: absolute; top: 100%; left: 0;
    background-color: #004080; min-width: 200px; z-index: 1000; flex-direction: column;
}
.nav-links .dropdown-content a { color: #fff; padding: 10px; text-decoration: none; display: block; }
.nav-links .dropdown-content a:hover { background-color: #22c55e; }
.nav-links .dropdown:hover .dropdown-content { display: flex; flex-direction: column; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background-color: #fff; margin: 4px 0; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* HOME LAYOUT 2 SÜTUN */
.home-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 1.2rem;
  padding: 2rem 0;
  width: 100%;
  align-items: stretch;
}

/* PERSONEL KART */
.person-card {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* başlık ve yazı üstte başlasın */
}
/* PERSONEL KARTI DÜZENİ */

.person-card p {
	width: 100%;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    word-spacing: normal;
    letter-spacing: normal;
    overflow-wrap: break-word; /* uzun kelimelerde taşmayı engeller */
	
}
/* H3 BAŞLIKLAR İÇİN */
.person-card h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.1rem;
    line-height: 1.2;
    word-wrap: break-word;  /* uzun isimlerde taşmayı engeller */
	max-width: 150px;
	margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* GENEL PERSONEL GRID */
.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    justify-items: center;  /* kartları ortala */
	margin-top: 2.4rem;
}


/* PERSON-CARD RESİM AYARI */
.person-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.6rem;
	
}
.person-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}
/* SOL: ANA CONTENT */
.main-content { background: #f0f0f0; padding: 1.6rem; }
.main-content img { width: 100%; max-height: 260px; object-fit: cover; margin-bottom: 1rem; }
.main-content h1 { font-size: 1.4rem; margin-bottom: 2.4rem; margin-top:2.4rem; text-align: center; }
.main-content h2 { font-size: 1.4rem; margin-bottom: 2.4rem; margin-top:2.4rem; text-align: center; }
.main-content p { text-indent: 30px; line-height: 1.6; margin-bottom: 0.6rem; text-align: justify;      /* iki yana yasla */
    hyphens: auto;            /* otomatik heceleme */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    line-height: 1.7; }

/* SAĞ SÜTUN */
.right-column { display: flex; flex-direction: column; gap: 1.2rem; min-height: 100%;   /* 👈 SOL CONTENT KADAR UZAR */ background-color: #e5e7eb; /* hafif gri */
    padding: 1rem; justify-content: flex-start; /* yukarıdan başlasın */ }
/* ORTAK KART STİLİ */
.card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* BOŞ BLOKLAR */
.empty-card {
    min-height: 140px;     /* yer tutucu */
}	

.announcements { background: #fff; padding: 1rem; font-size: 0.9rem; }
.announcements h3 { margin-bottom: 0.6rem; }
.announcement { background: #f0f0f0; padding: 0.6rem; margin-bottom: 0.5rem; font-size: 0.85rem; }

.quick-links { background: #fff; padding: 1rem; font-size: 0.85rem; }
.quick-links h3 { font-size: 0.95rem; margin-bottom: 0.6rem; }
.quick-links ul { list-style: none; }
.quick-links li { margin-bottom: 0.4rem; }
.quick-links a { text-decoration: none; color: #004080; }
.quick-links a:hover { text-decoration: underline; }

/* SAYFA NOTU */
.page-note { max-width: 900px; margin: 40px auto 10px auto; padding-top: 12px; font-size: 13px; color: #6b7280; text-align: center; border-top: 1px solid #e5e7eb; }

/* FOOTER */
.site-footer { background-color: #004080; color: #fff; padding: 1.8rem 2rem; font-size: 0.9rem; }
.footer-row { width: 100%; }
.footer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
.footer-address, .footer-phone { display: flex; align-items: center; gap: 0.4rem; }
.footer-bottom { text-align: center; font-size: 0.85rem; opacity: 0.9; }
.site-footer i { font-size: 0.95rem; font-weight: 900; color: #b71c1c; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .home-layout { grid-template-columns: 1fr; }
    .right-column { flex-direction: column; }
    .right-column, .main-content { width: 100%; }

    .ataturk-img, .logo { position: static; display: block; margin: 0 auto 1rem auto; height: 100px; }
    .header-text { margin: 0; }

    .nav-links { display: none; position: absolute; top: 160px; right: 10px; background: #2563eb; flex-direction: column; padding: 1rem; border-radius: 8px; }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
}
.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: #1e293b;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.doctor-section {
    margin-bottom: 50px;
}

.doctor-section h2 {
    margin-top: 30px;
    color: #1e293b;
}

.subtitle {
    color: #475569;
    margin-bottom: 15px;
}

.total-hours {
    margin-top: 10px;
    font-weight: 600;
}

.excel-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
	border: 1px solid #94a3b8; /* tablo dış çerçeve */
}

.excel-table th {
    background: #1e293b;
    color: #fff;
    padding: 10px;
    font-size: 14px;
	border: 1px solid #94a3b8; /* başlık çizgileri */
}

.excel-table td {
    padding: 10px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #94a3b8;   /* SATIR ÇİZGİSİ */
    border-bottom: 1px solid #94a3b8;/* SATIR ÇİZGİSİ */
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
	white-space: nowrap;
}

.row-title {
    background: #f1f5f9;
    font-weight: 600;
    text-align: left;
}

.badge-out {
    background: #e0f2fe;
    color: #075985;
    font-weight: 600;
}

.badge-edu {
    background: #fff7ed;
    color: #9a3412;
    font-weight: 600;
}
.contact-map {
  margin-bottom: 20px;
}

.contact-info-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* mobilde alt alta düşsün */
}

.contact-box {
  flex: 1;
  min-width: 250px;
  background: #f5f7fa;
  padding: 15px;
  border-radius: 8px;
}

.contact-box a {
  color: #0077cc;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}
/* AŞILAR SAYFASI – BLOK YÜKSEKLİK ENGELİNİ KALDIR */
.vaccines-page,
.vaccines-page .vaccine-images,
.vaccines-page .vaccine-images img {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}
.about-page {
  width: 100%;
  line-height: 1.7;
}

.about-page h1 {
  margin-bottom: 20px;
}

.about-page h2 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: #0a4fa3; /* başlık rengi */
}

.about-page p {
  margin-bottom: 15px;
}

.about-page ul {
  padding-left: 20px;
}

.about-page ul li {
  margin-bottom: 8px;
}
#pagination {
    display: flex;
    justify-content: center; /* ortala */
    align-items: center;
    margin-top: 2em; /* kart ile pagination arasında 2 satır boşluk */
    gap: 6px; /* butonlar arası boşluk */
}

#pagination button {
    padding: 6px 12px;
    border: 1px solid #007bff;
    background-color: #fff;
    color: #007bff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.2s, color 0.2s;
}

#pagination button:hover {
    background-color: #007bff;
    color: #fff;
}

#pagination button.active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}


.badge-new {
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 10px;
  background: #d32f2f;
  color: #fff;
  border-radius: 4px;
}

.page-title {
    width: 100%;
    background-color: #004080;
    color: #fff;

    /* 2 satır aşağı itme */
    margin-top: 32px;

    padding: 14px 20px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 20px;
    box-sizing: border-box;

    /* HARF DÜZENİ */
    text-transform: capitalize; /* Baş harfler büyük */
}



.announcements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.announcement-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 16px;
    margin-bottom: 16px;
}


.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.announcement-card h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    color: #0b5ed7;
}


.announcement-date {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
    font-style: italic;
}


.announcement-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}
.announcement-simple {
    margin-bottom: 16px;
}

.announcement-header {
    display: flex;
    justify-content: center; /* başlık ortada */
    align-items: center;
    position: relative;
}

.announcement-header h3 {
    margin: 0;
}

.announcement-date {
    position: absolute;
    right: 0; /* başlığın sağında */
    font-size: 0.9em;
    color: #555;
}

.announcement-simple .announcement-text {
    font-size: 1em;
    color: #333;
    margin-top: 1em; /* başlık ile yazı arasında boşluk */
}
.announcement-header .announcement-date {
    position: absolute;
    right: 16px; /* sağa yaslı */
    font-size: 0.9em;
    color: #555;
}

.announcement-card .announcement-text {
    margin-top: 1em; /* başlık ile içerik arasında boşluk */
    font-size: 1em;
    color: #333;
}
#anasayfa-pagination {
    text-align: center; /* ortala */
    margin-top: 20px; /* üstten boşluk */
    display: flex;
    justify-content: center; /* yatayda ortala */
    align-items: center;
    gap: 10px; /* linkler arası boşluk */
}

#anasayfa-pagination a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

#anasayfa-pagination a:hover {
    text-decoration: underline;
}

#anasayfa-pagination .pagination-info {
    font-weight: normal;
    color: #333;
}
.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}
/* TÜM BİRİM BLOĞU */
.unit-block {
    margin-bottom: 3rem;
}

/* BAŞLIK DİKDÖRTGENİ */
.unit-title {
    background: #004080;
    color: #fff;
    padding: 0.7rem 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 6px 6px 0 0;
    font-size: 1.1rem;
}

/* ALT KARE / PANEL */
.unit-content {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    font-size: 44px;
    color: #fff;
    flex-shrink: 0;   /* 🔥 EN KRİTİK SATIR */
}

/* MESLEĞE GÖRE RENKLER */
.avatar.doctor {
    background: #0b5ed7;
}

.avatar.nurse {
    width: 120px;
    height: 120px;
    padding: 0;
    background: #2e8b57;   /* istersen #0b5ed7 gibi düz renk de olur */
    overflow: hidden;      /* 🔥 çok önemli */
}


.avatar.secretary {
    background: #6f42c1;
}

.avatar.staff {
    background: #fd7e14;
}
.avatar {
    width: 120px;
    height: 120px;
    background: #1f9d55; /* yeşil */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* HALO KATİLİ */
}

.avatar img {
    width: 100%;
    height: auto;
    position: relative;
    top: 8px; /* 👈 ikon aşağı indi */
}
.section-title-wrapper {
    text-align: center;
}
.section-title.full-width {
    width: 100%;
    background-color: #004080;
    color: #ffffff;
    padding: 18px 0;
    text-align: center;
    font-weight: 600;
    border-radius: 6px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
	margin: 0 0 30px 0; /* ÜST BOŞLUĞU SIFIRLA */
}
.simple-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    justify-items: center;
    margin-top: 1.5rem;
}

.simple-card {
    background: #ffffff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .2s ease;
    font-size: 0.95rem;
}

.simple-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.simple-card span {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #475569;
}

.service-link {
  text-decoration: none;   /* alt çizgi yok */
  color: inherit;          /* mavi yok */
  display: block;          /* kart komple tıklanır */
}

.service-link:hover {
  color: inherit;
}
.service-card {
  cursor: pointer;
}
/* Hizmet kartlarına hover efekti */
.services-grid .service-card {
    transition: all 0.3s ease; /* Yumuşak geçiş */
    cursor: pointer;
}

.services-grid .service-card:hover {
    background-color: #22c55e;/*#4CAF50; /* Menüdeki yeşil renk */
    color: #fff; /* Yazıyı beyaz yap */
    transform: translateY(-5px); /* Hafif yukarı kaydırma efekti */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Hafif gölge */
}
/* 🔵 Mavi Dikdörtgen Başlık */
.section-title.full-width {
    background-color: #004080; /* Mavi renk */
    color: #fff;
    padding: 15px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* İçerik kutusu */
.announcement-simple {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* İçerik metni */
.announcement-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Geri butonu */
.back-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-btn:hover {
    background-color: #0056b3;
}
/* Galeri kartı */
.galeri-card {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 10px;
}

.galeri-card img.galeri-thumb {
    width: 100%;
    height: 120px; /* istediğin yüksekliği ayarlayabilirsin */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.galeri-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
