/* Genel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
}

/* Ana Sayfa Yerleşimi */
.container {
    flex: 1;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar (Sol Menü) */
/* Todo: size needs to be organizated. */
.sidebar {
    width: 20vw; /* sidebar'ın genişliğini width (yatayda) %20 de sınırlar.*/
    height: 100dvh; /* sidebar'ın yüksekliğini height (dikeyde) %100 olarak sınırlar. */
    background: #545454;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding-top: 4vh;
    
}

.logo {
    font-size: 2vw;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.logo-span {
    color: #999;
    font-weight: normal;
    font-size: 1.6vw;
}
/*Todo: size needs to be organizated. */
.logo img {
    margin: 0vh auto 0 auto;
    display: block;
    width: 20vw;
    height: 40vh;
}

.menu {
    padding-left: 2vw;
    list-style: none;
    font-size: 1vw;
    color: #fff;
}

.menu li {
    margin: 1.6vh 0;
}

.menu a,
.social a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.social {
    margin-top: auto;
    margin-bottom: 3vh;
    text-align: center;
    font-size: 4vh;
}

.menu a:hover,
.social a:hover {
    color: #fff;
}

.social a {
    margin-right: 1vw;
}

.menu a.active {
    color: #ae86f5;
}

/* Ortak İçerik Alanları */
.icerik-anasayfa,
.icerik-hakkimizda,
.icerik-projelerimiz,
.icerik-hizmetlerimiz,
.icerik-partnerlerimiz,
.icerik-iletisim {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #1c1c1c;
    color: #fff;
    justify-content: space-between;
    min-height: 100vh;
}

/* Anasayfa Kahraman Alanı */
.kahraman {
    padding: 60px 20px;
    text-align: center;
    flex: 1;
}

.kahraman h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.kahraman p {
    font-size: 16px;
    margin-bottom: 30px;
}

.buton {
    padding: 10px 20px;
    background: #ae86f5;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.3s;
}
/* Header, solda içerik barı, yukarda navigator, orta sağda büyük bir canvas yada section ve altında article (conteiner gibi), sağda da reklam alanı (aside), en altta footer.*/
.buton:hover {
    background: #c29dfd;
}

/* Hakkımızda Sayfası */
.bolum-hakkimizda {
    display: flexbox;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.bolum-hakkimizda h1 {
    font-size: 32px;
    margin-bottom: 20px;
    border-left: 3px solid #80ff80;
    padding-left: 10px;
}

.hakkimizda-metin {
    flex: 2;
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
}

.hakkimizda-gorsel {
    flex: 1;
}

.hakkimizda-gorsel img {
    width: 26vw;
    height: 50vh;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Projelerimiz Sayfası */
.icerik-projelerimiz {
    align-items: center;

}

.icerik-projelerimiz h1 {
    font-size: 26px;
    font-family: 'Gergia', serif;
    margin-bottom: 40px;
    margin-top: 80px;
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
}

.projeler {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Her satıra 2 kutu */
    gap: 40px;
    justify-items: center;
    width: 100%;
    /* Bu aşağıdaki max-width gap + 2x proje alanı kadar olmalı minimum yoksa sağa kayma yapar.*/
    max-width: 800px;
    margin: 0 auto;
}


.proje {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    color: #eee;
    max-width: 400px;
    transition: transform 0.3s;
}

.proje:hover {
    transform: scale(1.05);
}

.proje img {
    width: 100%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
}

.proje h3 {
    /* projelerin isminin bulunduğu yer*/
    color: #eee;
    padding: 10px 0;
    font-size: 16px;
    text-align: center;
}

.proje p {
    font-size: 14px;
    color: #ccc;
}

.proje-aciklama {
    font-size: 14px;
    color: #ccc;
    padding: 0 15px 15px 15px;
    line-height: 1.5;
    text-align: center;
}

/* Hizmetlerimiz Sayfası */
.hizmetler {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    margin-left: 30px;
}

.hizmet {
    background: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    color: #eee;
}

.icerik-hizmetlerimiz h1 {
    padding-top: 40px;
    padding-left: 30px;
    font-family: 'Georgia', serif;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}


.hizmet h3 {
    margin-bottom: 10px;
}

.hizmet p {
    font-size: 14px;
    color: #ccc;
}

/* Partnerlerimiz */
.partner-listesi {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.partner-listesi li {
    padding: 10px 0;
    font-size: 18px;
    color: #eee;
    border-bottom: 1px solid #444;
}

/* İletişim */
.icerik-iletisim h1 {
    padding-top: 60px;
    text-align: center;
}

.iletisim-gorsel img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.iletisim-bilgi a {
    color: #ae86f5;
    text-decoration: none;
}

.iletisim-adres {
    padding-top: 24px;
    text-align: center;
}

.iletisim-telefon {
    padding-top: 20px;
    text-align: center;
}

.iletisim-eposta {
    padding-top: 20px;
    text-align: center;
}

.iletisim-konum {
    padding-top: 20px;
    text-align: center;
}

.iletisim-google-maps {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #ccc;
    border-radius: 8px;
}

/* Footer */
.footer {
    width: 100%;
    background-color: #3c3c3c;
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding: 1.4vh;
    font-size: calc(0.55vh + 0.55vw);
    flex-wrap: wrap;
    border-top: 0.25vw solid #333;
    margin-top: 0px;
}

.footer h4 {
    color: #ae86f5;
    margin-bottom: 0.5vh;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin: 0;
}

/* slide güncellemesi */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    opacity: 0;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.slide-conteiner {
    width: 10px;
    height: 10px;
}


.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    /* contain yerine cover da deneyebilirsin */
    z-index: 0;
    /* Görsel arkada kalır */
    pointer-events: none;
    /* Tıklamaları engellemez */
}



.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    /* slide-content in transparan gölge kutu içine alınması*/
    /* padding first element is height, second element is weight */
    padding: 10vh 7vw;
    background-color: rgba(0, 0, 0, 0.45);
    border-radius: calc(2.2vh + 2.2vw);
    box-shadow: 0 0 calc(0.7vh + 0.7vw) rgba(0, 0, 0, 0.96);
    display: inline-block;
}

.slide-content h1 {
    font-size: calc(2.3vh + 2.3vw);
    font-weight: calc(2vh + 2vw);;
    /* letter spacing: harfler arasındaki boşluktur.*/
    letter-spacing: 0vw;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 1vh;
}

.slide-content a.button {
    z-index: 3;
    position: relative;
}

.slide-content p {
    font-size: calc(1vh + 1vw);
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    max-width: 44vw;
    margin-left: auto;
    margin-right: auto;
}

.button {
    display: inline-block;
    padding: 1.6vh 1.2vw;
    background-color: transparent;
    border: calc(0.1vh + 0.1vw) solid white;
    color: white;
    font-weight: calc(1vh + 1vw);
    text-decoration: none;
    margin-top: 1vh;
    transition: all 0, 3s ease;
    border-radius: calc(1.1vh + 1.1vw);
    text-transform: uppercase;
    font-size: calc(1vh + 1vw);
}

.button:hover {
    background-color: white;
    color: black;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 4;
}

.slider-controls .prev,
.slider-controls .next {
    font-size: 30px;
    color: white;
    cursor: pointer;
    margin-right: 15px;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 15px;
    border-radius: 50%;
    z-index: 4;
}

/*
Responsive (çözünürlük) ayarlarını yaparken eğer çözünürlüğümüz dikey ise vh , yatay ise wh , fontsize gibi kare yani
hem weight hem height değeri şu şekilde: calc(0.5vh + 0.5vw) girmemiz gerekir. Alan girmek iki çizelgede şart.

*/