@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Poppins', sans-serif;  
}   
html, body {
    margin: 0;
    height: 100%; /* Ensure the body and html take full height */
    display: flex;
    flex-direction: column; /* Use flexbox for layout */
}
.container {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ekranın tam yüksekliği */
    background-color: rgb(230, 230, 230);
}
.menu {
     /* Fixed height for the menu */
    background-color: rgb(235, 235, 235);
    overflow: hidden;
    font-weight: bold;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    list-style-type: none;
    justify-content: center;
    gap: 8px;
}
.menu li{
    flex-grow: 1;
}
.menu li a{
    display: block;
    text-decoration: none;
    color: rgb(34,34,34);
    font-size: 18px;
    text-align: center;
    padding: 10px 0px 10px 0px;
    opacity: 0.8;
    transition: all 0.5s;
}

.menu .logo {
    margin-right: 0; /* Remove auto margin to keep menu items next to the logo */
    display: flex;
    align-items: center; /* Vertically align the logo */
}
.menu img {
    width: 80px;
    padding-left: 0px;
    padding-right: 0; /* Remove padding */
    margin-left: 0; /* Ensure no extra margin */
    margin-right: 40px;
    transition: all 0.5s;
}
.menu img:hover {
    transform: scale(1.1);
}
.menu .menuclass a {
    
    text-decoration: none;
    color: rgb(54, 54, 54);
    display: block;
    padding: 29px;
    transition: all 0.5s;
    
}
.menu .menuclass a:hover {
    color: rgb(14, 14, 14);
    background-color: rgb(220, 220, 220);
}
.iframe {
    flex: 1; /* Kalan tüm boşluğu bu kaplasın */
    display: flex; /* İçindeki iframe'in tam yayılması için */
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%; /* Div'in içine tam otursun */
    border: none;
}
.footer {
    border-top: 2px solid rgb(200, 200, 200);
    height: 70px;
    display: flex;
    justify-content: center; /* 🔥 YATAY ORTALAMA */
    align-items: center;     /* 🔥 DİKEY ORTALAMA */
    background-color: rgb(220, 220, 220);
    gap: 200px;
}

.footer img {
    width: 35px;
    height: 35px;
    object-fit: scale-down;
    margin: 0 15px; /* ikonlar arası boşluk */
    display: block;
    transition: transform 0.3s ease;
}

.footer img:hover {
    transform: scale(1.2);
}


/* Ana Sayfa */

.anasayfa h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgb(50, 50, 50);
}
.anasayfa .aciklama {
    width: 60%;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    color: rgb(70, 70, 70);
    text-align: center;
}
.anasayfa .aciklama a {
    color: rgb(60, 60, 60);
    text-decoration: underline;
    font-weight: bold;
}

/* Hakkımda */

.hakkimda h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgb(50, 50, 50);
}
.hakkimda .aciklama {
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.6;
    color: rgb(70, 70, 70);
    text-align: center;
}
.hakkimda .aciklama a {
    color: rgb(60, 60, 60);
    text-decoration: underline;
    font-weight: bold;
}

/* Çalışmalarım */
.calismalarim h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgb(50, 50, 50);
}
.sekmeler{
    padding-top: 50px;
    gap: 10px;
    display: flex;
    justify-content: space-evenly;
}
.sekmeicerik ul{
    list-style-type: none;
}
.sekmeicerik ul li{
    margin: 10px;
    font-size: 20px;
}
.sekmeicerik ul li a{
    text-decoration: underline;
    color: rgb(70, 70, 70);
    transition: all 0.3s;
}
.sekmeicerik ul li a:hover{
    color: rgb(30, 30, 30);
}

/* İletişim */
.iletisim h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: rgb(50, 50, 50);
}

@media screen and (max-width:700px){
    .container,.urunler{
        width: 100%;
        justify-content: center;
    }
    .gizle{
        display: none;
    }
    .menu,.kartlart-kart,.banner,.iletisim{
        flex-direction: column;
    }
    .banner2{
        padding: 50px 0px 50px 0px;
    }
    .kutu{
        left: 50px;
    }
    .baslik{
        letter-spacing: 3px;
    }
    .kart img,.urun-kart{
        width: 75%;
    }
    .iletisim-sol ul li input{
        width: 100%;
    }
    .iletisim-orta textarea{
        margin-top: 5px;
    }
    .iletisim{
        padding: 20px;
    }
}