* {
  box-sizing: border-box;
}

*::before, *::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body{
background-color: #000000;
padding-top:0px;
 min-height: 100%;
margin:0;
overflow-x: hidden;
}

.ustbar{
width:100%;
height:50px;
background: rgba(255, 255, 255, 0.9);

left:0;

display:flex;
justify-content:space-between;


background-color:#3E3636

}



.ustpng{
width:40px;
height:40px;
opacity:0.7;
}
.ustpng:hover{
opacity:1;
}



.banner{
width:100%;
height:400px;

display: flex;
justify-content: space-between;
position: relative;
background-image:url("resimler/oda207.jpeg");
margin-top:60px;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
font-size: 25px;
font-weight: 600;

}

.banner a {
  text-decoration: none;
  color: black;
}

.liste{
padding-top:30px;
opacity: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.sol_liste{
align-items: left;
padding-left: 20%;
}
.sag_liste{
align-items: right;
padding-right: 20%;
}
.liste li{

list-style:none;
display: flex;
width: fit-content;
margin-top:30px;
padding: 20px;
background-color: #fff3f3;
opacity: 0.3;
border-radius: 15px;

}
.liste li:hover{
    opacity: 1;
    transition: all 0.1s ease-in-out;
    list-style: none;
    background-color: #f8f8f8;
    border: 0px solid rgb(255, 0, 0);
    border-radius: 15px;
    padding: 20px;

transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);


}

