:root {
    --project-header-offset: 80px;
    --project-strip-height: 100px;
}

.project-category-archive {
    background: #ffffff;
    min-height: 100vh;
    overflow: visible;
}

/* Shortcode için siyah arkaplan - normal kategori sayfasını etkilemez */
.troute-projects-shortcode {
    background: #000 !important;
    min-height: auto;
}

.troute-projects-shortcode .container {
    background: #000 !important;
}

.troute-projects-shortcode .projects-grid {
    background: #000 !important;
}

/* Shortcode için beyaz yazılar */
.troute-projects-shortcode .project-title,
.troute-projects-shortcode .project-item .project-title,
.troute-projects-shortcode .project-item h2.project-title,
.troute-projects-shortcode .project-item h2 {
    color: #fff !important;
}

.troute-projects-shortcode .project-meta-item {
    color: #fff !important;
}

.troute-projects-shortcode .project-meta-item span {
    color: #fff !important;
}

.troute-projects-shortcode .project-meta-separator {
    color: #666 !important;
}

.troute-projects-shortcode .meta-icon {
    color: #fff !important;
}

.troute-projects-shortcode .meta-icon path {
    fill: #fff !important;
}

.project-category-archive .container {
    max-width: 100%;
    margin: 0;
    padding: 1.5rem 150px 0;
    overflow: visible;
}

@media (max-width: 1199px) {
    .project-category-archive .container {
        padding: 1.5rem 100px 0;
    }
}

@media (max-width: 767px) {
    .project-category-archive .container {
        padding: 1.5rem 20px 0;
    }
}

/* Breadcrumb Navigation */
.breadcrumb {
    margin-bottom: 0;
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-family: Satoshi-Light;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #666666;
    font-size: 15px;
    font-weight: 400;
}

.breadcrumb-item:not(:last-child)::after {
    content: "›";
    margin-left: 8px;
    color: #999999;
    font-size: 14px;
}

.breadcrumb-item a {
    color: #666666;
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 15px;
    font-weight: 400;
}

.breadcrumb-item a:hover {
    color: #222;
}

.breadcrumb-item.active {
    color: #222;
    font-weight: 700;
    font-size: 15px;
}


/* Category Header - Webflow Style Modern Design */
.category-header {
    background: #ffffff;
    padding: 24px 0 20px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 20px;
    font-family: Satoshi-Light;
    position: relative;
}

.category-info {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: baseline;
}

.category-title {
    font-size: 42px !important;
    font-weight: 300 !important;
    color: #111 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.1;
    font-family: Satoshi-Light !important;
    position: relative;
    display: inline-block;
    overflow: hidden;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    vertical-align: baseline;
    padding-bottom: 2px;
}

/* Subtle Shimmer Effect - Webflow Style */
.category-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 45%,
        rgba(255, 255, 255, 0.7) 50%,
        rgba(255, 255, 255, 0.4) 55%,
        transparent 70%,
        transparent 100%
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: subtleShimmer 5s ease-in-out infinite;
    pointer-events: none;
    white-space: nowrap;
}

@keyframes subtleShimmer {
    0% {
        background-position: -300% 0;
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        background-position: 300% 0;
        opacity: 0.6;
    }
}

.category-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    align-self: baseline;
}

.product-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    color: #111;
    border: 2px solid #111;
    padding: 6px 10px;
    border-radius: 0;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    animation: pulse-border 2s infinite;
    vertical-align: baseline;
    line-height: 1.5;
    margin-bottom: 2px;
}

.product-count svg {
    width: 14px;
    height: 14px;
    color: #111;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.product-count:hover {
    background: #111;
    color: #fff;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.product-count:hover svg {
    color: #fff;
}

.projects-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
    justify-items: stretch;
    overflow: visible !important;
}

.projects-grid.view-grid {
    grid-template-columns: repeat(3, 1fr);
    align-content: start;
}

@media (min-width: 1024px) {
    .projects-grid.view-grid.no-sidebar {
        grid-template-columns: repeat(3, 1fr);
    }
}

.projects-grid.view-list {
    /* List view should be single column */
    grid-template-columns: 1fr;
    gap: 24px;
}

/* List View Styles */
.projects-grid.view-list .project-item {
    flex-direction: row;
    height: auto;
    min-height: 180px;
}

.projects-grid.view-list .project-link {
    flex-direction: row;
}

.projects-grid.view-list .project-thumbnail {
    width: 240px;
    min-width: 240px;
    padding-top: 0;
    height: 180px;
    flex-shrink: 0;
    aspect-ratio: auto;
    border-radius: 12px;
}

