/* ========================================================================== */
/* FONT İMPORT - MONTSERRAT */
/* ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ========================================================================== */
/* MOBİL TAŞMA FIX */
/* ========================================================================== */
* {
    font-family: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
    background: #f8fafc;
    color: #0f172a !important;
}

body.dark {
    background: #0f172a;
    color: #f1f5f9 !important;
}

/* ========================================================================== */
/* GENEL YAZI RENKLERİ */
/* ========================================================================== */
.text-slate-900 { color: #0f172a !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-600 { color: #475569 !important; }
.text-slate-500 { color: #64748b !important; }
.text-zinc-600 { color: #52525b !important; }
.text-zinc-700 { color: #3f3f46 !important; }
.text-zinc-800 { color: #27272a !important; }
.text-zinc-900 { color: #18181b !important; }

body.dark .text-slate-900 { color: #f1f5f9 !important; }
body.dark .text-slate-800 { color: #e2e8f0 !important; }
body.dark .text-slate-700 { color: #cbd5e1 !important; }
body.dark .text-slate-600 { color: #94a3b8 !important; }
body.dark .text-slate-500 { color: #64748b !important; }
body.dark .text-zinc-600 { color: #a1a1aa !important; }
body.dark .text-zinc-700 { color: #d4d4d8 !important; }
body.dark .text-zinc-800 { color: #e4e4e7 !important; }
body.dark .text-zinc-900 { color: #fafafa !important; }
body.dark .text-white { color: #ffffff !important; }
body.dark .text-black { color: #0f172a !important; }

/* HEADER */
header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
}
header .max-w-7xl {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* ========================================================================== */
/* DİL MENÜSÜ */
/* ========================================================================== */
#languageMenu {
    position: fixed !important;
    top: 70px !important;
    right: 16px !important;
    z-index: 9999999999 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    min-width: 140px !important;
    overflow: hidden !important;
    animation: dropdownFade 0.2s ease;
    transform-origin: top right;
}

body.dark #languageMenu {
    background: rgba(15, 23, 42, 0.98) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

#languageMenu button {
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    min-height: 42px !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    background: transparent !important;
    border: none !important;
    width: 100% !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body.dark #languageMenu button {
    color: #e5e7eb !important;
}

#languageMenu button:hover {
    background: rgba(0, 0, 0, 0.05) !important;
}

body.dark #languageMenu button:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

#languageMenu button:active {
    transform: scale(0.97) !important;
}

@keyframes dropdownFade {
    0% { opacity: 0; transform: translateY(-8px) scale(0.96); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    #languageMenu {
        top: 62px !important;
        right: 8px !important;
        min-width: 110px !important;
    }
    #languageMenu button {
        padding: 10px 14px !important;
        font-size: 11px !important;
        min-height: 36px !important;
    }
}

/* ========================================================================== */
/* HAMBURGER BUTON */
/* ========================================================================== */
#hamburgerBtn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    background: rgba(0,0,0,0.05) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    color: #1a1a1a !important;
    font-size: 22px !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    z-index: 9999999 !important;
    position: relative !important;
}
body.dark #hamburgerBtn {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e5e7eb !important;
}
#hamburgerBtn i { pointer-events: none !important; }
#hamburgerBtn:active { transform: scale(0.92) !important; }

@media (max-width: 768px) {
    #hamburgerBtn {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        font-size: 24px !important;
    }
}

/* ========================================================================== */
/* GRID SÜTUN DÜZENİ */
/* ========================================================================== */
#grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

#grid-container.region-view,
#grid-container.cities-view,
#grid-container.places-view {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
}

@media (min-width: 640px) {
    #grid-container.region-view {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    #grid-container.cities-view {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    #grid-container.places-view {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (min-width: 768px) {
    #grid-container.region-view {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
    #grid-container.cities-view {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
    #grid-container.places-view {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }
}

@media (min-width: 1024px) {
    #grid-container.region-view {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }
    #grid-container.cities-view {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }
    #grid-container.places-view {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }
}

/* ========================================================================== */
/* KART YÜKSEKLİKLERİ */
/* ========================================================================== */
#grid-container.region-view .glass-card,
#grid-container.cities-view .glass-card,
#grid-container.places-view .glass-card {
    height: 180px !important;
}

@media (min-width: 640px) {
    #grid-container.region-view .glass-card,
    #grid-container.cities-view .glass-card,
    #grid-container.places-view .glass-card {
        height: 220px !important;
    }
}

@media (min-width: 768px) {
    #grid-container.region-view .glass-card,
    #grid-container.cities-view .glass-card,
    #grid-container.places-view .glass-card {
        height: 250px !important;
    }
}

@media (min-width: 1024px) {
    #grid-container.region-view .glass-card,
    #grid-container.cities-view .glass-card,
    #grid-container.places-view .glass-card {
        height: 280px !important;
    }
}

/* ========================================================================== */
/* KARTLAR */
/* ========================================================================== */
.glass-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease;
    background: #ffffff;
    width: 100%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y !important;
    user-select: none !important;
}
body.dark .glass-card {
    background: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(6, 182, 212, 0.15);
}
.place-card-img, .region-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none !important;
}

.glass-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, transparent 100%) !important;
    pointer-events: none !important;
    z-index: 10;
    border-radius: 0 0 20px 20px;
}
.glass-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, transparent 100%) !important;
}

