/* Genel Stiller */
body {
    font-family: 'Outfit', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Hero Alanı */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../uploads/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

/* Okul Kartları */
.school-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
    height: 100%;
}

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

.school-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.school-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.school-card:hover .school-img {
    transform: scale(1.1);
}

.school-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-body {
    padding: 20px;
}

.school-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
    text-decoration: none;
    display: block;
}

.school-title:hover {
    color: #0d6efd;
}

.school-info {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.school-features span {
    display: inline-block;
    background: #e9ecef;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 5px;
    margin-bottom: 5px;
    color: #495057;
}

/* İlçe Listesi */
.district-link {
    display: block;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: #495057;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
}

/* Thumbnail Carousel */
.main-image-container {
    width: 100%;
    height: 400px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.thumbnail-container {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
    scrollbar-width: thin;
    /* Firefox */
}

.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

.thumbnail-item {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.thumbnail-item:hover {
    opacity: 1;
}

.thumbnail-item.active {
    border-color: #0d6efd;
    opacity: 1;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}