/*
Theme Name: Polifilm Theme
Theme URI: https://polifilm.com.tr
Author: Fury Developer
Author URI: https://polifilm.com.tr
Description: Polifilm kurumsal web sitesi teması - Sürdürülebilir ambalaj çözümleri
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: polifilm
Tags: corporate, business, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ========================================
   CSS RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: clip; /* hidden yerine clip - sticky header'ı bozmaz */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* ========================================
   VARIABLES
======================================== */
:root {
    --primary-orange: #f26522;
    --primary-green: #7ab51d;
    --dark-gray: #333333;
    --medium-gray: #666666;
    --light-gray: #999999;
    --border-gray: #e5e5e5;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

/* ========================================
   SECURITY TOP BAR - FIXED
======================================== */
.security-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Admin bar varken security bar admin bar'ın altında */
body.admin-bar .security-top-bar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .security-top-bar {
        top: 46px; /* Mobilde admin bar daha yüksek */
    }
}

.security-top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.security-content {
    display: flex;
    align-items: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.security-badge .shield-icon {
    width: 14px;
    height: 14px;
    color: #00d26a;
    filter: drop-shadow(0 0 4px rgba(0,210,106,0.5));
    animation: shield-pulse 2s ease-in-out infinite;
}

@keyframes shield-pulse {
    0%, 100% { filter: drop-shadow(0 0 4px rgba(0,210,106,0.5)); }
    50% { filter: drop-shadow(0 0 8px rgba(0,210,106,0.8)); }
}

.security-text {
    color: rgba(255,255,255,0.85);
}

.security-dot {
    width: 6px;
    height: 6px;
    background: #00d26a;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0,210,106,0.8);
    animation: dot-blink 1.5s ease-in-out infinite;
}

@keyframes dot-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.security-status {
    color: #00d26a;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Body padding for fixed security bar */
body {
    padding-top: 32px;
}

/* Admin bar varken: admin bar(32px) + security bar(32px) = 64px */
body.admin-bar {
    padding-top: 64px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 78px; /* 46px admin + 32px security */
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .security-top-bar {
        height: 28px;
    }
    
    body {
        padding-top: 28px;
    }
    
    /* Mobilde admin bar varken */
    body.admin-bar {
        padding-top: 74px; /* 46px admin + 28px security */
    }
    
    .site-header {
        top: 28px;
    }
    
    .security-badge {
        font-size: 9px;
        gap: 5px;
    }
    
    .security-badge .shield-icon {
        width: 12px;
        height: 12px;
    }
    
    .security-status {
        display: none;
    }
    
    .security-dot {
        width: 5px;
        height: 5px;
    }
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ========================================
   HEADER STYLES
======================================== */
.site-header {
    background: var(--white);
    position: -webkit-sticky;
    position: sticky;
    top: 32px; /* Security bar (32px) altında */
    z-index: 99998;
    box-shadow: var(--shadow);
}

/* Admin bar varken de aynı - security bar zaten admin bar'ın altına kayıyor */
/* Site header her zaman security bar'ın (32px) hemen altında sticky */

.header-top {
    border-bottom: 1px solid var(--border-gray);
    padding: 8px 0;
}

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

.site-logo img {
    height: 45px;
    width: auto;
}

.top-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-menu a {
    font-size: 13px;
    color: var(--medium-gray);
    transition: var(--transition);
}

.top-menu a:hover {
    color: var(--primary-orange);
}

/* Header Top Right */
.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--medium-gray);
    font-size: 13px;
    font-weight: 500;
}

.lang-current:hover {
    border-color: var(--primary-orange);
    background: rgba(242, 101, 34, 0.05);
}

.lang-current svg {
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.lang-current i {
    font-size: 10px;
    transition: var(--transition);
}

.language-dropdown.open .lang-current i {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    min-width: 100px;
}

.language-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: var(--medium-gray);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-gray);
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: rgba(242, 101, 34, 0.05);
    color: var(--primary-orange);
}

.lang-option svg {
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.search-toggle {
    cursor: pointer;
    color: var(--medium-gray);
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--primary-orange);
}

/* Main Navigation - Premium Modern Tasarım */
.header-main {
    padding: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

.header-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-orange) 20%, 
        var(--primary-green) 50%, 
        var(--primary-orange) 80%, 
        transparent 100%
    );
    opacity: 0.3;
}

.header-main .container {
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
}

