/* --------------------------------------------- */
/*           KURSLAR BÖLÜMÜ TASARIMI             */
/* --------------------------------------------- */

.kurslar-section {
    text-align: center;
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.kurslar-title {
    font-size: 42px;
    color: #3A3A3A;
    margin-bottom: 10px;
    font-weight: 700;
}

.kurslar-subtitle {
    font-size: 18px;
    color: #000000;
    opacity: 0.7;
    margin-bottom: 50px;
}

/* GRID */
.kurslar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

/* KURS KARTLARI */
.kurs-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #3A3A3A;
    width: 100%;
    max-width: 300px;
    transition: transform 0.25s ease, opacity 0.25s;
    cursor: pointer !important;
}

.kurs-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    cursor: pointer !important;
}

.kurs-card:hover img {
    transform: scale(1.03);
}

.kurs-card span {
    display: block;
    margin-top: 12px;
    font-size: 22px;
    font-weight: 600;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 992px) {
    .kurslar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .kurslar-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .kurs-card img {
        height: 150px;
    }
}


/* ---------------- TRIAL SECTION ---------------- */

.trial-section {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 120px;
}

.trial-text {
    font-size: 22px;
    color: #3A3A3A;
    margin-bottom: 25px;
    font-weight: 400;
    line-height: 1.4;
    padding: 0 24px; 
}

.trial-btn {
    background: transparent;
    border: 3px solid #3A3A3A;
    padding: 12px 34px;
    border-radius: 8px;
    color: #3A3A3A;
    font-size: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.trial-btn:hover {
    background: #d98700;
    color: #ffffff;
    border: 2px solid #d98700;

}

/* ---------- TRIAL SECTION RESPONSIVE ---------- */

/* Tablet (max 992px) */
@media (max-width: 992px) {
    .trial-text {
        font-size: 20px;
        margin-bottom: 22px;
    }

    .trial-btn {
        font-size: 18px;
        padding: 10px 30px;
    }
}

/* Küçük Tablet / Büyük Telefon (max 768px) */
@media (max-width: 768px) {
    .trial-text {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .trial-btn {
        font-size: 17px;
        padding: 10px 28px;
    }
}

/* Telefon (max 600px) */
@media (max-width: 600px) {
    .trial-text {
        font-size: 18px;
        line-height: 1.35;
        margin-bottom: 18px;
    }

    .trial-btn {
        font-size: 16px;
        padding: 9px 26px;
    }
}

/* Küçük Telefon (max 430px) */
@media (max-width: 430px) {
    .trial-text {
        font-size: 15px;
        line-height: 1.3;
    }

    .trial-btn {
        font-size: 20px;
        padding: 8px 24px;
    }
}
@media (hover: hover) and (pointer: fine) {
    .kurs-card img {
        transition: filter 0.3s ease, transform 0.3s ease;
        filter: grayscale(100%);
    }

    .kurs-card:hover img {
        filter: grayscale(0%);
        transform: scale(1.03);
    }
}
@media (hover: none) and (pointer: coarse) {
    .kurs-card img {
        filter: grayscale(0%) !important;
        transform: none !important;
    }
}
