/* Genel Stiller */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Top Bar */
.top-bar {
    font-size: 0.9rem;
}

.top-bar i {
    margin-right: 5px;
}

/* Header */
.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin: 0;
}

/* Main Navigation */
.navbar {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem;
    font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Slider */
.carousel-item img {
    height: 400px;
    object-fit: cover;
}

/* Duyurular */
.announcement-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
    text-decoration: none;
    transition: background-color 0.3s;
}

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

.announcement-item:hover {
    background-color: #f8f9fa;
}

.announcement-item .date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.announcement-item h6 {
    margin: 0.5rem 0 0;
    font-weight: 500;
}

/* Haberler */
.news-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    color: var(--dark-color);
    text-decoration: none;
}

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

.news-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 4px;
}

.news-content {
    flex: 1;
}

.news-content .date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.news-content h6 {
    margin: 0.25rem 0 0;
    font-weight: 500;
}

/* Hızlı Erişim */
.quick-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    text-align: center;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.quick-link-item:hover {
    background-color: #f8f9fa;
}

.quick-link-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
.footer-logo {
    max-height: 60px;
}

.footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: white;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .site-title {
        font-size: 1.5rem;
        text-align: center;
        margin-top: 1rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .carousel-item img {
        height: 300px;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar .text-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
}

.news-slider {
    max-width: 600px;
    margin: 50px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item {
    position: relative;
    height: 300px;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 30px 20px;
    color: white;
}

.news-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    padding: 10px;
}

.carousel-indicators {
    bottom: 10px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

.page-numbers-container {
    text-align: center;
    padding: 20px 0;
    background: #f8f9fa;
}

.page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-number.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

.page-number:hover {
    background: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .news-title {
        font-size: 1.4rem;
    }

    .news-overlay {
        padding: 20px 20px 15px;
    }

    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
