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

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background-color: #050505;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.buton1 {}
.buton2 {position: relative;
  padding: 10px;
}

/* --- Masaüstü Arka Plan Kapsayıcısı --- */
.bg-container {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    background-image: url('resimler/web-zemin.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Buton Alanı Hizalaması --- */
.buttons-container {
    position: absolute;
    top: 55%; /* Showreel ile üstteki yazı/çizgi arasını açmak için aşağı çekildi */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px; /* Genel dikey eleman aralığı */
}

/* --- Buton Stilleri ve Efektler --- */
.btn-item {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.25s ease;
    text-decoration: none;
}

.btn-item img {
    display: block;
    height: auto;
    object-fit: contain;
}

/* --- Masaüstü Özel Görsel Boyutlandırmaları --- */
.img-showreel {
    width: 220px;
}

.img-cv {
    width: 90px;
}

.img-social {
    width: 230px;
}

/* CV ile Sosyal Medya Butonları Arasındaki Boşluğu Artırma */
.btn-social-first {
    margin-top: 15px; /* CV ile Behance arasına ekstra nefes payı */
}

/* Hover Efekti (Fareyle Üzerine Gelindiğinde) */
.btn-item:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --- Pop-up (Modal) Stilleri --- */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(225, 137, 63, 0.3);
    overflow: hidden;
}

.close-btn {
    position: absolute;
    top: -5px;
    right: 15px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 101;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #E1893F;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Formatı */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   Mobil Uyum (768px ve Altı Ekranlar)
   ========================================== */
@media (max-width: 768px) {
    .bg-container {
        background-image: url('resimler/mobil-zemin.png');
        background-size: cover;
        background-position: center top;
    }

    .buttons-container {
        top: 50%; /* Mobilde Showreel ile üst zemin arasını açar */
        gap: 16px;
    }

    /* Showreel */
    .img-showreel {
        width: 175px;
    }
    .buton1 {}
    .buton2 {position: relative;padding: 10px;}

    /* CV */
    .img-cv {
        width: 72px; 
    }

    /* Sosyal Medya Linkleri */
    .img-social {
        width: 185px;
    }

    /* Mobilde CV ile Sosyal Medya Arasındaki Boşluk */
    .btn-social-first {
        margin-top: 12px;
    }
}