/* =================================================================
   Mekanlar Liste Sayfası (/mekanlar)
   ================================================================= */

.venues-header {
    padding: 25px 0;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: none;
}
.venues-header h1 {
    font-size: 28px;
    margin-bottom: 5px;
}
.venues-header p {
    font-size: 16px;
    margin: 0;
    max-width: none;
    text-align: left;
}
.venues-layout-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
}
.map-column {
    height: 300px;
}
#map {
    height: 100%;
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    z-index: 1;
}
.list-column .search-results-list {
    padding-right: 0;
}

@media (min-width: 992px) {
    .venues-layout-container {
        display: grid;
        grid-template-columns: 40% 1fr;
        gap: 30px;
        align-items: flex-start;
        height: calc(100vh - 180px); 
    }
    .map-column {
        position: sticky;
        top: 90px;
        height: 100%;
    }
    .list-column {
        height: 100%;
        overflow-y: auto;
    }
    .list-column .search-results-list {
        max-height: none;
        overflow-y: visible;
    }
}

/* =================================================================
   Mekan Detay Sayfası (/mekan/{slug}) - YENİ TASARIM
   ================================================================= */

/* --- Ana Yerleşim (Layout) --- */
.venue-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

@media (min-width: 992px) {
    .venue-detail-layout {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
        grid-template-areas:
            "header summary"
            "details summary";
        gap: 0 10px;
        align-items: flex-start;
    }
}

/* --- Grid Alanlarının Tanımlanması --- */
.venue-header-container { grid-area: header; }
.venue-summary-column { grid-area: summary; }
.venue-details-column { grid-area: details; }

/* --- Başlık Alanı --- */
.venue-header-container .product-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-base);
    margin: 10px 0;
}

/* --- Özet (Görsel, Harita) Sütunu --- */
@media (min-width: 992px) {
    .venue-summary-column {
        position: sticky;
        top: 90px;
    }
}

#venue-map {
    display: none; /* Mobil cihazlarda haritayı gizle */
    height: 300px;
    width: 100%;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    margin-top: 20px;
}

/* --- Detaylar (Bilgi, Yorum) Sütunu --- */
@media (min-width: 992px) {
    #venue-map {
        display: block; /* Masaüstü cihazlarda haritayı tekrar göster */
    }

    .venue-header-container, .venue-details-column {
        background-color: var(--color-surface);
        border: 1px solid var(--color-border);
        padding: 30px;
    }
    .venue-header-container {
        border-bottom: none;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    .venue-details-column {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    .venue-details-column .section-box:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

.venue-details-column .section-box h2 {
    font-size: 22px;
}

/* Daha küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 480px) {
    .venue-header-container .product-title {
        font-size: 24px;
    }
    .venue-details-column .section-box h2 {
        font-size: 20px;
    }
}
