/* Sidebar Container - Compact per user request */
/* Sidebar (Card List on Right)
   Position: FIXED right: 0;
   Width: 320px (desktop) - NARROWED per user request
   Transform: translateX(100%) when .hidden (slides TO THE RIGHT, off-screen)
*/
.gez360-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px !important;
    /* Reduced from 320px */
    height: 100vh;
    background: rgba(235, 255, 246, 0.86) !important;
    /* Sidebar background */
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10001;
    transition: transform 0.3s;
    padding-top: 8px !important;
    /* Reduced top padding per user request */
}

/* Hide Redundant Close Button in Sidebar (User Request #5) */
.gez360-sidebar-close {
    display: none !important;
}

.gez360-sidebar.active {
    right: 0;
}

/* Sidebar HIDDEN state - slides off-screen to the right */
.gez360-sidebar.hidden {
    transform: translateX(100%) !important;
}

/* Sidebar List Wrapper */
.gez360-sidebar-list {
    padding: 8px 10px 10px 15px !important;
    /* Reduced top padding */
}

/* Sidebar Card Styling */
.gez360-sidebar .gez360-card-col {
    padding: 0;
}

.gez360-sidebar .gez360-card-item {
    margin-bottom: 12px !important;
    /* Reduced from 20px */
    background: transparent !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    /* Increased shadow for embossed effect */
    transition: all 0.3s ease !important;
    border: none !important;
    position: relative;
    z-index: 1;
    padding: 0 !important;
}

