/* Projeler - Banner (görsel 1: PROJELER, görsel 2: Yarına Miras Projeler) */
.banner-section--projects {
    --banner-subtitle-fs: 22px;
    --banner-title-fs: 55px;
}

.banner-section {
    height: 65vh;
}

.banner-section--projects .banner-subtitle {
    margin-bottom: 15px;
}

/* PROJELER (görsel 1) */
.banner-section--projects .banner-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: clamp(min(18px, var(--banner-subtitle-fs)), 4vw, var(--banner-subtitle-fs));
    line-height: normal;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.5);
}

/* Yarına Miras Projeler (görsel 2) */
.banner-section--projects .banner-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: clamp(min(28px, var(--banner-title-fs)), 5vw, var(--banner-title-fs));
    line-height: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    text-align: left;
}

/* =============================
   Projeler Sayfası - Tab'li Liste
   ============================= */

.projects-section {
    position: relative;
    z-index: 3;
    padding-top: 0;
    padding-bottom: 80px;
    background-color: #FFFFFF;
}

.projects-section > .container {
    display: flow-root;
}

.projects-tabs {
    display: flex;
    width: 100%;
    gap: 2px;
    align-items: stretch;
    margin-top: -53px;
}

.projects-tab-button {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 20px;
    height: 105px;
    box-sizing: border-box;
    border: none;
    background-color: #F5F5F5;
    color: #C04D00;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.projects-tab-button img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

/* Konut ikonu pasif durumda beyaz; turuncu (#C04D00) göster */
.projects-tab-button[data-category="residential"]:not(.is-active) img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(1500%) hue-rotate(359deg) brightness(95%) contrast(101%);
}

.projects-tab-button.is-active {
    background-color: #C04D00;
    color: #F3CFB2;
}

/* Seçili butonda ikon açık renk (#F3CFB2 tonunda, yazı ile uyumlu) */
.projects-tab-button.is-active img {
    filter: brightness(0) invert(1);
}

.projects-tab-panels {
    margin-top: 2.5rem;
}

.projects-tab-panel {
    display: none;
}

.projects-tab-panel.is-active {
    display: block;
}

/* Proje alt kategori başlıkları (görsel 2) */
.projects-subtitle {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #3E3739;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.project-card {
    overflow: hidden;
    border-radius: 4px;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .projects-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    .projects-tab-button {
        flex: 1 1 100%;
        min-width: 0;
        justify-content: flex-start;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* İletişime Geçin Section (building-contact-section) */
.building-contact-section {
    padding: 70px 0;
    overflow: visible !important;
    position: relative;
    z-index: 4;
}

.building-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #F5F5F5;
    z-index: -1;
}

.building-contact-section .container {
    overflow: visible !important;
    position: relative;
    z-index: 1;
}

.building-contact-inner {
    position: relative;
    overflow: visible !important;
    min-height: 400px;
}

.building-contact-content {
    width: 46%;
    max-width: 50%;
}

.building-contact-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 60px;
    color: #C04D00;
    line-height: 1.1;
    letter-spacing: 0;
    margin: 0 0 32px 0;
}

.building-contact-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 36px;
    letter-spacing: 0;
    color: #313131;
    margin: 0 0 40px 0;
    max-width: 789px;
}

.building-contact-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap;
}

.building-contact-section .btn-dark-fill {
    padding: 10px 10px 10px 30px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: none;
    background: #3E3739;
    color: #F3CFB2;
}

.building-contact-section .btn-dark-fill span {
    text-align: left;
}

.building-contact-section .btn-dark-fill .btn-image {
    padding: 10px;
    width: 41px;
    height: 41px;
    background: #C04D00;
    color: #F3CFB2;
}

.building-contact-section .btn-dark-fill:hover {
    background: #332e30;
}

/* Açık arka planda outline buton görünürlüğü */
.building-contact-section .btn-outline.text-dark {
    border-color: #3E3739;
    color: #3E3739;
}

.building-contact-section .btn-outline.text-dark:hover {
    background: rgba(62, 55, 57, 0.08);
}

.building-contact-section .btn-outline.text-dark .btn-image {
    background: #C04D00;
    color: #F3CFB2;
}

.building-contact-image {
    position: absolute;
    right: 0;
    top: -145px;
    bottom: -145px;
    width: 50%;
    z-index: 2;
}

.building-contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 1200px) {
    .building-contact-section {
        padding: 110px 0 70px;
    }
}

@media (max-width: 1024px) {
    .building-contact-section {
        padding: 50px 0;
    }

    .building-contact-inner {
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .building-contact-content {
        width: 100%;
        max-width: 100%;
        order: 1;
    }

    .building-contact-image {
        order: 2;
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        min-height: 300px;
        margin-top: 40px;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .building-contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .building-contact-title {
        font-size: 42px;
    }

    .building-contact-text {
        font-size: 18px;
        line-height: 30px;
    }
}

@media (max-width: 992px) {
    .building-contact-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .building-contact-section {
        padding: 40px 0;
    }

    .building-contact-inner {
        min-height: 0;
    }

    .building-contact-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .building-contact-text {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 28px;
    }

    .building-contact-buttons {
        flex-direction: column;
    }

    .building-contact-image {
        position: relative;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        min-height: 280px;
        margin-top: 40px;
    }

    .building-contact-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}
