.ergi-split-home {
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: #111111;
}

.ergi-split-item {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
}

.ergi-split-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.ergi-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: brightness(0.72) saturate(0.65);
}

.ergi-split-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.22) 55%,
            rgba(0, 0, 0, 0.33) 100%
        );
    transition: background 0.5s ease, opacity 0.1s ease;
    z-index: 1;
}

.ergi-split-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 78%;
    max-width: 560px;
    transform: translate(-50%, -50%);
    color: #ffffff;
    z-index: 2;
    text-align: center;
}

.ergi-split-title {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.ergi-split-title h2 {
    font-family: "century-gothic", sans-serif;
    font-size: 42px;
    letter-spacing: 2px;
    font-weight: 300;
    margin: 0;
    line-height: 1.15;
    text-transform: uppercase;
    color: #ffffff;
}

.ergi-split-desc {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.ergi-split-action {
    margin-top: 24px;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.45s ease;
}

.ergi-split-btn {
    display: inline-block;
    min-width: 170px;
    padding: 13px 26px;
    border: 1px solid rgba(255,255,255,0.8);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.08);
    transition: all 0.35s ease;
}

/* BUTON ÜZERİNE GELİNCE */
.ergi-split-btn:hover {
    background-color: #ffffff !important;
    color: #111111 !important;
    border-color: #ffffff !important;
}

.ergi-split-item:hover .ergi-split-image img {
    transform: scale(1.07);
    filter: brightness(0.58) saturate(1);
}

.ergi-split-item:hover .ergi-split-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.28) 0%,
            rgba(0, 0, 0, 0.42) 55%,
            rgba(0, 0, 0, 0.60) 100%
        );
}

.ergi-split-item:hover .ergi-split-desc,
.ergi-split-item:hover .ergi-split-action {
    opacity: 1;
    transform: translateY(0);
}

.ergi-split-item:hover .ergi-split-btn {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* MOBILE RESPONSIVE */

@media (max-width: 992px) {
    .ergi-split-home {
        flex-direction: column;
        height: auto;
    }

    .ergi-split-item {
        width: 100%;
        height: 50vh;
    }

    .ergi-split-content {
        width: 84%;
    }

    .ergi-split-title h2 {
        font-size: 30px;
        letter-spacing: 2px;
    }

    .ergi-split-desc {
        opacity: 1;
        transform: translateY(0);
        font-size: 14px;
    }

    .ergi-split-action {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .ergi-split-item {
        height: 48vh;
    }

    .ergi-split-title h2 {
        font-size: 24px;
        letter-spacing: 1.5px;
    }

    .ergi-split-desc {
        margin-top: 14px;
        line-height: 1.55;
    }

    .ergi-split-btn {
        min-width: 150px;
        padding: 12px 22px;
        font-size: 12px;
        letter-spacing: 1.2px;
    }
}






.ergi-projects-page {
    width: 100%;
    overflow: hidden;
}

/* DEVAM EDEN PROJELER YAZI RENGI FIX */
.ergi-project-card {
    color: #111;
}

.ergi-project-card h4 {
    color: #111;
}

.ergi-project-card span {
    color: #444;
}

/* HERO */

.ergi-projects-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* arka plan görseli burada: kare bile olsa cover ile kırpar */
.ergi-projects-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/anas-build.jpg") center center / cover no-repeat;
    z-index: 0;
    transform: scale(1.05);
}

/* yaziyi öldürmeyen transparan karartma */
.ergi-projects-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

/* HERO2 */

.ergi-projects-hero2 {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* arka plan görseli burada: kare bile olsa cover ile kırpar */
.ergi-projects-hero2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/anas-cephe.jpg") center center / cover no-repeat;
    z-index: 0;
    transform: scale(1.05);
}

/* yaziyi öldürmeyen transparan karartma */
.ergi-projects-hero-overlay2 {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.ergi-projects-hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    z-index: 2;
}

.ergi-projects-hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.ergi-projects-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.95;
}

/* SECTION */

.ergi-projects-section {
    padding: 100px 0;
}

.ergi-projects-container {
    width: 85%;
    margin: 0 auto;
}

.ergi-projects-heading {
    text-align: center;
    margin-bottom: 70px;
}

.ergi-projects-heading h2 {
    font-size: 36px;
}

/* TAMAMLANMIŞ PROJE */

.ergi-project-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.ergi-project-image {
    flex: 1;
    overflow: hidden;
}

.ergi-project-image img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

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

.ergi-project-content {
    flex: 1;
}

.ergi-project-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.ergi-project-meta {
    display: block;
    margin-bottom: 20px;
    color: #777;
}

.ergi-project-buttons {
    margin-top: 30px;
}

.ergi-btn {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.ergi-btn-primary {
    background: #000;
    color: #fff;
}

.ergi-btn-primary:hover {
    background: #fff;
    color: #000;
}

/* HIGHLIGHT */

.ergi-projects-highlight {
    background: #111;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.ergi-projects-highlight h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* DEVAM EDEN PROJELER */

.ergi-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.ergi-project-card {
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ergi-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.ergi-project-card img {
    width: 100%;
    display: block;
}

.ergi-project-card-body {
    padding: 25px;
}

.ergi-progress {
    background: #eee;
    height: 6px;
    margin: 15px 0;
}

.ergi-progress-bar {
    height: 6px;
    background: #000;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .ergi-project-item {
        flex-direction: column;
    }

    .ergi-projects-grid {
        grid-template-columns: 1fr;
    }

    .ergi-projects-hero {
        min-height: 520px;
        height: 70vh;
    }
}