body {
    margin: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    background-color: #f0f4f8;
    color: #1a1a1a;
}

/* NAVBAR */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #0c2d48;
    z-index: 1000;
}
nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}
nav ul li {
    margin: 0;
}
nav ul li a {
    display: block;
    font-size: 18px;
    padding: 16px 24px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    border-left: 1px solid rgba(255,255,255,0.15);
    border-right: 1px solid rgba(0,0,0,0.25);
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
nav ul li:first-child a {
    border-left-color: rgba(255,255,255,0.25);
}
nav ul li:last-child a {
    border-right-color: rgba(0,0,0,0.4);
}
nav ul li a:hover {
    background-color: #12395a;
    color: #00bcd4;
    box-shadow: inset 0 -3px 0 #00bcd4;
}

/* BÖLÜMLER */
.section {
    padding: 100px 20px;
    min-height: 100vh;
    padding-top: 120px;
    text-align: center;
    background-color: white;
    border-bottom: 1px solid #ccc;
}

.home {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
}
.home h1 {
    font-size: 70px;
    margin-bottom: 10px;
}
.home h2 {
    font-size: 36px;
    margin-top: 10px;
    color: #00bcd4;
}
.home p {
    font-size: 20px;
    margin-top: 10px;
}

/* BİTEN PROJELERİMİZ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
}
.gallery-item {
    background-color: #dde7f0;
    padding: 60px 0;
    font-weight: bold;
    color: #0c2d48;
    border-radius: 8px;
    transition: transform 0.3s;
}
.gallery-item:hover {
    transform: scale(1.05);
}

/* DEVAM EDEN PROJELERİMİZ */
.etap-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px;
}

.etap {
    width: 48%;
    max-width: 500px;
    min-width: 280px;
    text-align: center;
}

.etap-img {
    width: 100%;
    height: 500px;           /* sabit yükseklik -> hepsi eşit boy */
    object-fit: cover;       /* fotonun oranını koru, kırparak doldur */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.etap-img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.etap h3 {
    margin-top: 12px;
    color: #0c2d48;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
}

/* --- GALERİ OVERLAY (küçük fotolar grid'i) --- */
.gallery-overlay {
    display: none;
    position: fixed;
    z-index: 2500;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.gallery-overlay-inner {
    background-color: #111;
    border-radius: 12px;
    max-width: 1000px;
    width: 90%;
    padding: 20px;
    color: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}

.gallery-overlay-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-overlay-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.overlay-close {
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 32px;
    color: #fff;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
}
.overlay-close:hover {
    background: rgba(255,255,255,0.2);
}

/* küçük resim grid'i */
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.thumb-item {
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.thumb-item:hover {
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
}

.thumb-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* --- LIGHTBOX (büyük foto ve ileri/geri) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox-inner {
    position: relative;
    max-width: 90%;
    width: 900px;
    text-align: center;
    color: white;
}

.lightbox-header {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.lightbox-content {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    background-color: #000;
}

.close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
    width: 44px;
    height: 60px;
    border-radius: 6px;
    cursor: pointer;
    user-select: none;
}

.prev-btn {
    left: -60px;
}
.next-btn {
    right: -60px;
}

@media (max-width: 768px) {
    .etap {
        width: 100%;
        max-width: 500px;
    }

    .home h1 { font-size: 52px; }
    .home h2 { font-size: 32px; }
    .section h2 { font-size: 28px; }
    .section p { font-size: 22px; }

    .prev-btn {
        left: 10px;
    }
    .next-btn {
        right: 10px;
    }
    .close {
        top: -15px;
        right: -15px;
    }
}
/* video kutusu */
.video-thumb {
    grid-column: 1 / -1;
    background-color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}
.thumb-video {
    width: 100%;
    max-height: 400px;
    border-radius: 8px;
    background-color: #000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    outline: none;
}
.video-label {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    margin-top: 10px;
    text-align: center;
    opacity: 0.9;
}


/* Biten projeler kartı */
.completed-projects {
    display: flex;
    justify-content: center;
    padding: 40px 20px 80px;
}

.completed-card {
    max-width: 960px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    text-align: left;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.completed-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.completed-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.completed-card h3 {
    margin: 18px 22px 20px;
    font-size: 22px;
    color: #0c2d48;
}

/* Mobil uyum (biten proje) */
@media (max-width: 768px) {
    .completed-projects {
        padding: 30px 12px 60px;
    }
    .completed-img {
        height: 260px;
    }
}