.floating-glass-bar {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
    padding: 10px 14px !important;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 20;
    transition: all 0.3s ease;
    pointer-events: none !important;
    min-height: 38px !important;
}
.floating-glass-bar span {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6) !important;
    font-weight: 500 !important;
    font-size: clamp(0.55rem, 1.1vw, 0.85rem) !important;
    letter-spacing: 0.3px !important;
    font-family: 'Montserrat', sans-serif !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    max-width: 100% !important;
}
.glass-card:hover .floating-glass-bar {
    background: rgba(255, 255, 255, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
    transform: scale(1.02);
}
body.dark .floating-glass-bar {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
}
body.dark .floating-glass-bar span { color: #ffffff !important; }

.region-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px !important;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(28px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: clamp(0.55rem, 1.1vw, 0.85rem) !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5) !important;
    z-index: 20;
    pointer-events: none !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    line-height: 1.3 !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif !important;
    max-width: 85% !important;
}
body.dark .region-label {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
.glass-card:hover .region-label {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
    transform: translateX(-50%) scale(1.03);
    letter-spacing: 2px !important;
}

.glass-card.region-card .region-label { display: block; }
.glass-card.region-card .floating-glass-bar { display: none !important; }
.glass-card.city-card .floating-glass-bar { display: flex !important; }
.glass-card.city-card .region-label { display: none !important; }
.glass-card.place-card .floating-glass-bar { display: flex !important; }
.glass-card.place-card .region-label { display: none !important; }

.glass-effect {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}
body.dark .glass-effect { background: rgba(15, 23, 42, 0.8) !important; }

.filter-chip {
    cursor: pointer;
    padding: 0.5rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.6);
    color: #0f172a !important;
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    font-family: 'Montserrat', sans-serif !important;
}
body.dark .filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0 !important;
}
.filter-chip.active,
body.dark .filter-chip.active {
    background-color: #06b6d4 !important;
    color: #0f172a !important;
    border-color: #06b6d4 !important;
}

/* ========================================================================== */
/* MODALLAR */
/* ========================================================================== */
.custom-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}
.custom-modal.active {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================================================== */
/* GALERİ MODALI */
/* ========================================================================== */
#galleryModal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    background: rgba(0, 0, 0, 0.97) !important;
    z-index: 99999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
}
#galleryModal.active { display: flex !important; }

#galleryModal .custom-gallery-container {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}
#galleryModal .custom-gallery-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
}

#galleryModal .custom-gallery-img {
    max-width: 92vw;
    max-height: 82vh;
    max-height: 82dvh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    background: transparent;
    touch-action: pan-y !important;
    -webkit-user-select: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

#galleryModal .nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.9) !important;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 999999999 !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto !important;
    touch-action: manipulation !important;
}
#galleryModal .nav-arrow:hover {
    background: rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.6);
    transform: translateY(-50%) scale(1.05);
}
#galleryModal .nav-arrow:active { transform: translateY(-50%) scale(0.92); }
#galleryModal .nav-arrow-left { left: 24px; }
#galleryModal .nav-arrow-right { right: 24px; }

#galleryModal .close-gallery-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 999999999 !important;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.15);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}
#galleryModal .close-gallery-btn:hover {
    background: rgba(239, 68, 68, 0.7);
    border-color: rgba(239, 68, 68, 0.8);
    transform: scale(1.05);
}
#galleryModal .close-gallery-btn:active { transform: scale(0.92); }
#galleryModal .close-gallery-btn i {
    color: #ffffff !important;
}

.gallery-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999999998;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    user-select: none;
    pointer-events: none !important;
}

/* ========================================================================== */
/* DETAY MODALI - AÇIKLAMA ENTEGRASYONU */
/* ========================================================================== */
#detailModal .bg-white {
    position: relative;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 100000 !important;
    border-radius: 24px !important;
}

