.map-page-container {
    display: grid;
    grid-template-columns: 380px 1fr 420px;
    width: 100%;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    overflow: hidden;
    background-color: var(--color-surface);
}

.filters-column, .results-column {
    background-color: var(--color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.filters-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.filters-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--color-text-primary);
}

.filters-body {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.filters-body .form-group {
    position: relative;
    margin-bottom: 15px;
}

.filters-body .form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-secondary);
}

.filters-body .form-group input,
.filters-body .form-group select {
    width: 85%;
    height: 48px;
    padding: 0 15px 0 45px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    background-color: var(--color-surface);
    font-size: 0.95rem;
    color: var(--color-text-primary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.filters-body .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px 12px;
}

.filter-group {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.filter-group h4 {
    font-size: 1rem;
    margin: 0 0 15px 0;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-slider-group .range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

#puan-filter {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: var(--color-border);
    outline: none;
    border-radius: 5px;
}

#puan-filter::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 50%;
}

#puan-value {
    font-weight: 600;
    color: var(--color-primary);
    min-width: 60px;
    text-align: center;
}

.switch-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.switch-filter {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.switch-filter input { display: none; }

.switch-filter .slider {
    position: relative;
    width: 40px;
    height: 22px;
    background-color: #ccc;
    border-radius: 34px;
    transition: 0.4s;
}

.switch-filter .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.4s;
}

.switch-filter input:checked + .slider { background-color: var(--color-primary); }
.switch-filter input:checked + .slider:before { transform: translateX(18px); }
.switch-filter .label-text { margin-left: 10px; }

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.feature-checkbox input { display: none; }

.feature-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.feature-checkbox label:hover { background-color: var(--color-surface); border-color: var(--color-secondary); }
.feature-checkbox input:checked + label { background-color: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.feature-checkbox input:checked + label i { color: var(--color-white); }

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-filter-apply, .btn-filter-clear {
    flex: 1;
    padding: 12px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-filter-apply { background-image: var(--color-gradient); color: var(--color-white); }
.btn-filter-clear { background-color: var(--color-surface); color: var(--color-text-secondary); border: 1px solid var(--color-border); }

.map-column { flex-grow: 1; height: 100%; }
#map { width: 100%; height: 100%; }

.results-container { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }

.results-header { padding: 15px 20px; border-bottom: 1px solid var(--color-border); flex-shrink: 0; }
.results-header h3 { margin: 0; font-size: 1rem; color: var(--color-text-secondary); }

.results-list { overflow-y: auto; flex-grow: 1; padding: 10px; }

.result-card {
    position: relative;
    margin: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card-inner {
    display: flex;
    gap: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    position: relative;
    z-index: 2;
}

.result-card:hover { transform: translateX(5px); }
.result-card.active .result-card-inner { border-color: var(--color-primary); box-shadow: 0 4px 15px rgba(138, 77, 171, 0.2); }

.result-card-image { width: 100px; height: 100px; flex-shrink: 0; border-radius: var(--border-radius); background-size: cover; background-position: center; }

.result-card-content { flex-grow: 1; }
.result-card-content h4 { font-size: 1.1rem; color: var(--color-text-primary); margin: 0 0 5px 0; display: flex; align-items: center; gap: 8px; }
.result-card-content h4 a { color: inherit; text-decoration: none; }
.result-card-content h4 .verified-badge { width: 16px; height: 16px; }
.result-card-meta-info { font-size: 0.85rem; color: var(--color-text-secondary); margin-bottom: 8px; }
.result-card-meta-info i { margin-right: 5px; width: 12px; text-align: center; }
.result-card-rating { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; }
.result-card-rating .stars { color: #f5b32e; }

.result-card-social { display: flex; gap: 10px; margin-top: 10px; }
.result-card-social a { color: #aaa; font-size: 1.1rem; }
.result-card-social a:hover { color: var(--color-primary); }

.gallery-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 3;
}
.result-card:hover .gallery-toggle-icon { color: var(--color-primary); }
.result-card.gallery-open .gallery-toggle-icon { color: var(--color-danger); }

.gallery-hover-box {
    position: absolute;
    top: 0;
    left: 10px;
    width: 0;
    height: 100%;
    z-index: 1;
    transition: width 0.4s ease;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.result-card.gallery-open .gallery-hover-box {
    width: calc(100% - 20px);
}

.gallery-slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.gallery-slider-track { display: flex; height: 100%; transition: transform 0.5s ease; }
.gallery-slide { min-width: 100%; height: 100%; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
}
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-placeholder { font-size: 0.9em; color: #999; text-align: center; padding: 20px; display: flex; align-items: center; justify-content: center; height: 100%; background: #f0f0f0; }

.loader-wrapper { display: flex; justify-content: center; align-items: center; padding: 40px; }
.loader { border: 5px solid var(--color-surface); border-top: 5px solid var(--color-primary); border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.no-results-message { text-align: center; padding: 50px 20px; color: var(--color-text-secondary); }
.no-results-message i { font-size: 3rem; margin-bottom: 15px; color: var(--color-border); }

.custom-map-marker {
    position: relative;
    width: 60px;
    height: 70px;
}

.marker-bubble {
    width: 54px;
    height: 54px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 3px solid var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.marker-bubble.hover, .marker-bubble.active {
    border-color: var(--color-blue);
    transform: scale(1.1);
}

.marker-bubble img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marker-bubble-arrow {
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid var(--color-primary);
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    transition: border-top-color 0.2s ease;
}

.marker-bubble.hover + .marker-bubble-arrow,
.marker-bubble.active + .marker-bubble-arrow {
    border-top-color: var(--color-blue);
}

.leaflet-popup-content-wrapper { border-radius: var(--border-radius); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.leaflet-popup-content { margin: 13px !important; }
.custom-popup { font-family: var(--font-family); min-width: 250px; }
.custom-popup img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 10px; }
.custom-popup h5 { font-size: 1rem; margin: 0 0 8px 0; }
.custom-popup h5 a { color: inherit; text-decoration: none; }
.custom-popup p { font-size: 0.85rem; margin: 0 0 10px 0; color: var(--color-text-secondary); }

@media (max-width: 1200px) { .map-page-container { grid-template-columns: 320px 1fr 360px; } }
@media (max-width: 992px) {
    .map-page-container { grid-template-columns: 1fr; height: auto; }
    .map-column { order: 1; height: 50vh; min-height: 300px; }
    .filters-column, .results-column { order: 2; border: none; max-height: none; }
    .results-column { display: none; }
}
.leaflet-popup-content-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 0 !important;
    width: 280px !important;
}

.leaflet-popup-close-button {
    top: 5px !important;
    right: 5px !important;
    width: 30px !important;
    height: 30px !important;
    background: rgba(0,0,0,0.5) !important;
    color: white !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    line-height: 30px !important;
    text-align: center !important;
    z-index: 20;
}

.custom-popup {
    min-width: 280px;
    width: 280px;
}

.popup-slider-container {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.popup-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s ease-in-out;
}

.popup-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.popup-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.popup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.popup-dot.active {
    background-color: #ffffff;
    transform: scale(1.2);
}

.custom-popup .popup-info {
    padding: 15px;
}

.custom-popup h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.custom-popup h5 a {
    color: var(--color-text-primary);
}

.custom-popup p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}