* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #020617; /* Derin Uçurum Mavisi */
    color: #F1F5F9; /* Kar Beyazı */
    overflow-x: hidden;
}

/* Genel Resim Ayarı (Taşmaları önler) */
.responsive-img {
    width: 100%;
    display: block;
    height: auto;
}

/* 1. Üst Header Banner */
.top-header-banner {
    width: 100%;
    max-height: 150px;
    overflow: hidden;
}

/* 2. Ana Menü ve Logo Alanı */
.main-header {
    background-color: #020617;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #1e293b;
}

.site-logo {
    max-width: 180px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00E5FF; /* Buzul Siyan Parlaması */
}

/* 3. Ana Banner */
.main-banner {
    width: 100%;
    overflow: hidden;
}

/* 4. Hakkımızda Bölümü */
.about-section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.5rem;
    color: #00E5FF;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
}

.about-image {
    flex: 1;
    border: 2px solid #1e293b;
    border-radius: 8px;
    overflow: hidden;
}

/* 5. Projeler / Galeri Bölümü */
.gallery-section {
    padding: 80px 50px;
    background-color: #020617;
    text-align: center;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: #00E5FF;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 5. Projeler / Galeri Bölümü */
.gallery-item {
    /* Çerçeve ve yuvarlak köşe kodlarını sildik */
    overflow: hidden;
    transition: transform 0.3s ease; 
    cursor: pointer; /* Üzerine gelince el işareti çıksın ki tıklandığı belli olsun */
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05); /* Üzerine gelince çerçeve yanmasın, sadece hafifçe büyüsün */
}

/* 6. Footer ve Alt Banner */
.main-footer {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

/* 6. Footer ve İletişim */
.main-footer {
    background-color: #020617; /* Sitenin menüsüyle aynı koyu buzul renk */
    padding: 60px 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
    margin-top: 50px;
}

.main-footer p {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
    color: #F1F5F9;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-links a {
    display: inline-block;
    padding: 10px 25px;
    background-color: rgba(0, 229, 255, 0.1);
    color: #00E5FF;
    border: 1px solid #00E5FF;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    background-color: #00E5FF;
    color: #020617;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* =========================================
   MOBİL UYUM (RESPONSIVE DESIGN) EKLENTİSİ
   ========================================= */

@media (max-width: 768px) {
    
    /* 1. Menü ve Logo Ayarları */
    .main-header {
        padding: 15px 20px; /* Yanlardaki 50px devasa boşluğu daraltıyoruz */
    }

    .site-logo {
        max-width: 140px; /* Logoyu ekrana sığması için biraz küçültüyoruz */
    }

    .nav-links {
        gap: 20px; /* Linklerin arasını daraltıyoruz */
        flex-wrap: wrap; /* Ekrana sığmazlarsa alt satıra geçmelerine izin veriyoruz */
        justify-content: center;
    }

    /* 2. Hakkımızda Bölümü Ayarları */
    .about-section {
        padding: 50px 20px; /* Üstten ve yanlardan boşlukları kısıyoruz */
    }

    .about-container {
        flex-direction: column; /* İŞTE SİHİR BURADA: Yan yana dizilmeyi iptal edip alt alta (sütun) diziyoruz */
        text-align: center; /* Yazıları mobilde daha şık durması için ortalıyoruz */
        gap: 30px;
    }

    .about-text h2 {
        font-size: 2rem; /* Başlık boyutunu telefona uygun hale getiriyoruz */
    }

    /* 3. Projeler / Galeri Bölümü Ayarları */
    .gallery-section {
        padding: 50px 20px;
    }

    .gallery-section h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr; /* Mobilde 3'lü ızgarayı iptal edip, görselleri tek sütun alt alta tam ekran yapıyoruz */
    }

    /* 4. Footer ve İletişim Butonları */
    .main-footer {
        padding: 40px 20px;
    }

    .contact-links {
        flex-direction: column; /* İletişim butonlarını alt alta diziyoruz */
        gap: 15px;
        align-items: center;
    }

    .contact-links a {
        width: 100%; /* Butonların telefonda parmakla rahat tıklanması için genişletiyoruz */
        max-width: 280px;
        text-align: center;
    }
}