/* =========================================
   PROJELER BÖLÜMÜ
========================================= */

.projects-section {
    width: 100%;
    padding: 70px 0;
    background-color: #f7f8fa;
}

.projects-intro {
    max-width: 800px;
    margin: 0 auto 42px;
    text-align: center;
}

.projects-intro h2 {
    margin-bottom: 14px;
    color: #1e3c72;
    font-size: clamp(2rem, 5vw, 2.8rem);
    line-height: 1.2;
}

.projects-intro p {
    color: #555555;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* =========================================
   PROJE KARTLARI
========================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.gallery-item {
    min-width: 0;
    overflow: hidden;
    background-color: #ffffff;
    border: 1px solid #e4e7eb;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* =========================================
   PROJE RESİMLERİ
========================================= */

.gallery-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #e9edf2;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.04);
}

/* =========================================
   PROJE AÇIKLAMALARI
========================================= */

.gallery-caption {
    padding: 24px;
}

.gallery-caption h3 {
    margin-bottom: 9px;
    color: #1e3c72;
    font-size: 1.45rem;
    line-height: 1.3;
}

.gallery-caption p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.65;
}

/* =========================================
   İLETİŞİM ÇAĞRISI
========================================= */

.project-contact {
    width: 100%;
    padding: 55px 0;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            #1e3c72 0%,
            #2a5298 100%
        );
}

.project-contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.project-contact h2 {
    margin-bottom: 10px;
    color: #ffffff;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.25;
}

.project-contact p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.65;
}

.contact-button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 25px;
    color: #1e3c72;
    background-color: #ffd700;
    border: 2px solid #ffd700;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-button:hover,
.contact-button:focus {
    color: #1e3c72;
    background-color: #ffea4d;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.25);
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 950px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-contact-inner {
        flex-direction: column;
        text-align: center;
    }

    .project-contact p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* =========================================
   TELEFON
========================================= */

@media screen and (max-width: 768px) {
    .projects-section {
        padding: 50px 0;
    }

    .projects-intro {
        margin-bottom: 30px;
    }

    .projects-intro h2 {
        font-size: 2rem;
    }

    .projects-intro p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-image {
        aspect-ratio: 16 / 10;
    }

    .gallery-caption {
        padding: 20px;
    }

    .gallery-caption h3 {
        font-size: 1.35rem;
    }

    .project-contact {
        padding: 45px 0;
    }

    .project-contact-inner {
        gap: 24px;
    }

    .project-contact h2 {
        font-size: 1.9rem;
    }

    .project-contact p {
        font-size: 1rem;
    }

    .contact-button {
        width: 100%;
        max-width: 280px;
    }
}

/* =========================================
   KÜÇÜK TELEFON
========================================= */

@media screen and (max-width: 480px) {
    .projects-section {
        padding: 42px 0;
    }

    .projects-intro h2 {
        font-size: 1.8rem;
    }

    .gallery-image {
        aspect-ratio: 4 / 3;
    }

    .gallery-caption {
        padding: 18px;
    }

    .project-contact h2 {
        font-size: 1.7rem;
    }
}