/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Project Hero Section */
.project-hero {
    position: relative;
    width: 1872px;
    max-width: calc(100% - 48px);
    height: 450px;
    margin: 13px auto 24px auto;
    background: url('../images/projeler.png') center/cover no-repeat;
    border-radius: 48px;
    overflow: hidden;
    flex-shrink: 0;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(32, 39, 79, 0.8) 0%,
            rgba(32, 39, 79, 0.3) 25%,
            rgba(32, 39, 79, 0.2) 50%,
            rgba(32, 39, 79, 0.3) 75%,
            rgba(32, 39, 79, 0.8) 100%);
    z-index: 1;
}

/* Hero Content */
.project-hero-content {
    position: absolute;
    bottom: 110px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.project-hero-title {
    color: #FFF;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 49px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 30px;
}

/* Breadcrumb and Share */
.breadcrumb-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.breadcrumb {
    display: flex;
    height: 30px;
    padding: 6px 12px;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.10);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.breadcrumb-item:hover {
    color: #ed3237;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.breadcrumb-current {
    color: white;
    font-size: 14px;
}

.share-wrapper {
    display: flex;
    height: 30px;
    padding: 6px 12px;
    align-items: center;
    gap: 10px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.10);
}

.share-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
    color: #ed3237;
}

/* Projects Section */
.projects-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Tab Navigation */
.projects-tabs {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.tab-buttons {
    display: flex;
    background: rgba(48, 47, 129, 0.05);
    border-radius: 50px;
    padding: 8px;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(48, 47, 129, 0.1);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #302F81;
    position: relative;
    overflow: hidden;
}

.tab-btn:not(.active):hover {
    background: rgba(48, 47, 129, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 47, 129, 0.15);
}

.tab-btn.active {
    background: linear-gradient(135deg, #302F81 0%, #20274F 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(48, 47, 129, 0.3);
    transform: translateY(-3px);
}

.tab-btn i {
    font-size: 18px;
    transition: all 0.3s ease;
}

.tab-btn.active i {
    animation: pulse 2s infinite;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.tab-btn:not(.active) .tab-count {
    background: rgba(48, 47, 129, 0.1);
    color: #302F81;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.projects-container {
    width: 100%;
    max-width: 1872px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 520px);
    gap: 40px;
    justify-content: center;
}

.project-item {
    width: 520px;
    height: 380px;
    flex-shrink: 0;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(48, 47, 129, 0.95) 0%,
            rgba(48, 47, 129, 0.7) 50%,
            rgba(48, 47, 129, 0) 100%);
    padding: 40px 30px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    transition: all 0.3s;
}

.project-item:hover .project-overlay {
    padding-bottom: 35px;
    background: linear-gradient(to top,
            rgba(48, 47, 129, 0.98) 0%,
            rgba(48, 47, 129, 0.8) 60%,
            rgba(48, 47, 129, 0) 100%);
}

.project-name {
    font-family: 'Sora', sans-serif;
    color: white;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
}

.project-btn {
    display: flex;
    height: 44px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 24px;
    border: 2px solid #FFF;
    background: transparent;
    color: white;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.project-btn:hover {
    background: white;
    color: #302F81;
    transform: translateY(-2px);
}

/* Footer */
.footer-section {
    background: linear-gradient(270deg, #20274F 0%, #302F81 100%);
    border-radius: 30px 30px 0 0;
    padding: 80px 0 30px;
    margin-top: 100px;
    color: white;
}

.footer-container {
    width: calc(100% - 280px);
    margin: 0 140px;
}

/* Responsive Design */
@media (max-width: 1920px) {
    .project-hero {
        width: calc(100% - 48px);
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1600px;
        margin: 0 auto;
    }

    .project-item {
        width: 100%;
    }
}

@media (max-width: 1600px) {
    .projects-grid {
        grid-template-columns: repeat(2, 520px);
    }
}

@media (max-width: 1200px) {
    .project-hero {
        height: 400px;
    }

    .project-hero-title {
        font-size: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    .project-item {
        width: 100%;
        height: 320px;
    }

    .project-name {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .project-hero {
        margin-top: 80px;
    }

    .projects-container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 350px;
        width: calc(100% - 30px);
    }

    .project-hero-title {
        font-size: 32px;
    }

    .breadcrumb-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .projects-section {
        padding: 60px 0;
    }

    /* Mobile Tab Navigation */
    .projects-tabs {
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .tab-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 12px;
        gap: 12px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 15px;
    }

    .tab-btn i {
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-item {
        height: 300px;
    }

    .project-overlay {
        padding: 30px 25px 25px;
    }

    .project-name {
        font-size: 18px;
    }

    .project-btn {
        height: 40px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .project-item {
        height: 220px;
        border-radius: 20px;
    }

    .project-overlay {
        padding: 20px 15px;
    }

    .project-name {
        font-size: 14px;
    }

    .project-btn {
        height: 36px;
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .project-hero {
        height: 300px;
        margin-top: 70px;
        border-radius: 30px;
    }

    .project-hero-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .breadcrumb,
    .share-wrapper {
        padding: 4px 10px;
        font-size: 12px;
    }

    .projects-section {
        padding: 40px 0;
    }

    .projects-container {
        padding: 0 15px;
    }

    .projects-grid {
        gap: 15px;
    }

    .project-item {
        height: 200px;
    }
}