﻿.detail-container {
    margin-bottom: 10%;
}

.detail-top {
    display: flex;
    flex-direction: column;
    padding: 3px 10px 3px 0px;
    /*background-color:white;*/
    margin-bottom: 10px;
}

.detail-body {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.detail-main {
    margin-top: 15px;
    max-width: 880px;
}

.detail-owner {
    display: flex;
    flex-direction: column;
}

.detail-container .card {
    border: 0;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom:10px;
}

.detail-container.card-body {
    border-radius: 0;
    border: 0;
}

.detail-container .card-header {
    background-color: var(--bbb-secondary);
    color: white;
    font-family: 'Nunito',sans-serif;
    padding: 10px;
    border-radius: 0;
    font-size:14px;
}

    .detail-container .card-header h4 {
        font-size: 16px;
        margin-bottom: 0;
    }

.detail-amenities {
    margin-top: 15px;
    max-width: 885px;
}

    .detail-amenities .nav {
        gap: 2px;
    }

    .detail-amenities .nav-link {
        background-color: var(--bbb-primary);
        color: white;
        border-radius: 0;
    }

        .detail-amenities .nav-link.active {
            background-color: var(--bbb-secondary);
            color: white;
        }

    .detail-amenities .tab-content {
        background-color: white;
        border: 0;
        height: 100%;
        position: relative;
    }

    .detail-amenities .tab-pane {
        background-color: white !important;
        border: 0;
        position: relative;
    }

.detail-container .detail-image {
    max-width: 528px;
    min-width: 528px;
}

.detail-container .detail-infos {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 335px;
    /* border: 0.1px solid;
        border-color: var(--bbb-secondary);*/
}

    .detail-container .detail-infos .price {
        /* border: 0.1px solid;
            border-color: var(--bbb-secondary);*/

        width: 100%;
        max-height: 27px;
        display: flex;
        align-items: center;
        font-size: 16px;
        color: var(--bbb-secondary);
    }

    .detail-container .detail-infos ul {
        padding-left: 3px;
        padding-right: 10px;
        margin-bottom: 0;
        max-height: 558px;
        overflow-y: auto;
    }
        
        .detail-container .detail-infos ul::-webkit-scrollbar {
            width: 6px; /* scroll kalınlığı */
        }

        .detail-container .detail-infos ul::-webkit-scrollbar-track {
            background: #f0f0f0; /* track rengi */
            border-radius: 3px;
        }

        .detail-container .detail-infos ul::-webkit-scrollbar-thumb {
            background-color: var(--bbb-secondary); /* kaydırma çubuğu rengi */
            border-radius: 3px;
        }

            .detail-container .detail-infos ul::-webkit-scrollbar-thumb:hover {
                background-color: var(--bbb-primary); /* hover rengi */
            }

    .detail-container .detail-infos li {
        display: flex;
        align-items: center;
        border-bottom: 0.1px solid;
        border-color: #ededed;
        padding: 4px 0;
        max-height: 27px;
    }

        .detail-container .detail-infos li .prop-title,
        .detail-container .detail-infos li .prop-value {
            flex: 1; /* Her biri eşit alan kaplar */
            height: 27px;
            display: flex;
            align-items: center; /* Dikey ortala */
            font-size: 13px;
        }

        .detail-container .detail-infos li .prop-title {
            color: #666;
            font-family: 'Nunito', sans-serif;
            font-weight: 600;
        }

        .detail-container .detail-infos li .prop-value {
            font-family: 'Nunito', sans-serif;
            color: rgb(135, 140, 159);
            font-weight: 600;
           
            white-space: nowrap; 
            overflow: hidden; 
            text-overflow: ellipsis;
        }



.detail-top h1 {
    font-size: 22px;
    margin-bottom: 0;
}

.top-detail {
    display: flex;
  /*  justify-content: space-between;*/
  align-items:center;
    background-color: white;
    padding: 5px;
    margin-bottom: 5px;
}

    .top-detail .location {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 3px;
    }

        .top-detail .location i {
            color: var(--bbb-secondary);
        }

        .top-detail .location span {
            color: var(--bbb-secondary);
        }

    .top-detail .price {
        font-family: 'Helvetica Neue',sans-serif;
        color: #F8BB11;
        font-weight: 400;
        font-size: 20px;
    }




.detail-container .detail-owner {
    /* background-color: var(--bbb-primary);*/
    background-color: white;
    width: 100%;
    padding: 10px;
    height: 300px;
}

.owner-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 0.1px solid rgb(237, 237, 237);
}

