/*
Theme Name: Webixmo Film Teması
Description: Modern ve şık film teması. Sinema, film ve eğlence siteleri için tasarlanmış profesyonel WordPress teması.
Version: 1.0
Author: Webixmo
Text Domain: webixmo-film
*/

/* Reset ve Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --webixmo-birinci-renk: #dc2626;
    --webixmo-birinci-renk-hover: #b91c1c;
    --brand-red: #dc2626;
}

body {
    overflow-x: hidden;
}
ul#menu-ana-menu-3 a {
    display: inline-block;
    padding: 0 8px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ff6b35;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-logo::before {
    content: '🎬';
    margin-right: 10px;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #ff6b35;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Post Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.post-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #ff6b35;
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #ccc;
    line-height: 1.6;
}


/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #ff6b35;
    color: #fff;
}


/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.post-navigation a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #ff8c42;
}

/* Search Form */
.search-form {
    display: flex;
    max-width: 400px;
    margin: 2rem auto;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.8rem;
    background: #2d2d2d;
    border: 1px solid #444;
    border-radius: 5px 0 0 5px;
    color: #fff;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #ff6b35;
}

.search-form input[type="submit"] {
    padding: 0.8rem 1.5rem;
    border-radius: 0 5px 5px 0;
    border: none;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2d2d2d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff6b35;
    color: #fff;
}

/* Loading Styles */
.loading-content {
    text-align: center;
    color: #fff;
}

.loading-logo {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.loading-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    border-radius: 2px;
    animation: loading 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* No Content */
.no-content,
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #ccc;
}

.no-content h2,
.no-posts h2 {
    color: #ff6b35;
    margin-bottom: 1rem;
}

/* Hide scrollbar */
.hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

/* Line clamp utility */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-height: 1.5;
}

/* Box Office responsive fixes */
.box-office-card {
    min-width: 0;
    overflow: hidden;
}

.box-office-card .flex-1 {
    min-width: 0;
    overflow: hidden;
}

.box-office-card .whitespace-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

@media (max-width: 640px) {
    .box-office-card {
        padding: 0.5rem;
    }
    
    .box-office-card h4 {
        font-size: 0.75rem;
        line-height: 1.2;
    }
    
    .box-office-card .text-xs {
        font-size: 0.65rem;
    }
    
    .box-office-card .rounded-full {
        padding: 0.125rem 0.375rem;
        font-size: 0.6rem;
    }
    
    .box-office-card .flex-wrap {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .box-office-card .gap-1 {
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    .box-office-card .rounded-full {
        padding: 0.125rem 0.25rem;
        font-size: 0.55rem;
    }
}

