/* Projeler sayfası — modern kartlar */
.project-page-section {
    background: #f7f5f2;
}

.project-page-section .sec-title.centred h2 {
    font-size: 36px;
    font-weight: 800;
    color: #2d4b41;
}

/* Kategori filtre butonları */
.project-page-section .sortable-masonry .filters {
    margin-bottom: 36px;
    text-align: center;
}

.project-page-section .sortable-masonry .filter-tabs,
.project-page-section .sortable-masonry .filter-btns {
    display: inline-flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    list-style: none;
    width: auto !important;
    max-width: 100%;
}

.project-page-section .sortable-masonry .filter-tabs li,
.project-page-section .sortable-masonry .filter-btns li {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    float: none !important;
    width: auto !important;
    min-width: 0;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 22px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    font-weight: 600;
    color: #444 !important;
    background: #fff;
    border: 1px solid #d8d4cf;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.project-page-section .sortable-masonry .filter-tabs li:before,
.project-page-section .sortable-masonry .filter-btns li:before {
    display: none !important;
    content: none !important;
}

.project-page-section .sortable-masonry .filter-tabs li.active,
.project-page-section .sortable-masonry .filter-tabs li:hover,
.project-page-section .sortable-masonry .filter-btns li.active,
.project-page-section .sortable-masonry .filter-btns li:hover {
    background: #2d4b41 !important;
    color: #fff !important;
    border-color: #2d4b41 !important;
}

.project-page-section .project-card {
    height: 100%;
    margin-bottom: 30px;
}

.project-page-section .project-card .card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(28, 25, 35, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-page-section .project-card:hover .card-inner {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(28, 25, 35, 0.14);
}

.project-page-section .project-card .card-image {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #e8e4df;
}

.project-page-section .project-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-page-section .project-card:hover .card-image img {
    transform: scale(1.06);
}

.project-page-section .project-card .card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: rgba(28, 25, 35, 0.75);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.project-page-section .project-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 26px 26px;
}

.project-page-section .project-card .card-body h4 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
    color: #2d4b41;
}

.project-page-section .project-card .card-body h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-page-section .project-card:hover .card-body h4 a {
    color: #b5a264;
}

.project-page-section .project-card .card-body p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.65;
    color: #6b6b6b;
    flex: 1;
}

.project-page-section .project-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #2d4b41;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, gap 0.2s ease;
}

.project-page-section .project-card .card-link:hover {
    background: #b5a264;
    color: #fff;
    gap: 12px;
}

/* Anasayfa proje carousel */
.project-style-three .project-card-home {
    margin-bottom: 0;
}

.project-style-three .project-card-home .card-image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #1b3022;
}

.project-style-three .project-card-home .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.project-style-three .project-card-home:hover .card-image img {
    transform: scale(1.05);
}

.project-style-three .project-card-home .card-meta {
    padding: 18px 4px 0;
}

.project-style-three .project-card-home .card-meta .category {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #b5a264;
}

.project-style-three .project-card-home .card-meta h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.project-style-three .project-card-home .card-meta h4 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.project-style-three .project-card-home .card-meta h4 a:hover {
    color: #b5a264;
}

@media only screen and (max-width: 767px) {
    .project-page-section .project-card .card-body {
        padding: 20px 18px 22px;
    }
}
