* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    background-image: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #000000 100%);
    margin: 0;
    padding-top: 80px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo .logo {
    height: 80px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #cccccc;
    background: rgba(255, 255, 255, 0.1);
}

.nav__toggle {
    display: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.nav__toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.nav__toggle:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 4px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin: 0 auto 60px auto;
    padding: 60px 40px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%, #0a0a0a 100%);
    color: white;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    border-radius: 2px;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 2px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    font-size: 1.3rem;
    opacity: 0.8;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.15);
    border-color: #555;
}

.project-header {
    padding: 30px;
    background: linear-gradient(135deg, #333333 0%, #555555 50%, #333333 100%);
    color: white;
    text-align: center;
    border-bottom: 1px solid #444;
}

.project-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 30px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 4px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.project-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 30px;
    background-color: #0f0f0f;
    border-top: 1px solid #333;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    color: #cccccc;
}

.view-all-btn {
    text-align: center;
    margin-top: 20px;
}

.view-all-btn button {
    background: linear-gradient(135deg, #333333 0%, #555555 100%);
    color: white;
    border: 1px solid #666;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-btn button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #555555 0%, #777777 100%);
}

/* Modal stilleri - Projeler */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1000px;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal #modalImg {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    line-height: 1;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.close:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 4px;
}

.prev,
.next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.prev:focus-visible,
.next:focus-visible {
    outline: 2px solid #3498db;
    outline-offset: 4px;
}

/* Modal Counter */
.modal-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 25px;
    border-radius: 30px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav__toggle {
        display: block;
    }

    .nav-container {
        padding: 1rem;
    }

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

    .header {
        padding: 40px 20px;
        margin-bottom: 40px;
    }

    .header h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .header p {
        font-size: 1rem;
    }

    .header::before,
    .header::after {
        width: 120px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }

    .project-header {
        padding: 20px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    /* Mobil Modal Stilleri */
    .modal-content {
        width: 95%;
        padding: 10px;
    }

    .modal #modalImg {
        max-height: 70vh;
    }

    .close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 35px;
    }

    .prev,
    .next {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .modal-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 8px 20px;
    }
}