:root {
    --primary-red: #d00000;
    --dark-bg: #111111;
    --dark-soft: #1c1c1c;
    --border-gray: #dedede;
    --text-muted: #8a8a8a;
}

* {
    box-sizing: border-box;
    border-radius: 0 !important; /* Rounded YOK */
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    background-color: #f3f4f6;
    color: #202124;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* HEADER ÜST BAR */
.topbar {
    background: #fafafa;
    border-bottom: 1px solid #e1e1e1;
    font-size: 0.85rem;
    color: #555;
}

.topbar .left span + span {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #ddd;
}

.topbar .social a {
    color: #777;
    margin-left: 10px;
    font-size: 0.95rem;
}

.topbar .social a:hover {
    color: var(--primary-red);
}

/* HEADER ANA BAR */
header .main-bar {
    background: #ffffff;
    border-bottom: 2px solid #e2e2e2;
}

.logo-text {
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
}

.logo-text span {
    color: var(--primary-red);
}

.header-actions .btn {
    border-radius: 0 !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.header-actions .form-control {
    font-size: 0.875rem;
    border-color: #ccc;
}

.header-actions .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-red);
}

/* NAVBAR */
.main-nav {
    background: var(--dark-bg);
    border-bottom: 3px solid var(--primary-red);
}

.main-nav .nav-link {
    color: #f5f5f5;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 14px;
}

.main-nav .nav-link.active,
.main-nav .nav-link:hover {
    background: var(--primary-red);
    color: #fff;
}

.main-nav .navbar-toggler {
    border: none;
    color: #fff;
}

/* MANŞET ALANI */
.headline-wrapper {
    margin-top: 20px;
    margin-bottom: 30px;
}

/* SOL MANŞET SLIDER */
.main-headline {
    background: #ffffff;
    border: 1px solid var(--border-gray);
}

.main-headline .carousel-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.main-headline-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.0));
    color: #fff;
}

.main-headline-caption .category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    background: var(--primary-red);
}

.main-headline-caption h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 4px;
}

.main-headline-caption p {
    font-size: 0.85rem;
    color: #eee;
    margin: 0;
}

/* Slider okları */
.main-headline .carousel-control-prev-icon,
.main-headline .carousel-control-next-icon {
    filter: invert(1);
}

.main-headline .carousel-control-prev,
.main-headline .carousel-control-next {
    width: 40px;
}

/* NUMARALI INDICATOR BAR */
.main-indicators {
    position: static;
    display: flex;
    border-top: 1px solid var(--border-gray);
    background: #f7f7f7;
    overflow-x: auto;
    white-space: nowrap;
}

.main-indicators button {
    all: unset;
    cursor: pointer;
    padding: 7px 0;
    width: 40px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    border-right: 1px solid #e0e0e0;
    color: #444;
    background: #f0f0f0;
}

.main-indicators button:last-child {
    border-right: none;
}

.main-indicators button.active {
    background: var(--primary-red);
    color: #fff;
}

/* SAĞ MANŞET BLOĞU */
.side-headline {
    background: #ffffff;
    border: 1px solid var(--border-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.side-headline-header {
    display: flex;
    border-bottom: 1px solid #222;
    background: var(--dark-soft);
    color: #fff;
}

.side-headline-header button {
    flex: 1;
    border: none;
    background: transparent;
    color: #ccc;
    padding: 10px 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.side-headline-header button.active {
    background: var(--primary-red);
    color: #fff;
}

.side-headline-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.side-headline .carousel-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.side-headline-caption {
    padding: 10px 12px;
    border-top: 1px solid var(--border-gray);
}

.side-headline-caption span {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-red);
    text-transform: uppercase;
}

.side-headline-caption h5 {
    margin-top: 4px;
    font-size: 0.96rem;
    font-weight: 700;
}

/* SAĞ DOT INDICATORS */
.side-indicators {
    position: static;
    display: flex;
    justify-content: flex-start;
    padding: 20px;
    margin-top: 15px;
    gap: 6px;
    background: #fafafa;
}

.side-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 0 !important;
    border: 1px solid #999;
    background: #e0e0e0;
}

.side-indicators button.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.side-headline .carousel-control-prev-icon,
.side-headline .carousel-control-next-icon {
    filter: invert(1);
}

.side-headline .carousel-control-prev,
.side-headline .carousel-control-next {
    width: 32px;
}

/* BÖLÜM BAŞLIKLARI */
.section-header {
    border-bottom: 2px solid #000;
    padding-bottom: 6px;
    margin-bottom: 18px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.section-header span {
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 6px;
}

/* HABER KARTLARI / LİSTELER */
.news-list-item {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item img {
    width: 110px;
    height: 70px;
    object-fit: cover;
    margin-right: 10px;
}

.news-list-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-list-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.news-grid-card {
    border: 1px solid var(--border-gray);
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-grid-card img {
    height: 160px;
    object-fit: cover;
}

.news-grid-card-body {
    padding: 10px 12px 12px;
}

.news-grid-card-body h5 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.news-grid-card-body p {
    font-size: 0.84rem;
    color: #555;
    margin-bottom: 0;
}

.news-grid-card:hover {
    border-color: var(--primary-red);
}

/* SIDEBAR BLOKLARI */
.sidebar-block {
    border: 1px solid var(--border-gray);
    background: #fff;
    margin-bottom: 18px;
    padding: 12px;
}

.sidebar-block h5 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    margin-bottom: 10px;
}

.popular-item {
    display: flex;
    margin-bottom: 10px;
}

.popular-item img {
    width: 80px;
    height: 55px;
    object-fit: cover;
    margin-right: 10px;
}

.popular-item h6 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.popular-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* FOOTER */
footer {
    margin-top: 40px;
    background: #111;
    color: #ccc;
    font-size: 0.85rem;
}

footer .footer-top {
    border-bottom: 1px solid #2a2a2a;
    padding: 20px 0;
}

footer .footer-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
}

footer .footer-logo span {
    color: var(--primary-red);
}

footer .footer-links a {
    display: block;
    color: #aaa;
    margin-bottom: 5px;
    font-size: 0.85rem;
}

footer .footer-links a:hover {
    color: #fff;
}

footer .social a {
    color: #888;
    margin-left: 10px;
}

footer .social a:hover {
    color: var(--primary-red);
}

footer .footer-bottom {
    border-top: 1px solid #2a2a2a;
    padding: 12px 0;
    font-size: 0.8rem;
    color: #777;
}

@media (max-width: 992px) {
    .main-headline .carousel-item img {
        height: 260px;
    }
}
