@charset "utf-8";
/* CSS Document */
/* Ana haber konteyneri */
.haber-anasayfa h1 {
    font-size: 42px;
    margin-bottom: 25px;
    color: #ffffff;
    opacity: 0;
	text-align: center;
    transform: translateX(-80px); 
	padding-top:40px;
    animation: sagdanSolaBaslik 1.2s ease forwards;
}

@keyframes sagdanSolaBaslik {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bolum-basligi h1 {
	padding:30px;
    font-size: 48px;
    letter-spacing: 3px; /*metindeki harflerin arasındaki boşluk miktarını vermeye yarar*/
    margin-bottom: 10px;
}

.bolum-basligi {
      opacity: 0;
    transform: translateY(40px);
    animation: bolumGiris 1.2s ease forwards;
    animation-delay: 0.2s;
     text-align: center; 
}
@keyframes bolumGiris {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ayirici-cizgi {
    width: 150px;
    height: 3px;
    background: linear-gradient(to right, transparent, #6c789d, transparent);
    margin: 15px auto;
}


.haber-konteyner {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 55px;
}


.kutu {
    background-color: rgba(12, 23, 53, 0.6);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
	padding:15px;
    justify-content: center;
    align-items: center;
    flex-direction: column; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kutu:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.kutu img {
    width: 175px;
    height: 175px;
    object-fit: cover;
    display: block;
	border-radius: 15px;
}

.kutu h1 {
    font-size: 18px;
	text-align: center;
    padding: 15px 18px;
    margin: 0;
    line-height: 1.4;
}

.kutu h1 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kutu h1 a:hover {
    color: #4da3ff;
}

.haber-anasayfa{
    margin-right:80px;
    margin-left:80px;
}

.haber-anasayfa img{
    float: left;
    margin: 20px 30px 20px 0; 
    padding: 0;
	border-radius: 15px;
}

.haber-anasayfa h4{
	line-height: 1.8;
    color: #e0e0e0;
    font-weight: 300;
}

.haber-anasayfa img:hover{
    box-shadow: 0 0 20px rgba(108, 121, 255, 0.8),
              0 0 40px rgba(0, 198, 255, 0.6);
}

.kategori-baslik h2 {
    font-size: 28px;
    letter-spacing: 2px;
		 margin-left: 80px;
	margin-bottom:0;
	
}

.alt-cizgi {
    width: 300px;
    height: 5px;
    background: linear-gradient(to right, transparent, #0c1735, transparent);
	 margin-left: 80px;
	margin-bottom: 20px;
}



























.benzer-haberler {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
}

.benzer-haberler h2 {
    color: #fff;
    font-weight: 300;
}

.benzer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;	
    margin:20px 80px;
}

.benzer-kutu {
    position: relative; 
    height: 180px;    
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 15px;
    overflow: hidden;  
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    
    transition: transform 0.3s ease;
}


.benzer-kutu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0c1735; 
    opacity: 1; 
    z-index: 1; 
    transition: opacity 0.4s ease;
}


.benzer-kutu:hover::before {
    opacity: 0.1; 
}


.benzer-kutu span {
    position: relative;
    z-index: 2; 
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8); 
    transition: transform 0.3s ease;
}


.benzer-kutu:hover {
    transform: translateY(-5px); 
    border-color: #00c6ff;      
}

.benzer-kutu:hover span {
    transform: scale(1.15);      
    color: #fff;
}




