﻿/* Auth and User Controls */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.auth-btn {
    text-decoration: none;
    color: black;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

    .auth-btn:hover {
        background-color: #f5f5f5;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

.logout-btn-container, .admin-btn-container {
    display: flex;
    align-items: center;
}

.logout-btn, .admin-btn {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

    .logout-btn:hover, .admin-btn:hover {
        transform: scale(1.1);
    }

.user-greeting {
    font-weight: bold;
    color: #d32f2f;
}

/* Category Navigation */
.category-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 10px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.category-btn {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e4e2e2;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

    .category-btn:hover, .category-btn.active {
        background-color: #f0f0f0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .category-btn.active {
        color: #8b0000;
        font-weight: bold;
        border-color: #8b0000;
    }

/* Education Container */
.education-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    color: #8b0000;
    margin-bottom: 15px;
    font-size: 2rem;
}

.section-description {
    text-align: center;
    color: #555;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Slider Container */
.slider-shell {
    display: flex;
    gap: 14px;
    align-items: stretch;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(90deg,#6b0000 0%,#150b5f 100%);
    padding: 12px 12px 16px;
}

.main-slider {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

    .main-slider .swiper-wrapper {
    }

.slide-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slide-image {
    width: 100%;
    height: 480px;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.slide-caption {
    color: #fff;
    padding: 12px 0;
    font-weight: 500;
    text-align: center;
    min-height: 40px;
    border-radius:10px;
}

.slide-title {
    color: lightgray;
    text-decoration: none;
    display: block;
    line-height: 1.25;
    
}

    .slide-title:hover {
        text-decoration: underline;
    }

.swiper-button-prev, .swiper-button-next {
    color: #fff;
    background: rgba(139,0,0,.75);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

    .swiper-button-prev:hover, .swiper-button-next:hover {
        background: rgba(139,0,0,.9);
    }

    .swiper-button-prev::after, .swiper-button-next::after {
        font-size: 1.2rem;
    }

/* Sağdaki dikey thumb penceresi GENİŞLETİLDİ */
.altnaw {
    display:flex;
    align-items:center;
    justify-content:center;
    width:1000px;
    height:560px;
    border-radius: 12px;
    border: 2px solid #ffd54f;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08));
    
}

.boxxx {
    display: flex;
    flex-direction: column;
    width: 800px;
    gap: 12px;
    width: 100%;
    overflow: hidden;
    border: 0px solid white;
}

.swiper-thumb {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    opacity: .6;
    border: 1px solid rgba(255,255,255,.15);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease, border-color .15s ease;
    display: none;
}

    .swiper-thumb.active {
        opacity: .95;
        border: 3px solid #ffd54f;
    }

    .swiper-thumb:hover {
        opacity: .95;
        box-shadow: 0 6px 14px rgba(0,0,0,.25);
        transform: translateY(-1px);
    }

.thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* More Button */
.more-button {
    text-align: center;
    margin: 30px 0;
}

.btn-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #8b0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-more:hover {
        background-color: #6b0000;
        box-shadow: 0 2px 10px rgba(139, 0, 0, 0.3);
    }

/* Education Features */
.education-features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.features-header {
    margin-bottom: 30px;
}

.category-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.category-tag {
    padding: 8px 16px;
    background-color: #4299e1;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

    .category-tag:hover {
        background-color: #3182ce;
        transform: translateY(-2px);
    }

/* Feature Columns */
.feature-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.feature-column {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    padding: 25px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .feature-column:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    .feature-column h3 {
        color: #2d3748;
        margin-top: 0;
        font-size: 1.5rem;
        border-bottom: 2px solid #e2e8f0;
        padding-bottom: 10px;
    }

    .feature-column p {
        color: #4a5568;
        line-height: 1.6;
        margin-bottom: 15px;
    }

.feature-link {
    display: block;
    color: #4299e1;
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 500;
}

.btn-feature {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-feature:hover {
        background-color: #8b0000;
        color: white;
    }

.feature-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .feature-links a {
        padding: 6px 12px;
        background-color: #f5f5f5;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
    }

        .feature-links a:hover {
            background-color: #8b0000;
            color: white;
        }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .slider-shell {
        display: flex;
        align-items:center;
        justify-content:center;
        flex-direction:column;
        gap: 14px;
        align-items: stretch;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(90deg,#6b0000 0%,#150b5f 100%);
        padding: 12px 12px 16px;
    }

    .altnaw {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height:100px;
        border-radius: 12px;
        border: 2px solid #ffd54f;
        padding: 10px;
        background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.08));
    }

    .boxxx {
        display: flex;
        flex-direction: row;
        width: 800px;
        gap: 12px;
        width: 100%;
        overflow: hidden;
        border: 0px solid white;
    }



    .swiper-thumb {
        display: block;
        height: 80px;
        flex: 1 1 calc(25% - 9px);
    }

    .main-slider .swiper-wrapper {
    }

    .slide-image {
        height: 420px;
    }

    .education-container {
        margin: -7px;
        padding: 0;
    }

    .slider-container {
        display: flex;
        flex-direction: column;
        height: auto;
        margin: 0;
    }

    .main-slider {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
    }

    .swr {
        padding: 2px;
    }

    .main-slider img {
        width: 100%;
        height: auto;
        display: block;
    }

    .thumbnail-nav {
        order: 2;
        width: 100%;
        flex-direction: row;
        padding-top: 10px;
        overflow-x: auto;
    }

    .swiper-thumb {
        flex: 0 0 calc((100% - 20px) / 3);
        height: 80px;
    }

    .feature-column {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .main-slider {
        height: 350px;
    }

    .slide-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .main-slider {
        height: 300px;
    }

    .slide-image {
        height: 250px;
    }

    .swiper-thumb {
        width: calc((100% - 10px) / 2);
        height: 70px;
    }

    .thumbnail-nav {
        height: 80px;
    }

    .category-nav {
        gap: 5px;
    }

    .category-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
