/* -------------------------------------------------------------------------- */
/* PROJECTS PAGE STYLES (GÜNCEL - DİKEY YERLEŞİM)                             */
/* -------------------------------------------------------------------------- */

/* Başlık Alanı */
.page-header {
    text-align: center;
    padding: 6rem 0 2rem;
    margin-bottom: 2rem;
    background: transparent;
}

body.ieee-animated-bg .page-title {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.ieee-animated-bg .page-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* -------------------------------------------------------------------------- */
/* PROJE KARTI                                                                */
/* -------------------------------------------------------------------------- */
.projects-section {
    padding-bottom: 6rem;
}

.project-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Sol tarafa mavi şerit */
    border-left: 6px solid var(--color-primary); 
    display: flex;
    flex-direction: column;
}

/* İçerik Alanı */
.project-card__content {
    padding: 3rem; /* Geniş iç boşluk */
}

/* 1. Başlık */
.project-card__title {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* 2. Görsel Alanı (YENİ KONUM) */
.project-card__media {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-card__image {
    width: 100%;
    height: auto;
    max-height: 300px; /* Çok uzun görsellerin sayfayı kaplamasını engelle */
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.project-card__media:hover .project-card__image {
    transform: scale(1.02); /* Hafif zoom efekti */
}

/* 3. Metin */
.project-card__text {
    font-family: var(--font-body);
    color: #333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.project-card__text p {
    margin-bottom: 1.5rem;
}

.project-card__text p:last-child {
    margin-bottom: 0;
}

/* 4. Buton */
.project-card__actions {
    display: flex;
    justify-content: flex-start;
}

.project-card__actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 98, 155, 0.2);
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE AYARLAR                                                         */
/* -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .page-header {
        padding: 5rem 1rem 1rem;
    }
    .page-title {
        font-size: 1.8rem !important;
    }
    .project-card__content {
        padding: 1.5rem;
    }
    .project-card__title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .project-card__image {
        max-height: 250px; /* Mobilde görsel daha kısa olsun */
    }
    .project-card__text {
        font-size: 1rem;
    }
    .btn {
        width: 100%; /* Mobilde buton tam genişlik */
    }
}