/* Public Pages - Minimal Clean (mekanlar, mekan-detay) */

/* Page Header */
.page-header { background: #111; padding: 120px 0 48px; color: #fff; }
.page-header h1 { font-size: 28px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.5px; }
.page-header p { color: rgba(255,255,255,0.5); font-size: 14px; }

/* Filters */
.filters-bar { background: #fff; border-radius: 8px; padding: 16px 20px; margin-top: -24px; position: relative; z-index: 10; box-shadow: 0 1px 3px rgba(0,0,0,0.06); border: 1px solid #E5E5E5; }
.filter-group { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter-group select, .filter-group input { padding: 10px 14px; border: 1px solid #E5E5E5; border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: #111; background: #fff; min-width: 150px; transition: border-color 0.2s; }
.filter-group select:focus, .filter-group input:focus { outline: none; border-color: #2563EB; }
.filter-btn { padding: 10px 20px; background: #2563EB; color: #fff; border: none; border-radius: 8px; font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.filter-btn:hover { background: #1D4ED8; }
.filter-btn-reset { padding: 10px 16px; background: #fff; color: #737373; border: 1px solid #E5E5E5; border-radius: 8px; font-family: inherit; font-size: 13px; cursor: pointer; }
.filter-btn-reset:hover { border-color: #D4D4D4; }

/* Mekan Cards */
.mekan-grid { padding: 40px 0 80px; }
.mekan-card { background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid #E5E5E5; transition: all 0.2s; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.mekan-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); border-color: #D4D4D4; color: inherit; }
.mekan-card-img { height: 200px; background: #FAFAFA; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.mekan-card-img img { width: 100%; height: 100%; object-fit: cover; }
.mekan-card-img .no-img { font-size: 40px; color: #D4D4D4; }
.mekan-card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-wrap: wrap; }
.mekan-card-badges .badge { padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 600; background: #111; color: #fff; }
.mekan-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.mekan-card-body h5 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #111; letter-spacing: -0.2px; }
.mekan-card-body .mekan-location { display: flex; align-items: center; gap: 4px; color: #737373; font-size: 13px; margin-bottom: 12px; }
.mekan-card-body .mekan-location i { color: #2563EB; font-size: 12px; }
.mekan-card-meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #F5F5F5; }
.mekan-card-meta .meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #737373; }
.mekan-card-meta .meta-price { font-size: 14px; font-weight: 700; color: #2563EB; }

/* Popüler Overlay Kartları */
.popular-section { margin-bottom: 40px; }
.popular-section .section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #A3A3A3; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.popular-section .section-label i { color: #2563EB; }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.overlay-card { border-radius: 14px; overflow: hidden; position: relative; height: 280px; text-decoration: none; color: #fff; display: block; transition: all 0.2s; }
.overlay-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: #fff; }
.overlay-card .overlay-img { height: 100%; background: linear-gradient(135deg, #1E293B, #334155); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.overlay-card .overlay-img img { width: 100%; height: 100%; object-fit: cover; }
.overlay-card .overlay-img .no-img { font-size: 48px; color: rgba(255,255,255,0.15); }
.overlay-card .overlay-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.overlay-card .overlay-tags { display: flex; gap: 6px; margin-bottom: 10px; }
.overlay-card .overlay-tags span { padding: 3px 10px; border-radius: 4px; font-size: 10px; font-weight: 600; background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.overlay-card .overlay-content h5 { font-size: 18px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.3px; }
.overlay-card .overlay-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.7); }
.overlay-card .overlay-meta .overlay-price { color: #fff; font-weight: 700; font-size: 15px; }
.overlay-card .popular-badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 600; background: #2563EB; color: #fff; display: flex; align-items: center; gap: 4px; }

.list-section .section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #A3A3A3; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.list-section .section-label i { color: #737373; }

.results-info { font-size: 14px; color: #737373; margin-bottom: 24px; }
.results-info strong { color: #111; }

@media (max-width: 991px) { .popular-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .popular-grid { grid-template-columns: 1fr; } .overlay-card { height: 220px; } }

.empty-state { text-align: center; padding: 80px 20px; }
.empty-state i { font-size: 48px; color: #D4D4D4; margin-bottom: 16px; }
.empty-state h3 { font-size: 18px; margin-bottom: 6px; }
.empty-state p { color: #737373; font-size: 14px; }

/* Mekan Detay */
.detay-hero { background: #111; padding: 100px 0 28px; color: #fff; }
.detay-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 12px; }
.detay-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.detay-breadcrumb a:hover { color: #2563EB; }
.detay-hero h1 { font-size: 26px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.3px; }
.detay-hero .location-info { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.5); font-size: 13px; flex-wrap: wrap; }
.detay-hero .location-info i { color: #2563EB; }

/* Gallery */
.gallery-section { margin-top: -8px; padding-bottom: 32px; }
.gallery-main { border-radius: 10px; overflow: hidden; height: 380px; background: #FAFAFA; cursor: pointer; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .no-img { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 64px; color: #D4D4D4; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 6px; overflow-x: auto; }
.gallery-thumb { width: 72px; height: 54px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: #2563EB; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Detail Cards */
.detay-content { padding: 0 0 60px; }
.detay-card { background: #fff; border-radius: 10px; border: 1px solid #E5E5E5; padding: 24px; margin-bottom: 16px; }
.detay-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.2px; }
.detay-card h3 i { color: #2563EB; }

.ozellik-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.ozellik-badge { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: #FAFAFA; border-radius: 6px; font-size: 13px; color: #111; border: 1px solid #F5F5F5; }
.ozellik-badge i { color: #2563EB; font-size: 14px; }

/* Contact Card */
.contact-card { background: #111; border-radius: 10px; padding: 24px; color: #fff; margin-bottom: 16px; }
.contact-card h3 { color: #fff; margin-bottom: 16px; }
.contact-card h3 i { color: #2563EB; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.contact-item:last-child { border-bottom: none; }
.contact-item i { font-size: 16px; width: 20px; text-align: center; }
.contact-item a { color: #fff; text-decoration: none; }
.contact-item a:hover { color: #2563EB; }

/* Price Card */
.price-card { background: #fff; border: 1px solid #2563EB; border-radius: 10px; padding: 24px; text-align: center; margin-bottom: 16px; }
.price-card .price-label { font-size: 13px; color: #737373; margin-bottom: 2px; }
.price-card .price-value { font-size: 28px; font-weight: 700; color: #2563EB; }
.price-card .price-range { font-size: 13px; color: #737373; }

.sidebar-cta { padding: 12px; background: #2563EB; color: #fff; border: none; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; text-decoration: none; }
.sidebar-cta:hover { background: #1D4ED8; color: #fff; }

/* Lightbox */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; display: none; align-items: center; justify-content: center; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90%; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Pagination */
.pagination-wrapper { display: flex; justify-content: center; padding: 30px 0; }
.pagination .page-link { border-radius: 6px; margin: 0 2px; color: #111; border-color: #E5E5E5; font-size: 14px; }
.pagination .page-item.active .page-link { background: #2563EB; border-color: #2563EB; }

@media (max-width: 767px) {
    .page-header { padding: 100px 0 36px; }
    .page-header h1 { font-size: 22px; }
    .filter-group { flex-direction: column; }
    .filter-group select, .filter-group input { min-width: 100%; }
    .gallery-main { height: 240px; }
    .detay-hero h1 { font-size: 20px; }
}
