/**
 * Modern Projects Page Styles
 * Etkileyici ve benzersiz tasarım
 */

/* Animated Background */
.projects-page-modern {
    position: relative;
    min-height: 100vh;
    padding: 100px 0 60px;
    overflow: hidden;
}

.projects-bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: floatOrb 20s infinite ease-in-out;
}

.bg-orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    bottom: -250px;
    right: -250px;
    animation-delay: 7s;
}

.bg-orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Hero Section - Enhanced */
.projects-hero-modern {
    position: relative;
    z-index: 1;
    margin-top: 3.5rem;
    margin-bottom: 2.5rem;
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.projects-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.projects-hero-modern:hover::before {
    opacity: 1;
}

.hero-title-modern {
    font-size: clamp(2.25rem, 5.5vw, 4rem);
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
}

.title-line {
    color: var(--text-primary);
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle-modern {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    position: relative;
    z-index: 1;
    padding-left: 0.75rem;
    border-left: 3px solid var(--primary-color);
    margin-top: 0.5rem;
}

.stats-modern {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.stat-item-modern {
    text-align: right;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    min-width: 120px;
}

.stat-item-modern:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

.stat-number-modern {
    font-size: 2.75rem;
    font-weight: 900;
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.stat-label-modern {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Sticky Filters */
.filters-modern-sticky {
    position: sticky;
    top: 80px;
    z-index: 100;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.filters-modern-sticky.sticky-active {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.filters-container-modern {
    position: relative;
    z-index: 1;
}

.filters-form-modern {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group-modern {
    flex: 1;
    min-width: 200px;
}

.search-box-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box-modern i {
    position: absolute;
    left: 1.25rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    z-index: 2;
}

.search-input-modern {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.category-filter-modern {
    position: relative;
}

.category-toggle-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: inherit;
}

.category-toggle-modern:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.category-toggle-modern i {
    transition: transform 0.3s ease;
}

.category-dropdown-modern.active .category-toggle-modern i {
    transform: rotate(180deg);
}

.category-dropdown-modern {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(21, 21, 32, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.category-dropdown-modern.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-option-modern {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.category-option-modern:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-option-modern input[type="radio"] {
    margin-right: 0.75rem;
    cursor: pointer;
}

.filter-submit-modern {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Projects Grid - Masonry */
.projects-grid-modern {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-top: 0;
}

/* Ana sayfa için geniş ekranlarda tek satır */
@media (min-width: 992px) {
    .projects-section .projects-grid-modern {
        grid-template-columns: repeat(5, 1fr);
        grid-auto-flow: row;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .projects-section .projects-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card-modern {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.project-card-modern:hover::before {
    opacity: 1;
}

.project-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.project-link-modern {
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    z-index: 1;
}

.card-image-modern {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.card-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-modern:hover .card-image-modern img {
    transform: scale(1.15) rotate(2deg);
}

.image-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    font-size: 4rem;
}

.card-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.project-card-modern:hover .card-overlay-modern {
    opacity: 1;
}

.overlay-content-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.overlay-icon-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.project-card-modern:hover .overlay-icon-modern {
    transform: scale(1.1) rotate(45deg);
    background: rgba(255, 255, 255, 0.3);
}

.overlay-text-modern {
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.featured-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 3;
    box-shadow: 0 5px 20px rgba(240, 147, 251, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.card-content-modern {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.card-category-modern {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.project-card-modern:hover .card-title-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description-modern {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.card-tags-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag-modern {
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.project-card-modern:hover .tag-modern {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: var(--primary-color);
}

.card-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-date-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.card-date-modern i {
    color: var(--primary-color);
}

.card-arrow-modern {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.project-card-modern:hover .card-arrow-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

/* Empty State */
.empty-state-modern {
    grid-column: 1 / -1;
    text-align: center;
    padding: 6rem 2rem;
}

.empty-icon-modern {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--text-secondary);
}

.empty-title-modern {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-text-modern {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Pagination Modern */
.pagination-modern {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.pagination-info-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.pagination-info-modern .divider {
    opacity: 0.5;
}

.pagination-nav-modern {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-btn-modern {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination-btn-modern:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-btn-modern.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
}

/* Breadcrumb Modern - Shared Styles */
.breadcrumb-modern {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.breadcrumb-modern:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
}

.breadcrumb-modern a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.breadcrumb-modern a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s ease;
}

.breadcrumb-modern a:hover::before {
    left: 100%;
}

.breadcrumb-modern a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
    background: rgba(102, 126, 234, 0.1);
}

.breadcrumb-modern a i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.breadcrumb-modern a:hover i {
    transform: scale(1.2);
}

.breadcrumb-modern i.bi-chevron-right {
    font-size: 0.75rem;
    opacity: 0.5;
    color: var(--text-secondary);
    margin: 0 0.25rem;
}

.breadcrumb-modern span {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    background: rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .projects-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .projects-page-modern {
        padding: 90px 0 40px;
    }
    
    .projects-hero-modern {
        margin-top: 1.5rem;
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .projects-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .filters-form-modern {
        flex-direction: column;
    }
    
    .filter-group-modern {
        width: 100%;
    }
    
    .filter-submit-modern {
        width: 100%;
        justify-content: center;
    }
    
    .pagination-modern {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title-modern {
        font-size: 2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 0.95rem;
    }
    
    .stat-number-modern {
        font-size: 2.25rem;
    }
    
    .stat-item-modern {
        min-width: auto;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .filters-modern-sticky {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .projects-page-modern {
        padding: 80px 0 30px;
    }
    
    .projects-hero-modern {
        margin-top: 1rem;
        padding: 1.25rem 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title-modern {
        font-size: 1.75rem;
    }
    
    .stat-number-modern {
        font-size: 2rem;
    }
    
    .projects-grid-modern {
        gap: 1rem;
    }
}