.ustpng{
width:40px;
height:40px;
opacity:0.7;
border-radius:10px;
box-shadow: 0 0 0 rgba(0,0,0,0);
transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.ustpng:hover{
opacity:1;
transition: transform 0.3s ease;
  transform: scale(1.15);
  box-shadow: 0 0 10px 7px rgba(255,255,255,0.7);
}




.navigasyon_bar{



display: flex;
justify-content:space-between;

box-shadow: 0 0 0 rgba(0,0,0,0);
transition: transform 0.3s ease, box-shadow 0.3s ease;
padding:5px;

position:fixed;
width:100%;
top:0;

  overflow: hidden;

z-index:100;
background-color:#D72323;

opacity:0.7;
}

.huawei_png{
width:30px;
height:30px;
padding-top:0px;
padding-bottom:0px;
margin:0;
object-fit: contain;
}


.ic_div{
  display: flex;
  align-items: center;    
  text-align: center;
  gap:8px;
}


.navigasyon_bar img{
transition: transform 0.3s ease;
  transform: scale(1);
}
.navigasyon_bar img:hover{
  transform: scale(1.20);
}


.navigasyon_bar a:hover{
    opacity: 1;
    transition: all 0.1s ease-in-out;

    
    background-color: #ffffff;
    border: 0px solid rgb(255, 0, 0);
    border-radius: 15px;
    
transform: translateY(-3px) scale(1.01);
  box-shadow: 0 0 10px 7px rgba(255,255,255,0.7);


}
.navigasyon_bar:hover{
opacity:1;
}

.navigasyon_bar a{
  text-decoration: none;
  color: black;
padding: 10px;
margin-right:20px;
}
.navpng{
width:40;
height:40;
}





.haber {
  display: flex;           
  flex-direction: row;      
  align-items: flex-start;   
  justify-content: flex-start; /* DÜZELTİLDİ: center -> flex-start */
  gap: 30px;               
  border-radius:20px;
  width:100%; /* KORUNDU */
  max-width: 100%; /* EKLENDİ: Taşmayı kesin önler */
 

  transition: box-shadow 0.3s ease;
  color:#D72323;
  clear: both;
  /* EKLENDİ: Taşan içeriği gizle kesin çözüm için */
  overflow: hidden; 

}

.haber:hover{

 box-shadow: 0 0 10px 7px rgba(255,255,255,0.7);
}

.haber a{  text-decoration: none;
  color: black;
}

/* DÜZELTİLDİ: TÜM FOTOĞRAFLAR AYNI BOYUTTA (450x300) */
.kapak_foto {
  max-width: 100%;
  width: 450px;
  height: 300px; /* SABİT YÜKSEKLİK - DEĞİŞTİ auto -> 300px */
  object-fit: cover; /* Resim kırpılarak sığdırılır */     
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
}



/* DÜZELTİLDİ: Margin-left kaldırıldı, width %100 yapıldı */
.haberler {
  display: flex;
  flex-direction: column;    
  width: 100%; /* DÜZELTİLDİ: max-width:100% -> width:100% */
  max-width: 100%; /* EKLENDİ */
  margin-left: 0; /* DÜZELTİLDİ: 80px -> 0 (taşma nedeniydi!) */
  padding-left: 20px; /* İSTEĞE BAĞLI: Boşluk için padding kullan */
  padding-right: 20px; /* EKLENDİ: Dengeli boşluk */
  box-sizing: border-box; /* EKLENDİ */
       margin-top:50px; 

}



.haber-icerik {
  text-align: center;        
  display: flex;
  align-items: flex-start;
  gap:20px;
  margin-top:100px;
  width: 100%; /* EKLENDİ */
  max-width: 100%; /* EKLENDİ */
}

.haber_sayfasi{
padding-top:150px;
}

/* DÜZELTİLDİ: TÜM FOTOĞRAFLAR AYNI BOYUTTA (450x300) */
.foto{
  max-width: 100%;
  width: 450px;
  height: 300px; /* SABİT YÜKSEKLİK - DEĞİŞTİ auto -> 300px */
  object-fit: cover; /* Resim kırpılarak sığdırılır */
  border-radius:20px;
  margin:20px auto; /* DÜZELTİLDİ:margin-left:100px + 50px yerine ortalı ve küçük */
  display:block;
}

/* DÜZELTİLDİ: Taşmayı önlemek için max-width %100 */
p{
  margin: 0 auto;
  text-align: justify;
  font-family: 'Source Serif 4', serif;
  font-size: 18px;
  line-height: 1.7;
  max-width: 1000px;
  width: 100%; /* EKLENDİ */
  padding: 0 20px;
  margin-bottom: 1em;
  word-wrap: break-word; /* EKLENDİ: Uzun kelimeleri kır */
  overflow-wrap: break-word; /* EKLENDİ */
}

/* DÜZELTİLDİ: Taşmayı önlemek için */
h1{
  margin: 0 auto;
  text-align: justify;
  max-width: 1000px;
  width: 100%; /* EKLENDİ */
  padding: 0 20px;
  margin-bottom: 0.5em;
  word-wrap: break-word; /* EKLENDİ */
}










.alt-banner {
  background-color: #3E3636;
  text-align: center;
  padding: 20px;
width:100%;
color:#D72323;


}

.last_foot{
text-align:center;
color:#D72323;


margin-top:30px;
}
.foot a{
text-decoration:none;

color:#D72323;

margin:50px;
}

.foot_divs{
display:flex;
justify-content:space-between;
margin-bottom:50px;
margin-top:50px;
width:auto;
height:50px;
background-color:#3E3636;
gap:10px;
border-radius:20px;


}
.foot_divs a{
text-decoration:none;
text-align:left;
color:#3E3636;
border-radius:20px;

}
.foot_div1{
width:auto;
height:50px;

border-radius:20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
color:#D72323;
line-height:25px;


}
.foot_div1:hover{
transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
color:#D72323;
}
.foot_divs a:hover{
background-color:#f8f8f8;

}
.footer_foto{
width:50px;
height:50px;
border-radius:20px;
float:left;
margin-right: 10px;

}





h3{
color:#D72323;

}
h1{
color:#D72323;
text-align:center;
}
h2{
color:#D72323;

}
p{
color:#F5EDED;

}
.metin{
color:#F5EDED;
}
.metin li{
color:#F5EDED;
}







.sidebar {
  position: fixed;
  top: 30%;
  right: 10px;

  width: 60px;
  height: 30vh;

  background-color: #D72323;
  display: flex;
  align-items: center;

  padding-top: 20px;
  z-index: 100;

  opacity: 0.3;
  overflow: hidden;
  border-radius: 20px;

  transition: all 0.4s ease;
}

.sidebar:hover {
  width: 450px;
  height: 75vh;
  top: 10%;
  opacity: 1;
}








.side_bar_baslik{
display:blok;

}


.side_liste{
padding-top:30px;
opacity: 1;
  display: flex;
  justify-content: center;

box-shadow: 0 0 0 rgba(0,0,0,0);
transition: box-shadow 0.3s ease;

}
.side_sol_liste{
align-items: left;

}
.side_sag_liste{
align-items: right;
padding-right: 5vh;

}
.side_liste li{
 flex-direction: column;

list-style:none;
display: flex;
width: fit-content;
margin-top:30px;
padding: 20px;
background-color: #fff3f3;
opacity: 1;
border-radius: 15px;
align-items:center;

}
.side_liste li:hover{
   
    transition: all 0.1s ease-in-out;
    list-style: none;
 flex-direction: column;
margin-top: 30px;
    background-color: #f8f8f8;
    border: 0px solid rgb(255, 0, 0);
    border-radius: 15px;
    padding: 20px;
  box-shadow: 0 0 10px 7px rgba(255,255,255,0.7);

}

.side_liste a{
text-decoration:none;
color:#000000;
}

.side_bar_img{
width:120px;
height:100px;

}







