/**
 * İlk Güneş Okulları - Özel CSS Dosyası
 * Demo Web Sitesi
 */

/* ==========================================
   1. CSS Değişkenleri (Variables)
   ========================================== */
:root {
    --primary-color: #641320;
    --primary-dark: #4a0e18;
    --secondary-color: #FF6B35;
    --accent-color: #4ECDC4;
    --gold-color: #C9A227;
    --text-color: #333333;
    --text-light: #666666;
    --light-bg: #F5F5F5;
    --white: #ffffff;
    --font-primary: 'Rubik', 'Poppins', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

/* ==========================================
   2. Genel Stiller
   ========================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
}

/* Anchor link offset for fixed header */
section[id] {
    scroll-margin-top: 100px;
}

/* ==========================================
   3. Logo Stili
   ========================================== */
.logo {
    padding: 10px 0;
}

.logo a {
    display: inline-block;
}

.logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* ==========================================
   4. Header Özelleştirmeleri
   ========================================== */
.header-top.second-header {
    background: var(--primary-color);
    padding: 8px 0;
}

.header-top .header-cta ul li a {
    color: rgba(255, 255, 255, 0.9);
}

.header-top .header-cta ul li a:hover {
    color: var(--white);
}

.header-top .call-box .text a {
    color: rgba(255, 255, 255, 0.9);
}

/* Main Menu Area */
.menu-area {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Menü Stilleri */
.main-menu nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.main-menu nav ul li a:hover,
.main-menu nav ul li.active > a {
    color: var(--primary-color);
}

/* Dropdown Menü */
.main-menu nav ul li ul {
    background: var(--white);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-menu nav ul li ul li a {
    text-transform: none;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}

.main-menu nav ul li ul li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* ==========================================
   5. Header Buttons - index-2.html Stili
   ========================================== */
.login ul {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login ul li {
    list-style: none;
}

.second-header-btn .btn2 {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.second-header-btn .btn2:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.second-header-btn .btn2.btn-secondary-header {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.second-header-btn .btn2.btn-secondary-header:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================
   6. Mobile Menu Buttons
   ========================================== */
.mobile-menu-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu-btn {
    display: block;
    padding: 12px 20px;
    text-align: center;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-btn i {
    margin-right: 8px;
}

.btn-primary-mobile {
    background: var(--primary-color);
    color: var(--white) !important;
    border: 2px solid var(--primary-color);
}

.btn-primary-mobile:hover {
    background: transparent;
    color: var(--primary-color) !important;
}

.btn-secondary-mobile {
    background: var(--secondary-color);
    color: var(--white) !important;
    border: 2px solid var(--secondary-color);
}

.btn-secondary-mobile:hover {
    background: transparent;
    color: var(--secondary-color) !important;
}

/* ==========================================
   7. Slider Özelleştirmeleri
   ========================================== */
.slider-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slider-content h2 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.slider-content h2 span {
    color: var(--secondary-color);
}

.slider-btn .btn2 {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-btn .btn2:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.slider-btn .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.slider-btn .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Slick Slider */
.slider-active .slick-prev,
.slider-active .slick-next {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 100;
}

.slider-active .slick-prev:hover,
.slider-active .slick-next:hover {
    background: var(--secondary-color);
}

.slider-active .slick-dots li.slick-active button {
    background: var(--primary-color);
}

/* ==========================================
   8. Section Title Özelleştirmeleri
   ========================================== */
.section-title2 h5 {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 15px;
}

.section-title2 h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
}

.section-title2 h2 span {
    color: var(--secondary-color);
}

/* ==========================================
   9. Fark Yaratın Bölümü
   ========================================== */
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-section .section-title2 h5 {
    color: var(--gold-color);
}

.why-choose-section .section-title2 h2 {
    color: var(--white);
}

.why-choose-section .section-title2 h2 span {
    color: var(--gold-color);
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a2b 100%);
}

.feature-card .icon-wrapper i {
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-card .card-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.feature-card .card-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.feature-card:hover .card-link {
    color: var(--secondary-color);
}

.feature-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================
   10. Departments / Kademeler - Düzeltilmiş
   ========================================== */
.departments-area {
    background: var(--white);
}

.departments-post {
    list-style: none;
    padding: 0;
    margin: 0;
}

.departments-post li {
    border-bottom: 1px solid #eee;
}

.departments-post li:last-child {
    border-bottom: none;
}

.departments-post-hover {
    padding: 25px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.departments-post-hover:hover,
.departments-post-hover.active {
    background: var(--light-bg);
    padding-left: 15px;
    padding-right: 15px;
}

.departments-number {
    text-align: center;
}

.departments-number strong {
    font-size: 48px;
    font-weight: 700;
    color: #ddd;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.departments-post-hover:hover .departments-number strong,
.departments-post-hover.active .departments-number strong {
    color: var(--primary-color);
}

.departments-content h4 {
    margin-bottom: 10px;
}

.departments-content h4 a {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.departments-content h4 a:hover {
    color: var(--primary-color);
}

.departments-content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 0;
}

.departments-content .img-hover {
    display: none;
}

/* Departments Mobile Fix */
@media (max-width: 991px) {
    .departments-number {
        text-align: left;
        margin-bottom: 10px;
    }
    
    .departments-number strong {
        font-size: 36px;
    }
    
    .departments-post-hover {
        padding: 20px 15px;
    }
    
    .departments-content h4 a {
        font-size: 18px;
    }
    
    .departments-content p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .departments-number strong {
        font-size: 28px;
    }
    
    .departments-content h4 a {
        font-size: 16px;
    }
}

/* ==========================================
   11. Button Stilleri
   ========================================== */
.btn2 {
    background: var(--primary-color);
    border-color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn2:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.ss-btn {
    background: var(--primary-color);
}

.ss-btn:hover {
    background: var(--secondary-color);
}

/* ==========================================
   12. Services Box Özelleştirmeleri
   ========================================== */
.services-box {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.services-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 19, 32, 0.15);
    border-color: var(--primary-color);
}

.services-box h3 {
    font-family: var(--font-primary);
    font-weight: 600;
}

.services-box h3 a {
    color: var(--text-color);
}

.services-box h3 a:hover {
    color: var(--primary-color);
}

.services-box .btn {
    color: var(--primary-color);
    font-weight: 600;
}

.services-box .btn:hover {
    color: var(--secondary-color);
}

/* ==========================================
   13. Event/News Area Özelleştirmeleri
   ========================================== */
.event-data {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.event-data strong {
    font-size: 28px;
    display: block;
    font-weight: 700;
}

.event-post-hover.active,
.event-post-hover:hover {
    background: rgba(100, 19, 32, 0.05);
}

/* ==========================================
   14. Counter Area Özelleştirmeleri
   ========================================== */
.counter .count {
    color: var(--primary-color);
    font-weight: 700;
    font-family: var(--font-primary);
}

.counter span {
    color: var(--secondary-color);
}

.about-box h4 {
    color: var(--text-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================
   15. Team Area Özelleştirmeleri
   ========================================== */
.single-team .team-thumb {
    overflow: hidden;
    border-radius: 15px;
}

.team-info {
    background: var(--primary-color);
    padding: 20px;
    border-radius: 0 0 15px 15px;
}

.team-info h4 a {
    color: var(--white);
    font-family: var(--font-primary);
}

.team-info p {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ==========================================
   16. Blog/News Cards
   ========================================== */
.single-post1 {
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.single-post1:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-content2 h4 a {
    color: var(--text-color);
    font-family: var(--font-primary);
}

.blog-content2 h4 a:hover {
    color: var(--primary-color);
}

.date-box {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.date-box span {
    font-size: 24px;
    display: block;
}

.meta-tag {
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* ==========================================
   17. CTA / Newslater Area - Kayıt için başvurun
   ========================================== */
/* Orijinal template stillerini kullan */
.newslater-area2 .slider-btn .btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.newslater-area2 .slider-btn .btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ==========================================
   18. Contact Page Özelleştirmeleri
   ========================================== */
.contact-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-box:hover {
    box-shadow: 0 15px 40px rgba(100, 19, 32, 0.15);
    transform: translateY(-5px);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    border: 2px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 19, 32, 0.1);
}

/* ==========================================
   19. Footer Özelleştirmeleri
   ========================================== */
.footer-bg {
    background-color: var(--primary-color);
}

.f-widget-title h2 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    font-family: var(--font-primary);
}

.footer-widget .f-contact p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-link ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-link ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social a {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.copyright-wrap {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.8);
}

.copyright-logo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
}

/* ==========================================
   20. Breadcrumb Özelleştirmeleri
   ========================================== */
.breadcrumb-area {
    background-color: var(--primary-color);
    padding: 100px 0;
}

.breadcrumb-title h2 {
    color: var(--white);
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-primary);
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item.active {
    color: var(--white);
}

/* ==========================================
   21. Gallery Özelleştirmeleri
   ========================================== */
.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
}

.gallery-image img {
    transition: all 0.5s ease;
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(100, 19, 32, 0.9));
    padding: 30px 20px 20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
}

/* ==========================================
   22. Form Sayfaları Özelleştirmeleri
   ========================================== */
.form-page-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #fff 100%);
}

.form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-container .form-title {
    text-align: center;
    margin-bottom: 40px;
}

.form-container .form-title h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
}

.form-container .form-title p {
    color: var(--text-light);
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(100, 19, 32, 0.1);
}

.form-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* ==========================================
   23. Scroll to Top Button
   ========================================== */
#scrollUp {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: var(--white);
    font-size: 20px;
    right: 30px;
    bottom: 100px;
    transition: all 0.3s ease;
}

#scrollUp:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ==========================================
   24. Preloader Özelleştirmeleri
   ========================================== */
.loader-wrapper {
    background: var(--primary-color);
}

.loader {
    border-top-color: var(--secondary-color);
}

/* ==========================================
   25. Animation Sınıfları
   ========================================== */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   26. Utility Classes
   ========================================== */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Card Hover Efekti */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(100, 19, 32, 0.15);
}

/* ==========================================
   27. Responsive Özelleştirmeler
   ========================================== */

/* Tablet ve Masaüstü */
@media (min-width: 992px) {
    .login ul {
        gap: 8px;
    }
    
    .second-header-btn .btn2 {
        padding: 10px 15px;
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .second-header-btn .btn2 {
        padding: 12px 18px;
        font-size: 13px;
    }
}


/* Tablet */
@media (max-width: 991px) {
    .logo img {
        max-height: 50px;
    }
    
    .breadcrumb-title h2 {
        font-size: 32px;
    }
    
    .slider-content h2 {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .logo img {
        max-height: 45px;
    }
    
    .breadcrumb-title h2 {
        font-size: 26px;
    }
    
    .slider-content h2 {
        font-size: 26px;
    }
    
    .section-title2 h2 {
        font-size: 24px;
    }
    
    .contact-box {
        padding: 30px 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

/* Extra Small */
@media (max-width: 575px) {
    .logo img {
        max-height: 40px;
    }
    
    .section-title2 h2 {
        font-size: 22px;
    }
    
    .section-title2 h5 {
        font-size: 12px;
    }
}

/* ==========================================
   28. Form Modal Styles - İyileştirilmiş
   ========================================== */
#formModal {
    z-index: 10000;
}

#formModal .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

#formModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#formModal .modal-header {
    border-bottom: none;
    padding: 30px 30px 20px;
    position: relative;
}

#formModal .modal-header.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white;
}

#formModal .modal-header.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white;
}

#formModal .modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

#formModal .modal-title i {
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#formModal .btn-close {
    filter: invert(1);
    opacity: 0.9;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 0;
}

#formModal .btn-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#formModal .modal-body {
    padding: 30px;
    text-align: center;
}

#formModal .modal-body .alert {
    border: none;
    border-radius: 15px;
    padding: 25px;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-direction: column;
}

#formModal .modal-body .alert i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.9;
}

#formModal .modal-body .alert p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

#formModal .modal-body .alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
}

#formModal .modal-body .alert-success i {
    color: #28a745;
}

#formModal .modal-body .alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 5px solid #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
}

