/* ==========================================================================
   1. TEMEL IZGARA (GRID) VE SIFIRLAMA (style.css'den)
   NOT: Eski yapı (Float) korundu çünkü HTML yapınız buna bağımlı olabilir.
   ========================================================================== */
.section { clear:both; padding:0; margin:0; }
.col { display:block; float:left; margin:1% 0 1% 1%; }
.col:first-child { margin-left:0; }
.group:before, .group:after { content:""; display:table; }
.group:after { clear:both; }
.group { zoom:1; }

/* Sütun Genişlikleri */
.span12 { width:100%; }
.span11 { width:91.58%; }
.span10 { width:83.16%; }
.span9 { width:74.75%; }
.span8 { width:66.33%; }
.span7 { width:57.91%; }
.span6 { width:49.5%; }
.span5 { width:41.08%; }
.span4 { width:32.66%; }
.span3 { width:24.25%; }
.span2 { width:15.83%; }
.span1 { width:7.416%; }

/* Görsel Temelleri */
.logo { max-width:100%; }
.logo img { max-height: 50px; }
.content img { height:auto; max-width: 100%; }
.p-15 { padding:15px; }

/* ==========================================================================
   2. FORM ELEMANLARI (style.css'den optimize edildi)
   ========================================================================== */
textarea, 
.abc input[type=text], .abc input[type=url], .abc input[type=tel], 
.abc input[type=email], .abc input[type=search], .abc select, 
[type="number"], .abc input[type=password] {
    line-height:21px;
    color:#444;
    border:1px solid #e1e1e1;
    width:100%;
    max-width:100%;
    border-radius:3px;
    padding:3px 9px;
}

textarea {
    height:168px;
    min-height:168px;
    padding:6px 9px;
    border-radius:4px;
}

.abc input[type=text], .abc input[type=url], .abc input[type=tel] { height:40px; }
.abc textarea:focus, .abc input:focus, .abc input[type]:focus { outline:0 none; }

.abc input[type=submit], .dahafazla, .abc button[type=submit] {
    background-color:#222222;
    border-radius:3px;
    color:#fff;
    font-weight:bold;
    border:none;
    padding:8px 15px;
    transition:background-color 0.4s;
    cursor:pointer;
}

.abc p { margin-bottom: 10px; }

/* ==========================================================================
   3. HERO SECTION (hero.css'den)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 600px; 
    height: 95vh;
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-align: center;
    color: #ffffff; 
    background-image: url('/tema/blog/uploads/logo/hero.webp'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    contain: content; 
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.55); 
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 900px; 
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); 
}

.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);  
    font-weight: 800;  
    color: #FFFFFF;  
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #E0E0E0;  
    margin: 0 auto 40px;
    font-weight: 400; 
    max-width: 700px;
}

/* Chevron Scroll Animasyonu */
.scroll-indicator.chevron-scroll {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    cursor: default;
    height: 50px;
}

.chevron {
    position: absolute;
    width: 28px; height: 8px;
    opacity: 0;
    transform: scale(0.3);
    animation: movechevrons 3s infinite ease-out;
}

.chevron:before, .chevron:after {
    content: ''; position: absolute; top: 0; height: 100%; width: 50%;
    background: #ffffff;
}
.chevron:before { left: 0; transform: skewY(45deg); }
.chevron:after { right: 0; transform: skewY(-45deg); }
.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.5s; }
.chevron:nth-child(3) { animation-delay: 1s; }

@keyframes movechevrons {
    0% { opacity: 0; transform: scale(0.3) translateY(-10px); }
    30% { opacity: 1; transform: scale(0.3) translateY(10px); }
    50% { opacity: 1; transform: scale(0.3) translateY(20px); }
    90% { opacity: 0; transform: scale(0.3) translateY(30px); }
    100% { opacity: 0; transform: scale(0.3) translateY(-10px); }
}

/* Hero Butonları */
.hero-actions {
    display: flex; justify-content: center; gap: 20px; margin-top: 35px;
}

