/* Türkoğlu 2 Nolu Aile Sağlığı Merkezi - ortak site stili
   Daha önce her sayfanın <head> içine gömülü olarak tekrarlanan
   stiller burada tek bir dosyada toplanmıştır. */

.header {
    background: url(img/header.png) no-repeat right top;
    min-height: 244px;
    border-radius: 0px;
    padding: 20px 0px 0px;
}
.header h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: white;
    font-size: 2.5rem;
}
.header h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    color: white;
    font-size: 2.5rem;
    margin-top: -20px;
}
.header h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 100;
    font-size: 2.0rem;
    color: #007380;
    padding-top: 0px;
}
.header p {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    color: white;
    font-size: 1.0rem;
    line-height: 20px;
    margin-top: 5px;
    margin-bottom: 30px;
}

.block p {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    color: #4e555b;
    font-size: 0.9rem;
    line-height: 20px;
    margin-top: 5px;
    margin-bottom: 30px;
}

.no {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #ca0425;
    padding-top: -55px;
}

.article {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    color: #4e555b;
    font-size: 1.0rem;
    line-height: 20px;
}
.article hr {
    border: 1px #007380;
    border-top-style: solid;
}
.article h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: rgba(209, 4, 41, 1.00);
}
.article h2 {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: rgba(209, 4, 41, 1.00);
}
.article h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 100;
    font-size: 1.1rem;
    color: rgba(209, 4, 41, 1.00);
}
.article p {
    text-align: justify;
}

.panel {
    background: rgb(0 115 128) url(img/header_bg.png);
}

.menu {
    margin-top: 80px;
}
.panel a {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    text-align: left;
    display: block;
    color: white;
    line-height: 20px;
}
.panel a:hover {
    color: #001D22;
}

.tel {
    margin-top: 25px;
    margin-left: 0px;
    height: 75px;
    background-color: rgba(209, 4, 41, 1.00);
}
.tel h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    line-height: 0px;
    text-align: center;
    padding-top: 20px;
    color: white;
    margin-left: 0px;
}
.tel p {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 1.7rem;
    text-align: center;
    line-height: 0px;
    color: white;
}

.duyuru {
    margin: 3px;
    margin-top: 25px;
    margin-bottom: 25px;
    background-color: rgba(218, 211, 211, 0.53);
    border-radius: 5px;
}
.duyuru h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 0px;
    text-align: center;
    padding-top: 20px;
    color: white;
    margin-left: 0px;
}
.duyuru p {
    font-size: 1.2rem;
    text-align: center;
    font-weight: bold;
    color: white;
    padding: 3px;
}

.link li {
    padding-top: 5px;
    margin-top: 3px;
    height: 50px;
    background-color: darkgrey;
    display: block;
}
.link li:hover {
    background-color: grey;
}
.link li a {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 22px;
    text-decoration: none;
    text-align: left;
    line-height: 20px;
    margin-top: 5px;
    color: #001D22;
}
.link li a:hover {
    color: white;
}
.link p {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 12px;
    text-decoration: none;
    text-align: left;
    color: #001D22;
    line-height: 0px;
}

.menus {
    background-color: #367e8a;
    color: #ffffff;
}
.menus a {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    text-align: left;
    display: block;
    color: white;
    line-height: 20px;
}
.menus a:hover {
    color: #001D22;
}

/* Galeri lightbox (resme tıklayınca büyük önizleme) */
.gallery-img {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}
.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    font-family: Arial, sans-serif;
    transition: color 0.15s ease;
    z-index: 1051;
}
.lightbox-close {
    top: 15px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ca0425;
}
.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 34px;
    padding: 10px 18px;
}
.lightbox-prev {
    left: 10px;
}
.lightbox-next {
    right: 10px;
}
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
}
@media (max-width: 576px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 26px;
        padding: 8px 12px;
    }
    .lightbox-close {
        font-size: 32px;
        top: 8px;
        right: 15px;
    }
}

/* Galeri videosu (resimlerle aynı grid içinde) */
.video-thumb {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Galeri sekmeleri (Görseller / Videolar) */
.gallery-tabs {
    border-bottom: 2px solid #e9ecef;
}
.gallery-tabs .nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: #4e555b;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 10px 20px;
}
.gallery-tabs .nav-link:hover {
    color: #007380;
    border-bottom-color: #cfe3e6;
}
.gallery-tabs .nav-link.active {
    color: #ca0425;
    background: transparent;
    border-bottom-color: #ca0425;
}