.projects-grid.view-list .project-content {
    background: transparent;
    flex: 1;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.projects-grid.view-list .project-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.projects-grid.view-list .project-item .project-title,
.projects-grid.view-list .project-item h2.project-title,
.projects-grid.view-list .project-item h2 {
    font-size: 20px;
    margin-bottom: 8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.projects-grid.view-list .project-thumbnail img {
    height: 100%;
    object-fit: cover;
}

.projects-grid.view-list .project-content {
    background: transparent;
    flex: 1;
    padding: 0 0 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.project-item {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
    transition: box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-item:hover {
    box-shadow: none;
}

.project-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.project-thumbnail {
    width: 100%;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    border-radius: 12px;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-item:hover .project-thumbnail img {
    transform: scale(1.05);
}

/* Project Badge (Kategori Tag) */
.project-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #222;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    font-family: Satoshi-Medium;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 20px 0 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    justify-content: flex-start;
}


/* Title Row */
.project-title-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
}

.project-item .project-title,
.project-item h2.project-title,
.project-item h2,
.project-category-archive .project-item .project-title,
.project-category-archive .project-item h2.project-title,
.project-category-archive .project-item h2 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    color: #222;
    line-height: 1.4;
    flex: 1;
    font-family: Satoshi-Medium;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* Meta Information */
.project-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
    font-family: Satoshi-Light;
}

.meta-icon {
    width: 14px;
    height: 14px;
    color: #999;
    flex-shrink: 0;
}

.project-meta-separator {
    color: #ddd;
    font-size: 13px;
}

body .single-project {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
    clear: both;
    overflow: hidden;
    min-height: calc(100vh - var(--project-header-offset));
    display: flex;
    flex-direction: column;
}

body .single-project article {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    display: flex;
    flex: 1 1 auto;
    min-height: calc(100vh - var(--project-header-offset) - var(--project-strip-height));
    max-height: none;
    overflow: hidden;
}

body .single-project * {
    box-sizing: border-box;
}

/* Split Layout */
.project-split-layout {
    display: flex;
    flex-direction: row;
    height: calc(100vh - var(--project-header-offset) - var(--project-strip-height));
    min-height: calc(100vh - var(--project-header-offset) - var(--project-strip-height));
    max-height: none;
    align-items: center;
}

@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.project-left-panel {
    flex: 0 0 50%;
    background: #111111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    height: 100%;
    position: relative;
}

.project-left-panel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.3) 50%, rgba(17, 17, 17, 0.6) 100%);
    pointer-events: none;
    z-index: 1;
}

