@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
body {
    font-family: 'Montserrat', sans-serif;
}
.course-card {
    transition: transform 0.3s ease;
    height: 100%; /* Tüm kartlar aynı yükseklikte */
}
.course-card:hover {
    transform: translateY(-5px);
}
.free-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff69b4;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: bold;
    z-index: 1;
}
.card-img-top {
    height: 200px; /* Sabit yükseklik */
    object-fit: cover; /* Resmi kırparak sığdır */
    width: 100%;
}
.card-body {
    display: flex;
    flex-direction: column;
}
.card-body .btn {
    margin-top: auto; /* Butonu alta sabitle */
}

/* Video Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
    background-color: #2c3e50;
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 0;
}

.ratio-16x9 {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    overflow: hidden;
}

/* Modal animasyonu */
.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 0.5rem;
    }
}

/* Derse başla butonu için hover efekti */
.btn-all {
    transition: all 0.3s ease;
}

.btn-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Alert box styles */
.alert-info {
    background-color: #f8f9fa;
    border-left: 4px solid #2c3e50;
    border-top: none;
    border-right: none;
    border-bottom: none;
    padding: 1rem;
}

.alert-icon {
    color: #2c3e50;
}

.alert-content {
    font-size: 1rem;
    color: #2c3e50;
}

.alert-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.alert-link:hover {
    background-color: #2c3e50;
    color: white;
}

/* Responsive için alert düzenlemesi */
@media (max-width: 768px) {
    .alert {
        flex-direction: column;
        text-align: center;
    }
    
    .alert-icon {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
}