/* Kısa Filmler Sayfası Stilleri */

/* Ana İçerik */
.short-films-main {
    padding-top: 120px;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* İçerik Düzeni */
.short-films-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Kategoriler Bölümü */
.categories-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 140px;
}

.categories-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 0.5rem;
}

.category-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    border: 1px solid transparent;
}

.category-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.category-link.active {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    color: var(--text-white);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.category-link.active:hover {
    transform: translateX(0);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* İçerik Bölümü */
.content-section {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

/* Carousel Container */
.content-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.content-grid {
    display: flex;
    gap: 1.2rem;
    transition: transform 0.5s ease;
    width: max-content;
}

/* Navigation Arrows */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 1rem;
}

.carousel-nav.next {
    right: 1rem;
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
    fill: var(--text-white);
}

/* Film Kartları */
.content-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.content-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.poster-image {
    margin-bottom: 0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    flex: 1;
}

.poster-img {
    width: 100%;
    height: 277px;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 0;
}

.content-placeholder:hover .poster-img {
    transform: scale(1.05);
}

.content-info {
    padding: 1rem;
}

.content-placeholder h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.content-placeholder p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.4;
}

.watch-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    color: var(--text-white);
    text-decoration: none;
    border-radius: 18px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

.watch-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, var(--accent-purple-light), var(--accent-purple));
}

.watch-button:active {
    transform: translateY(0);
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--accent-purple);
    transform: scale(1.2);
}

/* Auto-scroll animation */
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.content-grid.auto-scrolling {
    animation: autoScroll 15s linear infinite;
}

.content-grid.auto-scrolling:hover {
    animation-play-state: paused;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .short-films-content {
        grid-template-columns: 250px 1fr;
        gap: 2rem;
    }
    
    .categories-section {
        padding: 1.5rem;
    }
    
    .content-placeholder {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .short-films-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-section {
        position: static;
        margin-bottom: 1.5rem;
    }
    
    .content-placeholder {
        width: 220px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 768px) {
    .short-films-main {
        padding-top: 120px;
    }
    
    .categories-section,
    .content-section {
        padding: 1.5rem;
    }
    
    .content-placeholder {
        width: 200px;
    }
    
    .content-grid {
        gap: 1rem;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    .carousel-nav svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .short-films-main {
        padding-top: 100px;
    }
    
    .categories-section,
    .content-section {
        padding: 1rem;
    }
    
    .content-placeholder {
        width: 180px;
    }
    
    .content-grid {
        gap: 0.75rem;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .carousel-nav {
        width: 35px;
        height: 35px;
    }
    
    .carousel-nav.prev {
        left: 0.5rem;
    }
    
    .carousel-nav.next {
        right: 0.5rem;
    }
}

/* Kategori bulunamadı durumu */
.category-item span.category-link {
    color: var(--text-light);
    opacity: 0.7;
    cursor: default;
}

.category-item span.category-link:hover {
    background: none;
    transform: none;
    border-color: transparent;
}

/* Loading ve Empty State */
.content-empty {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.content-empty h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.content-empty p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Light theme fixes: categories border and film description color */
[data-theme="light"] .short-films-main .categories-section { border: 1px solid rgba(0, 0, 0, 0.12); }
[data-theme="light"] .short-films-main .categories-title { border-bottom: 2px solid rgba(0, 0, 0, 0.12); }
[data-theme="light"] .short-films-main .category-link:hover { border-color: rgba(0, 0, 0, 0.18); background: rgba(0, 0, 0, 0.05); color: #111827; }
[data-theme="light"] .short-films-main .content-placeholder p { color: #374151; }