/* Balcity Tokur-Style Detail Page CSS */

body {
    background-color: #f7f9fc; /* Light, premium background */
    font-family: 'Outfit', sans-serif !important;
}

/* Page Layout */
.detaypage-main {
    max-width: 1200px;
    margin: 0 auto;
}

/* Typography & Titles */
.ilan-title-tokur {
    color: #27364f;
    line-height: 1.3;
}

.ilan-location-tokur {
    font-weight: 300;
}

.detay-ilan-fiyati {
    letter-spacing: -0.5px;
}

/* Action Buttons */
.top-action-buttons .btn {
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-like-top:hover, .btn-like-top.active {
    background-color: #ff3600;
    color: #fff !important;
    border-color: #ff3600 !important;
}

/* Gallery Section */
.gallery-section {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 10px;
    border-radius: 8px;
}

.thumb-item {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    opacity: 0.7;
}

.thumb-item:hover, .thumb-item.border-danger {
    opacity: 1;
    border-color: #ff3600 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Share Dropdown */
.share-link {
    font-weight: 500;
    transition: background 0.2s;
}
.share-link:hover {
    background-color: #f1f5f9;
}

/* Sections */
.description-section, .comments-section, #teklif-ver {
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 24px;
    border-radius: 8px;
}

/* Sidebar Box (Specs) */
.specs-box-dark {
    background-color: #1e293b !important; /* Premium dark blue/gray */
    color: #f8fafc !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.specs-dl {
    font-size: 14px;
}

.specs-dl dt {
    color: #cbd5e1 !important;
}

.specs-dl hr {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Agent Sidebar */
.agent-sidebar {
    border: 1px solid #eaeaea;
}

.agent-image {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Calculator Box */
.calculator-sidebar-v2 {
    border: 1px solid #eaeaea;
}

.results-box {
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .ilan-title-tokur {
        font-size: 24px !important;
    }
    
    .detay-ilan-fiyati {
        font-size: 22px !important;
    }

    .gallery-container .carousel-item img {
        height: 300px !important;
    }
}


/* ------------------------------------------------ */
/* Fullscreen Photo Slider CSS - Premium Edition    */
/* (Kept from original to ensure JS compatibility)  */
/* ------------------------------------------------ */
.fullscreen-slider-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    flex-direction: column;
}

.slider-header {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.photo-counter {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.8;
}

.action-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.main-slider-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.main-photo-display {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-photo-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    transition: transform 0.3s ease-out;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10002;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.thumbnail-panel {
    height: 120px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

.thumbnail-panel.hidden {
    height: 0;
    padding: 0;
    overflow: hidden;
}

.thumbnail-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    height: 100%;
    padding-bottom: 5px;
}

.thumbnail-item {
    flex: 0 0 120px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: all 0.2s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    opacity: 1;
    border-color: #ff3600;
}

.thumbnail-list::-webkit-scrollbar {
    height: 4px;
}

.thumbnail-list::-webkit-scrollbar-thumb {
    background: #ff3600;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .thumbnail-item {
        flex: 0 0 80px;
        height: 60px;
    }

    .slider-header {
        padding: 0 10px;
    }

    .header-actions {
        gap: 10px;
    }
}