﻿/* Tesisler CSS - Beyaz Arka Plan Teması */
.tesisler-hero {
    background: linear-gradient(135deg, rgba(15, 47, 121, 0.1) 0%, rgba(15, 47, 121, 0.05) 100%);
    border: 1px solid rgba(15, 47, 121, 0.1);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

    .tesisler-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(15,47,121,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(15, 47, 121, 0.3);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #0f2f79;
    margin-bottom: 1rem;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Tesisler Slider */
.featured-tesisler-section {
    margin-bottom: 3rem;
}

.slider-header {
    text-align: center;
    margin-bottom: 2rem;
}

    .slider-header h3 {
        color: #0f2f79;
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

.modern-carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(15, 47, 121, 0.15);
}

.tesis-slide {
    position: relative;
    height: 500px;
    display: flex;
    align-items: end;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(15, 47, 121, 0.8) 0%, rgba(15, 47, 121, 0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    color: white;
}

.slide-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.slide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

    .slide-meta span {
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        opacity: 0.8;
    }

.btn-slide-read {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 47, 121, 0.3);
}

    .btn-slide-read:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(15, 47, 121, 0.4);
        color: white;
    }

.modern-indicators {
    bottom: 20px;
}

    .modern-indicators button {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid rgba(255, 255, 255, 0.5);
        background: transparent;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .modern-indicators button.active {
            background: white;
            border-color: white;
        }

.modern-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

    .modern-control:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.1);
    }

/* Search and Filter */
.search-filter-section {
    background: #fff;
    border: 1px solid rgba(15, 47, 121, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(15, 47, 121, 0.1);
}

.section-header h4 {
    color: #0f2f79;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.search-input-group {
    position: relative;
}

.form-control-modern {
    background: #f8f9fa;
    border: 1px solid rgba(15, 47, 121, 0.2);
    border-radius: 25px;
    color: #333;
    padding: 0.8rem 3rem 0.8rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-control-modern:focus {
        background: #fff;
        border-color: #0f2f79;
        box-shadow: 0 0 0 0.2rem rgba(15, 47, 121, 0.25);
        color: #333;
    }

    .form-control-modern::placeholder {
        color: #666;
    }

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        transform: translateY(-50%) scale(1.1);
    }

.form-select-modern {
    background: #f8f9fa;
    border: 1px solid rgba(15, 47, 121, 0.2);
    border-radius: 25px;
    color: #333;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .form-select-modern:focus {
        background: #fff;
        border-color: #0f2f79;
        box-shadow: 0 0 0 0.2rem rgba(15, 47, 121, 0.25);
        color: #333;
    }

    .form-select-modern option {
        background: #fff;
        color: #333;
    }

/* Tesisler Grid */
.tesisler-grid-section {
    margin-bottom: 3rem;
}

.tesisler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tesis-card-modern {
    background: #fff;
    border: 1px solid rgba(15, 47, 121, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 47, 121, 0.08);
}

    .tesis-card-modern:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(15, 47, 121, 0.15);
        border-color: rgba(15, 47, 121, 0.2);
    }

.tesis-image {
    position: relative;
    height: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.tesis-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    z-index: 2;
}

.tesis-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    backdrop-filter: blur(10px);
    z-index: 2;
}

    .tesis-badge.featured {
        background: rgba(255, 193, 7, 0.9);
        color: #000;
    }

    .tesis-badge.gallery {
        background: rgba(15, 47, 121, 0.9);
        top: 55px;
    }

.tesis-content {
    padding: 1.5rem;
}

.tesis-title {
    margin-bottom: 1rem;
}

    .tesis-title a {
        color: #0f2f79;
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .tesis-title a:hover {
            color: #1a4480;
        }

.tesis-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tesis-info {
    margin-bottom: 1.5rem;
}

.tesis-detail {
    display: flex;
    align-items: center;
    color: #555;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

    .tesis-detail a {
        color: #0f2f79;
        text-decoration: none;
    }

        .tesis-detail a:hover {
            text-decoration: underline;
        }

.tesis-footer {
    border-top: 1px solid rgba(15, 47, 121, 0.1);
    padding-top: 1rem;
}

.tesis-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-info {
    color: #888;
}

.btn-modern-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

    .btn-modern-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(15, 47, 121, 0.3);
        color: white;
    }

.btn-modern-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    background: #f8f9fa;
    color: #0f2f79;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 47, 121, 0.2);
}

    .btn-modern-secondary:hover {
        background: #e9ecef;
        color: #0f2f79;
        transform: translateY(-2px);
    }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    color: #0f2f79;
}

.empty-state h3 {
    color: #0f2f79;
    margin-bottom: 1rem;
}

/* Pagination */
.pagination-section {
    margin-top: 3rem;
}

.modern-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.page-btn, .page-number {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: #fff;
    color: #0f2f79;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 47, 121, 0.2);
}

    .page-btn:hover, .page-number:hover {
        background: #f8f9fa;
        color: #0f2f79;
        transform: translateY(-2px);
    }

    .page-number.active {
        background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
        border-color: #0f2f79;
        color: white;
    }

/* Sidebar */
.categories-section, .contact-section {
    background: #fff;
    border: 1px solid rgba(15, 47, 121, 0.1);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(15, 47, 121, 0.08);
}

.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border: 1px solid rgba(15, 47, 121, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .category-item:hover {
        background: #e9ecef;
        transform: translateX(5px);
        border-color: rgba(15, 47, 121, 0.2);
    }

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.1rem;
}

.category-info {
    flex: 1;
}

.category-name {
    color: #0f2f79;
    font-weight: 500;
    display: block;
}

.category-count {
    color: #666;
    font-size: 0.85rem;
}

/* Contact Section */
.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f2f79 0%, #1a4480 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-section h4 {
    color: #0f2f79;
    text-align: center;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #666;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 0.5rem;
}

    .contact-buttons .btn-modern-primary,
    .contact-buttons .btn-modern-secondary {
        flex: 1;
        justify-content: center;
        padding: 0.8rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .tesisler-grid {
        grid-template-columns: 1fr;
    }

    .slide-title {
        font-size: 1.8rem;
    }

    .slide-content {
        padding: 2rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .modern-pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .tesisler-hero {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }

    .search-filter-section {
        padding: 1.5rem;
    }

    .filter-form .row {
        flex-direction: column;
    }

    .tesis-content {
        padding: 1rem;
    }
}
