@import url('https://fonts.googleapis.com/css2?family=Aleo:wght@400;700&family=Rubik:wght@300;400;500&display=swap');

:root {
    --bs-primary: #2B17A8;
    --bs-primary-rgb: 106, 13, 173;
}

.btn-outline-primary.custom-outline {
    border-color: #533DE0 !important;
    color: #533DE0 !important;
}

.btn-outline-primary.custom-outline:hover {
    background-color: #533DE0 !important;
    color: #fff !important;
}

.card-img-top.course-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.card-img-top.course-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
    box-sizing: border-box;
}

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

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

.rubik-text {
    font-family: 'Rubik', sans-serif;
    font-weight: 400;
    font-size: 18px;
}

.aleo-text {
    font-family: 'Aleo', serif;
    font-weight: 700;
    font-size: 38px;

}

.terms-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: white;
    text-align: center;
}

.form-check-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.btn-primary {
    background-color: #2B17A8 !important;
    border-color: #2B17A8 !important;
}


.btn {
    border-radius: 8px !important;
    padding: 10px 20px;
}

.btn-rounded {
    background-color: white;
    color: #2500D1;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}


.banner-top .breadcrumb .breadcrumb-item {
    color: white;
    text-decoration: none;
}

.banner-top .breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: white;
}

.navbar-custom {
    background-color: #301dab !important;
}



.btn-menu:hover {
    background-color: #563CFF;
    border-radius: 8px;
}

.banner-top {
    background-color: #2C2945;
    height: 34px;
}

.banner-bottom {
    background-color: #302D45;
    padding: 20px 20px;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.profile-badge {
    background-color: #4caf50;
    border-radius: 32px;
    color: white;
    padding: 5px;
}

.profile-container {
    background-color: white;
    color: black !important;
    border-radius: 8px;
    border: 1px solid #3016a0;
    margin-left: 1.5rem;
}

.profile-card {
    background-color: #3016a0;
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: auto;

}

.register-card {
    background-color: #3016a0;
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: auto;
}

.profile-img {
    background-color: #4caf50;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: white;
    display: inline-block;
    margin-bottom: 10px;
}

.form-control {
    border-radius: 10px;
    padding: 1rem 0.75rem;
}

.form-floating > label {
    color: #6c757d;
    padding-left: 10px;
}

.btn-custom {
    background-color: white;
    color: #3016a0;
    font-weight: bold;
    border-radius: 10px;
}

.btn-custom:hover {
    background-color: #ddd;
}


/* Arka Plan Resmi */
.bg-image {
    height: 300px;
    object-fit: cover;
}

.overlay-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    width: 80%;
}

.search-bar {
    width: 100%;
    max-width: 1012px;
    height: 56px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.search-input {
    height: 100%;
    border: none;
    outline: none;
    padding-left: 16px;
    font-size: 16px;
    border-radius: 6px;
    flex: 1;
}


.search-btn {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: linear-gradient(90deg, #7D69FE, #3A28AF);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

.filter-btn {
    height: 56px;
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 10px 16px;
    font-size: 16px;

}

.large-btn {
    width: 100%;
    max-width: 260px;
}

.aleo-text-homepage {
    font-family: 'Aleo', serif;
    font-weight: 500;
}


.course-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 180px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.course-duration {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.course-category {
    background: #eee;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.course-btn {
    width: 100%;
    border-radius: 8px;
    padding: 10px;
    font-weight: bold;
}

.btn-primary.course-btn {
    background: linear-gradient(90deg, #7D69FE, #3A28AF);
    color: #fff;
    border: none;
}

.btn-light.course-btn {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.course-card {
    border-radius: 10px !important;
    overflow: hidden;
    position: relative;
    background-color: #fff;
}

.course-card.border-primary {
    border: 3px solid #7D69FE !important;
    box-sizing: border-box;
    border-radius: 10px !important;
}

.course-card .card-img-top,
.course-card .course-image {
    border-radius: 0 !important;
}


@media (max-width: 768px) {
    .col-sm-6.col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-sm-6.col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
/*front sayfası modalı css kodları*/
.modern-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease forwards;
}
@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modern-modal-container {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease forwards;
    position: relative;
}
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* Header */
.modern-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.modern-modal-header i {
    color: #3A28AF;
    font-size: 1.5rem;
    margin-right: 10px;
}
.modern-modal-header h2 {
    flex-grow: 1;
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}
.modern-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s;
}
.modern-modal-close:hover {
    color: #333;
}
/* Body */
.modern-modal-body {
    margin-top: 20px;
    font-size: 1rem;
    color: #555;
}
/* Footer */
.modern-modal-footer {
    margin-top: 20px;
    text-align: right;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.btn-modern-primary, .btn-modern-secondary {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-modern-primary {
    background: linear-gradient(90deg, #7D69FE, #3A28AF);
    color: #fff;
}
.btn-modern-primary:hover {
    filter: brightness(1.1);
}
.btn-modern-secondary {
    background: #f0f0f0;
    color: #333;
}
.btn-modern-secondary:hover {
    background: #e0e0e0;
}

/*front modal css kodları bitiş*/
