﻿/* catalog/css/location-detail.css */

/* Location header */
.location-header-card {
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.header-img-wrapper {
    min-height: 400px;
    height: 100%;
}

.badge-glass-dark {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* Stats */
.stat-card {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.stat-card:hover {
    transform: translateY(-3px);
}

/* Object list */
.object-card-mini {
    transition: all 0.3s ease;
    border-radius: 16px;
    cursor: pointer;
}

.object-card-mini:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
    transform: translateX(5px);
}

.object-card-img-container {
    height: 180px;
}

/* Sidebar and category buttons */
.sidebar-card {
    border-radius: 20px;
}

.btn-category-pill {
    background-color: transparent;
    border: 1px solid #eee;
    color: #212529;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.btn-category-pill:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    color: #0d6efd;
}

/* Pagination */
.pagination-animated .page-link {
    border: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin: 0 2px;
    color: #6c757d;
}

.pagination-animated .page-item.active .page-link {
    background-color: #0d6efd;
    color: #fff;
}

/* Map */
.map-container {
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

#locationMap {
    height: 450px;
    width: 100%;
}

/* Empty states */
.empty-objects-state {
    padding: 3rem;
    text-align: center;
    background-color: #fff;
    border-radius: 24px;
    border: 1px dashed #dee2e6;
}

/* Align location page to the menu grid */
.location-detail-shell {
    width: 100%;
    max-width: var(--site-container-max, 1600px);
    margin-left: auto;
    margin-right: auto;
}

/* Keep location cards steady on the detail page */
.location-detail-shell > .card,
.location-detail-shell .row > [class*="col-"] > .card {
    width: 100%;
}

/* Softer inner spacing on medium screens */
@media (max-width: 1199.98px) {
    .location-detail-shell .card-body {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .location-detail-shell .card-body {
        padding: 1.25rem !important;
    }
}
