.hero-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background-color: rgb(3, 3, 3);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-loader::before {
  display: none;
}
.projects-hero {
    padding-top: 30px;
    padding-bottom: 0px;
    /* background: linear-gradient(135deg, #fcfcfc 0%, #f8f8f8 100%); */
}

.page-hero-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.projects-page-title {
    font-size: 66px;
    font-weight: 600;
    line-height: 1.2;
    margin: 30px 0;
    color: var(--colors--theme-black);
}

.projects-hero-text {
    font-size: 20px;
    line-height: 1.6;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.projects-filter-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--colors--border-color);
}

.filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background-color: var(--colors--theme-gray);
    color: var(--colors--theme-black);
    border: 1px solid transparent;
    border-radius: 30px;
    padding: 14px 30px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--fonts--primary-font);
}

.filter-btn:hover {
    background-color: var(--colors--theme-black);
    color: var(--colors--theme-white);
    border-color: var(--colors--theme-black);
}

.filter-btn.active {
    background-color: var(--colors--theme-black);
    color: var(--colors--theme-white);
    border-color: var(--colors--theme-black);
}

.projects-grid-section {
    padding: var(--spaces--space-medium) 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.project-item.hidden {
    display: none;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-item:hover .project-image {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 3, 3, 0.9) 0%, rgba(3, 3, 3, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    width: 100%;
}

.project-overlay-title {
    color: var(--colors--theme-white);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-overlay-category {
    color: var(--colors--theme-white);
    font-size: 16px;
    opacity: 0.8;
}

.project-content {
    padding: 0 10px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--colors--border-color);
}

.project-location,
.project-year {
    font-size: 16px;
    color: #666;
}

.project-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--colors--theme-black);
}

.project-description {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--colors--theme-black);
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: gap 0.3s ease;
}

.project-link:hover {
    gap: 15px;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--colors--theme-black);
    transition: width 0.3s ease;
}

.project-link:hover::after {
    width: calc(100% - 30px);
}

/* Load More Section */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.load-more-btn {
    background-color: var(--colors--theme-black);
    color: var(--colors--theme-white);
    border: 1px solid var(--colors--theme-black);
    border-radius: 30px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    font-family: var(--fonts--primary-font);
}

.load-more-btn:hover {
    background-color: var(--colors--theme-white);
    color: var(--colors--theme-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(3, 3, 3, 0.1);
}

/* Responsive Design */
@media screen and (max-width: 1280px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .projects-page-title {
        font-size: 56px;
    }
}

@media screen and (max-width: 991px) {
    .projects-hero {
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .projects-page-title {
        font-size: 46px;
    }

    .projects-hero-text {
        font-size: 18px;
    }

    .projects-filter-section {
        padding: 50px 0;
    }

    .filter-btn {
        padding: 12px 24px;
        font-size: 16px;
    }

    .projects-grid {
        gap: 30px;
    }

    .project-image-wrapper {
        height: 350px;
    }

    .project-title {
        font-size: 24px;
    }

    .project-description {
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    .projects-hero {
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .projects-page-title {
        font-size: 38px;
    }

    .projects-filter-section {
        padding: 40px 0;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-image-wrapper {
        height: 300px;
    }

    .project-overlay {
        padding: 20px;
    }

    .project-overlay-title {
        font-size: 24px;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .project-title {
        font-size: 26px;
    }

    .load-more-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 479px) {
    .projects-page-title {
        font-size: 32px;
    }

    .projects-hero-text {
        font-size: 16px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .project-image-wrapper {
        height: 250px;
        border-radius: 12px;
    }

    .project-overlay-title {
        font-size: 20px;
    }

    .project-title {
        font-size: 22px;
    }

    .project-description {
        font-size: 16px;
    }

    .project-link {
        font-size: 16px;
    }
}

.project-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-item.filtering {
    opacity: 0;
    transform: scale(0.95);
}

.project-item.show {
    opacity: 1;
    transform: scale(1);
}

* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-element {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Görünür state */
.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay classes */
.fade-in-element.delay-100 { transition-delay: 0s; }
.fade-in-element.delay-200 { transition-delay: 0.08s; }
.fade-in-element.delay-300 { transition-delay: 0.16s; }
.fade-in-element.delay-400 { transition-delay: 0.24s; }
.fade-in-element.delay-500 { transition-delay: 0.32s; }
.fade-in-element.delay-600 { transition-delay: 0.4s; }

.project-item {
    position: relative;
    overflow: hidden;
}