/* =================================================================
   DUYURULAR SECTİON - ANNOUNCEMENTS (Enhanced Design)
   ================================================================= */
.announcements-section {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.announcements-section .container {
    position: relative;
    z-index: 2;
}

/* Duyuru kartları - Enhanced Design */
.announcements-row {
    display: flex;
    gap: 25px;
    flex-wrap: nowrap;
    justify-content: center;
}

.announcement-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e9ecef;
    width: 280px;
    height: 380px;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Önemli duyuru rozeti */
.announcement-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
}

.announcement-badge i {
    font-size: 9px;
}

/* Duyuru görseli */
.announcement-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 10px;
    color: white;
}

.announcement-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
}

.announcement-date i {
    font-size: 12px;
}

/* Duyuru içeriği */
.announcement-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.announcement-title {
    font-size: 16px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 10px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.announcement-description {
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 13px;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.announcement-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #007bff;
    font-size: 12px;
    margin-bottom: 12px;
}

.announcement-location i {
    font-size: 13px;
}

/* Duyuru butonu */
.announcement-actions {
    margin-top: auto;
}

.announcement-btn {
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
}

.announcement-btn.details {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.announcement-btn.details:hover {
    background: linear-gradient(135deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Boş durum */
.announcements-section .text-center {
    padding: 40px 0;
}

.announcements-section .fa-bullhorn {
    opacity: 0.5;
    margin-bottom: 20px;
}

/* Mobil Carousel */
.announcements-carousel {
    display: none;
}

.announcements-carousel .announcement-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .announcements-section {
        padding: 40px 0;
    }
    
    /* Masaüstü grid'i gizle */
    .announcements-row {
        display: none;
    }
    
    /* Mobil carousel'i göster */
    .announcements-carousel {
        display: block;
    }
    
    .announcement-card {
        width: 100%;
        max-width: 300px;
        height: 350px;
    }
    
    .announcement-image {
        height: 140px;
    }
    
    .announcement-content {
        padding: 20px;
    }
    
    .announcement-title {
        font-size: 16px;
    }
    
    .announcement-description {
        font-size: 13px;
    }
    
    .announcement-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .announcements-section {
        padding: 40px 0;
    }
    
    .announcement-card {
        height: 400px;
    }
    
    .announcement-image {
        height: 150px;
    }
    
    .announcement-content {
        padding: 20px;
    }
    
    .announcement-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    
    .announcement-description {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .announcement-btn {
        padding: 10px 15px;
        font-size: 13px;
        gap: 6px;
    }
}
