/* Proje Sayfası Ana Stilleri */
.proje-detay {
    padding-bottom: 50px;
    font-family: 'Roboto', sans-serif;
}

/* Proje Başlık ve Konum */
.proje-baslik {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.proje-baslik:hover {
    color: #f44336;
}

.proje-konum {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.proje-konum i {
    color: #f44336;
    margin-right: 5px;
}

/* Fiyat ve İlan Bilgisi */
.fiyat-ilan {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.fiyat-ilan:hover {
    transform: translateY(-5px);
}

.fiyat-ilan::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: #f44336;
}

.fiyat {
    font-size: 1.8rem;
    font-weight: 600;
    color: #f44336;
    margin-bottom: 10px;
}

.ilan-no {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.btn-favorite {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #555;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    background-color: #f44336;
    border-color: #f44336;
    color: #fff;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.btn-favorite i {
    margin-right: 8px;
}

/* Proje Slider */
.proje-slider {
    margin-bottom: 30px;
}

.ana-gorsel {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    height: 300px;
}

.ana-gorsel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
    pointer-events: none;
}

.ana-gorsel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

/* Navigasyon butonları için stil ekliyorum */
.slider-nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.slider-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, #FF8C00, #FFA500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    border: none;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.slider-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.slider-nav-btn:focus {
    outline: none;
}

.slider-nav-btn.prev {
    left: 15px;
}

.slider-nav-btn.next {
    right: 15px;
}

.kucuk-gorseller {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
}

.kucuk-gorseller img {
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 80px;
    object-fit: cover;
    opacity: 0.8;
    border: 2px solid transparent;
}

.kucuk-gorseller img:hover {
    opacity: 1;
    transform: translateY(-3px);
    border-color: #f44336;
}

/* Küçük görsel aktif durumu */
.kucuk-gorsel.aktif {
    opacity: 1;
    border-color: #f44336;
    transform: translateY(-3px);
}

/* Küçük görsellere fare ile tıklanabileceğini gösteren pointer ekleme */
.kucuk-gorsel {
    cursor: pointer;
}

/* şantiye günlük - Yeni Tasarım */
.santiye-gunlugu {
    margin-bottom: 30px;
}

.santiye-gunlugu-icerik-scroll {
    max-height: min(420px, 50vh);
    overflow-y: auto;
    overflow-x: hidden;
}

.santiye-gunlugu-toggler .fa-chevron-down {
    transition: transform 0.2s ease;
}

.santiye-gunlugu-toggler:not(.collapsed) .fa-chevron-down {
    transform: rotate(180deg);
}

.santiye-gunlugu h3 {
    color: #333;
    border-bottom: 2px solid #f44336;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.timeline-grid {
    margin-top: 15px;
}

.timeline-card {
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.timeline-image {
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.timeline-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.timeline-content {
    padding: 15px;
    flex-grow: 1;
}

.timeline-content h5 {
    color: #f44336;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: #666;
}

.timeline-date {
    margin-bottom: 10px;
}

.timeline-date .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#tumGunlukBtn {
    transition: all 0.3s ease;
    border-color: #f44336;
    color: #f44336;
    padding: 8px 20px;
    font-size: 0.9rem;
}

#tumGunlukBtn:hover {
    background-color: #f44336;
    color: white;
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .slider-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .slider-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

/* Detay Menüsü */
.detay-menu {
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.detay-menu .nav-link {
    color: #555;
    font-weight: 600;
    border: none;
    padding: 15px 25px;
    position: relative;
    transition: all 0.3s ease;
}

.detay-menu .nav-link:hover {
    color: #f44336;
}

.detay-menu .nav-link.active {
    color: #f44336;
    background-color: transparent;
    border: none;
}


@keyframes fadeIn {
    from { opacity: 0; width: 0; }
    to { opacity: 1; width: 100%; }
}

/* Detay Kutuları */
.detay-kutu {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.detay-kutu:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: #f44336;
}

.detay-icon {
    font-size: 2.5rem;
    color: #f44336;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.detay-kutu:hover .detay-icon {
    transform: scale(1.1);
}

.detay-kutu h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.detay-kutu p {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0;
    font-weight: 500;
}

/* Açıklama İçeriği */
.aciklama-icerik {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.aciklama-icerik p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.aciklama-icerik p:last-child {
    margin-bottom: 0;
}

.aciklama-icerik strong {
    color: #333;
}

/* vizyon İçeriği */
.vizyon-icerik {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.vizyon-icerik p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.vizyon-icerik p:last-child {
    margin-bottom: 0;
}


/* Harita İçeriği */
.konum-icerik {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.konum-icerik iframe {
    display: block;
    border: none;
}

/* Fiyat Tablosu */
.fiyat-icerik {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.fiyat-icerik .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.fiyat-icerik .table th {
    background-color: #f5f5f5;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    padding: 12px 15px;
}

.fiyat-icerik .table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
}

.fiyat-icerik .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Proje Özellikleri Bölümü */
.proje-ozellikleri, .daire-ozellikleri, .sosyal-imkanlar {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
}

.proje-ozellikleri h3, .daire-ozellikleri h3, .sosyal-imkanlar h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.proje-ozellikleri h3::after, .daire-ozellikleri h3::after, .sosyal-imkanlar h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background-color: #f44336;
}

.ozellik {
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #555;
    transition: all 0.3s ease;
}

.ozellik:hover {
    background-color: #f44336;
    color: #fff;
    transform: translateX(5px);
}

.ozellik i {
    margin-right: 8px;
    color: #f44336;
}

.ozellik:hover i {
    color: #fff;
}

/* Sağ Taraf Kutular */
.muteahhit-bilgileri, .iletisim-formu, .kredi-hesaplama {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
}

.muteahhit-bilgileri h4, .iletisim-formu h4, .kredi-hesaplama h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.muteahhit-bilgileri h4::after, .iletisim-formu h4::after, .kredi-hesaplama h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background-color: #f44336;
}

.muteahhit-logo {
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.muteahhit-logo:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.muteahhit-bilgileri h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 15px 0;
}

.muteahhit-bilgileri .btn, .iletisim-formu .btn, .kredi-hesaplama .btn {
    background-color: #f44336;
    border-color: #f44336;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.muteahhit-bilgileri .btn:hover, .iletisim-formu .btn:hover, .kredi-hesaplama .btn:hover {
    background-color: #e53935;
    border-color: #e53935;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

/* Form Elemanları */
.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #f44336;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25);
}

.form-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: #f44336;
    box-shadow: 0 0 0 0.2rem rgba(244, 67, 54, 0.25);
}

.form-text {
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Kredi Sonucu */
.kredi-sonucu {
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px dashed #ddd;
}

.kredi-sonucu p {
    margin-bottom: 0;
    font-weight: 500;
    color: #555;
}

/* Benzer Projeler */
.benzer-projeler h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.benzer-projeler h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background-color: #f44336;
}

.proje-card {
    margin-bottom: 25px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.proje-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.proje-durum-badge {
    position: absolute;
    top: 15px;
    left: 0;
    background-color: #4CAF50;
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    z-index: 2;
    border-radius: 0 30px 30px 0;
}

.proje-fiyat-badge {
    position: absolute;
    bottom: 50%;
    right: 0;
    background-color: #f44336;
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    z-index: 2;
    border-radius: 30px 0 0 30px;
    transform: translateY(50%);
}

.proje-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.proje-card:hover .card-img-top {
    transform: scale(1.1);
}

.proje-card .card-body {
    padding: 20px;
}

.proje-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.proje-card .card-text {
    color: #555;
    margin-bottom: 5px;
}

.proje-card .text-muted {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Ayarlamaları */
@media (max-width: 992px) {
    .proje-baslik {
        font-size: 1.8rem;
    }

    .fiyat {
        font-size: 1.5rem;
    }

    .detay-menu .nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .proje-baslik {
        font-size: 1.5rem;
    }

    .proje-konum {
        font-size: 0.9rem;
    }

    .fiyat {
        font-size: 1.3rem;
    }

    .detay-kutu {
        margin-bottom: 15px;
    }

    #projeDetayTab.detay-menu {
        flex-wrap: nowrap;
    }

    #projeDetayTab.detay-menu .nav-item {
        flex-shrink: 0;
    }

    .detay-menu .nav-link {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .ozellik {
        font-size: 0.9rem;
    }

    .benzer-projeler h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .proje-baslik {
        font-size: 1.3rem;
    }

    .fiyat-ilan {
        padding: 15px;
    }

    .fiyat {
        font-size: 1.2rem;
    }

    .btn-favorite {
        font-size: 0.85rem;
        padding: 6px 15px;
    }

    .kucuk-gorsellers img {
        height: 60px;
    }

    .detay-menu .nav-link {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .proje-durum-badge, .proje-fiyat-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .proje-card .card-img-top {
        height: 160px;
    }

    .proje-card .card-title {
        font-size: 1.1rem;
    }
}
