/* Genel sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* Üst kısım ve ana içerik için 50px boşluk ve beyaz zemin */


/* Footer ana konteyner – Siyah zemin, sağdan/soldan 50px boşluk hizalaması */
.footer {
    background-color: #111111; /* Resimdeki gibi koyu siyah taban */
    padding: 50px;
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
    margin: 0 50px; /* Header ve içerikle aynı hizada kalması için 50px margin */
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
}

/* Sol Sütun: Logo */
.footer-left {
    flex: 1 1 auto;
    margin-bottom: 20px;
}

/* Sağ Sütun: Linkler ve Telif */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* İçeriği sağa yaslar */
    flex: 1 1 auto;
}

/* İki sütunlu link yapısı (Resimdeki gibi) */
.footer-links-container {
    display: flex;
    gap: 70px; /* İki liste arasındaki yatay boşluk */
    margin-bottom: 30px;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    font-size: 15px;
}

.footer-links li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.2s;
}

.footer-links li a:hover {
    color: #ffc107; /* Menü hover rengiyle uyumlu sarımsı renk */
}

/* En alt sağ iletişim ve telif */
.footer-bottom-right {
    text-align: right;
}

.footer-bottom-right .email {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 8px;
}

.footer-bottom-right .copyright {
    font-size: 13px;
    color: #777777;
}

/* Menü renkleri ve ayraçlar (Header için olan eski CSS kuralları) */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: #ffc107 !important;
    font-weight: bold;
    border-bottom: none !important;
}

@media (min-width: 992px) {
    .navbar-nav .nav-item:not(:last-child) .nav-link::after {
        content: "|";
        color: rgba(255, 255, 255, 0.6);
        margin-left: 12px;
    }
}

/* Mobil uyum - Telefonda düzgün görünmesi için boşlukları küçültüyoruz */
@media (max-width: 768px) {
    .content-area, .footer {
        margin: 0 15px; /* Mobilde 50px çok yer kaplar, 15'e düşürüldü */
    }

    .footer {
        padding: 30px 20px;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-right {
        align-items: flex-start; /* Mobilde her şeyi sola hizala */
        margin-top: 30px;
    }

    .footer-bottom-right {
        text-align: left;
    }

    .footer-links-container {
        gap: 40px;
    }
}
/* Özel Yatay Kaydırma (Carousel) Alanı */
.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    /* Kaydırma çubuğunu gizlemek veya ince yapmak için */
    scrollbar-width: thin;
}
.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}
.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.cover-card {
    flex: 0 0 auto; /* Kartların sıkışmasını engeller, yan yana dizer */
    width: 200px; /* Film afişi gibi dik ve standart bir genişlik */
    transition: transform 0.2s; /* Üzerine gelince hafif büyüme efekti */
}
.cover-card:hover {
    transform: scale(1.05);
}
.cover-card img {
    height: 280px; /* Kapak resminin yüksekliği */
    object-fit: cover;
    border-radius: 8px;
}

/* GAZETE TİPİ MANŞET CAROUSEL AYARLARI */
.hero-carousel {
    border-radius: 8px;
    overflow: hidden;
}
.hero-carousel .carousel-item img {
    height: 450px;
    object-fit: cover;
    width: 100%;
}
.custom-indicators {
    margin-bottom: 15px;
}
.custom-indicators button {
    width: 35px !important;
    height: 35px !important;
    border-radius: 8px !important; /* Yuvarlatılmış kutu */
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: #ffffff !important;
    text-indent: 0 !important; /* Numaraların görünmesini sağlar */
    border: 2px solid transparent !important;
    line-height: 31px !important;
    text-align: center;
    font-weight: bold;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}
.custom-indicators button.active {
    background-color: #ffc107 !important; /* Aktif olan sarı renk */
    color: #000000 !important;
    border-color: #ffffff !important;
}
/* Sağ ve sol okları daha belirgin yapalım */
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    background-size: 50%;
}

/* ===================================================
   KUSURSUZ GRİ KENARLAR (BOXED TEMA) 
   =================================================== */
html {
    background-color: #9e9e9e !important; /* Dışarıda kalan o 50px boşluğun GRİ rengi */
}

body {
    max-width: calc(100% - 100px) !important; /* Sağdan 50px, soldan 50px daraltır */
    margin: 0 auto !important; /* Bütün siteyi tam ortaya hizalar */
    background-color: #ffffff !important; /* Sitenin ana gövdesini temiz beyaza döndürür */
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.4); /* Kenarlara çok şık bir gölge verir, kağıt gibi durur */
    position: relative;
}

/* Üst menü sabitse (fixed) o da gövdeyle kalsın diye güvenlik kilidi */
header.fixed-top, .navbar.fixed-top, #header.fixed-top {
    max-width: calc(100% - 100px) !important;
    margin: 0 auto !important;
    left: 0; right: 0;
}

/* Mobilde 50px boşluk ekranı bitirir. O yüzden mobilde 15px'e düşürüyoruz */
@media (max-width: 992px) {
    body {
        max-width: calc(100% - 30px) !important; 
    }
    header.fixed-top, .navbar.fixed-top, #header.fixed-top {
        max-width: calc(100% - 30px) !important;
    }
}
/* FOOTER'IN (ALT KISMIN) BEYAZ BOŞLUK BIRAKMADAN GRİ KENARLARA YAYILMASI */
footer, .footer, #footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: #111111 !important; /* Siyah arkaplanı tam genişliğe yayar */
}

/* Eğer footer kendisini bir container ile sınırlandırmışsa o kilidi açıyoruz */
footer.container, .footer.container, footer > .container {
    max-width: 100% !important;
    padding-left: 40px !important; /* Yazılar kenara yapışmasın diye azıcık iç boşluk */
    padding-right: 40px !important;
}