.owner-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    margin-top: 20px;
    margin-bottom:20px;
}

    .owner-images img {
        display: flex;
        max-width: 100%;
        width: 100px;
        border: 1px solid;
        border-radius: 10px;
        border-color: rgb(237, 237, 237);
    }

.owner-company-name {
    text-align: center;
    margin: 0 auto;
    border-bottom: 0.1px solid;
    border-color: rgb(237, 237, 237);
    width: 100%;
}

    .owner-company-name h5 {
        color: var(--bbb-primary);
    }

.owner-info .owner-agent-name {
    color: var(--bbb-primary);
    text-align: center;
}

.owner-details {
}

.owner-tools {
    display: flex;
    margin-top: auto;
    justify-content: space-evenly; /* Yatayda eşit boşluk bırak */
    align-items: center; /* Dikeyde ortala */
    height: 35px; /* Örnek yükseklik */
    background-color: var(--bbb-secondary); /* Arka plan sadece görmek için */
}

    .owner-tools .item {
        flex: 1; /* Her item eşit genişlik alsın */
        text-align: center; /* İçerik yatayda ortalansın */
    }

.listing-features ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.listing-features li {
    width: 33.3%;
    text-align: left;
    margin-bottom: 15px;
    font-size: 13px;
    color: #4b5275;
    font-family:'DM Sans',sans-serif;
    /*color: #888DA0;*/
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

    .listing-features li::before {
        content: "\f00c"; /* fa-check unicode */
        font-family: "Font Awesome 6 Free";
        font-weight: 900; /* solid ikonlar için 900 */
        position: absolute;
        left: 0;
        top: 0px;
        font-size: 13px;
        color: #28a745; /* İkon rengi, istersen değiştir */
    }


.detail-same-classifieds {
    width: 100%;
   /* background-color: green;*/
   /* height: 100px;*/
    /*position: absolute;*/
    /*right: 12px;
    top: 360px;*/
    margin-top: 15px;
  
   
    
}

    .detail-same-classifieds .card-footer{
        padding:15px;
        display:flex;
        align-items:center;
    }

    .detail-sticky-tool {
        position: fixed;
        top: -100px;
        left: 50%;
        transform: translateX(-50%);
        background-color: white;
        color: white;
        padding: 5px 10px 5px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: top 0.5s ease;
        z-index: 999;
        width: 100%;
    }

    .detail-sticky-tool.show {
        top: 0px;
        width: 100%;
        height: 60px;
    }

    .detail-sticky-tool .fc-button {
        width: 25px !important;
        height: 25px !important;
        margin: 0 !important;
    }

.owner-tools .fc-button {
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
}

.share-button-icon {
    line-height: 1 !important;
    margin: 0 !important;
}

.owner-tools .custom-span {
    position: absolute;
    left: -160% !important;
    margin-left: 0 !important;
    background: #18458B !important;
    opacity: 0;
    visibility: visible !important;
    top: -42px !important;
    color: #fff !important;
    width: 120px !important;
    height: auto !important;
    line-height: 1 !important;
    font-size: 12px !important;
    padding: 12px 0 !important;
    border-radius: 22px !important;
    z-index: 3 !important;
}

.ads-card-buttons {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color: gray;
    border-top-right-radius: 5px;
    position: fixed;
    bottom: 115px;
    left: 0px;
    gap: 3px;
}
.main-footer {
    padding: 90px 0 0 !important;
}
@media (max-width: 768px) {
    .main-footer {
        padding: 190px 0 0 !important;
    }
    .detail-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

        .detail-container .detail-image {
            max-width: 528px;
            min-width: 0;
        }

    .detail-body {
        flex-direction: column;
        gap: 10px;
    }

    .top-detail .location {
        font-size: 0.87rem;
    }

    .top-detail .price {
        font-size: 1.2rem;
    }

    .detail-container .detail-infos {
        width: 100%;
        display:none;
    }

        .detail-container .detail-infos ul {
            list-style: none;
            display: flex;
            gap: 0px;
            padding-left: 3px;
            padding-right: 10px;
            width: 100%;
            overflow-x: scroll;
        }

        .detail-container .detail-infos li {
            flex-direction: column;
            align-items: flex-start;
            border: 0;
            min-width: 130px;
            padding: 5px;
            border-left: 0.2px solid;
            border-color: lightgray;
            max-height: 100px;
            line-height: 1.5;
        }

        .detail-container .detail-infos .price {
            display: none;
        }

    .detail-container .detail-image {
        max-width: 100%;
    }

    .detail-container .detail-infos {
        flex-direction: row;
    }

        .detail-container .detail-infos li .prop-title {
            color: #2d2c31;
        }

    .detail-top {
        padding: 10px 10px 3px 10px;
    }

        .detail-top h1 {
            font-size: 0.97rem;
            margin-bottom: 0;
            padding-bottom: 0;
        }

    .detail-container .detail-owner {
        position: fixed;
        bottom: 0;
        z-index: 1;
        padding: 5px;
        background-color: var(--bbb-primary);
        height: 125px;
    }

    .owner-info {
        display: flex;
        flex-direction: row;
        border: 0;
    }

    .owner-images {
        flex-direction: row;
        align-items: center;
        justify-content: start;
        gap: 10px;
        max-width: 100%;
        margin: 10px 10px 10px 10px;
    }

        .owner-images img {
            width:40px;
        }

    .owner-agent-name {
        margin-top: 5px;
        font-size: 0.875rem;
        color: white;
    }

        .owner-agent-name h6 {
            font-size: 0.875rem;
            color: white;
        }

    .owner-company-name h5 {
        font-size: 0.875rem;
        color: white;
    }

    .detail-same-classifieds {
        width: 100%;
       /* background-color: green;*/
        height: 100px;
        position: inherit;
        margin-top: 15px;
        margin-bottom: 240px;
    }

    .listing-features li {
        width: 50%;
    }
}

.button-tool {
    position: relative;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.fixed-scroll-column-share-container {
    display: none;
    position: absolute;
    top: 100%; /* Butonun hemen altında */
    left: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 12px;
    min-width: 200px;
    margin-top: 5px; /* Butondan biraz boşluk */
}

    .fixed-scroll-column-share-container.override {
        display: none;
        position: absolute;
        top: -170%; /* Butonun hemen altında */
        left: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        border-radius: 4px;
        padding: 12px;
        min-width: 200px;
        margin-top: 5px; /* Butondan biraz boşluk */
    }

.share-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.showshare.sfcs {
    position: relative;
    cursor: pointer;
}

/* Animasyon için ekstra stil */
.fixed-scroll-column-share-container {
    transform-origin: top center;
    animation: slideDown 0.4s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-detail {
    display: flex;
    flex-direction: column;
    /*padding:10px;*/
    width: 100%;

}

    .sticky-detail .title {
        display: inline-block; /* veya inline-block */
        width: 98%; /* parent genişliğini tamamen kaplasın */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /*  padding: 0 20px 0 40px;*/
        color: #566985;
        font-weight: 600;
        text-align: center;
    }

    .sticky-detail .price {
        display: block; /* veya inline-block */
        width: 100%; /* parent genişliğini tamamen kaplasın */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        /* padding: 0 20px 0 40px;*/
    }

.main-button-tool {
    display: flex;
    justify-content: center;
    padding: 10px;
    background: var(--bbb-secondary);
    margin-top: 10px;
}

.custom-flex-scroll {
    display: flex; /* d-flex */
    flex-wrap: nowrap; /* flex-nowrap */
    gap: 0.5rem; /* gap-2 -> 0.5rem */
    overflow-x: auto; /* overflow-auto (yatayda scroll) */
    overflow-y: hidden; /* dikeyde scroll olmasın */
}


.detail-container .detail-tab-infos {
    display: flex;
    flex-direction: column;
    background-color: white;
    width: 100%;
}

    .detail-container .detail-tab-infos ul {
        padding-left: 3px;
        padding-right: 10px;
        margin-bottom: 0;
    }

    .detail-container .detail-tab-infos li {
        display: flex;
        align-items: center; /* DİKEY ORTALAMA */
        justify-content: space-between; /* YATAYDA AYIRMA */
        border-bottom: 0.1px solid #ededed;
        padding: 6px 10px;
        font-size: 13px;
    }

        .detail-container .detail-tab-infos li .prop-title {
            color: #666;
            font-family: 'Nunito', sans-serif;
            font-weight: 600;
            flex: 1;
            display: flex;
            align-items: center; /* DİKEY ORTALAMA */
        }

        .detail-container .detail-tab-infos li .prop-value {
            color: rgb(135, 140, 159);
            font-family: 'Nunito', sans-serif;
            font-weight: 600;
            flex: 1;
            text-align: right;
            display: flex;
            align-items: center; /* DİKEY ORTALAMA */
            justify-content: flex-end;
        }
    .detail-container .detail-tab-infos ul li:nth-child(odd) {
        background-color: #f9f9f9; /* açık gri */
    }

    .detail-container .detail-tab-infos ul li:nth-child(even) {
        background-color: #ffffff; /* beyaz */
    }
/* Ekran genişliği md (768px) ve üstü olursa wrap açılsın → flex-md-wrap */
@media (min-width: 768px) {
    .custom-flex-scroll {
        flex-wrap: wrap;
    }
}
