*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif; 
    box-sizing: border-box;
}
body{
    background: #080808;
    color: #fff;
}

/* Tüm içeriği yatayda ortalamak ve genişliğini ayarlamak için */
.container{
    padding: 10px 10%; 
    width: 100%; 
}

/* Alt Başlıklar İçin Genel Stil */
.sub-title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 40px;
}

/* İki Sütunlu Yapı İçin Genel Stil */
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ======================== GENEL BUTON STİLİ (GRADYANLI) ======================== */
.btn {
    display: inline-block;
    background: linear-gradient(to right, #1900ff, #ff0077); 
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.5s, transform 0.3s;
    background-size: 200% auto; 
}

.btn:hover {
    background-position: right center; 
    transform: scale(1.05); 
    background: linear-gradient(to left, #1900ff, #ff0077); 
}
.btn.btn2 {
    border: none; 
    cursor: pointer;
}


/* ======================== HEADER BÖLÜMÜ STİLLERİ (Arka Plan Görselli) ======================== */
#header{
    width: 100%;
    height: 100vh;
    
    /* Anasayfa görselini arka plan olarak ayarla */
    background-image: url('images/anasayfa2.png'); 
    background-size: cover; 
    background-position: center; /* Varsayılan olarak ortala */
    background-repeat: no-repeat; 
    position: relative; 
    overflow: hidden; 
    
    /* İçeriği dikey ve yatayda ortalamak için Flexbox */
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

/* Fotoğrafın üzerinde metin okunurluğunu artırmak için bir koyu katman */
#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Opaklık 0.2 */
    z-index: 1; 
}


/* NAVİGASYON */
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; 
    position: absolute; 
    top: 0;
    left: 0;
    right: 0;
    padding: 10px 10%; 
    z-index: 100; 
    background: rgba(0, 0, 0, 0.2); 
}

/* Logo Stili */
.nav-logo {
    font-size: 30px;
}
.nav-logo span {
    background: linear-gradient(to right, #ff0077, #1900ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #ff0077; 
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after{
    width: 100%;
}

/* Anasayfa metin içeriği için stiller (fotoğraf üzerinde ortalanacak) */
.header-text-content {
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    color: #fff; 
}

.header-text-content p{
    font-size: 24px; 
    color: #ababab; 
}

.header-text-content h1{
    font-size: 70px; 
    margin-top: 10px;
    line-height: 1.2; 
}

.header-text-content h1 span{
    color: #1900ff; 
}


/* ======================== HAKKIMDA BÖLÜMÜ STİLLERİ ======================== */
#about{
    padding: 80px 0;
    color: #ababab;
}

.about-col-1{
    flex-basis: 35%; 
}

.about-col-1 img{
    width: 100%; 
    border-radius: 15px;
}

.about-col-2{
    flex-basis: 60%; 
}

/* Hakkımda bölümü giriş paragrafı */
.about-col-2 > p {
    font-size: 22px; 
    line-height: 1.5; 
    color: #fff; 
    margin-bottom: 20px; 
}

/* Eğitim listesi stili (boşluk ve gradyan) */
.about-col-2 .about-list li {
    list-style: none; 
    margin-bottom: 25px; 
    font-size: 20px; 
    color: #ababab; 
}

/* Kalın (strong) etiketlere gradyan renk uygulaması */
.about-col-2 .about-list li strong {
    background: linear-gradient(to right, #ff0077, #1900ff); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block; 
    min-width: 120px; 
    padding-right: 15px; 
}


/* ======================== BECERİLER BÖLÜMÜ STİLLERİ ======================== */
#services{
    padding: 30px 0;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 15px; 
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
    border: 1px solid transparent; 
}

.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
    color: #ff0077; 
}

.services-list div h3{
    font-size: 22px; 
    font-weight: 500;
    margin-bottom: 15px;
    color: #fff;
}

.services-list div:hover{
    transform: translateY(-10px);
    border: 1px solid #1900ff; 
}


/* ======================== PROJELERİM BÖLÜMÜ STİLLERİ ======================== */
#portfolio{
    padding: 80px 0; 
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    grid-gap: 30px; 
    margin-top: 50px;
}

.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden; 
}

.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s; 
}

.layer{
    width: 100%;
    height: 0; 
    background: linear-gradient(rgba(0,0,0,0.6), #1900ff); 
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s; 
}

.layer h3{
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 24px; 
}

.layer p{
    color: #fff;
    font-size: 16px; 
}

.layer a{
    margin-top: 20px;
    color: #1900ff;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

/* Hover efekti: fare üzerine geldiğinde */
.work:hover img{
    transform: scale(1.1); 
}

.work:hover .layer{
    height: 100%; 
}

/* ======================== İLETİŞİM BÖLÜMÜ STİLLERİ ======================== */
#contact{
    padding: 80px 0;
}

.contact-left{
    flex-basis: 35%;
}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i{
    color: #ff0077;
    margin-right: 15px;
    font-size: 25px;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover{
    color: #ff0077;
    transform: translateY(-5px);
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

/* ======================== MOBİL UYUMLULUK ======================== */
@media only screen and (max-width: 600px) {
    
    .sub-title{
        font-size: 40px;
    }
    
    /* Arka plan görseli odağı: Adamın bulunduğu alana odaklanmak için yatayda %30'a kaydırıldı */
    #header {
        background-position: 30% center !important; 
    }
    
    /* Header metin içeriği: Hem dikeyde aşağı kaydırıldı hem de ortalandı */
    .header-text-content {
        padding-top: 150px; /* Metni aşağı kaydır */
        padding: 150px 20px 0 20px; /* Üstten 150px boşluk, yanlardan 20px */
        text-align: center; /* Metni ortala */
    }

    .header-text-content h1 {
        font-size: 45px; 
    }
    .header-text-content p {
        font-size: 18px;
    }
    
    /* Hakkımda Bölümü */
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    
    /* MOBİL UYUMLULUK: Hakkımda giriş paragrafı */
    .about-col-2 > p {
        font-size: 18px; 
    }
    
    /* İletişim Bölümü */
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .contact-left{
        margin-bottom: 30px;
    }
}