
html, body {
    margin: 0;
    padding: 0;
    height: 100%; 
    font-family: Arial, sans-serif;
    background-color: #f5f5f5; 
}




.site-kapsayici {
    display: flex;
    flex-direction: column;
      
}


header {
    background-color: #ff6600; 
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

header a {
    color: #f5f5f5;
    text-decoration: none;
}

.logo-alani {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-alani img {
    height: 70px; 
    width: auto;
    
}

.logo-alani h1 {
    font-size: 30px;
    font-weight: bold;
    
}


nav {
    background-color: #333; 
    
}

.menu {
    list-style: none;
    display: flex; 
    max-width: 950px;
    margin: 0 auto;
}

.menu-elemani {
    position: relative;
}


.menu-elemani > a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 20px;
    
}


.menu-elemani:hover > a {
    background-color: #555;
}


.acilir-menu {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 260px;
    padding: 10px 0;
    
    
}


.menu-elemani:hover .acilir-menu {
    display: block;
}


.kategori-baslik {
    display: block;
    padding: 8px 20px 4px 20px;
    font-weight: bold;
    color: #ff6600; 
    font-size: 12px;
    margin-top: 8px;
}



.acilir-menu a {
    color: #333;
    padding: 6px 30px; 
    text-decoration: none;
    display: block;
    font-size: 14px;
    
}

.acilir-menu a:hover {
    background-color: #f5f5f5;
    color: #ff6600;
}


.ana-kapsayici {
    display: flex;
    width: 100%;
    max-width: 1200px; 
    margin: 30px auto; 
    padding: 0 20px;
    gap: 30px; 
   
}


.icerik-alani {
    width: 70%; 
    
}


.haber-karti {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden; 
    width: 100%;
}


.haber-ust-alan {
    padding: 20px 20px 15px 20px; 
}

.haber-ust-alan h2 {
    color: #222;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
}


.haber-resim-alani {
    width: 100%;
    height: 380px; 
    overflow: hidden;
}

.haber-resim-alani img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.haber-icerik {
    padding: 20px;
}

.haber-icerik p {
    color: #444;
    line-height: 1.6;
    font-size: 15px;
}


.reklam-alani {
    width: 26%; 
    background-color: #fff3eb; 
    border: 2px dashed #ff6600; 
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    top: 20px;
}

.reklam-alani h3 {
    font-size: 13px;
    color: #ff6600;
    margin-bottom: 12px;
    letter-spacing: 1px;
    font-weight: bold;
}

.reklam-alani img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    
}





footer {
    background-color: #222;
    color: #bbb;
    text-align: center;
    padding: 25px 20px;
    width: 100%;
    font-size: 14px;
    margin-top: auto; 
    border-top: 4px solid #ff6600;
}

footer p  {
    color: #fff;
    text-decoration: none;
}