﻿/********** LMS eLearning Template CSS **********/
:root {
    --primary: #06BBCC;
    /*--primary: linear-gradient(135deg, #1394a1 0%, #06BBCC 100%);*/
    --light: #F0FBFC;
    --dark: #181d38;
}
.bx-shdw {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

/* --- Spinner --- */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* --- WOW Animation --- */
.wow { visibility: hidden; }

body {
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #70e1f545, #ffd19440);
}
h1, h2, h3, h4, h5, h6 { font-family: 'Nunito', sans-serif; }

/* --- Navbar --- */
.el-navbar {
    background: #fff !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 0;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
    /* NAV LINK BASE */
.el-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #181d38 !important;
    font-weight: 500;
    /*padding: 0.6rem 1rem !important;*/
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
    /* HOVER */
.el-navbar .nav-link:hover {
        color: #06BBCC !important;
        border-color: rgba(6,187,204,0.4);
        background: rgba(6,187,204,0.08);
    }
    /* ACTIVE */
.el-navbar .nav-link.active {
        color: #06BBCC !important;
        border-color: rgba(6,187,204,0.5);
        background: rgba(6,187,204,0.12);
    }
    .el-navbar .navbar-brand {
        padding: 0.5rem 1rem; /*logo için kullancıak ölçüburası */
        /*background: var(--primary);*/
        background: linear-gradient(135deg, #1394a1 0%, #06BBCC 100%);
        color: #fff !important;
        font-weight: 800;
        font-size: 1.5rem;
        margin-right: 0;
    }
.el-navbar .navbar-brand:hover { background: #059baa; }
.el-navbar.sticky-top { top: -100px; transition: .5s; }
/* --- Header Carousel (Owl) --- */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    font-size: 22px;
    transition: .5s;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.header-carousel .owl-carousel-item .animated { animation-duration: 1.5s; }
/* --- Hero Carousel fallback --- */
.el-carousel-item {
    position: relative;
    min-height: 500px;
    background: var(--dark);
    display: flex;
    align-items: center;
}
.el-carousel-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 29, 56, 0.7);
    z-index: 1;
}
.el-carousel-item .carousel-content { position: relative; z-index: 2; }
.el-carousel-item h5 { color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; }
.el-carousel-item h1 { font-size: 3.5rem; font-weight: 800; color: #fff; }
.el-carousel-item p { color: rgba(255,255,255,0.85); font-size: 1.15rem; }
/* --- Section Title --- */
.el-section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
}
    .el-section-title::before {
        content: '';
        position: absolute;
        width: 50px;
        height: 2px;
        top: 50%;
        right: calc(100% + 10px);
        background: var(--primary);
    }
.el-section-title::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;   
    background: var(--primary);
    top: 50%;
    left: calc(100% + 10px);
}
/* --- Service Cards --- */
.el-service-item {
    position: relative;
    background: #fff;
    border-radius: 0.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1;
}
.el-service-item::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px; 

        background: linear-gradient(135deg, #06BBCC 0%, #181d38 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
.el-service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 45px rgba(0,0,0,0.12);
    }
.el-service-item:hover::before {
            opacity: 1;
        }
.el-service-item i { color: var(--primary); margin-bottom: 1rem; }
/* --- About --- */
.el-about-img {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}
.el-about-img img { width: 100%; height: 100%; object-fit: cover; }
.el-check-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.el-check-item i { color: var(--primary); }
/* --- Course Cards --- */
.el-course-item {
    position: relative;
    background: #f6f7f8;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* 🎯 3D base */
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(0) rotateY(0);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.5);
}
.el-course-item::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient( 120deg, rgba(255,255,255,0.35), transparent 40%, transparent 60%, rgba(0,0,0,0.05) );
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 2;
    }
.el-course-item:hover {
        transform: perspective(1000px) translateY(-6px) rotateX(4deg);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25), 0 10px 15px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1), inset 0 2px 6px rgba(255,255,255,0.4), inset 0 -6px 12px rgba(0,0,0,0.08);
    }
.el-course-item:hover::before {
            opacity: 1;
        }
.el-course-item:active {
        transform: perspective(1000px) translateY(-2px) scale(0.98);
    }

/*.el-course-item {
    background: #f6f7f8;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}*/
/*.el-course-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25),*/ /* ana derinlik */
        /*0 10px 15px rgba(0, 0, 0, 0.15),*/ /* orta katman */
        /*0 3px 6px rgba(0, 0, 0, 0.1);*/ /* alt katman */
    /*}*/
.el-course-item .course-img {
        position: relative;
        overflow: hidden;
        height: 220px;
    }
.el-course-item .course-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }
.el-course-item .course-img i {
        font-size: 2rem;
        color: #fff;
    }