#detailModal .grid {
    gap: 24px;
    align-items: start !important;
}

#detailModal .bg-white,
#detailModal .bg-white * { color: #0f172a !important; }
#detailModal .bg-white .text-slate-500,
#detailModal .bg-white .text-zinc-400,
#detailModal .bg-white .text-zinc-500,
#detailModal .bg-white .text-zinc-600 { color: #64748b !important; }
#detailModal .bg-white .text-slate-700,
#detailModal .bg-white .text-zinc-700 { color: #334155 !important; }
#detailModal .bg-white .text-slate-800,
#detailModal .bg-white .text-zinc-800 { color: #1e293b !important; }
#detailModal .bg-white .text-slate-900,
#detailModal .bg-white .text-zinc-900 { color: #0f172a !important; }

body.dark #detailModal .bg-white,
body.dark #detailModal .bg-white * { color: #f1f5f9 !important; }
body.dark #detailModal .bg-white .text-slate-500,
body.dark #detailModal .bg-white .text-zinc-400,
body.dark #detailModal .bg-white .text-zinc-500,
body.dark #detailModal .bg-white .text-zinc-600 { color: #94a3b8 !important; }
body.dark #detailModal .bg-white .text-slate-700,
body.dark #detailModal .bg-white .text-zinc-700 { color: #cbd5e1 !important; }
body.dark #detailModal .bg-white .text-slate-800,
body.dark #detailModal .bg-white .text-zinc-800 { color: #e2e8f0 !important; }
body.dark #detailModal .bg-white .text-slate-900,
body.dark #detailModal .bg-white .text-zinc-900 { color: #f1f5f9 !important; }

/* Açıklama başlığı tek satırda olacak */
#detailTitle {
    color: #06b6d4 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

@media (max-width: 640px) {
    #detailTitle {
        font-size: 1.2rem !important;
    }
}

/* Bilgi grid'i kaldırıldı, açıklama kısmına entegre edildi */
.info-grid {
    display: none !important;
}

/* Açıklama kısmı daha geniş ve tüm bilgileri içeriyor */
#detailDescription {
    flex: 0 1 auto !important;
    max-height: 400px !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
    margin-bottom: 12px !important;
    font-size: 0.875rem !important;
    line-height: 1.8 !important;
    background: rgba(0,0,0,0.03) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

body.dark #detailDescription {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

#detailDescription::-webkit-scrollbar {
    width: 4px !important;
}
#detailDescription::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05) !important;
    border-radius: 4px !important;
}
#detailDescription::-webkit-scrollbar-thumb {
    background: #06b6d4 !important;
    border-radius: 4px !important;
}

/* ========================================================================== */
/* DETAY BUTONLARI - OVAL VE BEYAZ */
/* ========================================================================== */

.detail-btn-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
}

.detail-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
    font-family: 'Montserrat', sans-serif !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-direction: row !important;
    min-height: 40px !important;
    color: #ffffff !important;
}

.detail-btn i {
    font-size: 13px !important;
    flex-shrink: 0 !important;
    margin-right: 2px !important;
    color: #ffffff !important;
}

.detail-btn span {
    font-size: 12px !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline !important;
    color: #ffffff !important;
}

