/* Landing Page & Map Structure - DO NOT MODIFY WITHOUT CONSULTING THE USER */
/* map.css - Map, Filters and POI Detail Styles */

#map-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1100;
    background: var(--dark);
    display: none;
    padding: 0;
}

#map-section.active {
    display: block;
}

#map {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 10;
}

#close-map {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    padding: 1rem 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

#map-section.active #toggle-filter-btn {
    display: flex;
}

/* Map Control Positioning - Right Bottom as requested */
.leaflet-bottom.leaflet-right {
    bottom: 20px !important;
    right: 20px !important;
}

#toggle-filter-btn {
    position: fixed;
    top: 100px;
    /* Moved up as zoom is gone */
    left: 20px;
    z-index: 1300;
}

#map-section.active #toggle-filter-btn {
    display: flex;
}

.map-controls-top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1100;
}

.map-control-toggle {
    width: 50px;
    height: 50px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.map-control-toggle:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    transform: translateY(-2px);
    border-color: var(--primary) !important;
}

.map-control-toggle.active {
    background: var(--primary) !important;
    color: var(--dark) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.map-control-toggle .material-icons {
    font-size: 24px;
}

/* Custom Zoom Control Styling */
.leaflet-bar {
    border: 1px solid var(--border) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    border-radius: 12px !important;
    overflow: hidden;
}

.leaflet-bar a {
    background-color: var(--dark-lighter) !important;
    color: var(--light) !important;
    border-bottom: 1px solid var(--border) !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    transition: 0.2s !important;
}

.leaflet-bar a:hover {
    background-color: var(--primary) !important;
    color: var(--dark) !important;
}

.leaflet-container {
    background: var(--dark-lighter);
    font-family: 'Outfit', sans-serif;
}

/* Markers & Custom Icons */
.custom-cluster-icon {
    background: var(--primary);
    border: 4px solid var(--glass);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
    backdrop-filter: blur(5px);
}

.poi-marker-div {
    background: none;
    border: none;
}

.poi-marker-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 6px;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.poi-marker-container.free-verified {
    border: 3.5px solid #10b981;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.7), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.poi-marker-icon {
    width: 26px;
    height: 26px;
    display: block;
}

.poi-marker-container:hover {
    transform: scale(1.15);
    z-index: 1000;
}

.warning-marker-div {
    background: none !important;
    border: none !important;
}

.warning-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.warning-marker:hover {
    transform: scale(1.2);
    z-index: 2000;
}

.warning-marker .material-icons {
    font-size: 16px;
    color: white;
}

.unverified-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    color: #f59e0b;
    background: white;
    border-radius: 50%;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unverified-badge .material-icons {
    font-size: 14px;
}

.premium-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ffc107;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.premium-badge .material-icons {
    font-size: 10px;
    color: white;
    font-weight: bold;
}

/* Popups matches Mobile App */
.dark-popup .leaflet-popup-content-wrapper {
    background: #111827 !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

.dark-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 280px !important;
}

.dark-popup .leaflet-popup-tip {
    background: #111827 !important;
}

.popup-header-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.popup-content-inner {
    padding: 16px;
}

.popup-type-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.popup-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 4px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.feature-item .material-icons {
    font-size: 18px;
    color: var(--primary);
}

.feature-item.off .material-icons {
    color: #475569;
}

.feature-item span {
    font-size: 0.55rem;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

/* Feature Categorization & Full Status */
.features-scroll-wrapper {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 1rem;
    margin-bottom: 2rem;
    mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.features-scroll-wrapper::-webkit-scrollbar {
    width: 6px;
}

.features-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.features-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.features-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.poi-feature-group {
    margin-bottom: 2.5rem;
}

.poi-feature-group h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.poi-features-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.feature-status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.3s;
    height: 100%;
    overflow: visible;
    min-width: 0;
}

.feature-status-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.feature-status-item .material-icons {
    font-size: 22px;
    color: var(--light);
    opacity: 0.6;
    flex-shrink: 0;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-status-item.active .material-icons {
    color: var(--primary);
    opacity: 1;
}

.feature-status-item.inactive .material-icons {
    opacity: 0.25;
    color: #94a3b8;
    filter: none;
}

.status-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    z-index: 1;
    border: 2px solid #111827;
}

.status-indicator.check {
    background: #10b981;
    color: #064e3b;
}

.status-indicator.cross {
    background: #ef4444;
    color: #450a0a;
}

.status-indicator .material-icons {
    font-size: 10px !important;
    font-weight: 900;
}

.feature-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #f8fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.25;
    flex: 1;
    text-align: left;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: none;
}

.feature-status-item.inactive {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-status-item.inactive .feature-label {
    opacity: 0.7;
    /* Increased from 0.5 for better legibility */
}

.popup-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
    line-height: 1.2;
}

.popup-info-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.popup-info-row .material-icons {
    font-size: 16px;
    color: #64748b;
    margin-top: 2px;
}

.popup-info-text {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}

.popup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.btn-popup-main {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-popup-route {
    background: var(--primary);
    color: var(--dark);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-popup-nav {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Filter Sidebar - Full Height */
#filter-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 320px;
    height: 100vh;
    background: var(--dark-lighter);
    z-index: 2000;
    /* Higher to cover header */
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid var(--border);
    padding: 4rem 2rem 2rem 2rem;
    overflow-y: auto;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
}

.close-sidebar {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.close-sidebar:hover {
    background: var(--primary);
    color: var(--dark);
    border-color: var(--primary);
}

#filter-sidebar.active {
    left: 0;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--light);
}

.filter-input {
    width: 100%;
    background: var(--dark);
    border: 1px solid var(--border);
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    font-family: inherit;
}

.theme-light #filter-sidebar {
    background: #ffffff;
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.05);
}