.btn-large {
    padding: 12px 30px;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px; 
    text-decoration: none;
    transition: all 0.2s ease-out;
    display: inline-block;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: transparent;
    color: #D64608;
    border: 2px solid #D64608;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); 
}
.btn-primary:hover {
    background-color: #D64608; color: #ffffff;
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(214, 70, 8, 0.5);
}

.btn-secondary {
    background-color: #D64608; color: #ffffff;
    border: 2px solid #D64608;
    box-shadow: 0 5px 15px rgba(214, 70, 8, 0.3);
}
.btn-secondary:hover {
    background-color: #A33606; color: #ffffff; border-color: #A33606;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 70, 8, 0.6);
}
.btn-secondary:active, .btn-primary:active { transform: translateY(0); }

/* ==========================================================================
   4. UI MODÜLLERİ VE KARTLAR (tumcssler.css'den)
   ========================================================================== */

/* Genel Wrapper ve Carousel */
.wrapper { background-color: #fcfcfc; padding-bottom: 40px; }
.carousel { margin-top: 30px; margin-bottom: 40px; }

/* Sidebar ve Popüler Modüller */
.popular-module .item {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;  
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);  
    padding: 15px;  
    margin-bottom: 15px;  
    transition: transform 0.4s ease, box-shadow 0.4s ease;  
}
.popular-module .item:hover {
    transform: translateY(-3px);  
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);  
    cursor: pointer;  
}
.popular-module .item:hover .a-content .title a { color: #ff5810; }
.popular-module .item .a-content .title a {
    color: #ffffff; font-weight: 700; transition: color 0.4s ease;
}

/* Carousel Items */
.carousel-big .carousel-item, .carousel-small .carousel-item {
    border-radius: 12px; overflow: hidden; border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);  
    transition: box-shadow 0.3s ease;
}
.carousel-big .carousel-item:hover, .carousel-small .carousel-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);  
}

/* Ana Sayfa Liste Elemanları (Item-List) */
.item-list {
    background-color: #ffffff;
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);  
    padding: 20px;
    margin-bottom: 30px;  
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;  
}
.item-list:hover {
    transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);  
}
.item-list .item-content .title a {
    color: var(--color-text-dark, #333); font-weight: 700; transition: color 0.2s ease;
}

/* Item Thumb (Resim Alanı) */
.item-list .item-thumb {
    width: 100%; height: 160px; overflow: hidden; position: relative;
    border-radius: 12px 12px 0 0;
}
.item-list .item-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .item-list .item-thumb:hover img { transform: scale(1.05); }
}

