/*
Theme Name: Video Muzesi
Theme URI: https://videomuzesi.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: Neo-brutalist video paylasim temasi. Alkislarla Yasiyorum mantiginda, yatay video kartlari ve sidebar destegi.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: video-muzesi
Tags: video, brutalist, bold-colors, responsive, sidebar
*/

/* TEMEL DEGISKENLER */
:root {
    --lime: #C8FF3D;
    --pink: #FF006E;
    --orange: #FFB703;
    --blue: #3A86FF;
    --cream: #F4F1DE;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --shadow: 5px 5px 0px 0px var(--black);
    --shadow-hover: 8px 8px 0px 0px var(--black);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--cream);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* BRUTALIST UTILITIES */
.hard-border {
    border: 3px solid var(--black);
}

.hard-shadow {
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
}

.hard-shadow:hover {
    box-shadow: var(--shadow-hover);
    transform: translate(-2px, -2px);
}

/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;700;800&display=swap');

/* HEADER */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--black);
}

.logo-icon {
    background: var(--lime);
    padding: 0.2rem 0.8rem;
    border: 3px solid var(--black);
    transform: rotate(-3deg);
    display: inline-block;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
}

.site-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem;
    transition: color 0.3s;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--pink);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 3px solid var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--lime);
    color: var(--black);
    box-shadow: 4px 4px 0 var(--black);
}

.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
    background: var(--lime);
    color: var(--black);
}

.btn-pink {
    background: var(--pink);
    color: white;
    box-shadow: 4px 4px 0 var(--black);
}

.btn-pink:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
    color: white;
}

/* LAYOUT */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        order: 2;
    }
}

/* HERO SECTION */
.hero {
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--lime);
    opacity: 0.3;
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-title .word-lime {
    background: var(--lime);
    padding: 0 0.5rem;
    border: 3px solid var(--black);
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-title .word-pink {
    color: var(--pink);
}

.hero-title .word-orange {
    background: var(--orange);
    padding: 0 0.5rem;
    border: 3px solid var(--black);
    display: inline-block;
    transform: rotate(2deg);
}

.hero-description {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem 0;
}

/* VIDEO CARDS */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0 var(--black);
}

.video-card a {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
    border-right: 3px solid var(--black);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--lime);
    width: 60px;
    height: 60px;
    border: 3px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--black);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.video-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-badge {
    display: inline-block;
    background: var(--pink);
    color: white;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--black);
    margin-bottom: 0.5rem;
    width: fit-content;
}

.video-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--black);
}

.video-excerpt {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.video-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #555;
    font-weight: 600;
    border-top: 2px solid #eee;
    padding-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* SIDEBAR WIDGETS */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.widget-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--orange);
    border: 2px solid var(--black);
}

/* Trending Widget */
.trending-item {
    display: flex;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 2px solid #eee;
    transition: all 0.2s;
}

.trending-item:hover {
    transform: translateX(5px);
}

.trending-item:last-child {
    border-bottom: none;
}

.trend-number {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--pink);
    min-width: 30px;
}

.trend-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.trend-info span {
    font-size: 0.8rem;
    color: #666;
}

/* Comments Widget */
.comment-item {
    padding: 1rem 0;
    border-bottom: 2px solid #eee;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.comment-author {
    font-weight: 700;
    font-size: 0.9rem;
}

.comment-time {
    font-size: 0.75rem;
    color: #888;
}

.comment-text {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
}

/* Categories Widget */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-tag {
    padding: 0.5rem 1rem;
    border: 2px solid var(--black);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--black);
    transition: all 0.2s;
    display: inline-block;
}

.cat-tag:hover {
    transform: scale(1.05);
    box-shadow: 3px 3px 0 var(--black);
}

/* Category Colors */
.cat-tag:nth-child(5n+1) { background: var(--lime); }
.cat-tag:nth-child(5n+2) { background: var(--pink); color: white; }
.cat-tag:nth-child(5n+3) { background: var(--orange); }
.cat-tag:nth-child(5n+4) { background: var(--blue); color: white; }
.cat-tag:nth-child(5n+5) { background: var(--cream); }

/* SINGLE VIDEO PAGE */
.video-player-wrapper {
    background: var(--black);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-player-placeholder {
    text-align: center;
    color: white;
}

.play-button-large {
    width: 100px;
    height: 100px;
    background: var(--lime);
    border: 4px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.play-button-large:hover {
    transform: scale(1.1);
    background: var(--pink);
}

.video-detail-card {
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.video-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 2rem;
}

.video-detail-title {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.action-btn {
    width: 50px;
    height: 50px;
    border: 3px solid var(--black);
    background: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--lime);
    transform: translateY(-3px);
}

.video-stats-bar {
    display: flex;
    gap: 2rem;
    padding: 1rem 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin: 1rem 0;
    font-weight: 600;
}

.channel-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.channel-avatar {
    width: 50px;
    height: 50px;
    border: 3px solid var(--black);
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.channel-name {
    font-weight: 700;
}

.channel-meta {
    font-size: 0.9rem;
    color: #666;
}

.subscribe-btn {
    margin-left: auto;
    background: var(--black);
    color: white;
    border: 3px solid var(--black);
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
}

.subscribe-btn:hover {
    background: var(--pink);
}

.video-description {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--cream);
    border-left: 4px solid var(--lime);
    line-height: 1.8;
}

/* Comments Section */
.comments-area {
    background: var(--white);
    border: 3px solid var(--black);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.comments-title {
    font-family: 'Syne', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.comment-form textarea {
    width: 100%;
    border: 3px solid var(--black);
    padding: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1rem;
    resize: vertical;
    min-height: 100px;
}

.comment-form button {
    background: var(--blue);
    color: white;
    border: 3px solid var(--black);
    padding: 0.8rem 2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--black);
    transition: all 0.2s;
    font-family: 'Space Grotesk', sans-serif;
}

.comment-form button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--black);
}

.comment-list {
    margin-top: 2rem;
}

.comment-body {
    border-bottom: 2px solid #eee;
    padding: 1.5rem 0;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.comment-author-name {
    font-weight: 700;
}

.comment-date {
    font-size: 0.85rem;
    color: #888;
}

.comment-content {
    line-height: 1.6;
}

/* FOOTER */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--black);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-widget-title {
    font-family: 'Syne', sans-serif;
    color: var(--lime);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #888;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }

    .video-card {
        grid-template-columns: 1fr;
    }

    .video-thumbnail {
        border-right: none;
        border-bottom: 3px solid var(--black);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
    }

    .video-detail-header {
        flex-direction: column;
        gap: 1rem;
    }

    .video-detail-title {
        font-size: 1.5rem;
    }

    .action-buttons {
        align-self: flex-start;
    }

    .container {
        padding: 0 1rem;
    }
}

/* WordPress Core Alignments */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Sticky Post */
.sticky .video-card {
    background: var(--lime);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-numbers {
    padding: 0.5rem 1rem;
    border: 3px solid var(--black);
    background: var(--white);
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    transition: all 0.2s;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--lime);
    box-shadow: 3px 3px 0 var(--black);
}
/* VIDEO PLAYER IFRAME DÜZELTMESİ - YENİ EKLENDİ */
.video-player-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Eğer video-player__wrapper kullanıyorsanız */
.video-player__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-player__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}