/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    color: #0d6efd;
    text-decoration: none;
}

a:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Header Stili */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
}

.social-icons a {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

/* Üst Menü Stili */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.7rem 1rem;
    transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Slider Stili */
#newsSlider .carousel-item {
    height: 400px;
}

#newsSlider .carousel-caption {
    padding: 15px;
    border-radius: 5px;
}

#newsSlider .carousel-control-prev,
#newsSlider .carousel-control-next {
    width: 5%;
}

/* Haber Kartları */
.card {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-weight: 600;
    color: #333;
}

.card-text {
    color: #666;
}

/* Footer Stili */
footer {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer h5 {
    font-weight: 600;
    margin-bottom: 15px;
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.7);
}

footer a:hover {
    color: #fff;
}

/* Medya Sorguları - Responsive Tasarım */
@media (max-width: 768px) {
    #newsSlider .carousel-item {
        height: 300px;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    header .social-icons {
        text-align: center;
        margin-top: 10px;
    }
    
    header .container > .row > div {
        text-align: center !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    #newsSlider .carousel-item {
        height: 200px;
    }
    
    #newsSlider .carousel-caption {
        display: none;
    }
}

/* Yazarlar Bölümü */
.writer-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.writer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.writer-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.writer-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.writer-info p {
    color: #666;
    margin-bottom: 0;
}

/* Köşe Yazıları Bölümü */
.column-card {
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.column-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.column-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.column-writer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.column-info h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.column-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.column-content {
    color: #333;
    line-height: 1.7;
}

/* Galeri Bölümü */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.gallery-caption h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-caption p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Admin Panel Stili */
.sidebar {
    min-height: 100vh;
    padding-top: 20px;
}

.sidebar .nav-link {
    padding: 10px 15px;
    margin-bottom: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.component-item {
    transition: all 0.3s ease;
}

.component-item:hover {
    background-color: #e9ecef;
}