.main-navigation {
    display: flex;
    align-items: stretch;
}

.main-navigation .main-menu-list {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation .main-menu-list > li {
    position: relative;
    display: flex;
    align-items: stretch;
}

/* Premium Gradient Ayırıcı Çizgiler */
.main-navigation .main-menu-list > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(242, 101, 34, 0.2) 20%,
        var(--primary-orange) 50%,
        rgba(242, 101, 34, 0.2) 80%,
        transparent 100%
    );
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-navigation .main-menu-list > li:first-child::before {
    display: block;
}

.main-navigation .main-menu-list > li:last-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(242, 101, 34, 0.2) 20%,
        var(--primary-orange) 50%,
        rgba(242, 101, 34, 0.2) 80%,
        transparent 100%
    );
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover'da çizgiler canlanır */
.main-navigation .main-menu-list > li:hover::before {
    height: 80%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--primary-green) 10%,
        var(--primary-orange) 30%,
        #ff6b35 50%,
        var(--primary-orange) 70%,
        var(--primary-green) 90%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
    animation: lineGlow 2s ease-in-out infinite;
}

.main-navigation .main-menu-list > li:hover + li::before {
    height: 80%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--primary-green) 10%,
        var(--primary-orange) 30%,
        #ff6b35 50%,
        var(--primary-orange) 70%,
        var(--primary-green) 90%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
    animation: lineGlow 2s ease-in-out infinite;
}

.main-navigation .main-menu-list > li:hover:last-child::after {
    height: 80%;
    width: 3px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--primary-green) 10%,
        var(--primary-orange) 30%,
        #ff6b35 50%,
        var(--primary-orange) 70%,
        var(--primary-green) 90%,
        transparent 100%
    );
    box-shadow: 0 0 15px rgba(242, 101, 34, 0.5), 0 0 30px rgba(242, 101, 34, 0.3);
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% { 
        opacity: 1;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.8;
        filter: brightness(1.3);
    }
}

.main-navigation .main-menu-list > li > a {
    display: flex;
    align-items: center;
    padding: 20px 38px;
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-gray);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

/* Shimmer efekti */
.main-navigation .main-menu-list > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 60%,
        transparent 100%
    );
    transition: left 0.7s ease;
}

.main-navigation .main-menu-list > li > a:hover::before {
    left: 100%;
}

/* Alt çizgi animasyonu - Premium */
.main-navigation .main-menu-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        var(--primary-orange) 25%,
        #ff6b35 50%,
        var(--primary-orange) 75%,
        var(--primary-green) 100%
    );
    background-size: 200% 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -2px 10px rgba(242, 101, 34, 0);
}

.main-navigation .main-menu-list > li > a:hover::after {
    width: 85%;
    box-shadow: 0 -2px 20px rgba(242, 101, 34, 0.5);
    animation: gradientMove 2s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Hover glow arka plan */
.main-navigation .main-menu-list > li > a .menu-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center bottom, 
        rgba(242, 101, 34, 0.12) 0%, 
        rgba(122, 181, 29, 0.05) 30%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.main-navigation .main-menu-list > li:hover {
    background: radial-gradient(ellipse at center bottom, 
        rgba(242, 101, 34, 0.08) 0%, 
        rgba(122, 181, 29, 0.03) 40%,
        transparent 70%
    );
}

.main-navigation .main-menu-list > li > a:hover {
    color: var(--primary-orange);
    transform: translateY(-2px);
    text-shadow: 0 0 20px rgba(242, 101, 34, 0.3);
}

/* Aktif menü - Premium stil */
.main-navigation .main-menu-list > li.current-menu-item > a::after,
.main-navigation .main-menu-list > li.current-menu-parent > a::after,
.main-navigation .main-menu-list > li.current-menu-ancestor > a::after {
    width: 70%;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-orange), var(--primary-green));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
    box-shadow: 0 -2px 15px rgba(242, 101, 34, 0.4);
}

.main-navigation .main-menu-list > li.current-menu-item > a,
.main-navigation .main-menu-list > li.current-menu-parent > a,
.main-navigation .main-menu-list > li.current-menu-ancestor > a {
    color: var(--primary-orange);
}

/* Dropdown Menu - Ultra Premium */
.main-navigation .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    min-width: 220px;
    background: #ffffff;
    box-shadow: 
        0 4px 6px -1px rgba(0,0,0,0.1),
        0 10px 20px -2px rgba(0,0,0,0.1),
        0 0 0 1px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-out;
    z-index: 99996;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