.el-course-item:hover .course-img img {
        transform: scale(1.05);
    }
.el-course-item .course-img .placeholder-img {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #06BBCC, #181d38);
        display: flex;
        align-items: center;
        justify-content: center;
    }
.el-course-item .course-img .placeholder-img i {
            font-size: 4rem;
            color: rgba(255,255,255,0.25);
        }
.el-course-item .course-btns {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
        opacity: 0;
        transition: opacity 0.3s;
    }
.el-course-item:hover .course-btns {
        opacity: 1;
    }
.el-course-item .course-btns a {
        background: #06BBCC;
        color: #fff;
        padding: 0.4rem 1.25rem;
        font-size: 0.85rem;
        font-weight: 500;
        border: none;
        text-decoration: none;
        transition: background 0.2s;
    }
.el-course-item .course-btns a:first-child {
            border-radius: 30px 0 0 30px;
        }
.el-course-item .course-btns a:last-child {
            border-radius: 0 30px 30px 0;
            border-left: 1px solid rgba(255,255,255,0.3);
        }
.el-course-item .course-btns a:hover {
            background: #059baa;
        }
.el-course-item .course-body {
        padding: 1.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
.el-course-item .course-body h5 {
            font-weight: 700;
            font-size: 1.05rem;
            margin-bottom: 0.5rem;
        }
.el-course-item .course-body p {
            font-size: 0.9rem;
            flex: 1;
        }
.el-course-item .course-info {
        display: flex;
        border-top: 1px solid #e9ecef;
        margin-top: auto;
    }
.el-course-item .course-info > div {
            flex: 1;
            text-align: center;
            padding: 0.75rem 0.25rem;
            font-size: 0.82rem;
            color: #6c757d;
        }
.el-course-item .course-info > div:not(:last-child) {
                border-right: 1px solid #e9ecef;
            }
.el-course-item .course-info i {
            color: #06BBCC;
            margin-right: 0.25rem;
        }

/* --- Stats --- */
.el-stats {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: 4rem 0;
    color: #fff;
}
.el-stat-item { text-align: center; }
.el-stat-item .stat-num { font-size: 2.5rem; font-weight: 800; }
.el-stat-item .stat-label { opacity: 0.8; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
/* --- Categories --- */
.el-category-item { position: relative; border-radius: 0.5rem; overflow: hidden; cursor: pointer; }
.el-category-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.el-category-item:hover img { transform: scale(1.05); }
.el-category-item .cat-label {
    position: absolute;
    bottom: 0; right: 0;
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0 0 0;
}
/* --- Announcements --- */
.el-announcement {
    background: #fff;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.15s;
}
.el-announcement:hover { transform: translateX(4px); }
.el-announcement-icon {
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
/* --- CTA --- */
.el-cta {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border-radius: 1rem;
    padding: 1rem 2rem;
    color: #fff;
}
/* --- Footer --- */
.el-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 4rem; }
.el-footer h4 { color: #fff; font-weight: 700; margin-bottom: 1.25rem; }
.el-footer a { color: rgba(255,255,255,0.7); text-decoration: none; display: block; padding: 0.3rem 0; transition: color 0.2s, padding-left 0.2s; }
.el-footer a:hover { color: var(--primary); padding-left: 5px; }
.el-footer .social-btn {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    margin-right: 0.5rem;
    transition: all 0.2s;
}
.el-footer .social-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.el-footer-bottom { background: rgba(0,0,0,0.2); padding: 1.25rem 0; margin-top: 3rem; }
/* --- Back to top --- */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(6,187,204,0.4);
    transition: all 0.3s;
    border: none;
}
.back-to-top:hover { background: #059baa; color: #fff; }
/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, #06BBCC 0%, #181d38 100%);
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}
/* --- Section Title (original template) --- */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 1rem;
}
.section-title.text-start::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background: var(--primary);
    top: 50%;
    right: 0;
}
/* --- Service Item (template) --- */
.service-item {
    position: relative;
    background: #fff;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 1;
}
.service-item::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        padding: 1px;
        background: linear-gradient(135deg, #06BBCC 0%, #181d38 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
.service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 45px rgba(0,0,0,0.12);
    }
.service-item:hover::before {
            opacity: 1;
        }
 /*--- Team Item (template) --- */
.team-item {
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;  
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}   
.team-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25), /* ana derinlik */
        0 10px 15px rgba(0, 0, 0, 0.15), /* orta katman */
        0 3px 6px rgba(0, 0, 0, 0.1); /* alt katman */
    }
.team-item .overflow-hidden img {
        transition: 0.5s ease;
    }
.team-item:hover .overflow-hidden img {
        transform: scale(1.1);
    }
.btn-sm-square {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.85rem;
    border-radius: 0.25rem;
}
