/* 
 * YUMBIR Tema - Özel CSS Dosyası
 * Ekstra stil düzenlemeleri
 */

/* Form Input Focus Efektleri */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1) !important;
}

/* Hover Efektleri */
input:hover,
textarea:hover,
select:hover {
    border-color: var(--primary-color);
}

/* Sosyal Medya İkonları Hover */
[style*="border-radius: 50%"]:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4) !important;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

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

.info-card,
.benefit-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }
.info-card:nth-child(4) { animation-delay: 0.4s; }
.info-card:nth-child(5) { animation-delay: 0.5s; }
.info-card:nth-child(6) { animation-delay: 0.6s; }

/* Tablet Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .nav-menu a {
        padding: 15px 18px;
    }
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 2em;
    }
    
    .hero-title {
        font-size: 2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 1.8em;
    }
    
    .card-title {
        font-size: 1.5em;
    }
    
    .nav-menu {
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        padding: 12px 15px;
        font-size: 0.9em;
    }
    
    .cta-title {
        font-size: 2em;
    }
    
    .cta-text {
        font-size: 1.1em;
    }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .site-logo {
        font-size: 2em;
    }
    
    .site-title {
        font-size: 1.5em;
    }
    
    .hero-icon {
        font-size: 5em;
    }
    
    .hero-title {
        font-size: 1.6em;
    }
    
    .nav-menu a {
        padding: 10px;
        font-size: 0.85em;
    }
}

/* Print Stilleri */
@media print {
    .site-header,
    .site-footer,
    .cta-section,
    .nav-menu {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
    }
}



/* Yüksek Kontrast Modu */
@media (prefers-contrast: high) {
    :root {
        --text-dark: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
}

/* Düşük Hareket Tercih Eden Kullanıcılar */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Loading Animasyonu */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 165, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tooltip */
[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: var(--text-dark);
    color: white;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.9em;
    z-index: 1000;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5em;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

.scroll-to-top.show {
    display: flex;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pulse Animasyonu */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Video Modal Stilleri */
#aboutVideoModal {
    animation: fadeIn 0.3s ease;
}

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

/* Play Button Pulse Animation */
@keyframes playPulse {
    0% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 0 rgba(38,127,46,0.7);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 20px rgba(38,127,46,0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 0 0 rgba(38,127,46,0);
    }
}

/* Video Modal Responsive */
@media (max-width: 768px) {
    #aboutVideoModal {
        padding: 1rem;
    }
    
    #aboutVideoModal video {
        max-height: 80vh;
    }
}

/* Hakkımızda Sayfası Stilleri */
.hero-content {
    text-align: center;
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.hero-icon {
    font-size: 6em;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 900;
    color: var(white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-section {
    padding: 80px 0;
    width: 100%;
}

.content-section:nth-child(even) {
    background: var(--bg);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

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

.card-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-item {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-dark);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 2rem;
    text-align: center;
    border-radius: 1.5rem;
    margin: 4rem 0;
    color: var(--text-dark);
}

.cta-title {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cta-text {
    font-size: 1.3em;
    margin-bottom: 2rem;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background: rgba(0,0,0,0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Hakkımızda Sayfası Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 1.2em;
    }
    
    .info-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .content-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 3rem 0;
    }
    
    .hero-icon {
        font-size: 4em;
    }
    
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-card {
        padding: 2rem;
    }
    
    .card-title {
        font-size: 1.5em;
    }
    
    .card-content {
        font-size: 1em;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 1.5rem;
    }
    
    .cta-title {
        font-size: 2em;
    }
    
    .cta-text {
        font-size: 1.1em;
    }
    
    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        font-size: 3em;
    }
    
    .hero-title {
        font-size: 1.8em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        font-size: 2.5em;
    }
    
    .card-title {
        font-size: 1.3em;
    }
    
    .cta-title {
        font-size: 1.6em;
    }
    
    .cta-text {
        font-size: 1em;
    }
}

/* Minimal Modern Breadcrumb Stilleri */
.breadcrumb {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-top: 1rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-weight: 400;
    letter-spacing: 0.01em;
    text-align: center;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: rgba(255,255,255,0.9);
}

.breadcrumb span {
    color: rgba(255,255,255,0.4);
    margin: 0 0.25rem;
}

/* Son öğe (aktif sayfa) */
.breadcrumb span:last-child {
    color: rgba(255,255,255,0.95);
    font-weight: 500;
}

/* Hero Section içindeki breadcrumb için */
.hero-section .breadcrumb,
.page-hero .breadcrumb {
    position: relative;
    z-index: 10;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Hero content içindeki breadcrumb */
.hero-content .breadcrumb {
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Responsive Breadcrumb */
@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.7rem;
        gap: 0.375rem;
        margin-bottom: 1rem;
    }
}

/* Category Page Styles */
.category-posts-grid .modern-card {
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-posts-grid .modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
}

.category-posts-grid .modern-card:hover img {
    transform: scale(1.05);
}

.category-posts-grid .modern-card:hover .fa-arrow-right {
    transform: translateX(5px);
}

.category-posts-grid .modern-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Category Page Responsive */
@media (max-width: 768px) {
    .category-posts-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Comments Styles */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-color);
}

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

.comment-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    transition: border-color 0.3s;
}