/* Dropdown üst ok işareti */
.main-navigation .sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    box-shadow: -1px -1px 1px rgba(0,0,0,0.05);
    border-radius: 2px;
}

.main-navigation .main-menu-list > li:hover > .sub-menu,
.main-navigation .main-menu-list > li.submenu-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-navigation .sub-menu li {
    display: block;
    border: none;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.main-navigation .sub-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 400;
    color: #333333;
    transition: all 0.15s ease;
    position: relative;
    z-index: 1;
    border-left: none;
    letter-spacing: 0;
}

.main-navigation .sub-menu li a::before {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    top: 4px;
    bottom: 4px;
    background: rgba(242, 101, 34, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.15s ease;
    z-index: -1;
}

.main-navigation .sub-menu li a:hover::before {
    opacity: 1;
}

.main-navigation .sub-menu li a:hover {
    color: var(--primary-orange);
}

/* Submenu icon */
.main-navigation .sub-menu li a::after {
    content: '';
    display: none;
}

/* Alt çizgi ayırıcı - isteğe bağlı */
.main-navigation .sub-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: transparent;
}

/* Has children indicator - ok işareti */
.main-navigation .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.main-navigation .menu-item-has-children:hover > a::after,
.main-navigation .menu-item-has-children.submenu-open > a::after {
    transform: rotate(180deg);
    opacity: 1;
    border-top-color: var(--primary-orange);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 99999;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark-gray);
    transition: var(--transition);
    pointer-events: none;
}

/* Hamburger Active Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   RESPONSIVE - MOBILE MENU
======================================== */
@media (max-width: 768px) {
    .header-main::after {
        display: none;
    }
    
    .header-main .container {
        justify-content: flex-end;
        padding: 10px 20px;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        z-index: 99997;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation .main-menu-list {
        flex-direction: column;
        width: 100%;
    }
    
    .main-navigation .main-menu-list > li {
        display: block;
        width: 100%;
    }
    
    .main-navigation .main-menu-list > li::before,
    .main-navigation .main-menu-list > li::after {
        display: none;
    }
    
    .main-navigation .main-menu-list > li:last-child {
        border-right: none;
    }
    
    .main-navigation .main-menu-list > li > a {
        padding: 15px 20px;
        text-align: left;
        border-bottom: 1px solid var(--border-gray);
    }
    
    .main-navigation .main-menu-list > li > a::before {
        display: none;
    }
    
    /* Mobilde alt menüsü olanlarda ok göster */
    .main-navigation .menu-item-has-children > a::after {
        display: inline-block !important;
        content: '';
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 6px solid #333333;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        transition: transform 0.25s ease, border-color 0.25s ease;
    }
    
    .main-navigation .menu-item-has-children.submenu-open > a::after {
        transform: translateY(-50%) rotate(180deg);
        border-top-color: var(--primary-orange);
    }
    
    .main-navigation .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        display: none;
        background: #f5f5f5 !important;
        min-width: 100%;
        border-radius: 0 !important;
        border-top: 1px solid #e0e0e0;
        padding: 8px 0 !important;
        margin: 0;
        overflow: hidden;
    }
    
    .main-navigation .sub-menu::before {
        display: none !important;
    }
    
    .main-navigation .sub-menu li {
        margin: 0;
        border-radius: 0;
        display: block !important;
    }
    
    .main-navigation .sub-menu li a {
        display: block !important;
        padding: 14px 24px 14px 40px !important;
        border-left: none !important;
        color: #333333 !important;
        font-size: 14px;
        background: transparent !important;
        position: relative;
    }
    
    .main-navigation .sub-menu li a::before {
        content: '' !important;
        position: absolute !important;
        left: 24px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 6px !important;
        height: 6px !important;
        background: var(--primary-orange) !important;
        border-radius: 50% !important;
        opacity: 1 !important;
    }
    
    .main-navigation .sub-menu li a:hover,
    .main-navigation .sub-menu li a:active {
        background: rgba(242, 101, 34, 0.15) !important;
        color: var(--primary-orange) !important;
    }
    
    .main-navigation .sub-menu li a:hover::before,
    .main-navigation .sub-menu li a:active::before {
        background: var(--primary-orange) !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Desktop'ta menünün kesinlikle yan yana olması için */
@media (min-width: 769px) {
    .main-navigation {
        display: flex !important;
        align-items: stretch !important;
    }
    
    .main-navigation .main-menu-list {
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }
    
    .main-navigation .main-menu-list > li {
        display: flex !important;
        align-items: stretch !important;
    }
    
    .main-navigation .main-menu-list > li > a {
        display: flex !important;
        align-items: center !important;
    }
}

/* ========================================
   HERO SLIDER - FULLSCREEN WITH VIDEO
======================================== */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: #1a1a1a;
}

.hero-slider.fullscreen {
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
}

.slider-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.8s ease;
}