.project-split-layout.loaded .project-left-panel {
    animation: dreamyFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes dreamyFadeIn {
    0% {
        opacity: 0;
        transform: translateZ(0) scale3d(0.98, 0.98, 1);
        filter: blur(4px);
    }
    50% {
        opacity: 0.7;
        transform: translateZ(0) scale3d(0.99, 0.99, 1);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateZ(0) scale3d(1, 1, 1);
        filter: blur(0);
    }
}

.project-left-content {
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.project-split-layout.loaded .project-left-content .project-category-badge {
    animation: dreamyFadeInContent 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-split-layout.loaded .project-left-content .project-title {
    animation: dreamyFadeInContent 1s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-split-layout.loaded .project-left-content .project-description {
    animation: dreamyFadeInContent 1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-split-layout.loaded .project-left-content .project-collaboration {
    animation: dreamyFadeInContent 1s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-split-layout.loaded .project-left-content .project-buttons {
    animation: dreamyFadeInContent 1s cubic-bezier(0.16, 1, 0.3, 1) 1.1s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

@keyframes dreamyFadeInContent {
    0% {
        opacity: 0;
        transform: translate3d(0, 6px, 0) scale3d(0.97, 0.97, 1);
        filter: blur(3px);
    }
    60% {
        opacity: 0.8;
        transform: translate3d(0, 2px, 0) scale3d(0.99, 0.99, 1);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        filter: blur(0);
    }
}

.project-right-panel {
    flex: 0 0 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.project-right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.08) 50%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.project-split-layout.loaded .project-right-panel {
    animation: dreamyFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.project-split-layout.loaded .project-right-panel .project-featured-image {
    animation: dreamyFadeInImage 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

@keyframes dreamyFadeInImage {
    0% {
        opacity: 0;
        transform: translateZ(0) scale3d(0.97, 0.97, 1);
        filter: blur(5px) brightness(0.85);
    }
    50% {
        opacity: 0.6;
        transform: translateZ(0) scale3d(0.99, 0.99, 1);
        filter: blur(2px) brightness(0.92);
    }
    100% {
        opacity: 1;
        transform: translateZ(0) scale3d(1, 1, 1);
        filter: blur(0) brightness(1);
    }
}

/* Ensure header menus work on project pages */
body.single-project .u-header,
body.tax-project_category .u-header,
body.post-type-archive-project .u-header {
    z-index: 9999;
}

body.single-project .u-header .u-sheet,
body.tax-project_category .u-header .u-sheet,
body.post-type-archive-project .u-header .u-sheet,
body.single-project .u-header .u-nav-container,
body.tax-project_category .u-header .u-nav-container,
body.post-type-archive-project .u-header .u-nav-container {
    overflow: visible;
    pointer-events: auto;
}

body.single-project .u-header .u-nav-popup,
body.tax-project_category .u-header .u-nav-popup,
body.post-type-archive-project .u-header .u-nav-popup {
    z-index: 10000;
}

.project-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.badge-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
    vertical-align: middle;
}

.badge-icon path {
    fill: currentColor;
}

.badge-text {
    display: inline-block;
}

.project-left-panel .project-title {
    font-size: 3.5em;
    margin-bottom: 40px;
    color: #fff;
    border: none;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.2;
}

.project-left-panel .project-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.project-collaboration {
    font-size: 0.95em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-style: italic;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.project-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid transparent;
    font-family: inherit;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.project-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-btn:hover::before {
    width: 300px;
    height: 300px;
}

.project-btn:link,
.project-btn:visited,
.project-btn:hover,
.project-btn:active {
    color: inherit;
    text-decoration: none;
}

.project-btn-white {
    background: #fff;
    color: #000;
    border-color: #fff;
    position: relative;
}

.project-btn-white:link,
.project-btn-white:visited,
.project-btn-white:hover,
.project-btn-white:active {
    color: #000;
}

.project-btn-white * {
    color: #000;
    position: relative;
    z-index: 1;
}

.project-btn-white:hover {
    background: #fff;
    border-color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.project-btn-dark {
    background: #111111;
    color: #fff;
    border-color: #333;
    position: relative;
}

.project-btn-dark * {
    position: relative;
    z-index: 1;
}

.project-btn-dark:hover {
    background: #111111;
    border-color: #333;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.project-left-panel .project-description p {
    margin: 0 0 20px 0;
    color: rgba(255, 255, 255, 0.85);
}

.single-project h1,
.single-project h2,
.single-project h3 {
    border: none;
    border-bottom: none;
}

/* Bottom White Strip */
.project-bottom-strip {
    width: 100%;
    max-width: 1920px;
    margin: -20px auto 0;
    background: #ededea;
    border-bottom: none;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08);
    padding: 40px 60px;
    min-height: var(--project-strip-height);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    overflow: hidden;
    opacity: 0;
    animation: dreamyFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-strip-wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

/* Gradient overlays for fade effect */
.project-strip-wrapper::before,
.project-strip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.project-strip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(237, 237, 234, 1), rgba(237, 237, 234, 0));
}

.project-strip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(237, 237, 234, 1), rgba(237, 237, 234, 0));
}

.project-strip-content {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
    will-change: transform;
    width: max-content;
}

.project-strip-content:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% / 15));
    }
}

.project-bottom-strip .project-meta-item {
    display: flex;
    align-items: center;
    font-size: 1.3em;
    color: #333;
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.5;
}

.project-bottom-strip .project-meta-item .meta-label {
    margin: 0;
    margin-right: 8px;
    padding: 0;
    color: #444;
    font-size: 0.9em;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-family: inherit;
    vertical-align: middle;
    display: inline-block;
}

.project-bottom-strip .project-meta-item h3 {
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 1.2em;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
    font-family: Satoshi-Light;
    vertical-align: middle;
    display: inline-block;
}

/* Meta Separator */
.meta-separator {
    display: inline-block;
    width: 1px;
    height: 40px;
    background: #ccc;
    margin: 0;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Bottom Gallery Section */
.project-bottom-gallery {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background: transparent;
    padding: 60px;
    opacity: 0;
    animation: dreamyFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.project-bottom-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-row {
    display: grid;
    gap: 20px;
}

/* Pattern Row 1: 2 equal images */
.gallery-row-pattern-1 {
    grid-template-columns: repeat(2, 1fr);
}

/* Pattern Row 2: 1 full width image */
.gallery-row-pattern-2 {
    grid-template-columns: 1fr;
}

/* Pattern Row 3: 1 large + 1 small */
.gallery-row-pattern-3 {
    grid-template-columns: 2fr 1fr;
}

.project-bottom-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    animation: dreamyFadeInItem 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

@keyframes dreamyFadeInItem {
    0% {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale3d(0.96, 0.96, 1);
        filter: blur(4px);
    }
    60% {
        opacity: 0.7;
        transform: translate3d(0, 3px, 0) scale3d(0.98, 0.98, 1);
        filter: blur(1.5px);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale3d(1, 1, 1);
        filter: blur(0);
    }
}

.project-bottom-gallery-item:nth-child(1) { animation-delay: 1.2s; }
.project-bottom-gallery-item:nth-child(2) { animation-delay: 1.25s; }
.project-bottom-gallery-item:nth-child(3) { animation-delay: 1.3s; }
.project-bottom-gallery-item:nth-child(4) { animation-delay: 1.35s; }
.project-bottom-gallery-item:nth-child(5) { animation-delay: 1.4s; }
.project-bottom-gallery-item:nth-child(6) { animation-delay: 1.45s; }
.project-bottom-gallery-item:nth-child(7) { animation-delay: 1.5s; }
.project-bottom-gallery-item:nth-child(8) { animation-delay: 1.55s; }
.project-bottom-gallery-item:nth-child(9) { animation-delay: 1.6s; }
.project-bottom-gallery-item:nth-child(10) { animation-delay: 1.65s; }

.project-bottom-gallery-item:hover {
    transform: translateY(-3px);
}

.item-size-normal {
    aspect-ratio: 4/3;
}

.item-size-full {
    aspect-ratio: 21/9;
}

.item-size-large {
    aspect-ratio: 3/2;
}

.item-size-small {
    aspect-ratio: 3/4;
}

.project-bottom-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    will-change: transform;
}

.project-bottom-gallery-item:hover img {
    transform: scale(1.05) translateX(-1%);
}

.project-bottom-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.project-bottom-gallery-item:hover::before {
    opacity: 1;
}

.project-right-panel .project-featured-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
}

.project-right-panel .project-featured-image > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    will-change: transform;
}

.project-right-panel .project-featured-image:hover > img {
    transform: scale(1.03);
}

.project-gallery-thumbs {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 400px;
    opacity: 0;
    animation: dreamyFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 1.2s forwards;
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.gallery-thumb-item {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-thumb-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.gallery-thumb-item:hover::before {
    left: 100%;
}

.gallery-thumb-item:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gallery-thumb-item:hover img {
    transform: scale(1.06);
}

.project-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-lightbox.active {
    opacity: 1;
}

.lightbox-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.7);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #000;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lightbox-nav svg {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.lightbox-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-nav svg {
        width: 20px;
        height: 20px;
    }
    
    .lightbox-prev {
        left: 20px;
    }
    
    .lightbox-next {
        right: 20px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }
}

