﻿/* Mobile Optimization */
@media (max-width: 768px) {
    .projects-hero {
        padding: 60px 30px;
        text-align: center;
        min-height: 70vh !important;
    }

    .projects-section {
        padding: 60px 30px;
        text-align: center;
        min-height: 60vh !important;
    }

    .filter-buttons {
        flex-direction: row !important;
        gap: 0.5rem !important;
    }

    .filter-btn {
        font-size: 0.8rem !important;
    }
}


.projects-hero {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

    .projects-hero .breadcrumb a {
        color: #aaa;
        text-decoration: none;
        font-weight: 500;
    }

    .projects-hero .glow-text {
        color: #FF5C33;
        position: relative;
    }







/* === Projeler Sayfası - Kart Yapısı CSS === */

.projects-section {
    background-color: #0d0d0d;
    color: #fff;
}

.filter-buttons {
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ffffff44;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .filter-btn.active,
    .filter-btn:hover {
        background-color: #ff5c33;
        border-color: #ff5c33;
        color: #fff;
    }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: #000000;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.5s ease, border 0.5s ease;
    max-width: 400px;
}

    .project-card:hover {
        border: 1px solid #ff5c33;
    }

        .project-card:hover img {
            transform: scale(1.1);
            filter: blur(1px) brightness(0.7);
        }

    .project-card img {
        width: 100%;
        height: auto;
        background: rgba(0, 0, 0, 0.6);
        transition: transform 0.8s ease;
    }



.image-wrapper {
    position: relative;
    overflow: hidden;
}

    .image-wrapper img {
        width: 100%;
        display: block;
        border: none !important;
    }

.circle-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #0D0D0D;
    color: #ffffff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
}

.image-wrapper:hover .circle-btn {
    opacity: 0.9;
    filter: blur(0.3px);
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.circle-btn i {
    margin-left: 6px;
}



.project-info {
    padding: 1.5rem;
}

    .project-info h5 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .project-info p {
        font-size: 0.95rem;
        color: #ccc !important;
        margin-bottom: 0;
    }

.view-details {
    position: relative;
    display: inline-block;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .view-details::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: #ff5c33;
        transition: width 0.3s ease;
    }

    .view-details:hover {
        color: #ff5c33;
    }

        .view-details:hover::after {
            width: 100%;
        }


/* Responsive */
@media (max-width: 576px) {
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .circle-btn {
        width: 60px;
        height: 60px;
        font-size: 0.8rem;
    }
}




.hero-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle at center, rgba(255,92,51,0.4), transparent 70%);
    filter: blur(120px);
    animation: blobMove 8s infinite alternate ease-in-out;
}

@keyframes blobMove {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-45%, -55%) scale(1.1);
    }
}



/* Mouse icon */
.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelMove 1.5s infinite;
}

@keyframes wheelMove {
    0% {
        top: 10px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.5;
    }

    100% {
        top: 10px;
        opacity: 1;
    }
}

/* Arrow */
.arrow {
    margin-top: 10px;
    width: 16px;
    height: 16px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}


/* scroll-down */

.scroll-down {
    position: absolute;
    bottom: 70px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

    .scroll-down:hover {
        opacity: 1;
    }
