/* Genel Stil Ayarları */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding: 20px;
}

/* Başlık ve Gezinme Stil Ayarları */
header {
    background-color: #333;
    color: #FFF;
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Fotoğraf Alanı Stil Ayarları */
.photo-area {
    background-color: #ddd;
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    text-align: center;
}

.photo-area img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Buton Stil Ayarları */
.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.button:hover {
    background-color: #555;
}

/* Footer ve Container Stil Ayarları */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Pop-up Stil Ayarları */
.popup {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Buzlu arka plan biraz daha koyu */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    border-radius: 10px;
    width: 80%; /* Sayfanın %80'i */
    max-width: 900px; /* Maksimum genişlik */
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 80vh; /* Sayfanın yüksekliğinin %80'i */
    overflow: hidden; /* İçerik taşarsa gizle */
}

.popup img {
    max-width: 100%;
    max-height: 100%; /* Yüksekliği sınırlayarak sayfanın boyutlarına sığdırma */
    object-fit: contain; /* Resmi içeriğe sığdırma, orantıyı koruyarak */
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    background-color: #36454F; /* Antresit arka plan */
    color: #fff; /* Beyaz metin rengi */
    border: none; /* Kenarlık yok */
    border-radius: 50%; /* Daire şeklinde buton */
    width: 25px; /* Buton genişliği */
    height: 25px; /* Buton yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: #2c3e50; /* Üzerine gelindiğinde daha koyu antresit rengi */
}

/* Galeri Stil Ayarları */
.gallery {
    margin: 20px 0;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 calc(20% - 20px); /* 5 sütun, aralıklı */
    background-color: #ddd;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer; /* Tıklanabilir olduğunu göstermek için */
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.gallery-description {
    margin-top: 20px;
}

.gallery-description p {
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .photo-area {
        height: auto;
    }

    .button {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    .popup-content {
        width: 90%; /* Mobilde daha geniş */
    }

    .gallery-item {
        flex: 1 1 calc(50% - 20px); /* Mobilde iki sütun */
    }
}
/* İletişim Bölümü Stil Ayarları */
#contact {
    background-color: #333; /* Koyu gri zemin */
    color: #fff; /* Beyaz metin rengi */
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

#contact a {
    color: #777; /* Bağlantı rengi, görünürlük için sarı */
    text-decoration: none; /* Bağlantı altını çizme */
}

#contact a:hover {
	text-decoration: underline; /* Üzerine gelindiğinde altını çizme */
	color: #777;
}

#contact p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px; /* Paragraflar arasında boşluk */
}