@media (max-width: 1400px) and (min-width: 992px) {
    .project-category-archive {
        padding: 50px 120px;
    }
    body .single-project {
        padding: 50px 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
        gap: 35px;
    }
    
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
}

@media (max-width: 991px) {
    .project-category-archive {
        padding: 40px 80px;
    }
    
    .archive-title {
        font-size: 2.5em;
    }
    
    body .single-project {
        height: auto;
        min-height: 100vh;
    }
    
    .project-split-layout {
        flex-direction: column-reverse;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    body .single-project article {
        min-height: auto;
        max-height: none;
    }
    
    .project-left-panel {
        flex: 1 1 auto;
        min-height: auto;
        height: auto;
        padding: 60px 40px;
    }
    
    .project-left-panel::after {
        display: none;
    }
    
    .project-left-panel .project-title {
        font-size: 2.5em;
    }
    
    .project-right-panel {
        flex: 1 1 auto;
        min-height: 60vh;
        height: 60vh;
    }
    
    .project-right-panel::before {
        display: none;
    }
    
    .project-right-panel .project-featured-image {
        height: 100%;
    }
    
    .project-bottom-strip {
        padding: 25px 30px;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .project-strip-content {
        gap: 25px;
    }
    
    .meta-separator {
        height: 30px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
        gap: 30px;
    }
    
    .project-gallery {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .project-category-archive {
        padding: 30px 40px;
    }
    
    body .single-project {
        height: auto;
        min-height: 100vh;
    }
    
    .project-split-layout {
        flex-direction: column-reverse;
        min-height: auto;
        max-height: none;
        height: auto;
    }
    
    body .single-project article {
        min-height: auto;
        max-height: none;
    }
    
    .project-left-panel {
        flex: 1 1 auto;
        min-height: auto;
        height: auto;
        padding: 50px 30px;
    }
    
    .project-left-panel .project-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .project-left-panel .project-description {
        font-size: 1em;
        margin-bottom: 40px;
    }
    
    .project-right-panel {
        flex: 1 1 auto;
        min-height: 50vh;
        height: 50vh;
    }
    
    .project-right-panel .project-featured-image {
        height: 100%;
    }
    
    .project-gallery-thumbs {
        bottom: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
    }
    
    .gallery-thumb-item {
        width: 60px;
        height: 60px;
    }
    
    .project-bottom-strip {
        padding: 20px 20px;
        height: auto;
        min-height: auto;
        max-height: none;
    }
    
    .project-bottom-gallery {
        padding: 40px 30px;
    }
    
    .project-bottom-gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .project-strip-content {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .project-bottom-strip .project-meta-item {
        white-space: normal;
        font-size: 0.95em;
    }
    
    .project-bottom-strip .project-meta-item strong {
        font-size: 1em;
    }
    
    .meta-separator {
        display: none;
    }
    
    .project-bottom-gallery {
        padding: 30px 20px;
    }
    
    .project-bottom-gallery-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .archive-title {
        font-size: 2em;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Category Toolbar */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    gap: 20px;
    flex-wrap: wrap;
    font-family: Satoshi-Light;
}

/* Headings - Use Satoshi-Medium */
.project-category-archive h1,
.project-category-archive h2,
.project-category-archive h3,
.project-category-archive h4,
.project-category-archive h5,
.project-category-archive h6,
.category-title,
.project-title {
    font-family: Satoshi-Medium !important;
    font-weight: 400 !important;
}

/* No products font override - using high specificity to override parent theme without !important */
.project-category-archive .projects-grid .no-products h3,
.project-category-archive .category-main .no-products h3,
.project-category-archive .no-products h3,
.category-main .projects-grid .no-products h3,
.category-main .no-products h3 {
    font-family: Satoshi-Medium;
    font-weight: 400;
    font-size: 24px;
    font-style: normal;
    text-transform: none;
    letter-spacing: normal;
    color: #222;
    margin: 0 0 16px;
    line-height: 1.3;
    text-align: center;
}

.project-category-archive .projects-grid .no-products p,
.project-category-archive .category-main .no-products p,
.project-category-archive .no-products p,
.category-main .projects-grid .no-products p,
.category-main .no-products p {
    font-family: Satoshi-Light;
    font-style: normal;
    font-size: 15px;
    text-transform: none;
    letter-spacing: normal;
    color: #666;
    margin: 0 0 32px;
    line-height: 1.6;
    max-width: 500px;
    text-align: center;
}

/* Override parent theme h2 font-size for project titles */
.project-category-archive .project-item h2.project-title,
.project-category-archive .project-item .project-title,
.project-category-archive .project-item h2 {
    font-size: 20px;
}

/* Additional override for all h2 in project items */
.project-item h2 {
    font-size: 20px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Filter Button */
.btn-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #222;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: Satoshi-Light;
}

.btn-filter:hover {
    background: #f5f5f5;
    border-color: #111;
}

/* Active state when sidebar is hidden */
.btn-filter.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.btn-filter.active:hover {
    background: #333;
    border-color: #333;
}

.btn-filter svg {
    flex-shrink: 0;
}

.btn-filter .icon-filter-close {
    display: none;
}

.btn-filter.active .icon-filter-open {
    display: none;
}

.btn-filter.active .icon-filter-close {
    display: block;
}

/* Search Box */
.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 10px 40px 10px 40px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #fff;
    font-family: Satoshi-Light;
}

.search-input::placeholder {
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.search-input:focus {
    outline: none !important;
    border-color: #111 !important;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1) !important;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #999;
    transition: color 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin: 0;
}

.search-clear:hover {
    color: #222;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
}

/* Sort & View Toggle */
.sort-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.sort-select {
    padding: 9px 14px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    background: #fff;
    color: #222;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    border-radius: 8px;
    font-family: Satoshi-Light;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.sort-select:focus {
    outline: none;
    border-color: #111;
}

.sort-select:hover {
    border-color: #111;
}

.sort-select option {
    background: #fff !important;
    color: #222 !important;
    padding: 8px;
}

/* Override browser default blue highlight for options */
.sort-select option:hover,
.sort-select option:focus,
.sort-select option:active,
.sort-select option:checked {
    background: #f5f5f5 !important;
    color: #222 !important;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.sort-select option:checked {
    background: #f5f5f5 !important;
    color: #222 !important;
}

/* Firefox */
@-moz-document url-prefix() {
    .sort-select option:checked,
    .sort-select option:hover {
        background: #f5f5f5 !important;
        color: #222 !important;
    }
}

/* Remove blue highlight on select */
.sort-select::-ms-expand {
    display: none;
}

.sort-select:focus::-ms-value {
    background: #fff;
    color: #222;
}

.view-toggle {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.view-btn {
    padding: 9px 14px;
    border: none;
    background: transparent;
    color: #555;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-family: Satoshi-Light;
    border-right: 1px solid #eee;
}

.view-btn:last-child {
    border-right: none;
}

.view-btn:hover {
    color: #222;
    background: #f5f5f5;
}

.view-btn.active {
    background: #222;
    color: #fff;
}

.view-btn-label {
    white-space: nowrap;
}

/* Content Layout */
.category-content {
    display: flex !important;
    gap: 0;
    align-items: flex-start;
    background: #ffffff;
    margin-top: 0;
    position: relative;
    overflow: visible !important;
    min-height: 100vh;
}

/* Border line between sidebar and main content */
.category-content::before {
    content: '';
    position: absolute;
    left: 260px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e8e8e8;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.3s ease 0.2s;
}

@media (min-width: 1024px) {
    .category-content::before {
        left: 240px;
        opacity: 1;
        display: block;
    }
    
    /* Hide border when sidebar is hidden */
    .category-content.sidebar-hidden::before {
        opacity: 0;
        transition: opacity 0.1s ease 0s;
    }
    
    /* Show border when sidebar is visible - with delay after sidebar opens */
    .category-content:not(.sidebar-hidden)::before {
        opacity: 1;
        transition: opacity 0.3s ease 0.2s;
    }
}

@media (max-width: 1023px) {
    /* Mobile: Hide border line, use before only for overlay */
    .category-content::before {
        display: none;
        opacity: 0;
    }
    
    .category-content.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .category-content:not(.sidebar-open)::before {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
}

/* Sidebar - Kurumsal Mimarlık Tasarımı */
.category-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: none;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 60px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto;
    padding: 28px 0 28px 0;
    transition: width 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    align-self: flex-start !important;
    z-index: 20;
    will-change: transform;
}

@media (min-width: 1024px) {
    .category-sidebar {
        width: 240px;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
        border-right: none;
        padding: 24px 0 24px 0;
        top: 60px !important;
        max-height: calc(100vh - 120px);
        position: sticky !important;
    }
    
    .category-sidebar.hide {
        width: 0;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-right: none;
        padding: 0;
    }
}

.sidebar-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0 0 0;
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #666;
    transition: color 0.2s ease;
}

.sidebar-close:hover {
    color: #222;
}

.sidebar-content {
    padding: 0;
    overflow: visible !important;
    height: auto !important;
    background: #ffffff;
}

/* Filter Groups - Kurumsal Mimarlık Tasarımı */
.filter-group {
    margin-bottom: 32px;
    padding: 0 20px 0 0;
    text-align: left;
}

.filter-group:first-child {
    margin-top: 0;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-item {
    margin-bottom: 24px;
    width: 100%;
    position: relative;
    text-align: left;
}

.filter-item:last-of-type {
    margin-bottom: 0;
}

.filter-title {
    font-size: 11px;
    font-weight: 600;
    color: #111;
    margin: 0 0 28px 0;
    padding: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    line-height: 1.4;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    font-family: Satoshi-Medium;
    text-align: left;
}

.filter-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #111;
    transition: width 0.3s ease;
}

.filter-group:hover .filter-title::after {
    width: 60px;
}

.filter-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
    font-family: Satoshi-Medium;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 18px;
    text-align: left;
}

.filter-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #111;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.filter-item:hover .filter-label::before {
    width: 6px;
    height: 6px;
    background: #222;
}

.filter-select {
    width: 100%;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #ffffff;
    color: #222;
    font-family: Satoshi-Light;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23222' d='M5 7.5L1 3.5h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.filter-select:hover {
    border-color: #111;
    background: #ffffff;
}

.filter-select:focus {
    outline: none;
    border-color: #111;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.filter-select:active {
    border-color: #111;
}

.filter-select:disabled {
    background-color: #f9f9f9;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #e8e8e8;
}


/* Main Content */
.category-main {
    flex: 1;
    min-width: 0;
    padding: 20px;
    background: #ffffff;
    overflow: visible !important;
    position: relative;
}

/* Search Results Info */
/* Search results info - using high specificity */
.project-category-archive .search-results-info,
.category-main .search-results-info,
.search-results-info {
    background: #111;
    color: #fff;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: none;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: visible;
    transition: none;
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
}

.project-category-archive .search-results-info.show,
.category-main .search-results-info.show,
.search-results-info.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
    margin-bottom: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.search-results-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loading-sweep 2s infinite;
    z-index: 1;
}

@keyframes loading-sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.results-text {
    margin: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

.btn-container {
    display: block !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.btn-clear-search {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: #111 !important;
    border: none !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    border-radius: 4px !important;
}

.btn-clear-search:hover {
    background: #f5f5f5 !important;
}

.filter-select:hover {
    border-color: #999;
}

.filter-select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.filter-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.filter-reset-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Satoshi-Light;
    text-decoration: none;
    display: inline-block;
    line-height: 1.5;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    white-space: nowrap;
}

.filter-reset-btn:hover {
    background: #f5f5f5;
    border-color: #999;
}

/* Other Categories Section - Kurumsal Tasarım */
.other-categories {
    margin-top: 40px;
    padding: 28px 0 0 0;
    border-top: none;
    text-align: left;
}

.categories-title {
    font-size: 11px;
    font-weight: 600;
    color: #111;
    margin: 0 0 24px 0;
    padding: 0 0 12px 0;
    font-family: Satoshi-Medium;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-bottom: 1px solid #e8e8e8;
    position: relative;
    text-align: left;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40px;
    height: 1px;
    background: #111;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin: 0;
    border-bottom: 1px solid #e8e8e8;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 12px 12px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-family: Satoshi-Light;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
}

.category-link:hover {
    color: #ffffff;
    background: #111;
    padding: 12px 20px 12px 12px;
    box-shadow: none;
}

.category-count {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    margin-left: auto;
    margin-right: 0;
    font-family: Satoshi-Medium;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.category-link:hover .category-count {
    color: #cccccc;
}

/* No Products - using high specificity */
.project-category-archive .projects-grid .no-products,
.project-category-archive .category-main .no-products,
.project-category-archive .no-products {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
    position: relative;
    z-index: 999;
    grid-column: 1 / -1;
    clear: both;
    min-height: 400px;
}

.no-products-icon {
    color: #999;
    margin-bottom: 30px;
    opacity: 0.6;
    width: 80px;
    height: 80px;
}

/* No products - ensure fonts are always correct (duplicate removed, using rules above) */

/* ===== Pagination: proje kategori sayfası – yuvarlak, ok, üst çizgi ===== */
.project-category-archive .pagination {
    margin-top: 48px;
    margin-bottom: 24px;
    padding-top: 24px;
    border: none !important;
    border-top: 1px solid #eee !important;
    background: transparent !important;
}

.project-category-archive .pagination::before,
.project-category-archive .pagination::after {
    display: none !important;
    content: none !important;
}

.project-category-archive .pagination .prev::before,
.project-category-archive .pagination .prev::after,
.project-category-archive .pagination .next::before,
.project-category-archive .pagination .next::after {
    display: none !important;
    content: none !important;
}

.project-category-archive .pagination ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
    flex-wrap: wrap;
}

.project-category-archive .pagination li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
    flex: 0 0 auto;
}

.project-category-archive .pagination a,
.project-category-archive .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    box-sizing: border-box;
}

.project-category-archive .pagination a.page-numbers:not(.prev):not(.next),
.project-category-archive .pagination span.page-numbers.current {
    width: 40px !important;
    min-width: 40px !important;
}

.project-category-archive .pagination a.page-numbers:not(.prev):not(.next):hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222;
}

.project-category-archive .pagination .current {
    background: #222 !important;
    color: #fff;
    border-color: #222;
}

.project-category-archive .pagination .dots {
    width: 40px !important;
    min-width: 40px !important;
    border: none !important;
    background: transparent !important;
    border-radius: 0;
}

.project-category-archive .pagination .prev,
.project-category-archive .pagination .next {
    width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 50%;
    position: relative !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    background: #fff !important;
    color: #555;
}

.project-category-archive .pagination .prev .screen-reader-text,
.project-category-archive .pagination .next .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.project-category-archive .pagination .prev .pagination-arrow,
.project-category-archive .pagination .next .pagination-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-category-archive .pagination .prev svg,
.project-category-archive .pagination .next svg {
    width: 18px;
    height: 18px;
}

.project-category-archive .pagination .next:hover,
.project-category-archive .pagination .prev:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222;
}

.project-category-archive .pagination a:hover {
    background: #222 !important;
    color: #fff !important;
    border-color: #222;
}

.project-category-archive .pagination a svg,
.project-category-archive .pagination span svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.project-category-archive .pagination .nav-links {
    padding: 0 !important;
}

.project-category-archive .pagination .disabled,
.project-category-archive .pagination .prev.disabled,
.project-category-archive .pagination .next.disabled {
    display: none;
}

@media (max-width: 992px) {
    .project-category-archive .container {
        padding: 1.5rem 50px 0;
    }
    
    /* Mobilde sidebar varsayılan olarak kapalı */
    .category-sidebar {
        /* Override desktop sticky (!important) */
        position: fixed !important;
        top: var(--project-header-offset) !important;
        bottom: 12px !important;
        left: -100% !important;
        /* IMPORTANT: don't let sidebar reserve layout width on mobile */
        width: 0 !important;
        flex: 0 0 0 !important;
        padding: 0 !important;
        max-width: 85vw;
        height: calc(100vh - var(--project-header-offset) - 12px);
        max-height: calc(100vh - var(--project-header-offset) - 12px);
        z-index: 1000;
        transition: left 0.3s ease;
        border: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        border-radius: 16px;
    }
    
    .category-sidebar.open {
        left: 50% !important;
        transform: translateX(-50%);
        width: min(420px, calc(100vw - 32px)) !important;
        padding: 20px 16px !important;
        opacity: 1;
        visibility: visible;
        overflow-y: auto;
    }

    /* Mobile sidebar: give inner content breathing room */
    .category-sidebar.open .sidebar-content,
    .category-sidebar.open .filter-group {
        padding: 0 !important;
    }

    .category-sidebar.open .other-categories {
        padding: 0 !important;
    }
    
    .btn-filter {
        display: inline-flex !important;
    }
    
    .sidebar-close {
        display: flex;
    }
    
    .category-content {
        width: 100% !important;
        position: relative !important;
    }
    
    /* Mobile: Hide border line, use before only for overlay */
    .category-content::before {
        display: none;
        opacity: 0;
    }
    
    .category-content.sidebar-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 1;
        visibility: visible;
        transition: all 0.3s ease;
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .category-content:not(.sidebar-open)::before {
        display: none;
        opacity: 0;
        visibility: hidden;
    }
    
    .category-main {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        padding: 16px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .projects-grid {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .projects-grid.view-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .project-category-archive {
        padding: 0;
    }
    
    .category-header {
        padding: 16px 0;
        margin-bottom: 0;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .category-info {
        width: 100%;
    }
    
    .category-stats {
        width: 100%;
        align-items: flex-start;
        margin-top: 12px;
    }
    
    .category-title {
        font-size: 28px !important;
        letter-spacing: -1px !important;
        margin-bottom: 0 !important;
    }
    
    .category-toolbar {
        padding: 12px 0;
        margin-bottom: 0;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
    }
    
    .search-box {
        max-width: none;
    }
    
    .projects-grid.view-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .projects-grid.view-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-grid.view-list .project-thumbnail {
        width: 140px;
        min-width: 140px;
        height: 140px;
    }
    
    .projects-grid.view-list .project-content {
        padding: 0 0 0 12px;
        background: transparent;
    }
    
    .projects-grid.view-list .project-item .project-title,
    .projects-grid.view-list .project-item h2.project-title,
    .projects-grid.view-list .project-item h2 {
        font-size: 20px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 576px) {
    .project-item {
        border-radius: 10px;
    }
    
    .project-thumbnail {
        border-radius: 10px;
    }
    
    .project-content {
        padding: 16px 0 0 0;
    }
    
    .project-badge {
        top: 8px;
        left: 8px;
        padding: 4px 10px;
        font-size: 11px;
    }
    
    .project-content {
        padding: 16px;
    }
    
    .project-item .project-title,
    .project-item h2.project-title,
    .project-item h2 {
        font-size: 20px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    
    .projects-grid.view-list .project-thumbnail {
        width: 120px;
        min-width: 120px;
        height: 120px;
        border-radius: 10px;
    }
    
    .projects-grid.view-list .project-content {
        background: transparent;
        padding: 12px 0 0 0;
    }
    
    .projects-grid.view-list .project-item .project-title,
    .projects-grid.view-list .project-item h2.project-title,
    .projects-grid.view-list .project-item h2 {
        font-size: 20px;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .view-toggle {
        display: none;
    }
    
    .btn-filter .btn-text {
        display: none;
    }
}

/* =========================
   Mobile-first refinements
   ========================= */

/* Category page: improve mobile toolbar + grids */
@media (max-width: 1023px) {
    /* Avoid double padding from older rules */
    .project-category-archive {
        padding: 0 !important;
    }

    .project-category-archive .container {
        padding: 1.25rem 20px 0 !important;
    }

    /* Prevent accidental horizontal scroll on mobile */
    .project-category-archive,
    .project-category-archive .container,
    .category-main {
        overflow-x: hidden;
    }

    /* Keep controls accessible while scrolling */
    .category-toolbar {
        position: sticky;
        top: var(--project-header-offset);
        z-index: 200;
        background: #fff;
        border-bottom: 1px solid #e0e0e0;
        padding: 12px 0;
    }

    .toolbar-left,
    .toolbar-right {
        gap: 12px;
    }

    .toolbar-right {
        justify-content: flex-start;
    }

    .sort-label {
        white-space: nowrap;
    }

    .sort-select {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    /* Safety net: if view class missing, prevent horizontal overflow */
    .projects-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
        max-width: 100%;
    }

    /* Grid should be 1 col on mobile */
    .projects-grid.view-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* List view should also be 1 col */
    .projects-grid.view-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .projects-grid.view-list .project-thumbnail {
        width: 120px;
        min-width: 120px;
        height: 120px;
        border-radius: 10px;
    }

    .projects-grid.view-list .project-content {
        padding: 0 0 0 12px;
    }

    /* Title: 2-line clamp on mobile */
    .projects-grid.view-list .project-item .project-title,
    .projects-grid.view-list .project-item h2.project-title,
    .projects-grid.view-list .project-item h2 {
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    /* Make filter button + search feel like a mobile control row */
    .toolbar-left {
        flex-wrap: nowrap;
        align-items: center;
    }

    .btn-filter {
        flex: 0 0 auto;
    }

    .search-box {
        flex: 1 1 auto;
        max-width: none;
    }
}

@media (max-width: 576px) {
    .project-category-archive .container {
        padding: 1rem 16px 0 !important;
    }
}

/* Single project page: mobile-first UX */
@media (max-width: 991px) {
    /* Allow natural page scroll on mobile/tablet */
    body .single-project {
        overflow: visible;
    }

    .project-left-panel {
        padding: 44px 20px;
    }

    .project-left-panel .project-title {
        font-size: clamp(28px, 7vw, 42px);
        letter-spacing: 0.5px;
        word-break: break-word;
    }

    .project-left-panel .project-description {
        font-size: 1em;
        line-height: 1.7;
        margin-bottom: 28px;
    }

    .project-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .project-btn {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .project-right-panel {
        min-height: 52vh;
        height: 52vh;
    }
}

@media (max-width: 768px) {
    /* Thumbnails: horizontal scroll strip */
    .project-gallery-thumbs {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 8px 10px;
        background: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(10px);
        border-radius: 14px;
    }

    .gallery-thumb-item {
        width: 56px;
        height: 56px;
        flex: 0 0 auto;
    }

    /* Bottom strip: keep marquee on mobile (avoid stacked duplicates) */
    .project-strip-wrapper::before,
    .project-strip-wrapper::after {
        display: block;
        width: 60px;
    }

    .project-strip-content {
        animation: marquee-scroll 26s linear infinite;
        white-space: nowrap;
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }

    .meta-separator {
        display: inline-block;
        height: 26px;
    }

    .project-bottom-strip {
        padding: 18px 16px;
    }

    .project-bottom-strip .project-meta-item {
        font-size: 1em;
        white-space: nowrap;
    }

    /* Bottom gallery: stack patterns into 1 col */
    .gallery-row-pattern-1,
    .gallery-row-pattern-2,
    .gallery-row-pattern-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .project-right-panel {
        min-height: 46vh;
        height: 46vh;
    }

    .project-left-panel {
        padding: 38px 16px;
    }

    .project-left-panel .project-title {
        font-size: clamp(26px, 8vw, 36px);
    }
}