.detail-btn.gallery { background: #06b6d4 !important; }
.detail-btn.gallery:hover { background: #0891b2 !important; transform: scale(1.03); }
.detail-btn.gallery:active { transform: scale(0.95); }

.detail-btn.maps { background: #22c55e !important; }
.detail-btn.maps:hover { background: #16a34a !important; transform: scale(1.03); }
.detail-btn.maps:active { transform: scale(0.95); }

#videoBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 18px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    border: none !important;
    cursor: pointer !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: auto !important;
    background: #ef4444 !important;
    min-height: 40px !important;
    z-index: 9999 !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-direction: row !important;
    color: #ffffff !important;
}
#videoBtn:hover { background: #dc2626 !important; transform: scale(1.03); }
#videoBtn:active { transform: scale(0.95); }
#videoBtn i { font-size: 13px !important; flex-shrink: 0 !important; margin-right: 2px !important; color: #ffffff !important; }
#videoBtn span { font-size: 12px !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; display: inline !important; color: #ffffff !important; }

#galleryFromDetailBtn {
    background: #06b6d4 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation !important;
    user-select: none !important;
    min-height: 40px !important;
    min-width: 0 !important;
    pointer-events: auto !important;
    font-family: 'Montserrat', sans-serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-direction: row !important;
    color: #ffffff !important;
}
#galleryFromDetailBtn:hover { background: #0891b2 !important; transform: scale(1.03); }
#galleryFromDetailBtn:active { transform: scale(0.95); }
#galleryFromDetailBtn i { font-size: 13px !important; flex-shrink: 0 !important; margin-right: 2px !important; color: #ffffff !important; }
#galleryFromDetailBtn span { font-size: 12px !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; display: inline !important; color: #ffffff !important; }

#mapsBtn {
    background: #22c55e !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 1 auto !important;
    font-family: 'Montserrat', sans-serif !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-direction: row !important;
    color: #ffffff !important;
}
#mapsBtn:hover { background: #16a34a !important; transform: scale(1.03); }
#mapsBtn:active { transform: scale(0.95); }
#mapsBtn i { font-size: 13px !important; flex-shrink: 0 !important; margin-right: 2px !important; color: #ffffff !important; }
#mapsBtn span { font-size: 12px !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; display: inline !important; color: #ffffff !important; }

.detail-btn.website {
    background: #8b5cf6 !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    flex: 0 1 auto !important;
    font-family: 'Montserrat', sans-serif !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    flex-direction: row !important;
    color: #ffffff !important;
}
.detail-btn.website:hover { background: #7c3aed !important; transform: scale(1.03); }
.detail-btn.website:active { transform: scale(0.95); }
.detail-btn.website i { font-size: 13px !important; flex-shrink: 0 !important; margin-right: 2px !important; color: #ffffff !important; }
.detail-btn.website span { font-size: 12px !important; white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important; display: inline !important; color: #ffffff !important; }

/* ===== KOYU MODDA BUTONLAR ===== */
body.dark .detail-btn,
body.dark .detail-btn *,
body.dark .detail-btn span,
body.dark .detail-btn i,
body.dark #galleryFromDetailBtn,
body.dark #galleryFromDetailBtn *,
body.dark #galleryFromDetailBtn span,
body.dark #galleryFromDetailBtn i,
body.dark #mapsBtn,
body.dark #mapsBtn *,
body.dark #mapsBtn span,
body.dark #mapsBtn i,
body.dark #videoBtn,
body.dark #videoBtn *,
body.dark #videoBtn span,
body.dark #videoBtn i,
body.dark .detail-btn.website,
body.dark .detail-btn.website *,
body.dark .detail-btn.website span,
body.dark .detail-btn.website i {
    color: #ffffff !important;
}

body.dark .detail-btn.gallery { background: #06b6d4 !important; }
body.dark .detail-btn.gallery:hover { background: #0891b2 !important; }
body.dark .detail-btn.maps { background: #22c55e !important; }
body.dark .detail-btn.maps:hover { background: #16a34a !important; }
body.dark #videoBtn { background: #ef4444 !important; }
body.dark #videoBtn:hover { background: #dc2626 !important; }
body.dark .detail-btn.website { background: #8b5cf6 !important; }
body.dark .detail-btn.website:hover { background: #7c3aed !important; }

/* ===== MOBİL UYUM ===== */
@media (max-width: 768px) {
    .detail-btn-wrap { gap: 6px !important; }
    .detail-btn,
    #galleryFromDetailBtn,
    #mapsBtn,
    #videoBtn,
    .detail-btn.website {
        padding: 8px 14px !important;
        font-size: 11px !important;
        min-height: 36px !important;
        border-radius: 50px !important;
        gap: 4px !important;
    }
    .detail-btn i,
    #galleryFromDetailBtn i,
    #mapsBtn i,
    #videoBtn i,
    .detail-btn.website i {
        font-size: 11px !important;
    }
    .detail-btn span,
    #galleryFromDetailBtn span,
    #mapsBtn span,
    #videoBtn span,
    .detail-btn.website span {
        font-size: 11px !important;
    }
}

@media (max-width: 480px) {
    .detail-btn-wrap { gap: 5px !important; }
    .detail-btn,
    #galleryFromDetailBtn,
    #mapsBtn,
    #videoBtn,
    .detail-btn.website {
        padding: 6px 12px !important;
        font-size: 10px !important;
        min-height: 32px !important;
        border-radius: 50px !important;
        gap: 3px !important;
    }
    .detail-btn i,
    #galleryFromDetailBtn i,
    #mapsBtn i,
    #videoBtn i,
    .detail-btn.website i {
        font-size: 10px !important;
    }
    .detail-btn span,
    #galleryFromDetailBtn span,
    #mapsBtn span,
    #videoBtn span,
    .detail-btn.website span {
        font-size: 10px !important;
    }
}

/* ========================================================================== */
/* VİDEO VE HARİTA */
/* ========================================================================== */
#detailVideoContainer {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
}
#detailVideoContainer iframe, #detailVideoContainer video {
    width: 100%;
    height: 100%;
    border: none;
}
#detailVideoContainer .cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none !important;
}

#map {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    transition: all 0.3s ease;
}
#map:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    transform: scale(1.01);
}
#map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* ========================================================================== */
/* MOBİL MENÜ - KARANLIK MOD FİX */
/* ========================================================================== */
#mobileMenu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 280px !important;
    max-width: 80vw !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999999999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 24px 20px !important;
    gap: 16px !important;
    overflow-y: auto !important;
}

body.dark #mobileMenu {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.6) !important;
}

#mobileMenu.open {
    transform: translateX(0) !important;
}

#mobileMenu .flex.justify-between.items-center.pb-4 {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

body.dark #mobileMenu .flex.justify-between.items-center.pb-4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#mobileMenu .font-black {
    color: #06b6d4 !important;
    font-size: 16px !important;
}

body.dark #mobileMenu .font-black {
    color: #06b6d4 !important;
}