#formModal .modal-body .alert-danger i {
    color: #dc3545;
}

#formModal .modal-footer {
    border-top: 1px solid #eee;
    padding: 20px 30px;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
}

#formModal .modal-footer .btn {
    min-width: 120px;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#formModal .modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(100, 19, 32, 0.3);
}

#formModal .modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #e55a2b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

#formModal .modal-footer .btn-primary i {
    margin-right: 8px;
}

/* Loading Overlay - İyileştirilmiş */
#formLoadingOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 19, 32, 0.95) 0%, rgba(74, 15, 24, 0.95) 100%);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#formLoadingOverlay > div {
    text-align: center;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    padding: 50px 60px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#formLoadingOverlay .spinner-border {
    width: 5rem;
    height: 5rem;
    border-width: 0.5em;
    border-color: rgba(255, 255, 255, 0.2);
    border-right-color: white;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#formLoadingOverlay p {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   28. News / Duyurular Slider Stilleri
   ========================================== */
.news-carousel-container {
    width: 100%;
    position: relative;
    padding-bottom: 40px;
}

/* Slider aktif değilken yan yana durmaları için flex zorlaması */
.news-slider-custom {
    display: flex !important;
    gap: 0;
    overflow: hidden;
}

.news-slider-custom.slick-initialized {
    display: block !important;
}

