/*
Theme Name: Özel Kurumsal Tema
Theme URI: https://example.com
Author: WordPress Developer
Author URI: https://example.com
Description: Kurumsal web siteleri için özel tasarlanmış modern WordPress teması. Slider, tab sistemi ve çok seviyeli menü desteği içerir.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ozel-kurumsal
Tags: custom-menu, featured-images, threaded-comments, translation-ready, blog, news
*/

/* ==================== TEMEL SIFIRLAMA ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

ul, ol {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== HEADER ==================== */
.site-header {
  /*  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%); */
	background: linear-gradient(135deg, #51b0e6 0%, #3588b8 100%);
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 100px;
    width: auto;
    border-radius: 10px;
}

.site-branding {
    flex: 1;
}

.site-title {
	align-items: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.site-title a {
    color: #1a365d;
}

.site-title a:hover {
    color: #63b3ed;
}

.site-description {
	align-items: center;
    font-size: 1rem;
    color: #1a365d;
    font-weight: 500;
}

/* ==================== NAVİGASYON MENÜ ==================== */
.main-navigation {
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
    padding: 0 15px;
}

.main-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.menu-item:hover > a {
    background: rgba(255,255,255,0.1);
    color: #63b3ed;
}

/* Alt Menü (Dropdown) */
.menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 8px;
    vertical-align: middle;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #2d3748;
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.sub-menu .menu-item > a {
    padding: 12px 20px;
    font-size: 0.9rem;
}

.sub-menu .menu-item > a:hover {
    background: #4a5568;
    padding-left: 25px;
}

/* İkinci Seviye Alt Menü (Yan Açılan) */
.sub-menu .menu-item-has-children > a::after {
    content: '▶';
    float: right;
}

.sub-menu .sub-menu {
    top: 0;
    left: 100%;
    border-radius: 0 8px 8px 8px;
}

/* ==================== SLIDER ==================== */
.slider-section {
    margin: 30px 0;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 40px;
    color: #fff;
}

.slide-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.slide-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ==================== TAB SİSTEMİ ==================== */
.tabs-section {
    margin: 50px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.tab-button {
    flex: 1;
    padding: 20px 25px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    color: #2b6cb0;
    background: #edf2f7;
}

.tab-button.active {
    color: #2b6cb0;
    background: #fff;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: #2b6cb0;
}

.tab-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

.tabs-content {
    padding: 30px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab İçerik Kartları */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.content-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

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

.content-card-image {
    height: 180px;
    overflow: hidden;
}

.content-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.content-card:hover .content-card-image img {
    transform: scale(1.05);
}

.content-card-body {
    padding: 20px;
}

.content-card-category {
    display: inline-block;
    padding: 5px 12px;
    background: #ebf8ff;
    color: #2b6cb0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 10px;
}

.content-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    line-height: 1.4;
}

.content-card-title a:hover {
    color: #2b6cb0;
}

.content-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #718096;
}

.content-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.content-card-excerpt {
    margin-top: 12px;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.view-all-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    background: #2b6cb0;
    color: #fff;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: #2c5282;
    transform: translateX(5px);
}

.ozel-slider-alani {
    display: flex;
    flex-wrap: wrap; /* Mobilde alt alta gelmesi için */
    gap: 20px;       /* Sütunlar arasındaki boşluk */
    padding: 40px 0;
    width: 100%;
    max-width: 1200px; /* Sayfa genişliğine göre ayarlayın */
    margin: 0 auto;
}

.slider-sutun {
    flex: 1;          /* Eşit genişlik sağlar */
    min-width: 300px; /* Mobilde 300px altına düşünce alt alta geçer */
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* Tablet ve Telefonlar için düzenleme */
@media (max-width: 768px) {
    .slider-sutun {
        flex: 1 1 100%; /* Mobilde tam genişlik kaplar */
    }
}






/* ==================== FOOTER ==================== */
.site-footer {
    background: #1a202c;
    color: #a0aec0;
    padding: 60px 0 30px;
    margin-top: 60px;
}

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

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4a5568;
}

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

.footer-column ul li a {
    color: #a0aec0;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-column ul li a:hover {
    color: #63b3ed;
    padding-left: 5px;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2b6cb0;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #63b3ed;
}

/* ==================== SAYFA İÇERİĞİ ==================== */
.page-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 30px 0;
}

.entry-title {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e2e8f0;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

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

.entry-content h2, .entry-content h3 {
    color: #2d3748;
    margin: 30px 0 15px;
}

/* ==================== RESPONSIVE TASARIM ==================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .site-title {
        font-size: 1.6rem;
    }
    
    .main-menu {
        flex-direction: column;
    }
    
    .menu-item > a {
        padding: 12px 15px;
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        display: none;
    }
    
    .menu-item.active > .sub-menu {
        display: block;
    }
    
    .sub-menu .sub-menu {
        position: static;
        padding-left: 20px;
    }
    
    .slide img {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 1.4rem;
    }
    
    .tabs-header {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
}

/* ==================== YARDIMCI SINIFLAR ==================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

