/* HERO BÖLÜMÜ */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.2)), url('../img/gerence.jpg'); 
    background-size: cover;
    background-position: center ;
    height: calc(100vh - 98px); /* Üst bar ve menü yüksekliği düşüldü */
    display: flex;
    /* flex-direction: column; */
    justify-content: center;
    align-items: start;
    text-align: center;
    color: white;
    padding: 20px;
    margin-top: -43px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    line-height: 1.3;
    /* background-color: rgba(255, 255, 255, 0.3); */
    background-color: #ffffff20;
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    padding: 20px;
    margin: 50px 20%;
    border-radius: 15px;
}

/* PROJELER BÖLÜMÜ */
.projects-section {
    padding: 30px 0;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    color: #0a2647;
    margin-bottom: 5px;
    display: inline-block;
    border-bottom: 3px solid #fceea7; /* Başlık altı sarı çizgi */
    padding-bottom: 5px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Masaüstünde 4 sütun */
    gap: 20px;
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
}

.project-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-image {
    width: 100%;
    height: 250px; /* Resim yüksekliği */
    border-radius: 15px; /* Köşeleri yuvarlatılmış */
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card h3 {
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 5px;
    font-weight: 700;
    text-decoration: underline;
    letter-spacing: 0.02rem;
}

.project-card p {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
    max-width: 90%;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 768px) {

    /* 3. Hero Yazısı */
    .hero {
        height: 300px; /* Mobilde daha kısa görsel */
        padding: 15px;
        margin-top: 0px;
    }
    .hero h1 {
        font-size: 1.2rem;
        background-color: #ffffff20;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        margin: 0 5%;
    }

    /* 4. Projeler: Tek Sütun */
    .projects-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 40px;
    }

    .project-image {
        height: 220px; /* Mobilde resim yüksekliği */
        border-radius: 10px;
    }

}