.comment-item:hover .comment-avatar {
    border-color: var(--primary-color);
}

.comment-form {
    margin-top: 3rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form textarea {
    resize: vertical;
    min-height: 150px;
}

.comment-form .form-submit {
    margin-top: 1rem;
}

.comment-reply-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.comment-reply-link:hover {
    color: var(--secondary-color);
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    margin-left: 3rem;
    margin-top: 2rem;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

/* Comments Responsive */
@media (max-width: 768px) {
    .comment-item > div {
        flex-direction: column;
    }
    
    .comment-author-avatar {
        margin-bottom: 1rem;
    }
    
    .comment-list .children {
        margin-left: 1rem;
        padding-left: 1rem;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
}

/* ========================================
   Comprehensive Mobile Responsive Fixes
======================================== */

/* Global Mobile Fixes */
@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Page Content */
    .page-content {
        padding: 2rem 0 !important;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 3rem 0 2rem !important;
    }
    
    .page-hero-title {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    .page-hero-subtitle {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }
    
    /* Modern Cards */
    .modern-card {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Grid Fixes - Force single column */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Hero Section Grid */
    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Hero Title */
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    /* Hero Buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 1rem !important;
        width: 100%;
    }
    
    .hero-buttons a,
    .hero-buttons button {
        width: 100%;
        justify-content: center;
    }
    
    /* Section Titles */
    .section-title,
    h2[style*="font-size: 3rem"],
    h2[style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    
    /* Two Column Grids */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Three Column Grids */
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Auto-fit Grids */
    [style*="repeat(auto-fit"],
    [style*="repeat(auto-fill"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Large Padding/Margin */
    [style*="padding: 8rem"],
    [style*="padding: 6rem"],
    [style*="padding: 5rem"] {
        padding: 3rem 1rem !important;
    }
    
    [style*="margin-bottom: 6rem"],
    [style*="margin-bottom: 5rem"],
    [style*="margin-bottom: 4rem"] {
        margin-bottom: 3rem !important;
    }
    
    /* Large Gaps */
    [style*="gap: 6rem"],
    [style*="gap: 5rem"] {
        gap: 2rem !important;
    }
    
    /* Large Font Sizes */
    [style*="font-size: 3rem"],
    [style*="font-size: 2.5rem"] {
        font-size: 1.75rem !important;
    }
    
    [style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
    
    /* Video Modal */
    #aboutVideoModal {
        padding: 1rem !important;
    }
    
    #aboutVideoModal video {
        max-width: 100% !important;
        max-height: 70vh !important;
    }
    
    /* Sidebar */
    [style*="grid-template-columns: 1fr 300px"],
    [style*="grid-template-columns: 1fr 350px"] {
        grid-template-columns: 1fr !important;
    }
    
    .sidebar {
        position: static !important;
        margin-top: 2rem;
    }
    
    /* Yönetim Kurulu Grid */
    .yonetim-kurulu-others-grid,
    [style*="repeat(auto-fit, minmax(250px"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact Grid */
    [style*="repeat(auto-fit, minmax(280px"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Archive Grids */
    .category-posts-grid,
    [style*="repeat(auto-fill, minmax(350px"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Buttons */
    button,
    .button,
    a[style*="padding: 1rem 2rem"],
    a[style*="padding: 0.75rem 2rem"] {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-height: 44px; /* Touch target */
    }
    
    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        padding: 0.75rem !important;
        min-height: 44px; /* Touch target */
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Tables */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Text Overflow */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    .page-hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
    
    .section-title,
    h2 {
        font-size: 1.5rem !important;
    }
    
    .modern-card {
        padding: 1.25rem !important;
    }
    
    [style*="padding: 3rem"] {
        padding: 2rem 0.75rem !important;
    }
    
    [style*="font-size: 1.75rem"] {
        font-size: 1.25rem !important;
    }
    
    [style*="font-size: 1.5rem"] {
        font-size: 1.125rem !important;
    }
    
    /* Smaller gaps */
    [style*="gap: 2rem"] {
        gap: 1.5rem !important;
    }
    
    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.75rem !important;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-hero {
        padding: 2rem 0 1.5rem !important;
    }
    
    .hero-title {
        font-size: 1.75rem !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch */
    *:hover {
        transform: none !important;
    }
}

/* Index.php Specific Mobile Fixes */
@media (max-width: 768px) {
    /* About Section Grid */
    #hakkimizda [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    #hakkimizda [style*="gap: 5rem"] {
        gap: 2rem !important;
    }
    
    /* About Image Height */
    #hakkimizda img[style*="height: 650px"] {
        height: 300px !important;
    }
    
    /* Play Button */
    button[onclick*="openAboutVideoModal"] {
        width: 60px !important;
        height: 60px !important;
    }
    
    button[onclick*="openAboutVideoModal"] i {
        font-size: 1.5rem !important;
    }
    
    /* Egg Section */
    .bg-dark[style*="padding: 8rem"] {
        padding: 3rem 1rem !important;
    }
    
    .bg-dark [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .bg-dark [style*="gap: 6rem"] {
        gap: 2rem !important;
    }
    
    .bg-dark [style*="font-size: 3rem"] {
        font-size: 1.75rem !important;
    }
    
    .bg-dark [style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }
    
    /* Why Section */
    [style*="max-width: 48rem"] {
        max-width: 100% !important;
        margin-bottom: 3rem !important;
    }
    
    [style*="font-size: 3rem"][style*="Neden"] {
        font-size: 1.75rem !important;
    }
    
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    [style*="padding: 3rem"][style*="border-radius: 2.5rem"] {
        padding: 2rem 1.5rem !important;
    }
    
    /* News Section */
    [style*="font-size: 2.5rem"][style*="Bizden"] {
        font-size: 1.75rem !important;
    }
    
    [style*="grid-template-columns: repeat(4, 1fr)"][style*="gap: 1.5rem"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Local Unions Grid */
    [style*="grid-template-columns: 1fr 1fr"][style*="gap: 1rem"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Section Padding */
    .section {
        padding: 3rem 0 !important;
    }
    
    /* Large Margins */
    [style*="margin-bottom: 4rem"] {
        margin-bottom: 2rem !important;
    }
    
    [style*="margin-bottom: 6rem"] {
        margin-bottom: 3rem !important;
    }
    
    [style*="margin-top: 3rem"] {
        margin-top: 2rem !important;
    }
    
    /* Font Sizes */
    [style*="font-size: 1.25rem"] {
        font-size: 1.125rem !important;
    }
    
    [style*="font-size: 0.875rem"] {
        font-size: 0.8125rem !important;
    }
    
    /* Flex Gaps */
    [style*="gap: 2rem"][style*="flex"] {
        gap: 1rem !important;
    }
    
    /* Card Padding */
    [style*="padding: 1.5rem"][style*="background: white"],
    [style*="padding: 1.5rem"][style*="background: var(--bg)"] {
        padding: 1.25rem !important;
    }
    
    [style*="padding: 2rem"][style*="border-radius: 1.5rem"] {
        padding: 1.5rem !important;
    }
}

/* Small Mobile Specific */
@media (max-width: 480px) {
    #hakkimizda img[style*="height: 650px"] {
        height: 250px !important;
    }
    
    button[onclick*="openAboutVideoModal"] {
        width: 50px !important;
        height: 50px !important;
    }
    
    button[onclick*="openAboutVideoModal"] i {
        font-size: 1.25rem !important;
    }
    
    .bg-dark [style*="font-size: 3rem"] {
        font-size: 1.5rem !important;
    }
    
    [style*="font-size: 3rem"][style*="Neden"] {
        font-size: 1.5rem !important;
    }
    
    [style*="font-size: 2.5rem"][style*="Bizden"] {
        font-size: 1.5rem !important;
    }
    
    [style*="padding: 3rem"][style*="border-radius: 2.5rem"] {
        padding: 1.5rem 1rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
}

/* Dergi Flipbook Styles */
.dflip-book-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.dflip-book-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 0.5rem;
}

/* Flipbook Responsive */
@media (max-width: 768px) {
    .dflip-book-container iframe {
        min-height: 400px;
    }
    
    .modern-card[style*="padding: 0"] {
        border-radius: 0.75rem;
    }
    
    .modern-card[style*="padding: 0"] > div[style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .dflip-book-container iframe {
        min-height: 300px;
    }
}

/* Archive Yonetim Kurulu Mobile Fixes */
@media (max-width: 768px) {
    /* Yönetim Kurulu Grid */
    [style*="repeat(auto-fit, minmax(250px, 1fr))"] {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
    
    /* Başkan Avatar */
    [style*="width: 200px"][style*="height: 200px"][style*="border-radius: 50%"] {
        width: 150px !important;
        height: 150px !important;
    }
    
    /* Member Cards */
    .yonetim-kurulu-others-grid .modern-card img,
    .yonetim-kurulu-others-grid .modern-card [style*="width: 150px"] {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Section Spacing */
    [style*="margin-bottom: 4rem"][style*="padding-bottom: 3rem"] {
        margin-bottom: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Title Sizes */
    [style*="font-size: 1rem"][style*="text-transform: uppercase"] {
        font-size: 0.875rem !important;
    }
    
    [style*="font-size: 1.25rem"][style*="font-weight: 700"] {
        font-size: 1.125rem !important;
    }
    
    /* DENETLEME KURULU Title */
    [style*="font-size: 1.25rem"][style*="DENETLEME"] {
        font-size: 1rem !important;
        padding: 0.75rem !important;
    }
}

/* Archive Pages Mobile */
@media (max-width: 768px) {
    /* Archive Grids */
    .archive-haber [style*="grid-template-columns"],
    .archive-dergi [style*="grid-template-columns"],
    .archive-yumurta [style*="grid-template-columns"],
    .archive-yerel_birlik [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    /* Single Page Content */
    .single-haber .page-content [style*="grid-template-columns: 1fr 300px"],
    .single-dergi .page-content [style*="grid-template-columns: 1fr 300px"],
    .single-yumurta .page-content [style*="grid-template-columns: 1fr 300px"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Contact Page Grid */
    .templates-iletisim [style*="repeat(auto-fit, minmax(280px"] {
        grid-template-columns: 1fr !important;
    }
}

/* =====================================================
   Reklamlar Masonry Bölümü
   ===================================================== */
.reklamlar-section {
    padding: 5rem 0;
    background: var(--bg);
}

/* Reklam Alanı Mesajı */
.reklam-alani-mesaj {
    background: linear-gradient(135deg, var(--primary-color) 0%, #d4a574 100%);
    border-radius: 1rem;
    padding: 2rem;
    margin: 0 auto 3rem;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reklam-alani-mesaj:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 165, 116, 0.4);
}

.reklam-alani-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.reklam-alani-icon i {
    font-size: 1.75rem;
    color: white;
}

.reklam-alani-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.reklam-alani-text {
    color: white;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.reklam-alani-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.reklam-alani-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
}

.reklam-alani-phone i {
    font-size: 1.125rem;
}

.reklam-alani-phone span {
    letter-spacing: 0.05em;
}

.reklamlar-masonry-wrapper {
    width: 100%;
    max-width: 100%;
}

.reklamlar-masonry {
    column-count: auto;
    column-width: 300px;
    column-gap: 1.5rem;
    column-fill: balance;
    width: 100%;
    max-width: 100%;
    column-rule: none;
}

.reklam-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
}

.reklam-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.reklam-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.reklam-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.reklam-image {
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    line-height: 0;
}

.reklam-card:hover .reklam-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.reklam-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.reklam-title {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.reklam-title h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Responsive Reklamlar */
@media (min-width: 1400px) {
    .reklamlar-masonry {
        column-width: 300px;
        column-count: auto;
    }
}

@media (max-width: 1399px) and (min-width: 1100px) {
    .reklamlar-masonry {
        column-width: 280px;
        column-count: auto;
    }
}

@media (max-width: 1099px) and (min-width: 900px) {
    .reklamlar-masonry {
        column-width: 280px;
        column-count: auto;
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .reklamlar-masonry {
        column-width: 250px;
        column-count: auto;
    }
}

@media (max-width: 768px) {
    .reklamlar-masonry {
        column-count: 2;
        column-gap: 1rem;
    }
    
    .reklam-item {
        margin-bottom: 1rem;
    }
    
    .reklamlar-section h2 {
        font-size: 2rem;
    }
    
    .reklam-alani-mesaj {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .reklam-alani-content {
        align-items: center;
        width: 100%;
    }
    
    .reklam-alani-phone {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .reklamlar-masonry {
        column-count: 1;
        column-width: 100%;
    }
}

/* =====================================================
   Mobil Logo ve Toggle Icon Düzeltmeleri
   ===================================================== */
@media (max-width: 768px) {
    .site-logo-wrapper {
        flex-shrink: 1;
        min-width: 0;
    }
    
    .site-logo-img {
        height: 45px !important;
        max-width: 140px !important;
        width: auto;
    }
    
    .site-logo-scroll {
        height: 45px !important;
        max-width: 140px !important;
    }
    
    .site-logo-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.4rem !important;
    }
    
    .header-content {
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        width: 44px;
        height: 44px;
        flex-shrink: 0;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-toggle .menu-icon {
        width: 22px;
        height: 18px;
    }
    
    .mobile-menu-toggle .menu-icon span {
        height: 2.5px;
    }
}

/* =====================================================
   Yerel Birlik Hero Görseli
   ===================================================== */
.single-yerel_birlik .page-hero.has-custom-hero-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.single-yerel_birlik .page-hero.has-custom-hero-image::before {
    background: none !important;
}

.single-yerel_birlik .page-hero.has-custom-hero-image::after {
    background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.8) 100%) !important;
}

/* Yönetim Kurulu Üyesi Hero Görseli */
.single-yonetim_kurulu .page-hero.has-custom-hero-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

.single-yonetim_kurulu .page-hero.has-custom-hero-image::before {
    background: none !important;
}

.single-yonetim_kurulu .page-hero.has-custom-hero-image::after {
    background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.8) 100%) !important;
}

/* =====================================================
   Kategori Menülü Sayfa Şablonu
   ===================================================== */
.page-content--no-hero {
    padding-top: 0!important;
}

.kategori-menusu-listesi {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.kategori-menusu-listesi li {
    margin: 0;
}

.kategori-menusu-listesi a {
    display: block;
    padding: 0.65rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.kategori-menusu-listesi a:hover,
.kategori-menusu-listesi .current-menu-item > a {
    background: #e8f5e9;
    color: var(--primary-color);
}

.kategori-menusu-listesi .sub-menu {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.kategori-menusu-listesi .sub-menu a {
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
}

/* =====================================================
   Slider Shortcode [yumbir_slider] — Index hero gibi
   ===================================================== */
.yumbir-slider-shortcode {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

.yumbir-slider-shortcode .yumbir-slider-track {
    position: relative;
    min-height: 70vh;
}

.yumbir-slider-shortcode .yumbir-slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 5s ease, visibility 5s ease;
    z-index: 0;
}

.yumbir-slider-shortcode .yumbir-slider-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* İçerik yoksa: overlay yok, görsel tam cover, altta boşluk yok */
.yumbir-slider-shortcode .yumbir-slider-slide.yumbir-slide-no-content .hero-background::after {
    display: none;
}

.yumbir-slider-shortcode .yumbir-slider-slide.yumbir-slide-no-content .hero-background img {
    opacity: 1;
    filter: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yumbir-slider-shortcode .yumbir-slider-slide.yumbir-slide-no-content .hero-background {
    position: absolute;
    inset: 0;
}

.yumbir-slider-shortcode .yumbir-slider-slide.yumbir-slide-no-content .hero-video-wrapper video {
    object-fit: cover;
    object-position: center;
}

.yumbir-slider-shortcode .yumbir-slider-slide.yumbir-slide-no-content.active {
    min-height: 70vh;
}

.yumbir-slider-shortcode .yumbir-slider-prev,
.yumbir-slider-shortcode .yumbir-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: rgba(0,0,0,0.3);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}

.yumbir-slider-shortcode .yumbir-slider-prev:hover,
.yumbir-slider-shortcode .yumbir-slider-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.yumbir-slider-shortcode .yumbir-slider-prev {
    left: 1.5rem;
}

.yumbir-slider-shortcode .yumbir-slider-next {
    right: 1.5rem;
}

.yumbir-slider-shortcode .yumbir-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
}

.yumbir-slider-shortcode .yumbir-slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, transform 0.3s;
}

.yumbir-slider-shortcode .yumbir-slider-dot:hover,
.yumbir-slider-shortcode .yumbir-slider-dot.active {
    background: #fff;
}

.yumbir-slider-shortcode .yumbir-slider-dot.active {
    transform: scale(1.25);
}

/* =====================================================
   Anasayfa Popup (Tema Ayarları > Popup)
   ===================================================== */
.yumbir-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.yumbir-popup-overlay.yumbir-popup-visible {
    opacity: 1;
    visibility: visible;
}

.yumbir-popup-box {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.yumbir-popup-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s;
}

.yumbir-popup-close:hover {
    background: var(--primary-color, #267F2E);
}

.yumbir-popup-link {
    display: block;
    outline: none;
}

.yumbir-popup-image {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