/* Load More Container ve Düzeni */
.load-more-container {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px;
}
.load-more-container .item-list {
    width: calc(50% - 15px); box-sizing: border-box;
    display: flex; flex-direction: column;
    background-color: #ffffff; border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; padding: 0; margin: 0; 
}
@media (hover: hover) and (pointer: fine) {
    .load-more-container .item-list:hover {
        transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* Item Content Detayları */
.item-list .item-content {
    width: 100%; padding: 15px; box-sizing: border-box;
    display: flex; flex-direction: column; flex-grow: 1;
}

.item-list .item-content .category-tag { margin-bottom: 10px; margin-top: -5px; }
.item-list .item-content .category-tag a {
    display: inline-block; padding: 4px 10px; border-radius: 4px;
    background-color: #f1f8ff; color: #007bff; border: 1px solid #d4e7ff;
    text-decoration: none; font-size: 0.85em; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .item-list .item-content .category-tag a:hover {
        background-color: #2e7d32; color: #ffffff; border-color: #2e7d32;
    }
}

.item-list .item-content .title {
    font-size: 1.2em; color: #2e7d32; margin: 0 0 2px 0; line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; min-height: calc(1.3em * 2);
}
@media (hover: hover) and (pointer: fine) {
    .item-list .item-content .title a:hover { color: #ff5810; }
}

.item-list .item-content .post-summary p {
    font-size: 0.95em; color: #555; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; min-height: calc(1.6em * 3);
}
.item-list .item-content .post-meta {
    font-size: 0.85em; color: #777; margin-top: 5px; margin-bottom: 15px;
}

/* ==========================================================================
   5. BİLEŞENLER (Breadcrumb, Sosyal Medya, Quick Links, SSS)
   ========================================================================== */

/* Breadcrumb */
.breadcrumb-nav {
    background-color: #f9f9f9; padding: 10px 15px; border-radius: 4px; margin-bottom: 0px;
}
.breadcrumb-list {
    list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; font-size: 14px;
}
.breadcrumb-item a { text-decoration: none; color: #2e7d32; transition: color 0.3s; }
.breadcrumb-item a:hover { color: #1b5e20; text-decoration: underline; }
.breadcrumb-item span { color: #555; }
.breadcrumb-item::after { content: "/"; margin: 0 5px; color: #999; }
.breadcrumb-item:last-child::after { content: ""; }

/* Sosyal Medya Modülü */
.sosyal_module ul { padding-left: 0; list-style: none; }
.sosyal_module ul li {
    display: block; margin-bottom: 10px; border-radius: 8px; overflow: hidden;
    background-color: #ffffff; border: 1px solid var(--color-border-light, #eee);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.sosyal_module ul li a {
    display: flex; align-items: center; padding: 12px 15px; text-decoration: none;
    color: var(--color-text-medium, #555); position: relative; z-index: 2;
}
.sosyal_module ul li:hover {
    transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); border-color: transparent;
}
.sosyal_module ul li a::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: transparent; z-index: 1;
}

/* Quick Links (hero.css'den) */
.quick-links-section { padding: 0; margin: 0 0 60px 0; border-radius: 8px; }
.quick-links-container {
    display: flex; flex-wrap: wrap; gap: 20px; justify-content: center;
    max-width: 1200px; margin: 0 auto; padding: 0 15px;
}
.quick-link-card {
    flex: 1 1 250px; max-width: 300px; background-color: #fff;
    border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; padding: 25px; border-top: 4px solid #2e7d32;
}
.quick-links-section .container .h2-kapsayici { text-align: center !important; }
.quick-link-card:hover {
    transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top-color: #D64608;
}
.quick-link-card a { text-decoration: none; color: #333; display: block; }
.card-icon { font-size: 40px; color: #2e7d32; margin-bottom: 10px; }
.card-title { font-size: 1.2em; font-weight: 600; margin-bottom: 5px; }
.card-description { font-size: 0.9em; color: #666; }

/* SSS Kutusu */
.sss-container.section {
    border: 1px solid #e0e0e0; border-radius: 10px; padding: 25px;
    margin: 35px 0; background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); transition: box-shadow 0.3s ease;
}
.sss-container.section:hover { box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12); }
.sss-container .sss-baslik {
    font-size: 20px; font-weight: 700; color: #343a40;
    border-bottom: 3px solid #ff5810; padding-bottom: 10px;
    margin-bottom: 15px; display: inline-block;
}
.sss-content h3 {
    font-size: 16px; color: #ff5810; margin-top: 20px; margin-bottom: 5px; font-weight: 600;
}

/* Modül Başlıkları (Ortalanmış) */
.modul-baslik-ortalanmis {
    display: inline-block; border-bottom: 3px solid #ff8c00;
    padding-bottom: 5px; font-size: 2em; color: #2e7d32;
    font-weight: bold; text-transform: uppercase;

}
.content .h2-kapsayici { text-align: center; }
#social_widget-1 { margin-bottom: 0; }

/* ==========================================================================
   6. DİĞER BÖLÜMLER (Reklamlar, İlgili Yazılar, ScrollToTop)
   ========================================================================== */

/* Reklam Alanı (kutu1 ve reklam-grid) */
.kutu1:hover {
    transform: scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); cursor: pointer;
}
.reklam-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
    margin-top: 20px; padding: 20px; border: 1px solid #f1f1f1;
    border-radius: 5px; background-color: #fafafa;
}
.reklam-item { display: block; text-align: center; text-decoration: none; }
.reklam-item img {
    width: 120px !important; min-width: 120px; height: 100px !important;
    max-width: 120px; object-fit: cover; display: block; margin: 0 auto; border-radius: 4px;
}

/* İlgili Makaleler */
.related-posts {
    margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee;
}
.related-module {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;
}
.related-module .item {
    background: #fff; border: 1px solid #f0f0f0; border-radius: 4px;
    overflow: hidden; display: flex; flex-direction: column;
}
.related-module .item-thumb img { width: 100%; height: auto; display: block; }
.related-module .b-content { padding: 10px 15px 15px; }
.related-module .title a {
    font-size: 16px; line-height: 1.3; color: #333;
    font-weight: 600; display: block; margin-bottom: 8px;
}
.related-module .post-meta {
    padding: 0; margin: 0; border: none; font-size: 12px; color: #999;
}
/* Makaledeki Tarih Bilgisi */
.entry-meta ul {
    display: flex; justify-content: space-between; align-items: center;
    list-style: none; padding: 0; margin: 0; width: 100%; flex-wrap: wrap;
}
.entry-meta ul .post-time { margin-left: auto; }

/* Scroll To Top Butonu */
#scrollToTopBtn {
    position: fixed; bottom: 50px; right: 30px; z-index: 10000;
    width: 45px; height: 45px; background-color: #2e7d32;
    color: #ffffff; border: none; border-radius: 50%; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2em; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
#scrollToTopBtn.show { opacity: 1; visibility: visible; }
#scrollToTopBtn:hover { background-color: #2e7d32; transform: translateY(-3px); }

/* ==========================================================================
   7. MEDYA SORGULARI (MOBİL VE TABLET UYUMU)
   ========================================================================== */

/* Genel Tablet ve Mobil (max 900px) */
@media (max-width: 900px) {
    #scrollToTopBtn { bottom: 40px; right: 20px; }
}

/* Tablet (max 768px) */
@media (max-width: 768px) {
    /* Hero */
    .hero-section { min-height: 450px; height: 60vh; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-actions { flex-direction: column; gap: 15px; max-width: 300px; margin: 25px auto 0; }
    .btn-large { padding: 14px 20px; width: 100%; border-radius: 10px; }
    
    /* Breadcrumb */
    .breadcrumb-list { font-size: 13px; }
    
    /* Load More Kartları */
    .load-more-container { gap: 20px; }
    .load-more-container .item-list { width: 100%; }
    .item-list .item-thumb { height: 180px; border-radius: 12px 12px 0 0; }
    
    /* İlgili Makaleler */
    .related-module { grid-template-columns: 1fr; }
}

/* Küçük Mobil (max 600px ve 576px) */
@media (max-width: 600px) {
    .quick-link-card { flex: 1 1 100%; max-width: none; }
}

@media (max-width: 576px) {
    /* Reklamlar */
    .reklam-grid { grid-template-columns: 1fr; padding: 10px; }
    .reklam-item { text-align: center; }
    .reklam-item img { margin: 0 auto; }
    
    /* Sosyal Medya */
    .widget_social .sosyal_module ul { flex-direction: column; border: none; }
    .widget_social .sosyal_module ul li { border-right: none; border-bottom: 1px solid #eee; }
    .widget_social .sosyal_module ul li:last-child { border-bottom: none; }
}

/* ==================================== */
/* YOUTUBE BÖLÜMÜ */
/* ==================================== */
.youtube-section {
    padding: 50px 0;
    background: #f9f9f9;
    margin-top: 30px; /* Üstteki bölümle yapışmaması için */
}

.youtube-grid {
    display: grid;
    /* Mobilde 1, Tablette 2, Masaüstünde 3 yan yana olacak şekilde otomatik ayarlar */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px;
    margin-bottom: 30px;
}

.youtube-card {
    position: relative;
    width: 100%;
    /* Videoların her zaman 16:9 oranında kalmasını sağlar */
    aspect-ratio: 16 / 9; 
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.youtube-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.youtube-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-button-container {
    text-align: center;
    margin-top: 30px;
}