﻿.content-wrapper {
    padding: 2rem 1rem;
    background-color: #2e3238;
    max-width: 100%;
    box-sizing: border-box;
}

.baslik-container {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.sag-bilgi {
    text-align: center;
    color: #fff;
    padding-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

    .sag-bilgi p {
        margin: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
        font-weight: 400;
        font-size: 1rem;
    }

    .sag-bilgi .aciklama-container {
        margin-bottom: 1rem;
    }

.harita {
    width: 500px;
    height: 350px;
    border: none;
    max-width: 100%;
}

.big-image {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    height: auto;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.thumbnail-image {
    cursor: pointer;
    border: 1px solid #ccc;
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
}

#lightboxModal {
    display: none;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#lightboxClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

#lightboxImg {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 0 20px #000;
}

#prevBtn, #nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
}

#prevBtn {
    left: 20px;
}

#nextBtn {
    right: 20px;
}

/* Masaüstü ve geniş ekranlar (1200px ve üstü) */
@media (min-width: 1200px) {
    .content-wrapper .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
        align-items: flex-start;
    }

        .content-wrapper .row > div {
            max-width: none;
        }

    .sag-bilgi {
        text-align: center;
        padding-top: 4rem;
        max-width: 450px;
    }

    .harita {
        width: 500px;
        height: 350px;
    }
}

/* iPad yatay ve benzeri (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .content-wrapper .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        align-items: flex-start;
        flex-wrap: wrap;
    }

        .content-wrapper .row > div {
            flex: 1 1 45%;
            max-width: 45%;
        }

    .sag-bilgi {
        text-align: center;
        padding-top: 2rem;
        max-width: 100%;
    }

    .harita {
        width: 100%;
        max-width: 450px;
        height: 320px;
    }

    .big-image {
        max-width: 100%;
        max-height: none;
    }
}

/* Tablet ve küçük tablet (600px - 767px) */
@media (min-width: 600px) and (max-width: 767px) {
    .content-wrapper .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .content-wrapper .row > div {
            max-width: 100%;
            padding: 0;
            margin: 0 auto;
        }

    .big-image {
        max-width: 350px;
        margin-bottom: 1.5rem;
    }

    .harita {
        width: 300px;
        height: 220px;
        margin: 0 auto 1rem auto;
    }

    .sag-bilgi {
        padding-top: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}

/* Telefonlar (600px altı) */
@media (max-width: 599px) {
    .content-wrapper .row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .content-wrapper .row > div {
            max-width: 100%;
            padding: 0;
            margin: 0 auto;
        }

    .big-image {
        max-width: 90vw;
        margin-bottom: 1rem;
    }

    .harita {
        width: 280px;
        height: 180px;
        margin: 0 auto 1rem auto;
    }

    .sag-bilgi {
        padding-top: 1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
}
