﻿body {
    background-color: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* 1. HERO BÖLÜMÜ (Giriş) */
.hero-section {
    /*background: linear-gradient(135deg, #4e54c8 0%, #8f94fb 100%);*/
    /*background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);*/
    /*background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);*/
    background: linear-gradient(135deg, #68e1f1 0%, #175fb8 100%);
    color: white;
    padding: 60px 0; /* Mobilde dikey boşluğu biraz azalttık */
    border-bottom-right-radius: 50px; /* Mobilde bu kıvrım bazen sorun yaratır, aşağıda düzelttik */
    border-bottom-left-radius: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden; /* Taşmaları engellemek için */
}

    .hero-section p {
        color: white;
    }

.hero-content {
    z-index: 2; /* Yazıların resmin üstünde kalmasını sağlar */
    position: relative;
}

    .hero-content .highlight {
        color: #ffc107;
    }

    .hero-content h1 {
        font-weight: 700;
        font-size: 3rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 30px;
        line-height: 1.6;
    }

/* Butonlar */
.btn-hero-primary, .btn-hero-secondary {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block; /* Yan yana durmaları için */
}

.btn-hero-primary {
    background-color: #ffc107;
    color: #000;
    border: none;
    margin-bottom: 10px; /* Mobilde alt alta gelirse boşluk olsun */
}

.btn-hero-secondary {
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    margin-left: 10px;
}

/* --- MOBİL UYUMLULUK AYARLARI (ÖNEMLİ KISIM) --- */
@media (max-width: 991px) {
    /* Tablet ve Mobil için */
    .hero-section {
        padding: 40px 0;
        text-align: center; /* Mobilde yazıları ortala */
        border-bottom-right-radius: 20px; /* Kıvrımı küçült */
        border-bottom-left-radius: 20px;
    }

    .hero-content h1 {
        font-size: 2rem; /* Başlığı küçült */
    }

    .hero-content p {
        font-size: 1rem;
    }
    /* Mobilde yan yana butonlar sığmazsa alt alta al veya margin ayarla */
    .d-flex {
        justify-content: center; /* Butonları ortala */
        flex-wrap: wrap; /* Sığmazsa alt satıra geçsin */
    }

    .btn-hero-secondary {
        margin-left: 5px;
        margin-top: 5px; /* Alt satıra geçerse yapışmasın */
    }
}

/* İstatistikler */
.stats-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-top: -60px; /* Hero'nun içine girsin */
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.stat-item h3 {
    color: #4e54c8;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 5px;
}

.stat-item p {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 2. KARTLAR (Haberler ve Kurslar) */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    color: #333;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-top: -30px;
    margin-bottom: 40px;
}

.custom-card {
    background: white;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    }

.card-img-top-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}

    .card-img-top-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #0d1b3e;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-body-custom {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.card-text-custom {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #adb5bd;
}

.read-more-link {
    color: #333;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

    .read-more-link:hover {
        color: #4e54c8;
    }

/* 3. ETKİNLİKLER (Mavi/Yeşil Şerit) */
.cta-section {
    background: linear-gradient(90deg, #00b09b 0%, #96c93d 100%); /* Yeşil Gradyan */
    padding: 60px 0;
    color: white;
    text-align: center;
    margin: 0;
}

.cta-section p{   
    color: white;   
}

.event-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 5px solid #4e54c8;
}

/* 4. DUYURULAR */
.announcement-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

    .announcement-item:hover {
        border-color: #4e54c8;
        background-color: #fcfcfc;
    }

.tag-pill {
    background-color: #f1f1f1;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}
