/* Genel Stil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
}

/* Menü barı */
.menu {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgb(217, 26, 73);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

/* Sosyal medya ikonları */
.social-media {
    display: flex;
    gap: 15px;
}

.social-media a img {
    width: 30px;
    height: auto;
}

/* Hamburger menü simgesi */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Menü */
.menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* Sayfa içeriği */
.content {
    margin-top: 60px;
    padding: 20px;
}

/* Görsel Alanı */
.image-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

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


/* Ana İçerik */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0px 20px 80px;
    text-align: center;
    color: #000;
}

/* Galeri Bölümü */
#gallery {
    padding: 40px 0;
    text-align: center;
}

#gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #000;
}

/* Masaüstü: 4'lü grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Mobil: yatay kaydırma */
@media (max-width: 768px) {
    .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding: 10px 20px;
        scroll-snap-type: x mandatory;
    }

    .gallery-item {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .gallery-item img {
        width: 300px;
        height: 300px;
        flex-shrink: 0;
    }
}



/* Footer */
footer {
    position: relative;
    width: 100%;
    background: rgb(217, 26, 73);
    padding: 15px 0;
    text-align: center;
    color: white;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .menu ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 15px 0;
        background: rgb(217, 26, 73);
        position: absolute;
        top: 60px;
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .menu.open ul {
        display: flex;
    }

    .image-container {
        height: 400px;
    }

    .outer-container {
        padding: 10px;
    }

    .yazi {
        width: 90%;
        font-size: 18px;
        padding: 15px;
    }
}
