* {
    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-bottom: 50px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 50%, #1a1a1a 100%);
    color: white;
    border-radius: 15px;
    border: 1px solid #333;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.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 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
}

.modal img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ffffff;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

@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 h1 {
        font-size: 2rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 20px;
    }
    
    .project-header {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
}