/* Slide Background */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Video Background */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 2;
    object-fit: cover;
}

/* Hide fallback image when video is playing */
.slide[data-type="video"].video-playing .slide-bg {
    opacity: 0;
}

/* Overlay for better text readability */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 3;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slide-text {
    max-width: 600px;
    padding: 40px 0;
}

.slide-text h2 {
    font-size: 48px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-text h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary-orange);
    margin-top: 20px;
}

.slide-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* Slider Dots - Left Center */
.slider-dots {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dots .dot.active {
    background: var(--primary-orange);
    border-color: var(--white);
    transform: scale(1.2);
}

/* Slider Buttons */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid var(--primary-orange);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-orange);
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: var(--dark-gray);
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid var(--primary-orange);
    border-radius: 22px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* ========================================
   PARTNERSHIP SECTION
======================================== */
.partnership-section {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

/* Dekoratif arka plan deseni */
.partnership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(242, 101, 34, 0.03) 0%, transparent 25%),
        radial-gradient(circle at 80% 50%, rgba(122, 181, 29, 0.03) 0%, transparent 25%);
    z-index: 0;
}

.partnership-section .container {
    position: relative;
    z-index: 1;
}

.partnership-section h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--dark-gray);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

/* Başlık altı dekoratif çizgi */
.partnership-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    border-radius: 2px;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.products-section {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.products-image {
    flex: 1;
    min-width: 300px;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Görsel üzerinde dekoratif overlay */
.products-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.15) 0%, transparent 50%, rgba(122, 181, 29, 0.1) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

/* Görsel üzerinde geometrik şekil */
.products-image::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border: 3px solid rgba(242, 101, 34, 0.3);
    border-radius: 50%;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.products-section:hover .products-image::before {
    background: linear-gradient(135deg, rgba(242, 101, 34, 0.25) 0%, transparent 50%, rgba(122, 181, 29, 0.2) 100%);
}

.products-content {
    flex: 1;
    min-width: 300px;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.products-content h2 {
    font-size: 32px;
    font-weight: 400;
    color: var(--dark-gray);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.products-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-green));
    border-radius: 2px;
}

.products-content > p {
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: 30px;
}

.products-list h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.products-list ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--medium-gray);
}

.products-list ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--light-gray);
}

.products-list ul li a:hover {
    color: var(--primary-orange);
}

.products-content .btn-outline {
    margin-top: 30px;
    align-self: flex-start;
}

/* ========================================
   QUALITY SECTION
======================================== */
.quality-section {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-light);
    margin: 40px;
    border-radius: 5px;
    overflow: hidden;
}

.quality-content {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quality-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.quality-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, var(--primary-green), var(--primary-orange));
    border-radius: 2px;
}

.quality-content p {
    font-size: 14px;
    color: var(--medium-gray);
    margin-bottom: 25px;
}

.quality-content .btn-outline {
    align-self: flex-start;
}

.quality-image {
    flex: 1;
    min-width: 300px;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease;
}

/* Diagonal stripe overlay */
.quality-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(122, 181, 29, 0.05) 20px,
        rgba(122, 181, 29, 0.05) 40px
    );
    z-index: 1;
}

/* Corner accent */
.quality-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 80px;
    border-left: 4px solid var(--primary-green);
    border-top: 4px solid var(--primary-green);
    z-index: 2;
    transition: all 0.4s ease;
}

.quality-section:hover .quality-image::after {
    width: 100px;
    height: 100px;
    border-color: var(--primary-orange);
}

/* ========================================
   CAREER SECTION
======================================== */
.career-section {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-light);
    margin: 0 40px 40px 40px;
    border-radius: 5px;
    overflow: hidden;
}

