*{/*border box özelliği kullanılınca öğenin toplam genişliği ve yüksekliği, kenarlık ve dolgu alanları dahil olmak üzere belirtilen değerlere göre hesaplanır.*/
    box-sizing: border-box;

}body {
    font-family: "Nunito", sans-serif;/*yazı tipi ayarları*/
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    margin: 0;
}

#menu {
    /*menu alanının yüksekliği arkaplan rengi ve iç boşluğunun ayarlanması*/
    height: 80px;
    background-color: #101726;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

img {
    /*kullanılan logonun konumunun belirlenmesi*/
    width: 80px;
    height: 80px;
    line-height: 80px;
    float: left;
}

nav {
    float: right;
    line-height: 80px;
    display: flex;
}

nav a:link {
    /*linklerin özelliğini belirleme*/
    text-decoration: none; /*bağlantının altındaki çizgiyi kaldırma*/
    margin-right: 25px;
    color: white;
}

nav a:hover {
    /*linklerin üstüne gelindiğinde ne olacağını belirliyoruz*/
    border-bottom: 2px solid white;/*linklerin üstüne gelindiğinde 2 piksel kalınlığında düz bir beyaz çizgi çıkmasını sağlıyoruz*/
}

nav a:visited {
    /*ziyaret edilmiş bağlantıların altını çizmemeyi, sağa yaslamayı ve beyaz renkte görünmesini sağlıyoruz */
    text-decoration: none;
    margin-right: 25px;
    color: white;
}

.ikon {
    /*kullanılan ikonların büyüklüğünü ve sağ tarafına 7 piksel boşluk bırakma*/
    margin-right: 7px;
    font-size: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

#anasayfa{/*banner alanına görsel ekleme ve düzenleme*/
    height: 600px;
    background-image: url("../gorseller/Ins19.JPG");
    background-size: cover;/*görselin banner alanına sığdırılması*/
    background-position: center;/*görselin ortalanması*/
    background-attachment: fixed;/*görselin sabit kalması*/
}
#black{/*banner alanında gölgeli bir görünüm oluşturuyoruz,arkaplan rengine siyah diyip opaklık özelliği belirtiyoruz*/
    height: 600px;
    background-color: black;
    opacity: 0.5;

}
#icerik{/*banner alanındaki içeriklerin konumunu ,rengini,büyüklüğünü ayarlama*/
    position: absolute;/*yazıyı görselin üstüne ekler*/
    top: 50%;
    left: 20%;
    transform: translate(-50%,-50%);/*öğenin ortalanması*/
    color: white;
    font-size: 20px;
}
/* Temel stiller */
.hakkimizda {
    position: relative;
    display: inline-block;
    color: white;
    padding-right: 25px;
    
}

.alt-menu {
    display: none; /* Başlangıçta alt menüyü gizleyelim */
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #101726;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Hakkımızda kısmına fare geldiğinde alt menüyü gösterelim */
.hakkimizda:hover .alt-menu {
    display: block;
    
}

/* Alt menü bağlantıları */
.alt-menu a {
    display: block;
    padding: 2px;
    text-decoration: none;
    color: #333;
    line-height: 20px;
    margin-top: 9px;
}

/* Alt menü bağlantılarının üzerine gelindiğinde arka plan rengini değiştirelim */
.alt-menu a:hover {
    border-bottom: 2px solid white;/*linklerin üstüne gelindiğinde 2 piksel kalınlığında düz bir beyaz çizgi çıkmasını sağlıyoruz*/

}
/*hakkımızda*/
/* "Hakkımızda" bölümünün stili */
.about {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.about .heading {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
}

.about .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start; /* Resim ve yazının aynı hizadan başlaması için ayarlandı */
}

.about .image {
    flex: 1;
    min-width: 400px; /* Resmin minimum genişliğini artırarak büyütme */
}

.about .image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.about .content {
    flex: 2;
    min-width: 300px;
    padding: 20px;
    margin-top: -30px;
    
}

.about .content p {
    margin-bottom: 20px;
}

.about .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 20px; /* Butonu yazının altında konumlandırmak için eklendi */
}

.about .btn:hover {
    background-color: #555;
}
/*projeler alanı düzenleme*/

.projeler {
    padding: 20px;
    background-color: #f4f4f4;
}

.projeler h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* kutular arasındaki boşluk */
}

