/*
Theme Name: Neizlesem Theme
Theme URI: https://neizlesem.com
Description: "Bugün ne izlesem?" sorusuna hızlı yanıt veren minimal ve modern WordPress teması. Netflix tarzında tasarım ile film ve dizi önerisi platformu için özel olarak geliştirilmiştir.
Author: Neizlesem.com
Author URI: https://neizlesem.com
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neizlesem-theme
Domain Path: /languages
Tags: entertainment, movies, tv-shows, netflix-style, modern, minimal, responsive, dark-theme

Neizlesem Theme - "Bugün ne izlesem?" platformu için özel tasarım
*/

/* ===================================
   CSS VARIABLES (CUSTOM PROPERTIES)
   =================================== */
:root {
    /* Neizlesem Brand Colors */
    --neizlesem-red: #e50914;
    --neizlesem-red-hover: #f40612;
    --neizlesem-dark: #141414;
    --neizlesem-black: #000000;
    --neizlesem-white: #ffffff;
    --neizlesem-gray: #666666;
    --neizlesem-gray-light: #999999;
    
    /* Light Theme Default Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Reklam Alanları */
    --ad-border-radius: 12px;
    --ad-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --ad-shadow-hover: 0 8px 30px rgba(229, 9, 20, 0.2);
    --ad-border: 2px solid #e9ecef;
    --ad-border-hover: 2px solid #e50914;
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #141414;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #999999;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Light Theme */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #999999;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* ===================================
   RESET VE BASE STYLES
   =================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    color-scheme: light;
}

[data-theme="dark"] html {
    color-scheme: dark;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===================================
   CONTAINER VE LAYOUT
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-content {
    flex: 1;
    padding-top: 70px; /* Header yüksekliği için */
}

/* Mobile için header yüksekliği ayarı */
@media (max-width: 768px) {
    .site-content {
        padding-top: 60px; /* Mobil header yüksekliği */
    }
}

.site-footer {
    margin-top: auto;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: var(--neizlesem-red);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--neizlesem-red-hover);
}

/* ===================================
   WORDPRESS ALIGNMENT
   =================================== */
.alignleft { 
    float: left; 
    margin: 0 1rem 1rem 0; 
}

.alignright { 
    float: right; 
    margin: 0 0 1rem 1rem; 
}

.aligncenter { 
    display: block; 
    margin: 0 auto 1rem; 
}

/* ===================================
   SCREEN READER TEXT
   =================================== */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static !important;
    width: auto;
    height: auto;
    padding: 0.5rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--neizlesem-red);
    color: var(--neizlesem-white);
    border-radius: 4px;
    z-index: 100000;
}

/* ===================================
   GLOBAL THEME SUPPORT
   =================================== */
[data-theme="dark"] * {
    color: inherit;
}

[data-theme="dark"] body,
[data-theme="dark"] .site,
[data-theme="dark"] .site-content,
[data-theme="dark"] main,
[data-theme="dark"] article,
[data-theme="dark"] section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="light"] * {
    color: inherit;
}

[data-theme="light"] body,
[data-theme="light"] .site,
[data-theme="light"] .site-content,
[data-theme="light"] main,
[data-theme="light"] article,
[data-theme="light"] section {
    background: var(--bg-primary);
    color: var(--text-primary);
}

/* ===================================
   FOOTER LOGO STILLERİ
   =================================== */
.footer-logo {
    margin-bottom: 1rem;
}

/* Footer logo için çok spesifik ve güçlü kurallar */
.footer-logo img.custom-footer-logo,
.footer-logo .custom-footer-logo,
.footer-logo img[class*="footer-logo"],
.footer-logo a img {
    max-height: 40px !important;        /* Footer logo maksimum yükseklik - !important */
    width: auto !important;             /* Genişlik otomatik - !important */
    height: auto !important;            /* Yükseklik otomatik - !important */
    display: block !important;          /* Block element - !important */
    object-fit: contain !important;     /* Resmi sığdır - !important */
    max-width: 200px !important;       /* Maksimum genişlik - !important */
    vertical-align: middle !important;  /* Dikey hizalama - !important */
}

.footer-logo .footer-brand-link {
    display: inline-block;
    text-decoration: none;
}

.footer-logo .footer-brand-link:hover {
    text-decoration: none;
}

/* Footer logo responsive - !important ile */
@media (max-width: 768px) {
    .footer-logo img.custom-footer-logo,
    .footer-logo .custom-footer-logo,
    .footer-logo img[class*="footer-logo"],
    .footer-logo a img {
        max-height: 35px !important;
        max-width: 150px !important;
    }
}

@media (max-width: 480px) {
    .footer-logo img.custom-footer-logo,
    .footer-logo .custom-footer-logo,
    .footer-logo img[class*="footer-logo"],
    .footer-logo a img {
        max-height: 30px !important;
        max-width: 120px !important;
    }
}

/* ===================================
   HEADER LOGO STILLERİ
   =================================== */