/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .portfolio-item {
        height: 450px;
    }
    
    .portfolio-overlay h3 {
        font-size: 2rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .portfolio-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .portfolio-item {
        height: 400px;
        margin-bottom: 30px;
    }
    
    .view-all-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .portfolio-section {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .portfolio-item {
        height: 350px;
        overflow: hidden;
        position: relative;
        margin-bottom: 25px;
    }
    
    .portfolio-overlay {
        padding: 1.5rem;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .portfolio-overlay p {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .portfolio-overlay .tech-stack {
        font-size: 0.85rem;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Proje sayfasında kart düzeni */
    #all-portfolio .portfolio-item {
        margin-bottom: 20px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .portfolio-section {
        padding-top: 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .portfolio-item {
        height: 280px;
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .portfolio-item img {
        border-radius: 15px;
    }
    
    .portfolio-overlay {
        border-radius: 15px;
        padding: 1.5rem;
        min-height: 180px;
        background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.6), transparent);
        opacity: 1;
    }
    
    .portfolio-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-overlay p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .portfolio-overlay .tech-stack {
        font-size: 0.75rem;
        padding-top: 0.5rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .view-site-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .view-all-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    /* Proje içeriklerini mobilde her zaman görünür yap */
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }
    
    /* Ana sayfadaki projeler için özel düzenleme */
    #portfolio .portfolio-item {
        height: 320px;
    }
    
    /* İlk projeyi öne çıkar */
    #portfolio .portfolio-item:first-of-type {
        height: 340px;
    }
} 