.career-content {
    flex: 1;
    min-width: 300px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.career-content h2 {
    font-size: 28px;
    font-weight: 400;
    color: var(--dark-gray);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.career-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: calc(100% - 10px);
    background: linear-gradient(180deg, var(--primary-orange), var(--primary-green));
    border-radius: 2px;
}

.career-content p {
    font-size: 14px;
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.career-content .btn-outline {
    align-self: flex-start;
}

.career-image {
    flex: 1;
    min-width: 300px;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Gradient sweep */
.career-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 60%, rgba(242, 101, 34, 0.2) 100%);
    z-index: 1;
    transition: all 0.5s ease;
}

/* Bottom right decorative box */
.career-image::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    border-right: 4px solid var(--primary-orange);
    border-bottom: 4px solid var(--primary-orange);
    z-index: 2;
    transition: all 0.4s ease;
}

.career-section:hover .career-image::before {
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(242, 101, 34, 0.3) 100%);
}

.career-section:hover .career-image::after {
    width: 100px;
    height: 100px;
    border-color: var(--primary-green);
}

/* ========================================
   FOOTER STYLES
======================================== */
.site-footer {
    background: var(--white);
    padding: 60px 0 0 0;
    border-top: 1px solid var(--border-gray);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-widget h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    font-size: 13px;
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary-orange);
}

.footer-widget.contact-widget h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer-widget.contact-widget h5:first-of-type {
    margin-top: 0;
}

.footer-widget.contact-widget p {
    font-size: 12px;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 5px;
}

.footer-widget.contact-widget a {
    font-size: 12px;
    color: var(--medium-gray);
}