/* Force removal of any gray background from internal containers */
.gez360-sidebar .gez360-card-item>div,
.gez360-sidebar .gez360-card-item .gez360-info-wrapper,
.gez360-sidebar .gez360-card-item .gez360-card {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Inner elements get white background */
.gez360-sidebar .gez360-card-item .gez360-card {
    background: #fff !important;
    border-radius: 6px;
    overflow: hidden;
}

.gez360-sidebar .gez360-card-item:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Description Area - No z-index so border animation shows around card */
.gez360-sidebar .gez360-card-item .desc {
    padding: 8px 12px !important;
    /* Reduced padding for compact design */
    background: transparent;
    /* Transparent so border shows */
    border-radius: 0 0 8px 8px;
    position: relative;
}

/* Inner card - also transparent */
.gez360-sidebar .gez360-card {
    background: transparent !important;
    overflow: visible !important;
}

.gez360-sidebar .gez360-card .content {
    background: #fff;
    border-radius: 0 0 6px 6px;
    padding: 8px 12px !important;
    /* Reduced from 20px */
}

.gez360-sidebar .gez360-card-item .name {
    font-size: 15px !important;
    /* Slightly smaller for density */
    font-weight: 700;
    color: #252525;
    margin: 5px 0 2px 0 !important;
    /* Tight margins */
}

.gez360-sidebar .gez360-card-item .text {
    font-size: 12px !important;
    color: #777;
    margin-bottom: 8px !important;
    /* Reduced space before buttons */
    line-height: 1.4 !important;
}

.gez360-sidebar .gez360-card-item .category {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
}

/* =========================================
   SQUARE ROTATING BORDER ANIMATION (WHOLE CARD)
   ========================================= */

/* Image Wrapper (Reset Padding, just hold the image) */
.gez360-sidebar .gez360-card-item .image {
    position: relative;
    padding: 0;
    margin: 0;
    background: transparent;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    z-index: 2;
}

/* Card Logo / Image Styling - MICRO SCALED */
.gez360-sidebar .gez360-card-item .gez360-card-media img {
    width: 48px !important;
    /* Reduced from 60px */
    height: 48px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 1px solid #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    margin: 6px !important;
    display: block !important;
}

/* The Animated Border Container - Applied Strictly to Works Item */
.gez360-sidebar .gez360-card-item::before {
    content: '';
    position: absolute;
    /* Tighten border thickness to 2px to remove gaps shown in green frame */
    top: -2px;
    right: -2px;
    bottom: -2px;
    left: -2px;
    z-index: -1;
    border-radius: 8px;
    /* Slightly larger than card */
    background-size: 50px 50px;
    /* Thicker Stripes */
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Specific Classes applied to .works-item */

/* 0. NONE - No border animation */
.gez360-border-none::before {
    display: none !important;
}

/* 1. Red & White Stripes Pattern */
.gez360-border-red_white::before {
    background-image: repeating-linear-gradient(45deg,
            #e74c3c,
            #e74c3c 50px,
            #ffffff 50px,
            #ffffff 100px);
}

/* 2. Google Colors Pattern - Kırmızı, Mavi, Yeşil (Sarı iptal) */
.gez360-border-google::before {
    background-image: repeating-linear-gradient(45deg,
            #e74c3c, #e74c3c 50px,
            #4285F4 50px, #4285F4 100px,
            #34A853 100px, #34A853 150px);
}

/* 3. Black & White Pattern - DOUBLED THICKNESS */
.gez360-border-bw::before {
    background-image: repeating-linear-gradient(45deg,
            #000000,
            #000000 50px,
            #ffffff 50px,
            #ffffff 100px);
}

/* Hover Animation Trigger */
.gez360-sidebar .gez360-card-item:hover::before {
    opacity: 1;
    animation: gez360-border-slide 1s linear infinite;
}

@keyframes gez360-border-slide {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 0;
    }
}

/* Image Styling - REDUCED HEIGHT for more visible cards */
.gez360-sidebar .gez360-card-item .image img,
.gez360-sidebar .gez360-card-item .media img {
    height: 140px !important;
    max-height: 140px !important;
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

/* =========================================
   MAP & CONTROLS LAYOUT 
   ========================================= */

body.gez360-map-fullscreen .gez360-map {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
    display: block !important;
    opacity: 1 !important;
}

.gez360-map-hidden {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
}

.gez360-map-visible {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}

/* ==============================================
   PC/TABLET SIDEBAR CARD YENİ TASARIM
   ============================================== */

@media screen and (min-width: 768px) {

    /* Gri dış konteyner - Border animasyon burda */
    .gez360-sidebar .gez360-card-item {
        margin-bottom: 10px;
        /* Azaltıldı: 15px -> 10px */
        background: transparent !important;
        border-radius: 10px;
        /* Azaltıldı: 12px -> 10px */
        overflow: visible !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
        transition: transform 0.3s ease;
        padding: 0 !important;
        position: relative;
        z-index: 1;
    }

    /* Border animasyon ::before (eşit padding 4px her kenarda) */
    .gez360-sidebar .gez360-card-item::before {
        content: '';
        position: absolute;
        top: -4px;
        right: -4px;
        bottom: -4px;
        left: -4px;
        z-index: -1;
        border-radius: 12px;
        background-size: 50px 50px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gez360-sidebar .gez360-card-item.gez360-border-google::before {
        background-image: repeating-linear-gradient(45deg,
                #e74c3c, #e74c3c 50px,
                #4285F4 50px, #4285F4 100px,
                #34A853 100px, #34A853 150px);
    }

    .gez360-sidebar .gez360-card-item.gez360-border-red_white::before {
        background-image: repeating-linear-gradient(45deg,
                #e74c3c, #e74c3c 50px,
                #ffffff 50px, #ffffff 100px);
    }

    .gez360-sidebar .gez360-card-item.gez360-border-bw::before {
        background-image: repeating-linear-gradient(45deg,
                #000000, #000000 50px,
                #ffffff 50px, #ffffff 100px);
    }

    .gez360-sidebar .gez360-card-item:hover::before {
        opacity: 1;
        animation: gez360-border-slide 1s linear infinite;
    }

    .gez360-sidebar .gez360-card-item:hover {
        transform: translateY(-5px);
        z-index: 10;
    }

    /* Gri iç konteyner (padding azaltıldı) */
    .gez360-sidebar .gez360-card-item>div {
        background: #e4e8ed;
        border-radius: 10px;
        padding: 4px;
        /* Azaltıldı: 8px -> 4px */
    }

    /* Beyaz iç kart */
    .gez360-sidebar .gez360-card-item .gez360-card {
        background: #fff !important;
        border-radius: 6px;
        /* Azaltıldı: 8px -> 6px */
        overflow: hidden;
    }

    /* Logo alanı - yükseklik ve padding azaltıldı */
    .gez360-sidebar .gez360-card-item .media,
    .gez360-sidebar .gez360-card-item .image {
        width: 100%;
        height: 100px !important;
        /* Azaltıldı: 140px -> 100px */
        background: #f5f5f5;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px;
        /* Azaltıldı: 15px -> 8px */
        border-radius: 6px 6px 0 0;
        overflow: hidden;
        position: relative;
    }

    .gez360-sidebar .gez360-card-item .media img,
    .gez360-sidebar .gez360-card-item .image img {
        width: 70px !important;
        /* Azaltıldı: 100px -> 70px */
        height: 70px !important;
        max-width: 70px !important;
        max-height: 70px !important;
        border-radius: 50% !important;
        object-fit: cover;
        border: 2px solid #fff;
        /* Azaltıldı: 3px -> 2px */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        animation: none !important;
    }

    /* İçerik padding azaltıldı */
    .gez360-sidebar .gez360-card .content {
        background: #fff;
        padding: 8px !important;
        /* Azaltıldı: 15px -> 8px */
        text-align: center;
        border-radius: 0 0 6px 6px;
    }

    /* Başlık - font ve margin azaltıldı */
    .gez360-sidebar .gez360-card-item .title {
        font-size: 14px !important;
        /* Azaltıldı: 16px -> 14px */
        font-weight: 700 !important;
        color: #252525;
        margin: 0 0 2px 0 !important;
        /* Azaltıldı: 4px -> 2px */
        display: block !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    /* Kategori - margin düzeltme */
    .gez360-sidebar .gez360-card-item .category {
        font-size: 10px !important;
        text-transform: uppercase;
        color: #999;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
        /* Azaltıldı: 12px -> 6px */
        margin-top: 0;
        display: block !important;
        width: 100%;
    }

    /* Butonlar - margin azaltıldı */
    .gez360-sidebar .gez360-card-item .actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px !important;
        /* Azaltıldı: 8px -> 6px */
        margin-top: 6px;
        /* Azaltıldı: 12px -> 6px */
    }

    .gez360-sidebar .gez360-btn-review,
    .gez360-sidebar .gez360-btn-directions {
        flex: 1;
        padding: 5px 10px !important;
        /* Azaltıldı: 8px 12px -> 5px 10px */
        font-size: 11px !important;
        /* Azaltıldı: 12px -> 11px */
        border-radius: 4px !important;
        font-weight: 600;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .gez360-sidebar .gez360-btn-review i,
    .gez360-sidebar .gez360-btn-directions i {
        margin-right: 5px !important;
        font-size: 12px !important;
    }
}

/* MOBILE SIDEBAR - HORIZONTAL BOTTOM SHEET */
@media screen and (max-width: 767px) {

    /* Sidebar at bottom - ALTA YAPIŞIK + PADDING */
    .gez360-sidebar {
        position: fixed !important;
        top: auto !important;
        bottom: 0 !important;
        /* ALTA YAPISIK */
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 140px !important;
        /* Biraz daha yüksek */
        padding: 12px 15px 20px 15px !important;
        /* Alt padding artırıldı */
        background: #e4e8ed !important;
        border-radius: 16px 16px 0 0 !important;
        /* Üst köşeler yuvarlak */
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        z-index: 100000 !important;
        transform: none !important;
        display: block !important;
    }

    .gez360-sidebar.active {
        transform: none !important;
    }

    /* Sidebar list horizontal - ABSOLUTE ZERO PADDING */
    .gez360-sidebar .gez360-sidebar-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0px !important;
        /* No gap for truly full bleed if needed, or tiny gap */
        padding: 0 !important;
        margin: 0 !important;
        white-space: nowrap !important;
    }

    /* Compact mobile cards */
    /* Compact mobile cards - NO PADDING for clean look */
    .gez360-sidebar .gez360-card-item {
        display: inline-block !important;
        width: 120px !important;
        min-width: 120px !important;
        flex-shrink: 0 !important;
        white-space: normal !important;
        vertical-align: top !important;
        margin-bottom: 0 !important;
        margin-right: 10px !important;
        /* FIXED: Added spacing between cards */
        padding: 0 !important;
        background: #fff !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }

    /* HIDE animation border on mobile */
    .gez360-sidebar .gez360-card-item::before {
        display: none !important;
    }

    /* Image 100% width - STRETCH TO SIDES */
    .gez360-sidebar .gez360-card-item .media {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 55px !important;
        overflow: hidden !important;
    }

    .gez360-sidebar .gez360-card-item .media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 6px 6px 0 0 !important;
        display: block !important;
        transform: scale(1.05);
        /* Increased stretch/zoom for full bleed */
    }

    /* Smaller PNG icons on mobile */
    .gez360-sidebar .gez360-overlay-icon img {
        max-height: 25px !important;
        max-width: 25px !important;
    }

    /* Content area compact */
    .gez360-sidebar .gez360-card .content {
        padding: 4px !important;
    }

    /* Title smaller */
    .gez360-sidebar .gez360-card-item .title {
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin: 2px 0 !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    /* HIDE category in mobile */
    .gez360-sidebar .gez360-card-item .category {
        display: none !important;
    }

    /* ICON-ONLY buttons side by side */
    .gez360-sidebar .actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 2px !important;
        /* REDUCED gap */
        margin-top: 2px !important;
        /* REDUCED margin */
    }

    .gez360-sidebar .gez360-btn-review,
    .gez360-sidebar .gez360-btn-directions {
        width: 50% !important;
        padding: 2px 0 !important;
        /* REDUCED: Smaller buttons for compact cards */
        font-size: 0 !important;
        /* Hide text */
        justify-content: center !important;
    }

    /* Show only icons - BIGGER */
    .gez360-sidebar .gez360-btn-review i,
    .gez360-sidebar .gez360-btn-directions i {
        font-size: 16px !important;
        margin: 0 !important;
    }

    /* Mobil Kapat Butonu - Sadece X, yuvarlak */
    #gez360-close-map {
        position: fixed !important;
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        z-index: 100005 !important;
        background: #fff !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        /* YUVARLAK */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
        font-size: 18px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Mobil: +/- Zoom gizle */
    .leaflet-control-zoom,
    .leaflet-control-zoom-in,
    .leaflet-control-zoom-out {
        display: none !important;
    }

    /* Mobil: Reset KAPAT BUTUNUNUN SOLUNA, tek satır */
    .gez360-map-controls-top-left {
        position: fixed !important;
        top: 15px !important;
        right: 60px !important;
        /* Kapat butonunun solunda */
        left: auto !important;
        bottom: auto !important;
        flex-direction: row !important;
        gap: 8px !important;
        z-index: 10003 !important;
    }

    /* Reset button mobil override */
    #gez360-reset-map {
        position: static !important;
    }

    /* Mobil: Kapat butonu ÜSTTE SAĞ - circular X */
    .gez360-map-controls-bottom-left {
        top: 15px !important;
        right: 15px !important;
        left: auto !important;
        bottom: auto !important;
        z-index: 10003 !important;
    }

    .gez360-btn-close {
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        padding: 0 !important;
    }

    .gez360-close-text {
        display: none !important;
    }

    .gez360-btn-close i {
        margin: 0 !important;
    }

    /* Mobil: Sidebar Toggle - Minimal, yukarı/aşağı ok */
    .gez360-sidebar-toggle {
        position: absolute;
        top: 10px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
    }

    .gez360-sidebar-toggle i {
        font-size: 16px !important;
        transform: rotate(90deg) !important;
        /* Down arrow */
    }

    .gez360-sidebar.hidden~.gez360-sidebar-toggle {
        position: fixed !important;
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .gez360-sidebar.hidden~.gez360-sidebar-toggle i {
        transform: rotate(-90deg) !important;
        /* Up arrow */
    }

    /* Mobil sidebar bottom positioning */
    .gez360-sidebar {
        top: auto !important;
        bottom: 0 !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
    }

    .gez360-sidebar.hidden {
        transform: translateY(100%) !important;
    }

    /* Redundant mobile toggles styles removed */
}

/* Pin Size Reduction */
.leaflet-div-icon,
.leaflet-marker-icon {
    /* Standard sizing handled by JS iconSize */
}

/* Mobile Responsive Only (<768px) - User Request #6 */
/* Consistently handle map controls in the main mobile block above */

/* Card Sizing - Make smaller (User Request #3) */
.gez360-card .media img {
    height: 160px;
    /* Reduced from default/responsive */
    object-fit: cover;
}

.gez360-card .content {
    padding: 10px 15px;
    /* Tighter padding */
}

.gez360-card .header .title {
    font-size: 16px;
}

margin-top: -36px !important;
width: 36px !important;
height: 36px !important;
}

.leaflet-marker-pin {
    width: 36px !important;
    height: 36px !important;
    margin: -18px 0 0 -18px !important;
}

.leaflet-marker-pin:after {
    width: 24px !important;
    height: 24px !important;
    margin: -12px 0 0 -12px !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

.leaflet-marker-pin-border {
    width: 44px !important;
    height: 44px !important;
    margin: -22px 0 0 -22px !important;
}

.leaflet-div-icon i {
    font-size: 18px !important;
    line-height: 40px !important;
}

/* Border Animation Fix - Only Around Box/Image (User Request #6) */
.gez360-card {
    position: relative;
    overflow: visible !important;
    /* Allow border to show */
    z-index: 1;
    /* Base z-index */
}

/* Apply border specifically to the card container or image wrapper if preferred, 
   but user asked for "box animation". We'll keep it on the card but fix Z-index ordering. */
.gez360-card:before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    /* BEHIND the card content */
    background-size: 50px 50px;
    animation: none;
    opacity: 0;
    border-radius: 6px;
    transition: opacity 0.3s;
}

.gez360-card-item.gez360-border-red_white .gez360-card:before {
    background-image: linear-gradient(45deg, #FF0000 25%, #ffffff 25%, #ffffff 50%, #FF0000 50%, #FF0000 75%, #ffffff 75%, #ffffff 100%);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.gez360-card-item.gez360-border-google .gez360-card:before {
    background-image: linear-gradient(45deg, #4285F4 25%, #EA4335 25%, #EA4335 50%, #34A853 50%, #34A853 75%, #4285F4 75%, #4285F4 100%);
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.3);
}

.gez360-card-item.gez360-border-bw .gez360-card:before {
    background-image: linear-gradient(45deg, #000000 25%, #ffffff 25%, #ffffff 50%, #000000 50%, #000000 75%, #ffffff 75%, #ffffff 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gez360-card-item:hover .gez360-card:before,
.gez360-card.active:before {
    animation: gez360-border-slide 2s linear infinite;
    opacity: 1;
}

/* Ensure Text is Readable over any background */
.gez360-card .content {
    background: #fff;
    position: relative;
    z-index: 2;
    /* ABOVE the border */
    border-radius: 0 0 4px 4px;
}

.gez360-card .media {
    position: relative;
    z-index: 2;
    border-radius: 4px 4px 0 0;
}

/* Zoom kontrolleri - SOL ALT, Sidebar ÜSTÜNDE */
.leaflet-control-zoom {
    position: fixed !important;
    top: auto !important;
    left: 20px !important;
    right: auto !important;
    bottom: 80px !important;
    margin: 0 !important;
    z-index: 10002 !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.leaflet-bar a {
    background-color: #fff !important;
    color: #333 !important;
    border-bottom: 1px solid #eee !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-weight: bold !important;
    font-size: 16px !important;
}

/* 2. Reset Button - SOL ALT, Zoom ile aynı hizada */
.gez360-map-controls-top-left {
    position: fixed;
    top: auto;
    left: 20px;
    right: auto;
    bottom: 20px;
    z-index: 10002 !important;
}

.gez360-btn-reset {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #333;
    border: none;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.gez360-btn-reset:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* 3. Haritayı Kapat - PC SAĞ ÜST */
.gez360-map-controls-bottom-left {
    position: fixed;
    top: 20px !important;
    right: 20px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 10002 !important;
}

.gez360-btn-close {
    background: #fff;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.gez360-btn-close i {
    margin: 0;
}

.gez360-btn-close:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* =========================================
   SIDEBAR TOGGLE BUTTON
   ========================================= */
/* PC: Sidebar kenarında, ortada */
.gez360-sidebar-toggle {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    background: #fff;
    border: none;
    width: 80px;
    height: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gez360-sidebar-toggle:hover {
    background: #f8f8f8;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.gez360-sidebar-toggle i {
    font-size: 14px;
    color: #333;
    transition: transform 0.3s ease;
}

/* Sidebar gizliyken - slides RIGHT, toggle ekranın altında ortada */
.gez360-sidebar.hidden {
    transform: translateX(100%);
}

.gez360-sidebar.hidden~.gez360-sidebar-toggle {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
}

.gez360-sidebar.hidden~.gez360-sidebar-toggle i {
    transform: rotate(180deg);
    /* Ok ters döner (aç) */
}

/* Directions & Review Button Styles (User Phase 7 - Aesthetic Update) */
.gez360-btn-review,
.gez360-btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    /* Smaller padding */
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 11px;
    /* Smaller font */
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex: 1;
    /* Equal width */
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gez360-btn-review i,
.gez360-btn-directions i {
    margin-right: 6px;
    transition: color 0.3s;
}

.gez360-btn-review i {
    color: #ffb400;
    /* Gold Star */
}

.gez360-btn-directions i {
    color: #4285F4;
    /* Blue Direction */
}

/* Hover Effect: Black BG, White Text, Inset Animation */
.gez360-btn-review:hover,
.gez360-btn-directions:hover,
#gez360-close-map:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

#gez360-close-map:hover i {
    color: #fff !important;
}

.gez360-btn-review:hover i,
.gez360-btn-directions:hover i {
    color: #fff;
    /* Icons turn white on black bg */
}

/* Website Button Style */
.gez360-btn-website {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.gez360-btn-website i {
    color: #333;
    margin-right: 4px;
}

.gez360-btn-website:hover {
    background-color: #000;
    color: #fff !important;
    border-color: #000;
}

.gez360-btn-website:hover i {
    color: #fff;
}

/* Equal sizing for 3-column buttons - REDUCED PADDING */
.gez360-btn-review,
.gez360-btn-directions {
    flex: 1;
    padding: 5px 8px;
    font-size: 11px;
}

/* Ensure popup hover icon transitions work */

/* Sidebar Close X (Top Right of Sidebar) - HIDDEN via Line 19 */
.gez360-sidebar-close {
    /* display: none !important; */
}

/* Header Launch Button */
.gez360-launch-header.gez360-header-with-map {
    width: 100%;
    height: 250px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

#gez360-header-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gez360-launch-btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.gez360-launch-btn-text {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #252525;
    transition: all 0.3s ease;
}

.gez360-launch-btn:hover .gez360-launch-btn-text {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #000;
}

.gez360-launch-btn i {
    margin-right: 12px;
    font-size: 18px;
    color: #252525;
}

.gez360-launch-btn:hover i {
    color: #000;
}

/* Dark Category Pins */
.gez360-cat-google-sanal-tur .leaflet-marker-pin,
.gez360-cat-google-sanal-tur .leaflet-div-icon:hover .leaflet-marker-pin {
    background-color: #145A32;
}

.gez360-cat-matterport .leaflet-marker-pin,
.gez360-cat-matterport .leaflet-div-icon:hover .leaflet-marker-pin {
    background-color: #922B21;
}

.leaflet-marker-pin {
    background-color: #17202A;
}

.leaflet-div-icon {
    width: 44px !important;
    height: 44px !important;
    margin-left: -22px !important;
    margin-top: -42px !important;
    background: transparent;
    border: none;
}

.leaflet-div-icon i {
    z-index: 10;
    position: relative;
    color: #fff;
    line-height: 44px;
    text-align: center;
    width: 44px;
    display: block;
}

.leaflet-marker-pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    z-index: -1;
    box-shadow: -2px 2px 2px rgba(0, 0, 0, 0.2);
}

background: #fff;
}

/* =========================================
   POPUP STYLING POLISH
   ========================================= */

/* Centered Icon Overlay on Popup Image */
/* Specificity Boost: .leaflet-popup-content .popup-img ... */
.gez360-map-popup .popup-img {
    position: relative !important;
    border-radius: 8px 8px 0 0 !important;
    overflow: hidden !important;
    display: block !important;
}

.gez360-popup-overlay-center {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    box-shadow: none !important;
    z-index: 99 !important;
}

/* CSS Hover for popup icon - more reliable than JS */
.gez360-hover-icon {
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.popup-img:hover .gez360-hover-icon,
.gez360-map-popup .popup-img:hover .gez360-hover-icon,
.media:hover .gez360-overlay-icon img {
    opacity: 1 !important;
}

.gez360-popup-overlay-center i {
    font-size: 20px !important;
    display: block !important;
    margin-right: 3px !important;
    line-height: 1 !important;
}

.gez360-map-popup .popup-img img {
    border-radius: 8px 8px 0 0 !important;
    width: 100% !important;
    display: block !important;
}

/* Top Right Close Button Polish */
.leaflet-container a.leaflet-popup-close-button {
    width: 34px !important;
    /* Slightly Larger */
    height: 34px !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
    top: -12px !important;
    /* Push it out a bit more */
    right: -12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: 2px solid #fff !important;
    opacity: 1 !important;
    padding: 0 !important;
    line-height: 30px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
}

/* Uppercase Category with Spacing */
.gez360-map-popup .popup-category {
    display: block;
    margin-top: 5px;
    /* Spacing */
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    /* Requested Uppercase */
    letter-spacing: 1px;
    color: #999;
}

.gez360-map-popup h5 {
    margin: 5px 0 5px 0;
    font-size: 16px;
    /* Slightly bigger */
    font-weight: 700;
    line-height: 1.4;
}

/* Popup Styling Revisions */
.popup-category {
    color: #000 !important;
    /* FIXED: Category to black */
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
    line-height: 1.6 !important;
    /* FIXED: Increased line-height */
}

/* User Phase 8: Compact Popup - 10% smaller */
.gez360-map-popup {
    width: 189px !important;
    /* 10% reduction from 210px */
}

/* Popup image full width */
.gez360-map-popup .popup-img {
    padding: 0 !important;
    margin: 0 !important;
}

.gez360-map-popup .popup-img img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
    border-radius: 8px 8px 0 0 !important;
}

/* Reduce popup content gaps */
.gez360-map-popup .popup-content {
    padding: 5px 8px !important;
}

.gez360-map-popup h5 {
    margin: 2px 0 !important;
    font-size: 12px !important;
}

.gez360-map-popup .popup-category {
    margin: 2px 0 !important;
    font-size: 8px !important;
}

.gez360-map-popup .popup-address {
    font-size: 10px !important;
    margin: 0 !important;
}

/* ========== FINAL POLISH ========== */

/* Sidebar Media 100% Width */
.gez360-card .media,
.gez360-card-item .media {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.gez360-card .media img,
.gez360-card-item .media img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* Header Map Opacity */
#gez360-header-map {
    opacity: 0.7;
}

/* Popup PNG Perfect Centering - STATIONARY & ALWAYS VISIBLE */
.gez360-popup-overlay-center img,
.gez360-hover-icon {
    position: absolute !important;
    top: 40% !important;
    /* Center on image area */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    opacity: 1 !important;
    /* FIXED: Always visible */
    pointer-events: none !important;
    max-height: 50px !important;
    max-width: 50px !important;
    object-fit: contain !important;
    z-index: 100 !important;
}

/* Removal of hover dependency for popup icon */
.popup-img:hover .gez360-hover-icon,
.popup-img:hover .gez360-popup-overlay-center img {
    opacity: 1 !important;
}

/* WAVE EFFECT FOR SIDEBAR IMAGES (PC ONLY) */
@media screen and (min-width: 768px) {
    .gez360-sidebar .media {
        overflow: hidden;
        position: relative;
    }

    .gez360-sidebar .media::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        z-index: 2;
    }

    .gez360-sidebar .gez360-card-item:hover .media::after {
        animation: gez360-wave-effect 0.8s ease-out;
    }
}

@keyframes gez360-wave-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.8;
    }

    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/* ========== STATIC MAP BACKGROUND + FADE EFFECT ========== */
.gez360-static-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* STATIC MAP IMAGE (Provided by user) */
    background-image: url('../istanbul-map-header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    /* Lowered opacity */
    transition: opacity 1s ease-in-out;
}

/* Hover Pan Animation Triggered via Class (JS) or standard CSS hover */
.gez360-static-map-bg.pan-anim {
    animation: gez360-pan-quick 2s ease-in-out forwards;
}

@keyframes gez360-pan-quick {
    0% {
        transform: scale(1) translate(0, 0);
    }

    25% {
        transform: scale(1.05) translate(10px, -5px);
    }

    50% {
        transform: scale(1.05) translate(-10px, 5px);
    }

    75% {
        transform: scale(1.05) translate(5px, 10px);
    }

    100% {
        transform: scale(1) translate(0, 0);
    }
}

/* KEN BURNS EFFECT ON SIDEBAR IMAGES (replaces wave) */
.gez360-sidebar .media img {
    animation: gez360-kenburns 8s ease-in-out infinite !important;
    transform-origin: center center;
}

@keyframes gez360-kenburns {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08) translate(-2%, -1%);
    }

    100% {
        transform: scale(1);
    }
}

/* Removal of hover-only pan of static map */
.gez360-launch-header:hover .gez360-static-map-bg {
    animation: none;
}

/* =========================================
   POPUP ESKİ BASIT TASARIM (GERİ GETİRİLDİ)
   ========================================= */

/* Basit leaflet popup - varsayılan */
.leaflet-popup-content-wrapper {
    background: #fff;
    border-radius: 6px;
    padding: 10px;
}

.leaflet-popup-content {
    margin: 0;
    width: auto;
}

/* =========================================
   KATEGORİ VE İŞLETME FİLTRE PANELİ
   =========================================*/
/* Filtre/* ========================================
   MAP CONTROLS - UNIFIED CIRCULAR DESIGN
   ======================================== */

/* Leaflet Zoom Controls Override - Circular Style */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: none !important;
}

.leaflet-control-zoom a {
    background: #fff !important;
    color: #333 !important;
    border: none !important;
    width: 42px !important;
    height: 42px !important;
    line-height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    margin-bottom: 10px !important;
    transition: all 0.3s !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
    background: #f8f8f8 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-control-zoom a:last-child {
    margin-bottom: 0 !important;
}

/* Map Controls LEFT BOTTOM (Toggle, Reset, Zoom) - PC */
.gez360-map-controls-top-left {
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gez360-btn-reset {
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    color: #333;
    transition: all 0.3s;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gez360-btn-reset:hover {
    background: #f8f8f8;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Controls RIGHT TOP (Close) - PC */
.gez360-map-controls-bottom-left {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
    z-index: 1000;
    display: flex;
}

.gez360-btn-close {
    background: #fff;
    border: none;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.gez360-btn-close:hover {
    background: #f8f8f8;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gez360-btn-close i {
    font-size: 18px;
}

/* Hide close button text on PC */
.gez360-close-text {
    display: none;
}

/* Sidebar Toggle - Sidebar içinde, alt ortada (PC) */
.gez360-sidebar-toggle {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: #fff;
    border: none;
    width: 80px;
    height: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* OLD TOGGLE RULES REMOVED FOR ZEN DESIGN */

/* =========================================
   KATEGORİ VE İŞLETME FİLTRE PANELİ
   =========================================*/
/* Filtre Paneli PC - Genişletildi */
.gez360-filter-panel {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 100001;
    max-width: 400px;
    /* Genişletildi: 280px -> 400px */
}

.gez360-filter-toggle {
    background: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.gez360-filter-toggle:hover {
    background: #f0f0f0;
}

.gez360-filter-toggle i {
    font-size: 14px;
}

.gez360-filter-dropdown {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    overflow: hidden;
    display: none;
}

.gez360-filter-dropdown.active {
    display: block;
}

.gez360-filter-section {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.gez360-filter-section:last-child {
    border-bottom: none;
}

.gez360-filter-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Kategori checkbox'ları - 3 satır göster, scroll */
.gez360-category-list {
    max-height: 90px;
    /* ~3 satır */
    overflow-y: auto;
    padding-right: 5px;
}

.gez360-category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
}

.gez360-category-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.gez360-category-item label {
    font-size: 13px;
    color: #333;
    cursor: pointer;
    user-select: none;
}

/* İşletme listesi - Satır görünüm, border yok */
.gez360-business-list {
    max-height: 180px;
    overflow-y: auto;
    background: #fff;
    /* Border kaldırıldı */
}

.gez360-business-item {
    padding: 6px 12px;
    /* Azaltıldı: 10px -> 6px */
    font-size: 13px;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.gez360-business-item:last-child {
    border-bottom: none;
}

.gez360-business-item:hover {
    background: #f5f5f5;
}

.gez360-business-item.hidden {
    display: none;
}

/* Scroll bar stili - HAFİF */
.gez360-category-list::-webkit-scrollbar,
.gez360-business-list::-webkit-scrollbar {
    width: 4px;
    /* Azaltıldı: 6px -> 4px */
}

.gez360-category-list::-webkit-scrollbar-track,
.gez360-business-list::-webkit-scrollbar-track {
    background: #f9f9f9;
    /* Açık */
    border-radius: 2px;
}

.gez360-category-list::-webkit-scrollbar-thumb,
.gez360-business-list::-webkit-scrollbar-thumb {
    background: #ccc;
    /* Açık gri */
    border-radius: 2px;
}

.gez360-category-list::-webkit-scrollbar-thumb:hover,
.gez360-business-list::-webkit-scrollbar-thumb:hover {
    background: #999;
    /* Hover biraz koyu */
}

/* İşletme dropdown */
.gez360-business-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    background: #fff;
}

.gez360-business-select:focus {
    outline: none;
    border-color: #4285F4;
}

/* Mobil filtre - Genişletildi */
@media screen and (max-width: 767px) {
    .gez360-filter-panel {
        top: 10px;
        left: 10px;
        right: auto;
        max-width: 65%;
        /* Genişletildi: 50% -> 65% */
    }

    .gez360-filter-toggle {
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding: 8px 12px;
    }

    .gez360-filter-dropdown {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* =========================================
   MASAÜSTÜ KAPAT BUTONU DÜZENLEMESİ
   ========================================= */

/* Masaüstü: Yazıyı göster, normal stil */
@media screen and (min-width: 768px) {
    #gez360-close-map .gez360-close-text {
        display: inline;
        margin-left: 8px;
    }

    #gez360-close-map i {
        font-size: 14px;
    }
}

/* =========================================
   KART VURGULAMA ANİMASYONU
   ========================================= */

.gez360-card-item.gez360-highlight {
    animation: gez360-pulse 0.5s ease-out 3;
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.5) !important;
}

@keyframes gez360-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =========================================
   3.0.0 MAJOR UI UPDATE - ZEN DESIGN
   ========================================= */

/* 1. Sidebar Background & Sadeleştirme */
.gez360-sidebar {
    background-color: rgba(235, 255, 246, 0.86) !important;
    padding-top: 30px;
    /* 30px sidebar top padding */
}

/* 2. PC Kontrolleri (SOL ALT) */
@media (min-width: 769px) {

    /* Kapat Butonu - SOL ALT (ZEN DESIGN) */
    .gez360-btn-close {
        position: fixed !important;
        bottom: 15px !important;
        /* Standard padding reduction */
        left: 15px !important;
        right: auto !important;
        border-radius: 4px !important;
        width: auto !important;
        height: 36px !important;
        /* Reduced from 42px */
        padding: 0 16px !important;
        /* Tighter padding */
        z-index: 10005 !important;
        background: #ffffff !important;
        color: #000000 !important;
        /* Text color black */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        font-size: 13px !important;
        /* Slightly smaller font */
        font-weight: 700 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.3s ease !important;
    }

    .gez360-btn-close i {
        color: #ff4757 !important;
        /* Icon remains red */
    }

    .gez360-btn-close:hover {
        background: #000000 !important;
        /* Black on hover */
        color: #ffffff !important;
        /* White text on hover */
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }

    .gez360-close-text {
        display: inline-block !important;
    }

    /* Zoom ve Reset Butonları - KAPAT BUTONUNUN ÜSTÜNDE (85px) */
    /* Control Group - MICRO SCALED */
    .leaflet-bottom.leaflet-left {
        bottom: 65px !important;
        /* Lowered position */
        left: 15px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    #gez360-reset-map {
        position: fixed !important;
        bottom: 115px !important;
        /* Positioned above zoom buttons */
        left: 15px !important;
        width: 30px !important;
        /* Smaller buttons */
        height: 30px !important;
        font-size: 14px !important;
        margin: 0 !important;
        z-index: 10004 !important;
    }

    .leaflet-control-zoom a {
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
        font-size: 16px !important;
    }

    /* Ensure zoom controls are aligned */
    .leaflet-control-zoom {
        margin: 0 !important;
    }

    /* Sidebar Toggle - DİKDÖRTGEN VE YAPIŞIK */
    /* Sidebar Toggle - MICRO SCALED */
    #gez360-sidebar-toggle {
        position: fixed !important;
        bottom: 0px !important;
        right: 280px !important;
        /* Match new sidebar width */
        left: auto !important;
        transform: none !important;

        width: 48px !important;
        /* Reduced from 60px */
        height: 48px !important;
        border-radius: 8px 0 0 0 !important;
        background: #ffffff !important;
        color: #2d3436 !important;
        box-shadow: -3px -3px 10px rgba(0, 0, 0, 0.15) !important;
        z-index: 10011 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        /* Smaller icon */
        border: 1px solid rgba(0, 0, 0, 0.1) !important;
        border-bottom: none !important;
        border-right: none !important;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        cursor: pointer;
    }

    #gez360-sidebar-toggle:hover {
        background: #f1f2f6 !important;
        width: 70px !important;
    }

    /* GİZLİ MOD: En sağ alta yapış */
    #gez360-sidebar-toggle.goster-mode {
        right: 0px !important;
        background: rgba(235, 255, 246, 1) !important;
        box-shadow: -5px -5px 20px rgba(0, 0, 0, 0.25) !important;
    }
}

/* Tablet ve Küçük Ekranlar için Destek */
@media (max-width: 1024px) {

    .leaflet-bottom.leaflet-left,
    #gez360-reset-map {
        bottom: 200px !important;
    }
}

/* MOBİL */
@media (max-width: 768px) {
    #gez360-sidebar-toggle {
        display: none !important;
    }

    .leaflet-control-zoom {
        position: fixed !important;
        top: 15px !important;
        left: 15px !important;
        margin: 0 !important;
    }
}

/* Filtre Rengi */
.gez360-filter-toggle {
    background: #fff !important;
    color: #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}