/* Genel stil ayarları */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

/* Navbar stil */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #f8f7f7; /* Arka plan rengi */
    padding: 10px 0;
    box-shadow: 0 2px 4px #333333 (0, 0, 0, 0.2); /* Gölgelendirme */
}

.container {
    width: 80%;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: #fff; /* Yazı rengi */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px; /* Köşeleri yuvarlatma */
    background: #333333 ; /* Butonun arka plan rengi */
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s; /* Geçiş efektleri */
    position: relative;
    display: inline-block;
}

/* Navbar üzerindeki şerit */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: #fff; /* Şerit rengi */
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Buton stil */
.nav-links a:hover {
    background: #0056b3; /* Hover rengi */
    transform: scale(1.05); /* Hover efektinde büyütme */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Hover gölgesi */
}

.nav-links a:active {
    background: #004080; /* Butona tıklama rengi */
    transform: scale(0.95); /* Tıklama efekti */
}

/* Loader stil */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* İçerik stil */
#content {
    padding: 20px;
    margin-top: 60px; /* Navbar yüksekliği kadar margin */
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

/* Bölüm başlıkları */
h2 {
    margin-top: 40px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Galeri stil */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Fotoğraf stil */
.photo {
    position: relative;
    overflow: hidden;
    width: 200px; /* Küçük görünüm */
    height: 150px; /* Küçük görünüm */
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.photo:hover {
    transform: scale(1.1); /* Küçülme etkisi */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Tam ekran görünüm */
.photo.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8); /* Arka plan rengini koyulaştır */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.photo.active img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Video stil */
.video {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    background-color: #fff; /* Beyaz arka plan rengi */
    transition: transform 0.3s ease-in-out;
}

.video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video.active {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.8); /* Arka plan rengini koyulaştır */
}

/* Video görünüm */
.video.active video {
    display: block;
}

/* Sayfalama stil */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    margin: 0 5px;
    text-decoration: none;
    color: #3498db;
    font-size: 18px;
}

.pagination a.active {
    font-weight: bold;
    color: #2c3e50;
}