.box {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px; /* kutuların genişliği */
    max-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.box-head {
    text-align: center;
    padding: 10px;
    
}

.box-head img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.box-bottom {
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn-proje {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #333;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.btn-proje:hover {
    background-color: #555;
}
/* Slider alanı düzenleme */
.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 600px;
    vertical-align: middle;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    color: white;
    font-weight: bold;
    font-size: 30px;
    user-select: none;
    border: none; /* Buton çerçevesini kaldırdım */
    background: none; /* Buton arka planını kaldırdım */
    padding: 0 15px; /* Ok butonlarının boyutlarını ayarladım */
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    color: rgba(255, 255, 255, 0.8); /* Buton hover efekti */
}


/* Yönetim paneli stil */
.yonetim-paneli {
    background-color: #f4f4f4;
    padding: 40px 0;
}

.yonetim-paneli h1 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 50px;
}

.yonetici-kartlar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.yonetici-kart {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.yonetici-kart h2 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.pozisyon, .departman {
    color: #555;
}

.bilgi {
    color: #777;
    margin-top: 10px;
}

/*footer alanı düzenleme*/
.footer{
    background-color: #101726;
    text-align: center;
    height: 400px;
    margin-top: 40px;
    
}
.footer .search{

    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.footer .search .search-input{
    width: 200px;
    margin-top: 10px;
    
}

.footer .search .btn{
    background-color: #004aad;
    padding: 10px;
    border-radius: 20px;
    margin-left: 10px;
    margin-top: 10px;
}
.search-input{
    font-size: 16px;
    padding: 10px;
    text-transform: none;
    border-radius: 30px;
}
.footer .search .btn-primary{
    padding: 10px 20px;
    margin-left: 10px;
    color: #fff;
    cursor: pointer;
}
.footer .search .btn-primary :hover{
     opacity: 0.9;
}
.footer .share a{
    padding: 20px;
    width: 70px;
    height: 70px;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    border: var(--border);
    margin: 2px;
    border-radius: 50px;
    text-decoration: none;
}
.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    
}
.footer .links a{ 
    color: #fff;
    text-decoration: none;
    padding: 3px 20px;
    font-size: 20px;
}
.footer .links a:hover{
    text-decoration: underline;
    
}
.footer .credit{
    font-size: 10px;
    color: #fff;
    font-family: 300;
    padding-top: 20px;
}
.footer .credit span{
    font-size: 14px;
}

.inner_title{
    margin-top: 20px;
}
.inner_title a{
    color: #fff;
    font-size: 25px;
    text-decoration: none;
}
.inner_title a:hover{
    text-decoration: underline;
}

.inner_list ul {
    list-style-type: none;
    padding: 0;
}

.inner_list ul li {
    margin-bottom: 10px;
}

.inner_list ul li a {
    text-decoration: none;
    color: #fff;
}

.inner_list ul li a:hover {
    text-decoration: underline;
}
/* Responsive Medya Sorguları */

/* Genel mobil cihazlar için */
@media (max-width: 768px) {
    /* Menü ayarları */
    #menu {
        padding: 0 10px;
    }
    img {
        width: 60px;
        height: 60px;
    }
   
       /* Hamburger menü */
.hamburger {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px; /* Sağ üst köşe */
    color: #333;
    z-index: 1001;
}

/* Hamburger butonu zaten sağda duruyor — doğru */

nav#nav {
    display: none;
    flex-direction: column;
    align-items: flex-start; /* YAZILARI sola yasla */
    width: 200px;
    position: absolute;
    top: 60px;
    right: 20px; /* ← Menüyü sağdan çıkar */
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
}

nav#nav.show {
    display: flex;
}

nav#nav a,
nav#nav .hakkimizda > span {
    display: block;
    width: 100%;
    text-align: left; /* ← YAZILARI sola hizala */
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}


.hakkimizda {
    width: 100%;
    position: relative;
}

.hakkimizda > span {
    cursor: pointer;
}

.alt-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    border-radius: 8px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1001;
    padding: 5px 0;
}

.alt-menu a {
    display: block;
    width: 100%;
    padding: 6px 10px;
    color: white !important;
    text-decoration: none;
    text-align: left;
    font-size: 0.95rem;
}