.theme-light .filter-input {
    background: #f8fafc;
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.1);
}

.discovery-label-div {
    background: none !important;
    border: none !important;
    overflow: visible !important;
}

/* Spot Preview Tooltip for Map */
.discovery-label-flutter {
    background: var(--primary);
    color: var(--dark);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    transform: translate(-50%, -50%);
    width: max-content;
}

.discovery-label-flutter:hover {
    transform: translate(-50%, -55%);
    background: var(--primary-light);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.5);
}

/* Floating Preview Card */
.preview-card {
    position: fixed;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 16px;
    display: flex;
    gap: 16px;
    z-index: 1500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
}

.preview-card.active {
    bottom: 30px;
}

.preview-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 16px;
    background: #1f2937;
}

.preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.preview-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white !important;
    line-height: 1.2;
}

.preview-meta {
    font-size: 0.85rem;
    color: #94a3b8 !;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.preview-features {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.preview-features .material-icons {
    font-size: 18px;
    color: var(--primary);
}

.preview-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.btn-preview-main {
    flex: 1;
    background: var(--primary);
    color: var(--dark);
    padding: 10px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-preview-close {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* POI Details Modal (Large Full View) */
#poi-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

#poi-details-overlay.active {
    display: flex;
}

.poi-details-modal {
    background: #0f172a;
    width: 95%;
    max-width: 1400px;
    max-height: 95vh;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
}

.poi-details-header {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.poi-details-body {
    overflow-y: auto;
    flex: 1;
    scroll-behavior: smooth;
    position: relative;
}

/* Make features non-scrolling to let the page scroll take over */
.features-scroll-wrapper {
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
    mask-image: none !important;
}

.poi-detail-container {
    position: relative;
    min-height: 100%;
}

.poi-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1100px;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.poi-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.2) 0%,
            rgba(15, 23, 42, 0.7) 35%,
            rgba(15, 23, 42, 1) 100%);
}

.poi-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 4rem;
}

.poi-main-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 4rem;
    align-items: start;
}

.poi-right {
    position: sticky;
    top: 0;
}

.poi-description-box {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 4rem;
}

.poi-description {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.15rem;
    margin-bottom: 0;
}

.poi-offers-box {
    background: rgba(245, 158, 11, 0.08);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(245, 158, 11, 0.3);
    margin-bottom: 4rem;
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.offer-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.offer-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.offer-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #f59e0b;
    color: #fff;
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    border-bottom-left-radius: 12px;
    letter-spacing: 1px;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.2);
}

.offer-title {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-description {
    margin: 0;
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.6;
    opacity: 0.95;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-date {
    font-size: 0.9rem;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.offer-date .material-icons {
    font-size: 18px;
    color: #f59e0b;
}

.offer-price-container {
    text-align: right;
}

.offer-price {
    font-size: 1.8rem;
    font-weight: 900;
    color: #f59e0b;
    line-height: 1;
}

.offer-persons {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.poi-description p {
    margin-bottom: 1rem;
}


.poi-description h1,
.poi-description h2,
.poi-description h3 {
    color: var(--primary);
    margin-top: 1.8rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.poi-description h1 {
    font-size: 1.8rem;
}

.poi-description h2 {
    font-size: 1.5rem;
}

.poi-description h3 {
    font-size: 1.3rem;
}

.poi-description h4 {
    color: white;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.poi-description ul,
.poi-description ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.poi-description li {
    margin-bottom: 0.5rem;
}

.poi-description b,
.poi-description strong {
    color: white;
    font-weight: 700;
}

.poi-description a {
    color: var(--primary);
    text-decoration: underline;
}

.info-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2rem;
}

.info-card h3 {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: #f8fafc;
    text-decoration: none;
    transition: 0.2s;
}

.contact-item.highlight-box {
    background: rgba(16, 185, 129, 0.15);
    padding: 0.9rem;
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.contact-item.highlight-box:hover {
    background: rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.contact-item .material-icons {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--primary);
}

/* Detail Modal Gallery & Reviews */
.gallery-section {
    margin-top: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-container h4 {
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border: solid 3px rgba(255, 0, 0, 0.1);
}

.gallery-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}

.reviews-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.review-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    font-weight: 700;
    color: var(--primary);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.review-stars {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-date {
    font-size: 0.8rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .poi-main-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .poi-hero {
        height: 300px;
    }

    .poi-hero-content {
        left: 2rem;
    }
}

/* Search Box on Map */
.search-container {
    background: var(--glass);
    padding: 0.5rem;
    border-radius: 16px;
    display: flex;
    gap: 0.5rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.search-results-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-lighter);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 8px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
}

.search-result-item {
    padding: 1rem;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid transparent;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.search-result-item b {
    color: var(--primary);
    font-size: 1.05rem;
    display: block;
}

.search-result-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.search-result-item small {
    font-weight: normal;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    #filter-sidebar {
        bottom: 0;
        top: auto;
        width: 100%;
        height: 80vh;
        transform: translateY(100%);
    }

    #filter-sidebar.active {
        transform: translateY(0);
    }

    .poi-details-modal {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .poi-main-content {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
}

.theme-light .search-results-container {
    background: white;
    border-color: rgba(15, 23, 42, 0.1);
}

.theme-light .search-result-item:hover {
    background: #f1f5f9;
}

.theme-light .search-result-item span {
    color: #475569;
}