/* Projects Section Responsive Styles */

/* Proje kartları genel stil */
.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Proje görseli wrapper */
.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    background-color: #f8f9fa;
    overflow: hidden;
}

.project-image-wrapper a {
    width: 100%;
    height: 100%;
    display: block;
}

/* Proje görseli */
.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

/* Kart başlığı */
.project-card .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #44425A;
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Kart body */
.project-card .card-body {
    padding: 1.2rem;
    min-height: 100px;
}

/* Buton */
.project-card .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* Mobil ekranlar (576px altı) */
@media (max-width: 575px) {
    .project-image-wrapper {
        height: 150px;
    }
    
    .project-card .card-title {
        font-size: 0.95rem;
        min-height: 40px;
    }
    
    .project-card .card-body {
        padding: 0.9rem;
        min-height: 90px;
    }
}

/* Tablet ekranlar (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .project-image-wrapper {
        height: 170px;
    }
}

/* Orta tablet ekranlar (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .project-image-wrapper {
        height: 180px;
    }
    
    .project-card .card-title {
        font-size: 0.95rem;
    }
}

/* Laptop ekranlar (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .project-image-wrapper {
        height: 180px;
    }
}

/* Büyük ekranlar (1200px - 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .project-image-wrapper {
        height: 200px;
    }
}

/* Full HD ekranlar (1600px - 2559px) */
@media (min-width: 1600px) and (max-width: 2559px) {
    .project-image-wrapper {
        height: 240px;
    }
    
    .project-card .card-title {
        font-size: 1.2rem;
    }
    
    .project-card .card-text {
        font-size: 1rem;
    }
}

/* 2K/QHD ekranlar (2560px - 3839px) */
@media (min-width: 2560px) and (max-width: 3839px) {
    .project-image-wrapper {
        height: 300px;
    }
    
    .project-card .card-title {
        font-size: 1.4rem;
        min-height: 65px;
    }
    
    .project-card .card-body {
        padding: 1.8rem;
        min-height: 140px;
    }
    
    .project-card .btn {
        font-size: 1.05rem;
        padding: 0.65rem 1.4rem;
    }
}

/* 4K/UHD ekranlar (3840px ve üzeri) */
@media (min-width: 3840px) {
    .project-image-wrapper {
        height: 400px;
    }
    
    .project-card .card-title {
        font-size: 1.8rem;
        min-height: 85px;
        font-weight: 700;
    }
    
    .project-card .card-body {
        padding: 2.2rem;
        min-height: 160px;
    }
    
    .project-card .btn {
        font-size: 1.3rem;
        padding: 0.9rem 1.8rem;
        font-weight: 700;
    }
    
    .project-card {
        border-radius: 15px;
    }
}

/* Dark mode için */
body.dark-mode .project-card {
    background-color: #2d2d2d;
    border-color: #404040;
}

body.dark-mode .project-card .card-title {
    color: #e0e0e0;
}



body.dark-mode .project-image-wrapper {
    background-color: #3a3a3a;
}

/* Grid düzeni için ek ayarlar */
@media (min-width: 1200px) {
    #projects .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    #projects .row > [class*="col-"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* 2K ve üzeri için grid spacing */
@media (min-width: 2560px) {
    #projects .row {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    #projects .row > [class*="col-"] {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Container genişliği */
@media (min-width: 2560px) {
    #projects .container {
        max-width: 2200px;
    }
}

@media (min-width: 3840px) {
    #projects .container {
        max-width: 3200px;
    }
}