#mobileMenu .w-full.text-left {
    background: rgba(0, 0, 0, 0.04) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 14px !important;
    transition: all 0.25s ease !important;
    color: #1e293b !important;
}

body.dark #mobileMenu .w-full.text-left {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}

#mobileMenu .w-full.text-left:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    transform: scale(1.02);
}

body.dark #mobileMenu .w-full.text-left:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

#mobileMenu .w-full.text-left:active {
    transform: scale(0.97);
}

body.dark #mobileMenu .w-full.text-left i {
    color: #06b6d4 !important;
}

body.dark #mobileMenu .w-full.text-left span {
    color: #f1f5f9 !important;
}

body.dark #mobileMenu .w-full.text-left .text-slate-800,
body.dark #mobileMenu .w-full.text-left .text-zinc-200 {
    color: #f1f5f9 !important;
}

#closeMobileMenu {
    color: #1e293b !important;
    background: rgba(0, 0, 0, 0.05) !important;
    transition: all 0.25s ease !important;
}

body.dark #closeMobileMenu {
    color: #f1f5f9 !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ========================================================================== */
/* TOAST */
/* ========================================================================== */
#toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    z-index: 9999999999 !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    font-family: 'Montserrat', sans-serif !important;
}
#toast.show { transform: translateX(-50%) translateY(0); }

.mobile-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 999999999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.35s ease !important;
}
.mobile-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* ========================================================================== */
/* HAVA DURUMU - KOYU TEMA DÜZELTMESİ */
/* ========================================================================== */
body.dark #detailWeather .weather-card {
    background: rgba(30, 41, 59, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
body.dark #detailWeather .weather-card .weather-temp {
    color: #ffffff !important;
}
body.dark #detailWeather .weather-card .weather-desc {
    color: #e2e8f0 !important;
}
body.dark #detailWeather .weather-card .weather-sub {
    color: #94a3b8 !important;
}
body.dark #detailWeather .weather-card .weather-time {
    color: #64748b !important;
}
body.dark #detailWeather .weather-card .weather-btn {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
body.dark #detailWeather .weather-card .weather-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}
body.dark #detailWeather > div {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
}
body.dark #detailWeather > div span,
body.dark #detailWeather > div div,
body.dark #detailWeather > div i {
    color: #f1f5f9 !important;
}
body.dark #detailWeather * {
    color: #f1f5f9 !important;
}
#detailWeather .weather-card {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* ========================================================================== */
/* SCROLLBAR */
/* ========================================================================== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 10px; }
::-webkit-scrollbar-thumb { background: #06b6d4; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #0891b2; }
body.dark ::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); }
body.dark ::-webkit-scrollbar-thumb { background: #06b6d4; }
body.dark ::-webkit-scrollbar-thumb:hover { background: #0891b2; }

/* ========================================================================== */
/* MONTSERRAT FONT */
/* ========================================================================== */
h1, h2, h3, h4, h5, h6,
.font-black, .font-bold, .font-semibold, .font-medium,
.section-title, .section-subtitle, .card-title, .card-subtitle, .detail-title,
.region-label, .floating-glass-bar span, .filter-chip, .detail-btn,
#galleryFromDetailBtn, #detailTitle, .nav-item span, .menu-header-title,
.logo-text, .logo-highlight, .stats-badge, .toast, .gallery-counter,
#detailDescription, #detailLocation,
#detailHours, #detailFood, #detailPrice, #detailTransport, #detailAccommodation,
#detailCategoryBadge, .detail-rating, .cover-overlay .detail-title,
.cover-overlay .detail-location {
    font-family: 'Montserrat', sans-serif !important;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}