.news-card-wrapper {
    padding: 10px;
    outline: none;
}

.news-item-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 320px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.news-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-item-card:hover .news-image-wrapper img {
    transform: scale(1.1);
}

.news-overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.news-item-card:hover .news-overlay-gradient {
    opacity: 0.95;
}

.news-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    z-index: 2;
}

.news-meta-date {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    margin-bottom: 12px;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.news-meta-date i {
    margin-right: 6px;
}

.news-text-content h4 {
    color: #ffffff !important;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-item-card a {
    text-decoration: none;
    display: block;
    height: 100%;
}

.news-item-card a:hover h4 {
    color: #fff !important;
}

/* Noktaların stilini temanın numara sisteminden ayırma */
.news-slider-custom .slick-dots {
    bottom: -40px !important;
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0;
}

.news-slider-custom .slick-dots li {
    margin: 0 5px;
}

.news-slider-custom .slick-dots li button {
    font-size: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-slider-custom .slick-dots li button:hover {
    background: var(--primary-color);
}

.news-slider-custom .slick-dots li.slick-active button {
    background: var(--primary-color);
    width: 25px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1100px) {
    .news-item-card {
        height: 300px;
    }
    
    .news-text-content h4 {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .news-item-card {
        height: 280px;
    }
    
    .news-text-content {
        padding: 20px;
    }
    
    .news-text-content h4 {
        font-size: 15px;
    }
    
    .news-meta-date {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* Blog Details Stilleri */
.blog-details-content {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.blog-details-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-details-img img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-details-meta ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-details-meta ul li {
    color: var(--text-light);
    font-size: 14px;
}

.blog-details-meta ul li i {
    color: var(--primary-color);
    margin-right: 8px;
}

.blog-details-title h2 {
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-details-text {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.8;
}

.blog-details-text p {
    margin-bottom: 20px;
}

.blog-details-share {
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.blog-details-share h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-links li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links li a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.widget-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.widget-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-post-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.widget-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-item:hover .widget-post-img img {
    transform: scale(1.1);
}

.widget-post-content h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.widget-post-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-post-content h5 a:hover {
    color: var(--primary-color);
}

.widget-post-content span {
    font-size: 12px;
    color: var(--text-light);
}

.widget-post-content span i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* Pagination */
.pagination {
    margin-top: 50px;
}

.pagination .page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    cursor: not-allowed;
}

/* ==========================================
   29. Courses-2 Style Duyurular Sayfası
   ========================================== */
/* Row düzeltmesi - iç içe girmeyi önlemek için */
.shop-area .row {
    margin-left: -15px;
    margin-right: -15px;
    display: flex;
    flex-wrap: wrap;
}

.shop-area .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

/* Tema stilleri zaten style.css'de var, sadece özelleştirmeler */
.announcement-date-display {
    text-align: right;
    color: #fff;
}

.announcement-date-display .date-day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
}

.announcement-date-display .date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

/* Duyurular için schedule özelleştirmesi */
.shop-area .schedule {
    background: var(--primary-color);
    display: inline-block;
    width: 100%;
    padding: 15px;
    margin: 0;
    list-style: none;
    clear: both;
}

.shop-area .schedule li {
    float: left;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.shop-area .schedule li:first-child {
    padding-left: 0;
}

.shop-area .schedule li:last-child {
    padding-right: 0;
    border-right: none;
}

.shop-area .schedule span {
    display: block;
    line-height: 22px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.shop-area .schedule span.class-age,
.shop-area .schedule span.class-size {
    color: #fff;
    font-weight: 400;
}

/* Standart kart boyutları */
.shop-area .class-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 1px 1.732px 60px 0px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border-radius: 0;
}

.shop-area .class-item:hover {
    box-shadow: 1px 1.732px 80px 0px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Tüm kartların aynı yükseklikte olması için */
.shop-area .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.shop-area .row > [class*="col-"] > .class-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-area .class-img {
    position: relative;
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
}

.shop-area .class-img-outer {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.shop-area .class-img-outer a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.shop-area .class-img-outer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
    background: #f0f0f0;
}

.shop-area .class-item:hover .class-img-outer img {
    transform: scale(1.1);
}

.shop-area .class-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 30px;
    min-height: 200px;
}

.shop-area .class-content h4 {
    min-height: 72px; /* 2 satır için */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 15px;
}

.shop-area .class-content h4 a {
    color: #06070B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-area .class-content h4 a:hover {
    color: var(--primary-color);
}

.shop-area .class-content p {
    flex-grow: 1;
    min-height: 60px; /* 2-3 satır için */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
    color: var(--text-color);
}

/* Pagination Styling */
.modern-pagination {
    margin-top: 60px;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 44px;
    justify-content: center;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(100, 19, 32, 0.2);
}

.pagination-link.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.pagination-dots {
    padding: 12px 8px;
    color: var(--text-light);
    display: block;
}

.pagination-prev,
.pagination-next {
    padding: 12px 24px;
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: 100px 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon-wrapper i {
    font-size: 50px;
    color: #fff;
}

.empty-state-modern h3 {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.empty-state-modern p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .shop-area .class-img {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
}

@media (max-width: 768px) {
    .shop-area .class-img {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .shop-area .class-content {
        padding: 20px;
        min-height: 180px;
    }
    
    .shop-area .class-content h4 {
        min-height: 60px;
        font-size: 20px;
    }
    
    .pagination-link {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .empty-state-modern {
        padding: 60px 20px;
    }
    
    .empty-icon-wrapper {
        width: 100px;
        height: 100px;
        margin-bottom: 25px;
    }
    
    .empty-icon-wrapper i {
        font-size: 40px;
    }
    
    .empty-state-modern h3 {
        font-size: 22px;
    }
}

.section-header-modern {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title-modern {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-desc {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Card Design */
.modern-announcement-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 520px; /* Standart minimum yükseklik */
}

.modern-announcement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(100, 19, 32, 0.15);
    border-color: var(--primary-color);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    min-height: 280px;
    max-height: 280px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.card-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-announcement-card:hover .card-image {
    transform: scale(1.15);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(100, 19, 32, 0.85) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-announcement-card:hover .card-overlay {
    opacity: 1;
}

.card-read-more {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 3;
}

.modern-announcement-card:hover .card-read-more {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.card-read-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.modern-announcement-card:hover .card-read-more i {
    transform: translateX(5px);
}

.card-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 12px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
    min-width: 60px;
}

.badge-day {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

.card-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-category-badge i {
    font-size: 10px;
}

.card-body-modern {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 240px; /* Standart içerik alanı yüksekliği */
}

.card-title-modern {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    min-height: 66px; /* 2 satır için standart yükseklik */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title-modern a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.card-title-modern a:hover {
    color: var(--primary-color);
}

.card-excerpt-modern {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
    min-height: 80px; /* Standart özet yüksekliği */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
    min-height: 50px; /* Standart footer yüksekliği */
    flex-shrink: 0;
}

.card-meta-modern {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-meta-modern i {
    color: var(--primary-color);
    font-size: 14px;
}

.card-link-modern {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.card-link-modern:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.card-link-modern i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.card-link-modern:hover i {
    transform: translateX(4px);
}

/* Modern Pagination */
.modern-pagination {
    margin-top: 60px;
}

.pagination-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-item {
    margin: 0;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    background: #fff;
    color: var(--text-color);
    border: 2px solid #eee;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    gap: 8px;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-link.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(100, 19, 32, 0.3);
}

.pagination-dots {
    color: var(--text-light);
    padding: 0 8px;
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: 100px 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-icon-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(100, 19, 32, 0.2);
}

.empty-icon-wrapper i {
    font-size: 56px;
    color: #fff;
}

.empty-state-modern h3 {
    color: var(--text-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.empty-state-modern p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* ==========================================
   30. Single Courses Style Duyuru Detay Sayfası
   ========================================== */
/* Tema stilleri zaten style.css'de var, sadece özelleştirmeler */
.announcement-detail-content-modern {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
}

.announcement-detail-content-modern p {
    margin-bottom: 25px;
}

.announcement-detail-content-modern h1,
.announcement-detail-content-modern h2,
.announcement-detail-content-modern h3,
.announcement-detail-content-modern h4 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.announcement-detail-content-modern h2 {
    font-size: 32px;
}

.announcement-detail-content-modern h3 {
    font-size: 26px;
}

.announcement-detail-content-modern ul,
.announcement-detail-content-modern ol {
    margin: 25px 0;
    padding-left: 35px;
}

.announcement-detail-content-modern li {
    margin-bottom: 12px;
}

.announcement-detail-content-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.announcement-detail-content-modern blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 20px;
}

.project-info2 ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.project-info2 ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.project-info2 ul li a {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 5px;
}

.project-info2 ul li a:hover {
    color: var(--primary-color);
}

.related-date-small {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
}

/* Single item carousel için */
.single-item-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.single-item-carousel .image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
}

.single-item-carousel .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumb placeholder */
.course-meta .author .thumb-placeholder {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .project-detail .upper-box .image img {
        height: 400px;
        object-fit: cover;
    }
    
    .announcement-detail-content-modern {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .project-detail .upper-box .image img {
        height: 300px;
    }
    
    .course-meta2 .left {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .course-meta2 .left li {
        margin-right: 20px;
        margin-bottom: 15px;
    }
    
    .course-meta2 .right {
        float: none;
        width: 100%;
    }
}

.modern-detail-article {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.article-header-modern {
    position: relative;
}

.article-image-modern {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f0f0f0;
}

.article-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-meta-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 40px;
}

.meta-group {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.meta-item-modern i {
    font-size: 18px;
    color: var(--secondary-color);
}

.article-body-modern {
    padding: 50px;
}

.article-title-modern {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 30px;
}

.article-content-modern {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-color);
}

.article-content-modern p {
    margin-bottom: 25px;
}

.article-content-modern h1,
.article-content-modern h2,
.article-content-modern h3,
.article-content-modern h4 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-content-modern h2 {
    font-size: 32px;
}

.article-content-modern h3 {
    font-size: 26px;
}

.article-content-modern ul,
.article-content-modern ol {
    margin: 25px 0;
    padding-left: 35px;
}

.article-content-modern li {
    margin-bottom: 12px;
}

.article-content-modern img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-content-modern blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 20px;
}

.article-footer-modern {
    padding: 40px 50px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.share-section-modern {
    text-align: center;
}

.share-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.share-title-modern i {
    color: var(--primary-color);
    font-size: 22px;
}

.share-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.share-fb {
    background: #1877f2;
}

.share-fb:hover {
    background: #166fe5;
}

.share-tw {
    background: #1da1f2;
}

.share-tw:hover {
    background: #1a91da;
}

.share-li {
    background: #0077b5;
}

.share-li:hover {
    background: #006ba1;
}

.share-wa {
    background: #25d366;
}

.share-wa:hover {
    background: #20ba5a;
}

/* Modern Sidebar */
.modern-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card-modern {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.back-card {
    padding: 0;
    overflow: hidden;
}

.back-button-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-button-modern:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateX(-5px);
    color: #fff;
}

.back-button-modern i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.back-button-modern:hover i {
    transform: translateX(-3px);
}

.sidebar-title-modern {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-title-modern i {
    color: var(--secondary-color);
    font-size: 20px;
}

.related-items-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item-modern {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.related-item-modern:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-link-modern {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-link-modern:hover {
    transform: translateX(5px);
}

.related-image-modern {
    width: 100px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
}

.related-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-link-modern:hover .related-image-modern img {
    transform: scale(1.1);
}

.related-content-modern {
    flex-grow: 1;
}

.related-title-modern {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.related-link-modern:hover .related-title-modern {
    color: var(--primary-color);
}

.related-meta-modern {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-meta-modern i {
    color: var(--primary-color);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 992px) {
    .section-title-modern {
        font-size: 36px;
    }
    
    .article-image-modern {
        height: 400px;
    }
    
    .article-body-modern {
        padding: 40px;
    }
    
    .article-title-modern {
        font-size: 32px;
    }
    
    .article-footer-modern {
        padding: 35px 40px;
    }
    
    .modern-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .modern-announcements-area {
        padding: 60px 0;
    }
    
    .section-title-modern {
        font-size: 28px;
    }
    
    .modern-announcement-card {
        min-height: 480px; /* Mobilde biraz daha küçük */
    }
    
    .card-image-wrapper {
        height: 220px;
        min-height: 220px;
        max-height: 220px;
    }
    
    .card-body-modern {
        padding: 25px;
        min-height: 260px;
    }
    
    .card-title-modern {
        font-size: 20px;
        min-height: 60px;
    }
    
    .card-excerpt-modern {
        min-height: 70px;
    }
    
    .article-image-modern {
        height: 300px;
    }
    
    .article-meta-modern {
        padding: 25px;
    }
    
    .meta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-body-modern {
        padding: 30px 25px;
    }
    
    .article-title-modern {
        font-size: 26px;
    }
    
    .article-content-modern {
        font-size: 16px;
    }
    
    .article-footer-modern {
        padding: 30px 25px;
    }
    
    .share-buttons-modern {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
    
    .sidebar-card-modern {
        padding: 25px;
    }
}

.announcement-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(100, 19, 32, 0.2);
}

.announcement-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.announcement-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.announcement-card:hover .announcement-card-image img {
    transform: scale(1.1);
}

.announcement-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(100, 19, 32, 0.9) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.announcement-card:hover .announcement-overlay {
    opacity: 1;
}

.announcement-overlay i {
    color: #fff;
    font-size: 32px;
    transform: translateX(-10px);
    transition: transform 0.3s ease;
}

.announcement-card:hover .announcement-overlay i {
    transform: translateX(0);
}

.announcement-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 2;
}

.announcement-date-badge .date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.announcement-date-badge .date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.9;
}

.announcement-category-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.announcement-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.announcement-title {
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.announcement-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-title a:hover {
    color: var(--primary-color);
}

.announcement-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.announcement-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.announcement-meta .meta-item {
    color: var(--text-light);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-meta .meta-item i {
    color: var(--primary-color);
}

.read-more-btn {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--secondary-color);
    gap: 10px;
}

.read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

.empty-announcements {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.empty-announcements .empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-announcements .empty-icon i {
    font-size: 48px;
    color: #fff;
}

.empty-announcements h3 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.empty-announcements p {
    color: var(--text-light);
    font-size: 16px;
}

/* ==========================================
   30. Duyuru Detay Sayfası İyileştirmeleri
   ========================================== */
.announcement-detail-area {
    background: #F5F5F5;
}

.announcement-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.announcement-detail-header {
    position: relative;
}

.announcement-detail-image {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.announcement-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcement-detail-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 30px 40px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.announcement-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
}

.announcement-detail-meta .meta-item i {
    font-size: 18px;
    color: var(--secondary-color);
}

.announcement-detail-body {
    padding: 40px;
}

.announcement-detail-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 25px;
}

.announcement-detail-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-color);
}

.announcement-detail-content p {
    margin-bottom: 20px;
}

.announcement-detail-content h1,
.announcement-detail-content h2,
.announcement-detail-content h3,
.announcement-detail-content h4 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.announcement-detail-content ul,
.announcement-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.announcement-detail-content li {
    margin-bottom: 10px;
}

.announcement-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.announcement-detail-footer {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.share-section {
    text-align: center;
}

.share-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.share-title i {
    color: var(--primary-color);
}

.social-share-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #fff;
}

.share-facebook {
    background: #1877f2;
}

.share-facebook:hover {
    background: #166fe5;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
}

.share-twitter {
    background: #1da1f2;
}

.share-twitter:hover {
    background: #1a91da;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(29, 161, 242, 0.3);
}

.share-linkedin {
    background: #0077b5;
}

.share-linkedin:hover {
    background: #006ba1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.share-whatsapp {
    background: #25d366;
}

.share-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Sidebar */
.announcement-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.back-to-list {
    padding: 0;
    overflow: hidden;
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateX(-5px);
    color: #fff;
}

.back-btn i {
    font-size: 18px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--secondary-color);
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-item:hover {
    transform: translateX(5px);
}

.related-image {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-item:hover .related-image img {
    transform: scale(1.1);
}

.related-content {
    flex-grow: 1;
}

.related-content h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.related-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h5 a:hover {
    color: var(--primary-color);
}

.related-date {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.related-date i {
    color: var(--primary-color);
    font-size: 11px;
}

/* Responsive */
@media (max-width: 992px) {
    .announcement-detail-image {
        height: 350px;
    }
    
    .announcement-detail-title {
        font-size: 28px;
    }
    
    .announcement-detail-body {
        padding: 30px;
    }
    
    .announcement-detail-footer {
        padding: 25px 30px;
    }
    
    .announcement-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .announcement-card-image {
        height: 200px;
    }
    
    .announcement-detail-image {
        height: 250px;
    }
    
    .announcement-detail-meta {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .announcement-detail-title {
        font-size: 24px;
    }
    
    .announcement-detail-body {
        padding: 25px 20px;
    }
    
    .announcement-detail-content {
        font-size: 16px;
    }
    
    .social-share-links {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}
