/* MODERN CSS V2 - ANA STİL SİSTEMİ */
:root {
    --primary: #1a237e;      /* Güven Veren Lacivert */
    --secondary: #ff6f00;    /* Aksiyon Turuncusu */
    --dark: #121212;
    --light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}
@font-face {
  font-family: 'MyFont';
  src: url('myfont.woff2');
  font-display: swap; /* Kritik ayar */
}
/* Sıfırlama */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; background: var(--white); overflow-x: hidden; }

/* Kapsayıcı (Container) Disiplini */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* LOGO KONTROLÜ (Garantili) */
.logo img { max-height: 125px; width: auto; object-fit: contain; }

/* HEADER (Navigasyon) */
header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a { text-decoration: none; color: var(--primary); font-weight: 600; font-size: 15px; transition: 0.3s; }
nav ul li a:hover { color: var(--secondary); }

/* SLIDER MODÜLÜ CSS */
.slider-section {
    padding: 20px 0; /* Üstten ve alttan hafif boşluk */
    background: #f9f9f9;
}

.slider-wrapper {
    border-radius: 15px; /* Modern görünüm için yuvarlatılmış köşeler */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-inner {
    height: 500px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    position: relative;
}

.slider-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
   background: linear-gradient(0deg, rgba(115, 135, 156, 0.9) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.slider-text {
    position: relative;
    z-index: 10;
    color: #fff;
    padding: 0 50px;
    max-width: 650px;
}

.badge-text {
    background: var(--secondary);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.slider-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.slider-actions { margin-top: 25px; }

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 11px 25px;
    border-radius: 50px;
    text-decoration: none;
    margin-left: 10px;
    font-weight: 600;
    transition: 0.3s;
}
/* SEO İçerik Alanı Düzenlemeleri */
.seo_content_section {
    background-color: #ffffff;
    padding-top: 50px;
}

.seo_text_box p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.lead_text {
    font-size: 18px !important;
    color: #333 !important;
    border-left: 4px solid var(--secondary);
    padding-left: 20px;
    margin-bottom: 40px !important;
}

.mt-40 { margin-top: 40px; }
.mt-30 { margin-top: 30px; }

/* Liste Düzenlemesi */
.check_list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.check_list li {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.check_list li i {
    color: var(--secondary);
    margin-right: 10px;
    font-size: 18px;
}

.benefits_box {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 12px;
    border: 1px dashed #ddd;
}

.seo_footer_note {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
}
/* REFERANSLAR V2 ÖZEL STİLLERİ */
.referanslar_v2_section {
    padding: 60px 0;
    background-color: #ffffff;
    border-top: 1px solid #f1f1f1;
}

.referans_logo_box {
    background: #fff;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f1f1;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 5px;
}

.referans_logo_box img {
    max-width: 140px !important; /* Logoların kutuyu patlatmasını önler */
    max-height: 70px !important;
    width: auto !important;
    filter: grayscale(100%); /* Başlangıçta gri tonlama */
    opacity: 0.6;
    transition: 0.4s;
}

.referans_logo_box:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.referans_logo_box:hover img {
    filter: grayscale(0%); /* Üzerine gelince orijinal renkler */
    opacity: 1;
}

/* Slider Oklarını ve Noktalarını Gizle/Düzenle */
.referans_slider .owl-dots {
    margin-top: 25px !important;
}
.referans_slider .owl-dot span {
    background: #ddd !important;
}
.referans_slider .owl-dot.active span {
    background: var(--secondary) !important;
}
/* İÇ SAYFA HEADER */
.page_header_v2 { background: var(--light); padding: 60px 0 40px; margin-bottom: 40px; }
.page_header_v2 h1 { color: var(--primary); font-weight: 700; font-size: 32px; }

/* EKSTRA DÜZENLEMELER */
.p-40 { padding: 40px; }
.sss_box { padding: 25px; margin-bottom: 20px; text-align: left !important; }
.sss_box h4 { color: var(--secondary); margin-bottom: 10px; font-weight: 600; }
.contact_info_box { padding: 30px; background: var(--primary); color: #fff; }
.contact_info_box h3 { color: #fff; margin-bottom: 20px; }
.contact_info_box p { color: #bbb; margin-bottom: 15px; }
.contact_info_box i { color: var(--secondary); margin-right: 10px; }

/* MODERN FORM */
.modern_form input, .modern_form textarea {
    width: 100%; padding: 12px; margin-bottom: 20px;
    border: 1px solid #ddd; border-radius: 5px; font-family: inherit;
}
/* GALERİ RESİM SABİTLEYİCİ */
.grid-system {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Resimleri yan yana dizer */
    gap: 20px;
    padding: 20px 0;
}

.gallery_item_v2 {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}

.gallery_img_box {
    position: relative;
    width: 100%;
    height: 250px; /* TÜM RESİMLERİ AYNI BOYDA TUTAR */
    overflow: hidden;
}

.gallery_img_box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* RESMİ BOZMADAN KUTUYA SIĞDIRIR */
    transition: 0.5s;
}

.gallery_item_v2:hover img {
    transform: scale(1.1); /* Hafif zoom efekti */
}

/* Üzerine gelince çıkan ikon katmanı */
.gallery_overlay_icon {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 35, 126, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: 0.3s;
}

.gallery_item_v2:hover .gallery_overlay_icon {
    opacity: 1;
}

/* İLETİŞİM SAYFASI RENK DÜZELTME */

/* Sol taraf (Lacivert Kart) */
.contact-sidebar {
    background: var(--primary) !important;
    color: #ffffff !important;
    padding: 30px;
    border-radius: 10px;
}

.contact-sidebar h3 { color: #ffffff !important; }
.contact-sidebar p { color: #eeeeee !important; }
.contact-sidebar span { color: rgba(255,255,255,0.7) !important; }

/* Sağ taraf (Beyaz Form Alanı) */
.contact-form-wrapper {
    background: #ffffff !important;
    padding: 40px;
}

.contact-form-wrapper h3 {
    color: var(--primary) !important; /* Başlık Lacivert */
}

/* Form kutularının içindeki yazı rengi (BURASI KRİTİK) */
.modern-form input, 
.modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #dddddd !important;
    border-radius: 8px;
    background: #f9f9f9 !important;
    color: #333333 !important; /* YAZI RENGİ SİYAH/KOYU GRİ */
    font-family: inherit;
}

/* Yazı yazarken kutu içi rengi */
.modern-form input:focus, 
.modern-form textarea:focus {
    border-color: var(--secondary) !important;
    background: #ffffff !important;
    color: #000000 !important; 
    outline: none;
}

/* Placeholder (İpucu) rengini gri yapalım */
.modern-form input::placeholder, 
.modern-form textarea::placeholder {
    color: #999999 !important;
}

/* MODERN NAVIGATION & DROPDOWN */
.main-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-menu li {
    position: relative;
    margin-left: 25px;
}

.main-menu li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
    padding: 10px 0;
    display: block;
}

.main-menu li a:hover, .dropbtn:hover {
    color: var(--secondary);
}

/* Dropdown Tasarımı */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 8px;
    top: 100%;
    left: 0;
    border-top: 3px solid var(--secondary);
    padding: 10px 0;
}

.dropdown-content a {
    color: var(--primary) !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.dropdown-content a i {
    margin-right: 10px;
    color: var(--secondary);
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--secondary) !important;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* HAKKIMIZDA V2 ÖZEL */
.about_content_v2 {
    background: #fff;
    padding: 20px 20px 20px 0;
}

.about_text_v2 {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.mission_vision_v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.m_item h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.m_item i { color: var(--secondary); margin-right: 5px; }

/* Sosyal Medya Butonları */
.about_social { margin-top: 40px; }
.about_social h4 { font-size: 16px; margin-bottom: 15px; }
.about_social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
}
.about_social .fb { background: #3b5998; }
.about_social .tw { background: #1da1f2; }
.about_social .ins { background: #e1306c; }
.about_social .wp { background: #25d366; }
.about_social a:hover { transform: translateY(-5px); opacity: 0.8; }

/* Video Kutusu */
.about_video_box {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about_video_box img { width: 100%; height: 250px; object-fit: cover; }

.play_btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70px; height: 70px;
    background: var(--secondary);
    color: #fff;
    border-radius: 50%;
    line-height: 70px;
    text-align: center;
    font-size: 25px;
    z-index: 5;
}

.about_video_box span {
    position: absolute;
    bottom: 15px; left: 20px;
    color: #fff; font-weight: 600; z-index: 5;
}

.mt-30 { margin-top: 30px; }
.rounded { border-radius: 15px; }
/* VİDEO OYNAT BUTONU */
.play_btn_overlay {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 60px; color: var(--secondary); opacity: 0.8; transition: 0.3s;
}
.video_card:hover .play_btn_overlay { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

/* RESPONSIVE VIDEO KUTUSU */
.video_container_v2 {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 15px; box-shadow: var(--shadow);
}
.video_container_v2 iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

/* SAYFALAMA (PAGINATION) */
.pagination_v2 a {
    display: inline-block; padding: 10px 18px; margin: 0 5px;
    background: #fff; border: 1px solid #ddd; border-radius: 5px;
    text-decoration: none; color: var(--primary); font-weight: 600;
}
.pagination_v2 a.active { background: var(--secondary); color: #fff; border-color: var(--secondary); }
.seo_footer_note p { color: #fff; margin: 0; }
.btn-outline:hover { background: #fff; color: var(--primary); }

/* Mobil Ayarlar */
@media (max-width: 768px) {
    .slider-inner { height: 350px; }
    .slider-text { padding: 0 20px; text-align: center; }
    .slider-text h2 { font-size: 24px; }
    .slider-text p { display: none; }
}
/* Yan Resim Kutusu (Video Kutusuyla Aynı Tasarım) */
.about_img_box_v2 {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

.about_img_box_v2 img {
    width: 100% !important;
    height: 300px !important; /* Yüksekliği sabitleyerek bozulmayı önledik */
    object-fit: cover !important; /* Resmi kutuya sığdırır, ezmez */
    display: block;
}

.img_badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: #fff;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
}

/* Sosyal Medya Grubu */
.about_social_v2 {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.about_social_v2 a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 12px; /* Karemsi yuvarlak */
    color: #fff;
    font-size: 20px;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about_social_v2 .fb { background: #3b5998; }
.about_social_v2 .ins { background: #e1306c; }
.about_social_v2 .wp { background: #25d366; }

.about_social_v2 a:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}
/* STICKY İLETİŞİM BARI CSS */
.sticky-contact-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 1px solid #eee;
}

.sticky-item {
    flex: 1;
    text-align: center;
    padding: 12px 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.sticky-item i { font-size: 20px; margin-bottom: 3px; }

/* Renkler */
.sticky-item.whatsapp { color: #25D366; border-right: 1px solid #eee; }
.sticky-item.phone { color: var(--primary); border-right: 1px solid #eee; }
.sticky-item.offer-btn { background: var(--secondary); color: #fff; }

/* Masaüstü Görünümü (Sağ Köşeye Alıyoruz) */
@media (min-width: 768px) {
    .sticky-contact-bar {
        width: auto;
        flex-direction: column;
        bottom: 100px;
        left: auto;
        right: 20px;
        background: transparent;
        box-shadow: none;
        border: none;
    }
    .sticky-item {
        width: 60px;
        height: 60px;
        border-radius: 50% !important;
        margin-bottom: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        border: none !important;
    }
    .sticky-item span { display: none; } /* Masaüstünde yazıya gerek yok, sadece ikon */
    .sticky-item i { font-size: 24px; margin: 0; }
    .sticky-item.whatsapp { background: #25D366; color: #fff; }
    .sticky-item.phone { background: var(--primary); color: #fff; }
}
/* HABER DETAY ÖZEL CSS */
/* Haber Detay Görsel Sabitleme */
.post_featured_image {
    width: 100%;
    max-height: 450px; /* Görselin maksimum yüksekliğini sınırladık */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post_featured_image img {
    width: 100%;
    height: 450px;
    object-fit: cover; /* Resmi ezmeden kutuya sığdırır */
}

/* Rightbar İçin Modern Dokunuşlar */
.sidebar_widget {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.sidebar_title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    color: #333;
}

.sidebar_links ul { list-style: none; padding: 0; }
.sidebar_links ul li { margin-bottom: 12px; border-bottom: 1px dashed #ddd; padding-bottom: 8px; }
.sidebar_links ul li a { color: #555; transition: 0.3s; font-weight: 500; }
.sidebar_links ul li a:hover { color: var(--secondary); padding-left: 5px; }
.blog_detail_card {
    padding: 30px;
}

.detail_img img {
    border-radius: 12px;
    margin-bottom: 25px;
    width: 100%;
}

.detail_meta {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.detail_meta span {
    margin-right: 20px;
    font-size: 14px;
    color: #888;
}

.detail_meta i { color: var(--secondary); margin-right: 5px; }

.detail_content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.detail_content p { margin-bottom: 20px; }

.post_share {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.post_share a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #f1f1f1;
    border-radius: 50%;
    margin-left: 10px;
    color: var(--primary);
    transition: 0.3s;
}

.post_share a:hover { background: var(--secondary); color: #fff; transform: translateY(-3px); }
/* HİZMET KARTLARI (Grid Sistemi) */
.section-padding { padding: 80px 0; }
.grid-system { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.modern-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #eee; transition: 0.3s; }
.modern-card:hover { transform: translateY(-10px); }
.card-img img { width: 100%; height: 240px; object-fit: cover !important; }
.card-body { padding: 25px; text-align: center; }

/* FOOTER */
footer { background: var(--dark); color: var(--white); padding: 60px 0 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-logo img { max-height: 50px; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer-bottom { background: #000; padding: 20px 0; border-top: 1px solid #222; text-align: center; font-size: 13px; color: #777; }

/* Butonlar */
.btn-main { background: var(--secondary); color: var(--white); padding: 12px 30px; border-radius: 50px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; border: none; }
.btn-main:hover { background: #e65100; transform: scale(1.05); }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; }
    nav ul { margin-top: 20px; }
    .hero-slider .item { height: 400px; }
    .hero-content h2 { font-size: 28px; }
}