.hakkimizda:hover .alt-menu,
.alt-menu:hover {
    display: flex;
}

    /* Banner alanı */
    #anasayfa {
        height: 400px;
    }
    #black {
        height: 400px;
    }
    #icerik {
        top: 50%;
        left: 50%;
        font-size: 16px;
        transform: translate(-50%, -50%);
    }

    /* Hakkımızda alanı */
    .about .heading {
        font-size: 2em;
    }
    .about .row {
        flex-direction: column;
        align-items: center;
    }
    .about .image {
        min-width: 100%;
    }
    .about .content {
        min-width: 100%;
        padding: 20px;
    }

    /* Projeler alanı */
    .projeler {
        padding: 10px;
    }
    .projeler h1 {
        font-size: 2rem;
    }
    .box-container {
        flex-direction: column;
        height: 800px; /* Örnek bir değer, ihtiyaca göre ayarlayabilirsin */
    }
    
    /* Slider alanı */
    .slide img {
        height: 300px;
    }

    /* Yönetim paneli */
    .yonetici-kart {
        width: 90%;
    }

    /* Footer alanı */
    .footer {
        height: auto;
        padding: 20px 10px;
    }
    .footer .search {
        flex-direction: row; /* Flex yönünü yatay yaparak butonun yanında kalmasını sağladım */
        flex-wrap: nowrap; /* Alt satıra geçmeyi önlemek için */
        justify-content: center; /* İçeriği ortalamak için */
    }
    .footer .search .search-input {
        width: 200px; /* Genişliğini ilk hali gibi yaptım */
    }
    .footer .search .btn {
        width: auto; /* Butonun genişliğini içeriğine göre ayarladım */
        margin-left: 10px; /* Butonun yanındaki boşluğu korudum */
    }
    .footer .links {
        flex-direction: column;
        align-items: center;
    }
    .footer .links a {
        font-size: 18px;
    }
}

/* Tabletler için */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Menü ayarları */
    #menu {
        padding: 0 15px;
    }
    img {
        width: 70px;
        height: 70px;
    }
   
      /* Hamburger menü */
.hamburger {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px; /* Sağ üst köşe */
    color: #333;
    z-index: 1001;
}

/* Hamburger butonu zaten sağda duruyor — doğru */

nav#nav {
    display: none;
    flex-direction: column;
    align-items: flex-start; /* YAZILARI sola yasla */
    width: 200px;
    position: absolute;
    top: 60px;
    right: 20px; /* ← Menüyü sağdan çıkar */
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px;
}

nav#nav.show {
    display: flex;
}

nav#nav a,
nav#nav .hakkimizda > span {
    display: block;
    width: 100%;
    text-align: left; /* ← YAZILARI sola hizala */
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}


.hakkimizda {
    width: 100%;
    position: relative;
}

.hakkimizda > span {
    cursor: pointer;
}

.alt-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    border-radius: 8px;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1001;
    padding: 5px 0;
}

.alt-menu a {
    display: block;
    width: 100%;
    padding: 6px 10px;
    color: white !important;
    text-decoration: none;
    text-align: left;
    font-size: 0.95rem;
}

.hakkimizda:hover .alt-menu,
.alt-menu:hover {
    display: flex;
}

    /* Banner alanı */
    #anasayfa {
        height: 500px;
    }
    #black {
        height: 500px;
    }
    #icerik {
        top: 50%;
        left: 50%;
        font-size: 18px;
        transform: translate(-50%, -50%);
    }

    /* Hakkımızda alanı */
    .about .heading {
        font-size: 2.2em;
    }
    .about .row {
        flex-direction: column;
        align-items: center;
    }
    .about .image {
        min-width: 90%;
    }
    .about .content {
        min-width: 90%;
        padding: 20px;
    }

    /* Projeler alanı */
    .projeler {
        padding: 15px;
    }
    .projeler h1 {
        font-size: 2.2rem;
    }.box-container {
        flex-direction: column;
        height:800px; /* Örnek bir değer, ihtiyaca göre ayarlayabilirsin */
    }
    
    /* Slider alanı */
    .slide img {
        height: 400px;
    }

    /* Yönetim paneli */
    .yonetici-kart {
        width: 80%;
    }

    /* Footer alanı */
    .footer {
        height: auto;
        padding: 30px 15px;
    }
    .footer .search {
        flex-direction: row; /* Flex yönünü yatay yaparak butonun yanında kalmasını sağladım */
        flex-wrap: nowrap; /* Alt satıra geçmeyi önlemek için */
        justify-content: center; /* İçeriği ortalamak için */
    }
    .footer .search .search-input {
        width: 200px; /* Genişliğini ilk hali gibi yaptım */
    }
    .footer .search .btn {
        width: auto; /* Butonun genişliğini içeriğine göre ayarladım */
        margin-left: 10px; /* Butonun yanındaki boşluğu korudum */
    }
    .footer .links {
        flex-direction: column;
        align-items: center;
    }
    .footer .links a {
        font-size: 18px;
    }
}