.footer-widget.contact-widget a:hover {
    color: var(--primary-orange);
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-gray);
    border-radius: 3px;
    color: var(--medium-gray);
    margin-right: 5px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-gray);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logos img {
    height: 25px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-logos a {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
}

.footer-logos .blog-link {
    color: var(--primary-orange);
}

.footer-copyright {
    font-size: 12px;
    color: var(--light-gray);
}

.footer-copyright a {
    color: var(--primary-orange);
}

.footer-copyright .site-protection {
    display: block;
    margin-top: 8px;
    color: var(--primary-green);
    font-size: 11px;
}

.footer-copyright .site-protection::before {
    content: "🔒 ";
}

/* ========================================
   SEARCH OVERLAY
======================================== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-overlay form {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-overlay input {
    width: 100%;
    padding: 20px;
    font-size: 24px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--white);
    color: var(--white);
}

.search-overlay input::placeholder {
    color: rgba(255,255,255,0.5);
}

.search-overlay .close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 30px;
    color: var(--white);
    cursor: pointer;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 1024px) {
    .footer-widgets {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .products-content,
    .quality-content,
    .career-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: row;
        justify-content: space-between;
        gap: 15px;
    }
    
    .header-top-right {
        gap: 12px;
    }
    
    .lang-current span {
        display: none;
    }
    
    .lang-current {
        padding: 6px 8px;
    }
    
    /* Fullscreen Slider Mobile */
    .hero-slider.fullscreen {
        height: 80vh;
        min-height: 500px;
    }
    
    .slide-content .container {
        text-align: center;
    }
    
    .slide-text {
        max-width: 100%;
        padding: 20px;
    }
    
    .slide-text h2 {
        font-size: 28px;
    }
    
    .slide-text h2::after {
        margin: 15px auto 0;
    }
    
    .slide-text p {
        font-size: 16px;
    }
    
    .slider-dots {
        left: 20px;
        gap: 12px;
    }
    
    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }
    
    .products-section,
    .quality-section,
    .career-section {
        flex-direction: column;
    }
    
    .quality-section,
    .career-section {
        margin: 20px;
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .slide-text h2 {
        font-size: 24px;
    }
    
    .products-content,
    .quality-content,
    .career-content {
        padding: 30px 20px;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .partnership-section h2 {
        font-size: 22px;
    }
}

/* ========================================
   PARALLAX HERO BANNER
======================================== */
.page-hero-parallax {
    position: relative;
    height: 400px;
    min-height: 350px;
    overflow: clip; /* hidden yerine clip - sticky uyumlu */
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 1;
    transition: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.hero-title span {
    color: var(--primary-orange);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-meta {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-meta .meta-item {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-meta .meta-item i {
    margin-right: 6px;
    color: var(--primary-orange);
}

.hero-meta .meta-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.hero-meta .meta-item a:hover {
    color: var(--primary-orange);
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-parallax {
        height: 300px;
        min-height: 250px;
    }
    
    .parallax-bg {
        background-attachment: scroll;
        top: 0;
        height: 100%;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-meta {
        gap: 15px;
    }
    
    .hero-meta .meta-item {
        font-size: 13px;
    }
}

/* ========================================
   PAGE CONTENT STYLES
======================================== */
.page-content {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

/* Site Main - z-index düzeltmesi */
.site-main {
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    position: relative;
    z-index: 1;
    isolation: isolate;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content ul,
.entry-content ol {
    margin-left: 30px;
    margin-bottom: 20px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.entry-content a {
    color: #f26522;
}

.entry-content a:hover {
    text-decoration: underline;
}

.page-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Single Post Styles */
.single-post .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
}

.post-tags a {
    color: #666;
    margin-left: 5px;
}

.post-tags a:hover {
    color: #f26522;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.post-navigation a {
    color: #333;
    font-size: 14px;
}

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

.post-navigation i {
    margin: 0 5px;
}

.nav-previous {
    max-width: 45%;
}

.nav-next {
    max-width: 45%;
    text-align: right;
}

/* Archive & Search Styles */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

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

.post-card .post-content {
    padding: 25px;
}

.post-card .post-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.post-card .post-title a {
    color: #333;
}

.post-card .post-title a:hover {
    color: #f26522;
}

.post-card .post-meta {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.post-card .post-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Search Results */
.search-results-list {
    margin-bottom: 40px;
}

.search-result-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.result-thumbnail {
    flex-shrink: 0;
}

.result-thumbnail img {
    width: 150px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}

.result-content {
    flex: 1;
}

.result-type {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f26522;
    background: rgba(242, 101, 34, 0.1);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.result-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.result-title a {
    color: #333;
}

.result-title a:hover {
    color: #f26522;
}

.result-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    color: #f26522;
    font-weight: 500;
}

.read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover i {
    margin-left: 10px;
}

/* No Results & 404 */
.no-results,
.error-content {
    text-align: center;
    padding: 60px 0;
    max-width: 600px;
    margin: 0 auto;
}

.no-results-icon,
.error-icon {
    font-size: 60px;
    color: #e5e5e5;
    margin-bottom: 20px;
}

.error-icon {
    color: #f26522;
    font-size: 80px;
    margin-bottom: 30px;
}

.no-results h2,
.error-content h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.error-content h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
}

.no-results p,
.error-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.search-again,
.error-search {
    margin-bottom: 30px;
}

.search-again form,
.error-search form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-again input,
.error-search input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #e5e5e5;
    border-radius: 25px 0 0 25px;
    font-size: 14px;
}

.search-again button,
.error-search button {
    padding: 12px 25px;
    border-radius: 0 25px 25px 0;
    border: none;
    cursor: pointer;
}

.error-content .btn-outline i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .search-result-item {
        flex-direction: column;
    }
    
    .result-thumbnail img {
        width: 100%;
        height: 200px;
    }
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 40px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    color: #333;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
}

.pagination .dots {
    border: none;
    background: none;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }
.hidden { display: none; }
.visible { display: block; }

/* ========================================
   MOBILE MENU OPEN STATE
======================================== */
body.mobile-menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* ========================================
   PAGE BUILDER UYUMU - STICKY HEADER FIX
======================================== */

/* 
 * Site main ve ppb-page için overflow ayarları
 * Sticky header'ı korumak için overflow-x:hidden KULLANILMAZ
 */
.site-main,
#main-content,
main {
    position: relative;
    z-index: 1;
    /* overflow: visible - sticky header için kritik */
}

/* PPB sayfalarında da sticky koruması */
.ppb-page {
    position: relative;
    z-index: 1;
    overflow-x: clip; /* clip kullan - sticky header'ı bozmaz */
}

/* ========================================
   MOBILE HAMBURGER - ZORUNLU KORUMA
======================================== */
@media (max-width: 768px) {
    /* Hamburger menü her zaman görünür ve tıklanabilir */
    .mobile-menu-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 100000 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Header main içindeki elementlerin hamburger'ı kapatmaması için */
    .header-main {
        overflow: visible !important;
    }
    
    /* Navigation açıkken */
    .main-navigation.active {
        display: block !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99997 !important;
        pointer-events: auto !important;
    }
}
