/* =========================================
   1. GENEL AYARLAR VE FONTLAR
   ========================================= */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; src: url('../webfonts/poppins-v24-latin-300.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; src: url('../webfonts/poppins-v24-latin-regular.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; src: url('../webfonts/poppins-v24-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; src: url('../webfonts/poppins-v24-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; src: url('../webfonts/poppins-v24-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; src: url('../webfonts/poppins-v24-latin-800.woff2') format('woff2'); }

:root {
    --primary-color: #0056b3;
    --secondary-color: #00a86b;
    --accent-color: #00c9ff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex; flex-direction: column; min-height: 100vh;
    font-size: 16px; /* Temel font boyutu */
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
h1, h2, h3, h4 { margin-top: 0; font-weight: 700; line-height: 1.2; }

/* Genel Başlık Boyutları (PX) */
h1 { font-size: 35px; } 
h2 { font-size: 30px; }
h3 { font-size: 24px; }

.center-title { text-align: center; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }

/* =========================================
   2. HEADER & MENÜ
   ========================================= */
header {
    background-color: var(--bg-white);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky; top: 0; 
    z-index: 1000;
}
.header-container { 
    display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1010;
}
.logo-container { display: flex; align-items: center; margin-left: -15px; }
.site-logo { height: 65px; width: auto; display: block; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.05)); transition: transform 0.3s; }
.logo-container:hover .site-logo { transform: scale(1.03); }

nav ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; }
nav ul li { margin-left: 30px; }
nav ul li a { 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 15px; 
    padding: 10px 0; 
    position: relative; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}
nav ul li a.active { color: var(--primary-color); font-weight: 700; }
nav ul li a:not(.btn-nav):hover { color: var(--primary-color); }

/* Menüdeki Teklif Al Butonu */
.btn-nav { 
    background: var(--gradient-secondary) !important; 
    color: white !important; 
    padding: 12px 30px !important; 
    border-radius: 50px !important; 
    font-size: 14px !important; 
    box-shadow: 0 4px 10px rgba(0, 168, 107, 0.2); 
    display: inline-block;
}
.btn-nav:hover { background: var(--gradient-primary) !important; transform: translateY(-2px) !important; }

.menu-toggle { display: none; font-size: 28px; color: var(--text-dark); cursor: pointer; position: relative; z-index: 1020; }
.header-right { display: flex; align-items: center; gap: 15px; margin-left: auto; }

/* Dil Seçici */
.lang-dropdown { position: relative; display: inline-block; margin-left: -5px; z-index: 1100; }
.lang-btn { background-color: transparent; border: 1px solid rgba(0,0,0,0.1); border-radius: 30px; padding: 5px 10px; cursor: pointer; display: flex; align-items: center; gap: 8px; transition: all 0.3s ease; background: #fff; }
.lang-btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.lang-btn img { width: 32px; height: 22px; object-fit: cover; border-radius: 5px; border: 1px solid #eee; display: block; }
.lang-content { display: none; position: absolute; right: 0; top: 120%; left: auto; min-width: auto; width: 60px; background-color: #f9f9f9; box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2); border-radius: 10px; z-index: 1000; overflow: hidden; padding: 5px 0; }
.lang-dropdown.active .lang-content { display: block; }
.lang-content a { color: black; padding: 8px 10px; text-decoration: none; display: flex; justify-content: center; align-items: center; }
.lang-content a:hover { background-color: #e1e1e1; }
.lang-content img { width: 32px; height: 22px; border-radius: 4px; object-fit: cover; border: 1px solid #ddd; }

/* =========================================
   3. HERO BÖLÜMLERİ (ÖNEMLİ DÜZENLEMELER)
   ========================================= */
.main-content { flex: 1; }

/* A) ANASAYFA HERO (Mavi-Yeşil Geçişli & Büyük Yazı) */
.hero-section {
    position: relative; height: 650px;
    background: url('../images/hero.webp') center/cover no-repeat;
    display: flex; align-items: center; color: white; text-align: left; 
}
.hero-section .hero-overlay { 
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: linear-gradient(to right, rgba(0, 86, 179, 0.9), rgba(0, 168, 107, 0.6)); 
    z-index: 0;
}

.hero-content { 
    position: relative; z-index: 1; width: 100%; 
    max-width: 1000px; margin: 0 auto; padding: 0 20px 0 70px;
}

/* Anasayfa Başlığı (Masaüstü: 2 Satıra Zorlama ve İdeal Boyut) */
.hero-content h1 { 
    font-size: 55px; /* PC için büyük ve okunaklı */
    margin-bottom: 20px; 
    line-height: 1.2; 
    font-weight: 800; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px; /* Yazıyı 2 satırda tutmak için genişlik sınırı */
    margin-left: 0; /* Sola yaslı */
}
.hero-content p { 
    font-size: 20px; margin-bottom: 40px; 
    opacity: 0.95; max-width: 800px; margin-right: auto; 
}
.hero-buttons { display: flex; gap: 20px; justify-content: left; }

/* B) DİĞER SAYFALAR HERO (Siyah Tonlu & Daha Küçük) */
.hero-section2 {
    position: relative; height: 400px; 
    display: flex; align-items: center; color: white; text-align: left; 
}
/* Diğer sayfalarda MAVİ YOK, Siyah transparan var */
.hero-section2 .karartma { 
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; 
    background: rgba(0, 0, 0, 0.5) !important; 
    z-index: 0;
}
.hero-section2 .container { position:relative; z-index:1; text-align:center; color:white; }

/* Diğer sayfalar başlık boyutu */
.hero-section2 h1 { font-size: 45px; margin-bottom: 10px; font-weight: 700; }      
.hero-section2 p { font-size: 20px; opacity: 0.9; margin-top: 10px; }  

/* Butonlar */
.btn { display: inline-block; padding: 15px 40px; border-radius: 50px; font-weight: 700; text-align: center; cursor: pointer; transition: all 0.3s ease; border: none; font-size: 16px; }
.btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 15px rgba(0, 86, 179, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 6px 25px rgba(0, 86, 179, 0.6); }
.btn-outline { background: rgba(255,255,255,0.1); border: 2px solid white; color: white; backdrop-filter: blur(5px); }
.btn-outline:hover { background: white; color: var(--primary-color); }

/* =========================================
   4. SECTIONS & GRIDS
   ========================================= */
.section { padding: 80px 0; }
.section-title { font-size: 42px; margin-bottom: 15px; color: var(--text-dark); font-weight: 700; }
.section-subtitle { font-size: 18px; color: var(--text-light); margin-bottom: 50px; }

/* Hizmetler Grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; width: 100%;}
.service-card { background: var(--bg-white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid var(--border-color); display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.service-card:hover { transform: translateY(-10px); border-color: var(--accent-color); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-image { height: 200px; background-size: cover; background-position: center; position: relative; }
.icon-box { position: absolute; bottom: -20px; right: 20px; background: var(--gradient-secondary); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.card-content { padding: 25px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 20px; margin-bottom: 10px; margin-top: 10px; font-weight: 700; }
.card-content p { font-size: 15px; color: #666; margin-bottom: 15px; flex: 1; }
.read-more { color: var(--primary-color); font-weight: 600; font-size: 14px; margin-top: auto; }

/* =========================================
   5. ÇÖZÜM ORTAKLARI (DÜZELTİLDİ)
   ========================================= */
.partners-section { 
    background-color: var(--bg-light); 
    padding: 60px 0; 
    overflow: hidden; 
    text-align: center; /* Başlığı ortalar */
}
/* Başlık bandın içinde değil, üstünde dursun */
.partners-section h2.section-title {
    margin-bottom: 50px; 
    display: block;
}
.partners-track { 
    display: flex; 
    gap: 50px; 
    width: max-content; 
    animation: scroll 60s linear infinite; 
    align-items: center; 
}
.partner-logo-box { 
    display: flex; align-items: center; justify-content: center; 
    width: 180px; height: 80px; padding: 0 15px; 
}
.partner-logo-img { 
    max-height: 55px !important; /* Logolar taşmasın */
    max-width: 100% !important; 
    width: auto !important; 
    height: auto !important; 
    object-fit: contain; 
    filter: grayscale(100%) opacity(0.6); 
    transition: all 0.3s ease; 
    cursor: pointer; display: block;
}
.partner-logo-img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.1); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================
   6. KURUMSAL (SIFIRDAN DÜZELTİLMİŞ)
   ========================================= */

/* Ana Taşıyıcı: Yan yana düzen */
.about-wrapper { 
    display: flex; 
    align-items: center; /* Dikey ortalama */
    gap: 60px; /* Resim ile yazı arası boşluk */
    padding: 40px 0;
}

/* Sol Taraf: Resim Alanı */
.about-img { 
    flex: 1; 
    position: relative; /* Rozet buna göre konumlanacak */
}

/* Ana Resim */
.about-img .main-img { 
    width: 100%; 
    height: auto; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
    display: block;
}

/* ROZET GRUBU (Mavi Kutu + Logo) */
.badge-group {
    position: absolute;
    bottom: -30px; /* Resmin altından taşma miktarı */
    right: -220px;  /* Resmin sağından taşma miktarı */
    display: flex;
    align-items: center;
    gap: 15px; /* Kutu ile logo arası boşluk */
    z-index: 10;
}

/* 1. Mavi Kutu */
.blue-badge { 
    background: var(--primary-color); 
    color: white; 
    padding: 30px 30px; 
    border-radius: 15px; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.3); 
    min-width: 100px;
}
.blue-badge span { 
    font-size: 40px; 
    font-weight: 800; 
    line-height: 1; 
    display: block; 
}
.blue-badge p { 
    margin: 0; 
    font-size: 14px; 
    font-weight: 600; 
    text-transform: uppercase; 
}

/* 2. Yanındaki Logo */
.badge-logo-bg {
    border-radius: 12px;
    height: 40px; /* Kutu yüksekliği */
  	transform: translateY(-20px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.badge-logo-bg img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
}

/* Sağ Taraf: Yazı Alanı */
.about-text { flex: 1; }
.about-text h2 { font-size: 36px; margin-bottom: 20px; color: var(--text-dark); }
.about-text p { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 15px; }

/* MOBİL UYUM (TELEFON) */
@media (max-width: 900px) {
    .about-wrapper { 
        flex-direction: column; /* Alt alta al */
        gap: 40px;
    }
    
    .about-img { 
        width: 100%; 
        margin-bottom: 40px; /* Rozet için alttan boşluk bırak */
    }

    /* Mobilde rozeti ortala veya sağa yaslı bırak ama taşmayı engelle */
    .badge-group {
        bottom: -40px;
        right: 0;
    }
    
    .blue-badge { padding: 15px 20px; }
    .blue-badge span { font-size: 30px; }
}
/* =========================================
   7. DİĞER BİLEŞENLER
   ========================================= */
.insights-section { background: var(--bg-white); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.insight-card { background: var(--bg-white); border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.insight-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.insight-image { height: 200px; background-size: cover; background-position: center; }
.insight-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.insight-meta { font-size: 14px; color: var(--accent-color); margin-bottom: 10px; font-weight: 600; }
.insight-content h3 { font-size: 20px; margin-bottom: 15px; color: var(--text-dark); }
.insight-content p { color: #777; margin-bottom: 20px; flex: 1; }
.insight-content .read-more { margin-top: auto; }

footer { background-color: #212529; color: #adb5bd; padding: 80px 0 30px; margin-top: auto; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-logo { height: 50px; margin-bottom: 20px; filter: brightness(0) invert(1); width: auto; }
.footer-desc { margin-top: 20px; max-width: 400px; }
.footer-bottom { border-top: 1px solid #343a40; padding-top: 30px; text-align: center; }
.social-icons { margin-top: 25px; margin-bottom: 30px; display: flex; gap: 15px; }
.social-icons a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; font-size: 18px; transition: all 0.3s ease; text-decoration: none; }
.social-icons a:hover { background: var(--primary-color); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4); }

.stats-section { background: var(--bg-light); padding: 60px 0; margin: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item i { font-size: 40px; color: var(--secondary-color); margin-bottom: 15px; }
.stat-item h3 { font-size: 40px; margin: 0; color: var(--text-dark); }
.stat-item p { color: var(--text-light); }

.detailed-services-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px; }
.detail-card { background: var(--bg-white); border: 1px solid #eee; border-radius: 15px; overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.detail-card-img { height: 250px; width: 100%; overflow: hidden; }
.detail-card-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-card-content { padding: 30px; flex: 1; }

.page-grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.sidebar-box { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 20px; }
.sidebar-link { display: block; padding: 12px; background: #f8f9fa; border-radius: 5px; color: #333; margin-bottom: 5px; }
.sidebar-link.active { background: var(--primary-color); color: white; }
.form-input, .form-textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; box-sizing: border-box; }
.contact-map-frame { width: 100%; height: 300px; border: 0; border-radius: 15px; }

#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #222; color: white; padding: 15px 20px; box-shadow: 0 -5px 15px rgba(0,0,0,0.1); z-index: 9999; display: none; text-align: center; gap: 20px; justify-content: center; align-items: center; }
#cookie-banner button { background-color: var(--secondary-color); color: white; border: none; padding: 8px 20px; border-radius: 20px; cursor: pointer; }
#cookie-banner button:hover { background-color: var(--primary-color); }

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25D366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; z-index: 10000; display: flex; align-items: center; justify-content: center; box-shadow: 2px 2px 3px rgba(0,0,0,0.3); transition: transform 0.3s ease-in-out, box-shadow 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 4px 4px 10px rgba(0,0,0,0.5); }

/* AKORDİYON */
.mv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; padding-bottom: 80px; }
.mv-card { background: var(--bg-white); padding: 40px; border-radius: 15px; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.mv-card:hover { transform: translateY(-10px); border-color: var(--accent-color); }
.mv-card h3.accordion-header { cursor: pointer; margin-bottom: 0; transition: color 0.3s; padding-bottom: 15px; display: flex; justify-content: space-between; align-items: center; color: var(--primary-color); background: transparent; font-size: 20px; font-weight: 600; }
.mv-card:hover h3.accordion-header { color: var(--secondary-color); }
.accordion-icon { font-size: 16px; transition: transform 0.3s ease; }
.accordion-header.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; padding-top: 0; padding-bottom: 0; border-top: 1px solid var(--border-color); }
.mv-card:hover .accordion-content, .accordion-header.active + .accordion-content { max-height: 500px !important; padding-top: 15px; padding-bottom: 10px; }

/* Liste Tikleri */
.detail-check-list { list-style: none !important; padding-left: 0; margin-top: 20px; }
.detail-check-list li { margin-bottom: 5px; font-size: 15px; display: flex; align-items: center; }
.detail-check-list i { color: var(--secondary-color) !important; margin-right: 12px; min-width: 25px; text-align: center; }


/* =========================================
   8. RESPONSIVE / MOBİL AYARLAR
   ========================================= */

/* Tablet (1200px altı) */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .insights-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 50px; }
}

@media (max-width: 900px) {
    .about-wrapper { flex-direction: column; }
    /* Rozeti mobilde biraz küçült ve içeri al */
    .exp-badge { right: 10px; bottom: -20px; padding: 20px; min-width: 120px; }
    .exp-badge span { font-size: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
    .page-grid-2-1, .contact-grid { grid-template-columns: 1fr; }
}

/* Masaüstü Navigasyon */
@media (min-width: 769px) {
    nav { margin-left: auto; margin-right: 20px; }
    .header-right { margin-left: 0; }
    .menu-toggle { display: none; }
}

/* --- MOBİL TELEFON (768px altı) --- */
@media (max-width: 768px) {
    /* Menu Toggle Görünsün */
    .menu-toggle { display: block; margin-left: 0; font-size: 28px; color: var(--text-dark); cursor: pointer; }
    .header-container { padding: 0 10px; justify-content: space-between; align-items: center; }
    
    /* Navigasyon Mobilde Gizle / Aç */
    nav ul#nav-list { 
        display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; 
        background-color: var(--bg-white); box-shadow: 0 10px 15px rgba(0,0,0,0.1); padding: 20px 0; 
        text-align: center; border-top: 1px solid #eee; margin: 0; z-index: 1050;
    }
    nav ul#nav-list.active { display: flex; }
    nav ul li { margin: 15px 0; width: 100%; }
    .btn-nav { width: 80%; margin: 0 auto; display: block; }
    
    /* Logo */
    .site-logo { height: 50px; }
    .logo-container { margin-left: 0; }
    
    /* Gridler */
    .services-grid, .insights-grid, .detailed-services-wrapper { 
        display: grid; 
        grid-template-columns: 1fr; /* Tek kolon */
        gap: 30px; 
    }
    .service-card { max-width: 400px; margin: 0 auto; width: 100%; } 
    .footer-content { display: grid; grid-template-columns: 1fr; text-align: center; gap: 30px; }

    /* ANASAYFA HERO (MOBİL İÇİN TAM OTURAN YAZI) */
    .hero-section { text-align: center !important; height: auto; padding: 80px 0; }
    .hero-content { padding: 0 15px !important; margin: 0 auto !important; text-align: center !important; width: 100% !important; }
    
    /* Mobilde yazı boyutu: 28px (Sığması için ideal) */
    .hero-content h1 { 
        font-size: 28px; 
        line-height: 1.3; 
        margin-left: auto !important; margin-right: auto !important; margin-bottom: 15px; 
        width: 100%; 
    }
    .hero-content p { margin-left: auto !important; margin-right: auto !important; font-size: 16px; padding: 0 10px; }
    .hero-buttons { display: flex !important; flex-direction: column !important; align-items: center !important; gap: 15px !important; }
    .btn { width: 100% !important; max-width: 280px !important; }

    /* ALT SAYFA HERO (MOBİL) */
    .hero-section2 { height: 250px; }
    .hero-section2 h1 { font-size: 28px; margin-bottom: 5px; }      
    .hero-section2 p { font-size: 16px; } 
    
    /* Partner Logoları Mobil Ayarı */
    .partner-logo-box { width: 100px; height: 60px; padding: 0 5px; }
    .partner-logo-img { max-height: 40px !important; }
    .partners-track { gap: 20px; }
    
    #cookie-banner { flex-direction: column; gap: 10px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}

/* --- MOBİL İÇİN ROZET VE LOGO DÜZELTMESİ (En Alta Ekleyin) --- */
@media (max-width: 768px) {
    
    /* Resmin altına boşluk bırakalım ki yazı ile çakışmasın */
    .about-img {
        margin-bottom: 50px !important;
    }

    /* Rozet Grubunu Tam Ortala */
    .badge-group {
        bottom: -95px !important; /* Resmi ortalayacak şekilde asılsın */
        right: 50% !important;    /* Sağdan %50 it */
        transform: translateX(50%) !important; /* Tam merkeze getir */
        gap: 10px !important;     /* Aradaki boşluğu azalt */
        width: max-content !important; /* İçerik kadar yer kaplasın */
    }

    /* Mavi Kutuyu Küçült */
    .blue-badge {
        padding: 10px 15px !important;
        min-width: 90px !important;
        border-radius: 10px !important;
    }
    .blue-badge span {
        font-size: 24px !important; /* Rakamı küçült */
        margin-bottom: 0 !important;
    }
    .blue-badge p {
        font-size: 11px !important; /* Yazıyı küçült */
    }

    /* Logoyu Küçült ve Hizala */
    .badge-logo-bg {
        height: 85px !important; /* Kutu boyutu */
        width: 95px !important;
        padding: 8px !important;
        border-radius: 10px !important;
        
        /* Mobilde logoyu yukarı kaldırma efektini İPTAL ET (Hizalı dursun) */
        transform: none !important; 
    }
}


/* =========================================
   TEK SATIR GRİ KUTU (KESİN ÇÖZÜM)
   ========================================= */

/* Ana Gri Çerçeve */
.tek-satir-kutu {
    display: flex !important;            /* Yan yana dizilmeye zorla */
    flex-direction: row !important;      /* Yatay hizala */
    align-items: center !important;      /* Dikey ortala */
    justify-content: space-between !important;
    background-color: #f8f9fa;           /* Gri Zemin */
    border: 1px solid #dee2e6;           /* İnce Çerçeve */
    border-radius: 8px;                  /* Yuvarlak Köşeler */
    padding: 10px;                        /* İç Boşluk */
    margin-top: 15px;
    gap: 10px;                           /* Elemanlar arası boşluk */
    width: 100%;                         /* Genişliği tam kullan */
    box-sizing: border-box;              /* Taşmayı önle */
}

/* 1. Sol Captcha Alanı */
.kutu-sol-captcha {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #fff;
    padding: 3px;
    border-radius: 4px;
    border: 1px solid #eee;
    flex-shrink: 0; /* Asla küçülmesin */
}

/* Yenileme Butonu */
#refreshCaptcha {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
#refreshCaptcha:hover { transform: rotate(180deg); }

/* 2. Orta Input (Kodu Giriniz) */
.kutu-orta-input {
    flex: 1;                 /* Kalan tüm boşluğu bu doldursun */
    height: 45px !important; /* Yükseklik */
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 0 15px !important;
    margin: 0 !important;    /* Dış boşluğu sıfırla */
    background: #fff;
}

/* 3. Sağ Gönder Butonu */
.kutu-sag-buton {
    background-color: #0099ff; /* Mavi Renk */
    color: white;
    border: none;
    height: 45px !important; /* Input ile aynı boy */
    padding: 0 25px !important;
    border-radius: 4px !important;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;     /* Yazı alt satıra düşmesin */
    margin: 0 !important;
    flex-shrink: 0;          /* Buton sıkışmasın */
}
.kutu-sag-buton:hover {
    background-color: #0077cc;
}

* --- MOBİL UYUM (Input ve Butonlar Daha Kalın) --- */
@media (max-width: 768px) {
    
    /* Gri Kutuyu Dikey Hale Getir ve Genişlet */
    .tek-satir-kutu {
        flex-direction: column !important; /* Alt alta diz */
        align-items: stretch !important;   /* Tam genişliğe yay */
        height: auto !important;           /* Yükseklik serbest */
        padding: 20px !important;          /* İç boşluğu artır */
        gap: 15px !important;              /* Elemanlar arası boşluğu aç */
    }
    
    /* 1. Captcha Alanı (En Üst) */
    .kutu-sol-captcha {
        justify-content: center;
        width: 100% !important;
        padding: 10px !important; /* Biraz daha ferah olsun */
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
    }
    
    /* 2. Kodu Giriniz Kutusu (ORTA) - BURAYI GÜÇLENDİRDİK */
    .kutu-orta-input {
        width: 100% !important;      /* Tam genişlik */
        height: 60px !important;     /* Yüksekliği ARTIRDIK (Eski hali 45-50px idi) */
        font-size: 18px !important;  /* Yazı boyutunu büyüttük */
        padding: 0 20px !important;  /* İçten boşluk ver */
        border: 1px solid #ccc !important;
        border-radius: 8px !important;
        background: #fff !important;
        box-sizing: border-box !important; /* Çerçeve taşmasını önle */
    }

    /* 3. Gönder Butonu (EN ALT) */
    .kutu-sag-buton {
        width: 100% !important;      /* Tam genişlik */
        height: 60px !important;     /* Input ile aynı yükseklik */
        font-size: 18px !important;  /* Yazı boyutu */
        border-radius: 8px !important;
        display: flex; 
        align-items: center; 
        justify-content: center;
    }
}

/* --- SADECE İLETİŞİM BÖLÜMÜNÜ SAĞA ÇEKME --- */

/* Masaüstü Ayarı */
.ozel-iletisim-container {
    padding-left: 200px !important;  /* Soldan iyice içeri ittik */
    padding-right: 100px !important; /* Sağdan da eşit olsun diye ittik */
}

/* Mobil Ayarı (Telefonda bozulmasın diye) */
@media (max-width: 768px) {
    .ozel-iletisim-container {
        padding-left: 20px !important; /* Mobilde normale dönsün */
        padding-right: 20px !important;
    }
}