* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}   
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
}
.filter-buttons {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.filter-button {
    margin: 1px;
}
.filter-button:active, .filter-button.btn-secondary
{
    background-color: #6c757d !important;
    color: white !important;
}

.filter-button.btn-outline-secondary:not(:hover) {
    color: #6c757d;
    border-color: #6c757d;
}

/* --- YENİ ANİMASYON STİLLERİ --- */

.portfolio-item {
    position: relative;
    overflow: hidden; /* Taşmaları engellemek için gerekli */
    margin-bottom: 30px;
    border-radius: 8px;
/*             box-shadow: 0 4px 15px rgba(0,0,0,0.1);
*/        }

.portfolio-item img {
    width: 100%;
    border-radius: 10px;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Yumuşak geçiş */
}

.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*             background: linear-gradient(to top, rgba(22, 160, 133, 0.9), rgba(26, 188, 156, 0.8));
*/            
    background: linear-gradient(to top, rgba(40, 40, 40, 0.9), rgba(222,222,222, 0.8));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item .content {
    position: absolute;
    bottom: -100%; /* Başlangıçta altta gizli */
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-item .content h3 {
    margin: 0 0 5px 0;
    font-weight: bold;
}

.portfolio-item .content .categories {
    opacity: 0.8;
    text-transform: uppercase;
}
.categories{
    text-align: center;
    font-size: 0.75em;
}

.portfolio-item .icon-plus {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 24px;
    transform: scale(0); /* Başlangıçta görünmez */
    transition: transform 0.3s ease 0.2s; /* Hafif gecikmeli başlar */
}


/* --- Fare Üzerine Gelince (Hover) --- */

.portfolio-item:hover img {
    transform: scale(1.1); /* Resim hafifçe büyür */
}

.portfolio-item:hover .overlay {
    opacity: 1; /* Renkli katman görünür olur */
}

.portfolio-item:hover .content {
    bottom: 0; /* Yazı içeriği aşağıdan yukarı gelir */
}

.portfolio-item:hover .icon-plus {
    transform: scale(1); /* İkon görünür olur */
}

.project-page-container {
    padding-top: 10vh; /* Navbar yüksekliği + ekstra boşluk */
}

footer {
  margin-top: auto;
}
