/* --- GLOBAL --- */
:root {
    --primary-orange: #FF8C00;
    --primary-blue: #007BFF;
    --gradient-main: linear-gradient(90deg, #007BFF 0%, #FF8C00 100%);
    --dark-bg: #0f1014;
    --dark-bg-alt: #1a1a22;
    /* Alternatif ton — dönüşümlü bölüm arkaplanı */
    --card-bg: rgba(20, 20, 25, 0.7);
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(18, 18, 18, 0.75);
    --glow-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

[data-theme="light"] {
    --dark-bg: #f4f6f9;
    --dark-bg-alt: #e2e5eb;
    /* Light alternatif ton */
    --card-bg: rgba(255, 255, 255, 0.85);
    --text-main: #222222;
    --text-muted: #555555;
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scroll Snap — bölüm başlarına yapışma */
.scroll-area {
    scroll-snap-align: start;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    /* Padding dahil tam 100vh olsun */
}

/* Dönüşümlü arka plan rengi — bir o bir bu */
.scroll-area:nth-of-type(even) {
    background-color: var(--dark-bg-alt);
}

.scroll-area:nth-of-type(odd) {
    background-color: var(--dark-bg);
}

/* Footer arka planı sabit kalsın */
footer.scroll-area {
    background-color: #050505 !important;
    /* Footer orijinal siyah rengi */
}

.scroll-area.overflow-scroll {
    overflow-y: auto;
    /* İçeriği uzun bölümler kendi içinde scroll olsun */
}

/* MOBİLDE: scroll-snap ve viewport kısıtlamalarını kaldır */
@media (max-width: 768px) {
    html {
        scroll-snap-type: none;
        /* Mobilde snap kapalı */
    }

    .scroll-area {
        min-height: auto;
        max-height: none;
        overflow: visible;
        /* İçerik kesilmesin */
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.mb-3 {
    margin-bottom: 1rem;
}

/* Gradient Utilities */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-icon {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ... (Skipping unchanged lines) ... */

.section-padding {
    padding: 50px 0;
    /* Dengeli bölüm arası mesafe */
}

/* ── About Us / Biz Kimiz Two-Column Layout (Shared TR+EN) ── */

.en-about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.en-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.en-about-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-blue, #2563eb);
    margin-bottom: 1.2rem;
}

.en-about-heading {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-main, #111);
    margin-bottom: 1.4rem;
}

.en-about-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-muted, #555);
    margin-bottom: 0.85rem;
}

.en-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.4rem;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid var(--text-main, #111);
    background: transparent;
    color: var(--text-main, #111);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.en-details-btn:hover {
    background: var(--primary-blue, #2563eb);
    border-color: var(--primary-blue, #2563eb);
    color: #fff;
}

.en-about-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.en-stat-group-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted, #777);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.en-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.en-stat-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--glass-border, rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main, #111);
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
}

.en-stat-card:hover {
    border-color: var(--primary-blue, #2563eb);
    background: rgba(37, 99, 235, 0.07);
}

.en-stat-special {
    grid-column: span 2;
}

/* Dark theme */
[data-theme="dark"] .en-about-heading {
    color: #f0f0f0;
}

[data-theme="dark"] .en-about-body {
    color: #aaa;
}

[data-theme="dark"] .en-details-btn {
    border-color: rgba(255, 255, 255, 0.4);
    color: #f0f0f0;
}

[data-theme="dark"] .en-details-btn:hover {
    background: var(--primary-blue, #2563eb);
    border-color: var(--primary-blue, #2563eb);
    color: #fff;
}

[data-theme="dark"] .en-stat-card {
    color: #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .en-about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .en-about-heading {
        font-size: 1.6rem;
    }
}

/* ── End About Layout ── */


.mt-4 {
    margin-top: 2rem;
}

/* ... (Skipping unchanged lines) ... */


.mt-5 {
    margin-top: 4rem;
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    /* Standart başlık-içerik mesafesi */
}

/* Patentlerimiz Başlığı — Ana başlıklarla aynı boyut */
.patents-wrapper h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    /* Standart mesafe */
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 9999;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo-img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 2px;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    font-size: 1.2rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
#hero.hero-section {
    position: relative;
    width: 100%;
    aspect-ratio: 4076 / 2034;
    /* Senin videonun oranı */
    overflow: hidden;
    background: #000;
    display: block;
    /* Flex yapısını kaldırdık */
    /* padding-bottom ve align-items satırlarını sildik */
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Buton Kapsayıcısı (cta-group) */
.cta-group {
    position: absolute;
    /* Serbest dolaşım modu */
    z-index: 10;

    /* KONUM AYARLARI */
    top: 80%;
    /* Yükseklik ayarı: Yazının hemen altına gelmesi için %60 dedik. Aşağı yukarı oynatabilirsin */
    left: 60%;
    /* Yatay ayar: Yazının hizasına gelmesi için soldan %60 boşluk */

    transform: translateY(-50%);
    /* Tam hizalama için ince ayar */
    text-align: left;
    /* Buton hizalaması */
}

/* Buton Stilleri */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-main, #007bff);
    color: #fff !important;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.btn-secondary {
    background: rgba(255, 140, 0, 0.7); /* Canlı turuncu yarı saydam */
    color: #fff !important;
    border: 2px solid rgba(255, 140, 0, 0.9);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 140, 0, 0.95);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.6);
}

/* PDF Download Button */
.pdf-download-container {
    margin-top: 1.5rem;
    text-align: center;
}

.pdf-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: #c0392b;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(192, 57, 43, 0.35);
}

.pdf-download-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.5);
}

.pdf-download-btn i {
    font-size: 1.1rem;
}

/* BIG BOXES (HOVER FIX) */
.big-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 0;
    /* section-title zaten 40px margin-bottom veriyor */
}

.big-box {
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transition: var(--transition);
    cursor: pointer;
    min-height: 350px;
}

.big-box:hover {
    transform: translateY(-10px);
}

.box-icon i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.big-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 80%;
    margin-bottom: 2rem;
}

.box-link {
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

/* Hover Düzeltmesi */
.big-box:hover h3,
.big-box:hover p {
    color: var(--text-main) !important;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    -webkit-text-fill-color: initial;
}

.big-box:hover h3 {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.big-box:hover .box-link {
    color: var(--primary-orange) !important;
}

/* SERTİFİKALAR */
.certificates-wrapper {
    text-align: center;
}

.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cert-item {
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.cert-item i {
    color: var(--primary-blue);
}

.special-cert {
    border-color: var(--primary-orange);
    color: var(--text-main);
}

.special-cert i {
    color: var(--primary-orange);
}

/* ABOUT INTRO */
.about-intro {
    position: relative;
    padding-bottom: 70px;
}

/* ABOUT US (EXPANDABLE) */
.expand-card {
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

.expand-card .card-content {
    max-height: 100px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
    margin-bottom: 1rem;
}

.expand-card .card-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--card-bg));
    transition: opacity 0.3s;
}

.expand-card.expanded .card-content {
    max-height: 1000px;
}

.expand-card.expanded .card-content::after {
    opacity: 0;
    pointer-events: none;
}

.expand-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    font-weight: 600;
    cursor: pointer;
    align-self: center;
    margin-top: auto;
    font-size: 0.9rem;
}

.expand-btn i {
    transition: transform 0.3s;
    margin-left: 5px;
}

.expand-card.expanded .expand-btn i {
    transform: rotate(180deg);
}

/* GLASS STYLES */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 16px;
}

.glass-hover {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.glass-hover:hover {
    box-shadow: var(--glow-shadow);
    transform: translateY(-5px);
    border-color: #007BFF;
}

/* GRIDS & CARDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 80px;
}

/* --- DETAILS BUTTON --- */
.details-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: transparent;
    color: var(--text-main) !important;
    padding: 8px 20px;
    border-radius: 6px;
    border: 1.5px solid var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    text-decoration: none;
    cursor: pointer;
}

.details-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff !important;
    transform: translateY(-2px);
}

.details-btn i {
    transition: transform 0.25s;
    font-size: 0.8rem;
}

.details-btn:hover i {
    transform: translateX(3px);
}

.icon-lg {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.team-grid {
    margin-top: 2rem;
}

.team-card {
    padding: 2rem;
    border-radius: 16px;
    transition: var(--transition);
}

.team-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.team-header h4 {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.role {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-muted);
    display: block;
}

.team-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- GÜNCELLENMİŞ REFERANSLAR CSS --- */

.sub-heading-left {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-blue);
    padding-left: 15px;
    display: inline-block;
    width: 100%;
}

/* --- YORUMLAR SLIDER --- */
.reviews-slider-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 3rem;
}

.reviews-overflow-clip {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.reviews-scroll-container {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    padding: 20px 4px;
    align-items: stretch;
}

.reviews-arrow {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    flex-shrink: 0;
}

.reviews-arrow:hover {
    background: var(--primary-blue);
    color: #fff;
}

.review-company-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    padding: 6px 0;
}

.review-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    min-width: calc(50% - 12px);
    max-width: calc(50% - 12px);
    flex: 0 0 auto;
    height: auto;
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
}

.review-card .ref-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Mobilde taşmasın */
    gap: 10px;
    min-height: 80px;
    /* Logo boyutundan bağımsız eşit yükseklik */
}

/* LOGO BOYUTLANDIRMA DÜZELTMESİ (Yorumlar için) */
.review-card .ref-logo {
    max-width: 180px;
    /* Genişlik sınırı */
    max-height: 60px;
    /* Yükseklik sınırı */
    width: auto;
    height: auto;
    object-fit: contain;
    /* Görüntüyü bozmadan sığdır */
}

/* Light modda logolar siyah olsun, Dark modda beyaz */
.review-card .ref-logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

[data-theme="light"] .review-card .ref-logo {
    filter: none;
}

.project-tag {
    font-size: 0.75rem;
    background: rgba(0, 100, 210, 0.18);
    color: #005ecc;
    padding: 5px 12px;
    border-radius: 20px;
    border: 1.5px solid rgba(0, 100, 210, 0.45);
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Projeler Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    padding: 2rem;
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

/* LOGO BOYUTLANDIRMA DÜZELTMESİ (Projeler için) */
.logo-wrapper {
    height: 80px;
    /* Sabit yükseklik alanı */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.project-card .project-logo {
    max-width: 160px;
    max-height: 100%;
    /* Wrapper'ın boyunu geçmesin */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.project-card .thy-logo {
    filter: invert(1) grayscale(1) brightness(1.5) !important;
    mix-blend-mode: screen;
    opacity: 1 !important;
}

[data-theme="light"] .project-card .project-logo {
    filter: none;
}

[data-theme="light"] .project-card .thy-logo {
    filter: none !important;
    mix-blend-mode: normal;
    opacity: 1 !important;
}

.project-card h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.project-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Mobilde Reviews Slider Ayarı */
@media (max-width: 992px) {
    .reviews-slider-wrapper {
        gap: 0;
    }
    .reviews-overflow-clip {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .reviews-scroll-container {
        gap: 15px !important;
        padding-bottom: 20px !important;
    }
    .review-card {
        min-width: 88vw !important;
        max-width: 88vw !important;
    }
    .reviews-arrow {
        display: none !important;
    }
}


/* FOOTER */
footer {
    background: #050505;
    padding: 80px 0 20px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid var(--glass-border);
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-col h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info-col p {
    color: var(--text-muted);
    margin-bottom: 5px;
}

.maps-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    padding: 5px;
}

.map-container span {
    display: block;
    background: var(--primary-blue);
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 10px;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    border-radius: 4px;
}

.map-container iframe {
    border-radius: 8px;
    filter: grayscale(100%) invert(92%);
}

[data-theme="light"] .map-container iframe {
    filter: none;
}

.financial-section {
    padding: 1.5rem;
    text-align: left;
}

.financial-section h4 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
}

.financial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fin-item {
    flex: 1 1 45%;
}

.fin-item.full-width {
    flex: 1 1 100%;
}

.fin-item strong {
    color: var(--text-main);
}

/* --- MALİ BİLGİLER & IBAN KUTULARI (HER ZAMAN DARK GÖRÜNÜM) --- */

/* 1. Ana Kart (Mali Bilgiler Kutusu) */
.financial-section {
    background: #080808 !important;
    /* Simsiyah zemin */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

/* Başlık ve Metin Renkleri */
.financial-section h4 {
    color: var(--primary-orange) !important;
    /* Başlık Turuncu */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.financial-section .fin-item {
    color: #ccc !important;
    /* Metinler açık gri */
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.financial-section strong {
    color: #fff !important;
    /* Kalın yerler bembeyaz */
}

/* 2. IBAN Kapsayıcı (Senin Gönderdiğin Grid Yapısı) */
.iban-container {
    width: 100%;
    display: grid;
    /* Mobilde alt alta, PC'de yan yana sığışsın */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* 3. IBAN Kutusu (Tekil) */
.iban-box {
    /* Arka planı hafif şeffaf siyah yapıyoruz */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.3s;
}

.iban-box:hover {
    border-color: var(--primary-orange) !important;
    /* Üstüne gelince parlasın */
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Para Birimi (TL, USD, EUR) */
.iban-box span {
    font-weight: 800;
    color: #3b82f6 !important;
    /* Parlak Mavi */
    margin-right: 8px;
    min-width: 40px;
    /* Hizalı dursunlar */
}

/* IBAN Numarası */
.iban-box code {
    font-family: 'Courier New', monospace;
    /* Kod fontu */
    font-size: 0.9rem;
    color: #fff !important;
    /* Bembeyaz rakamlar */
    letter-spacing: 0.5px;
}

/* 4. Kopyala Butonu */
.copy-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #aaa !important;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
}

.copy-btn:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
}

/* 5. Banka Adı (Sağ Alt) */
.bank-name {
    width: 100%;
    font-style: italic;
    opacity: 0.6;
    margin-top: 10px;
    font-size: 0.8rem;
    text-align: right;
    color: #888 !important;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    text-align: center;
}

.socials a {
    font-size: 1.5rem;
    color: #fff;
    transition: 0.3s;
}

.socials a:hover {
    color: var(--primary-blue);
}


/* --- MODAL --- */
.modal-wrapper {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);
    background: var(--dark-bg);
    z-index: 990;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-wrapper.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    overflow: hidden;
}

/* Modal açıkken body scroll'u tamamen kilitle */
body.modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.modal-inner {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
}

.modal-close-anim {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2100;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-close-anim:hover {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.x-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.x-icon span {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    top: 50%;
    left: 0;
    transition: all 0.3s;
}

.x-icon span:first-child {
    transform: rotate(45deg);
}

.x-icon span:last-child {
    transform: rotate(-45deg);
}

.modal-close-anim:hover .x-icon span {
    transform: rotate(135deg);
}

/* SIDEBAR & HOVER FIX */
.modal-sidebar {
    width: 280px;
    background: rgba(216, 214, 214, 0.2);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    padding-top: 40px;
    flex-shrink: 0;
    overflow-y: auto;
}

.mobile-only-icon {
    display: none;
}

.sidebar-header h4 {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Menü Hover Gradient Fix */
.menu-category h5 {
    cursor: pointer;
    padding: 12px 10px;
    font-size: 0.95rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.menu-category h5:hover {
    background-color: rgba(255, 255, 255, 0.05);
    background-image: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-category h5 i {
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--primary-blue);
    -webkit-text-fill-color: var(--primary-blue);
}

.menu-category.expanded h5 i {
    transform: rotate(180deg);
}

.submenu {
    list-style: none;
    padding-left: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.menu-category.expanded .submenu {
    max-height: 2000px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.submenu li a {
    display: block;
    padding: 8px 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 4px;
    transition: 0.2s;
    border-left: 2px solid transparent;
}

.submenu li a:hover,
.submenu li a.active {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--primary-blue);
    padding-left: 15px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.group-title {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 15px 0 5px 10px;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content-area {
    flex: 1;
    overflow-y: auto;
    padding: 4rem 4rem 8rem 4rem;
    scroll-behavior: smooth;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 1rem;
    scroll-margin-top: 50px;
}

.main-heading {
    font-size: 2rem !important;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.content-section p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-align: justify;
}

.content-section h3 {
    font-size: 1.4rem;
    color: var(--primary-orange);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.modal-nav-bar {
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 280px);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--glass-border);
    z-index: 2050;
}

.nav-step-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    padding: 10px 25px;
    border-radius: 50px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: 0.3s;
    min-width: 250px;
}

.nav-step-btn:hover {
    border-color: var(--primary-orange);
    background: rgba(255, 140, 0, 0.1);
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nav-step-btn:last-child .btn-text {
    text-align: right;
}

.btn-text small {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.btn-text span {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

@media (max-width: 992px) {
    .modal-inner {
        flex-direction: column;
    }

    /* MOBILE SIDEBAR FIX: EN AŞAĞIYA AL */
    .modal-sidebar {
        width: 100%;
        max-height: none;
        height: auto;
        border-right: none;
        border-top: 1px solid var(--glass-border);
        background: var(--dark-bg);
        padding: 0;
        z-index: 2000;
        position: relative;
        order: 2;
    }

    /* İÇERİK ÜSTTE */
    .modal-content-area {
        order: 1;
        padding-bottom: 2rem;
        padding-top: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .mobile-toggle-header {
        padding: 15px 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(255, 255, 255, 0.05);
    }

    .mobile-only-icon {
        display: inline-block;
        transition: transform 0.3s;
    }

    .mobile-toggle-header.active .mobile-only-icon {
        transform: rotate(180deg);
    }

    .sidebar-scroll-wrapper {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        padding: 0 20px;
    }

    .sidebar-scroll-wrapper.active {
        max-height: 60vh;
        overflow-y: auto;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .modal-nav-bar {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        padding: 1rem;
        z-index: 3000;
    }

    .modal-content-area {
        margin-bottom: 80px;
    }

    .nav-step-btn {
        min-width: auto;
        padding: 10px 15px;
    }

    .btn-text span {
        max-width: 100px;
        font-size: 0.8rem;
    }

    .big-boxes-grid,
    .clients-grid,
    .projects-grid,
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .carousel-card {
        min-width: 85vw;
    }

    .carousel-btn {
        display: none;
    }
}

/* --- PATENTLER --- */
.patent-item {
    border-color: var(--primary-orange);
    color: var(--text-main);
}

.patent-item i {
    color: var(--primary-orange);
}

/* --- YENİ LOGO SLIDER --- */
.logo-slider-section {
    position: relative;
    width: 100%;
    padding: 0 1rem;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem 1rem;
    overflow: visible;
    /* Oklar dışarı taşabilsin diye */
}

.logo-track-viewport {
    width: 100%;
    overflow: hidden;
    /* Taşanı gizle */
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 4rem;
    /* Logolar arası boşluk */
    width: max-content;
    /* İçerik kadar genişle */
    will-change: transform;
    /* Performans için */
    align-items: center;
}

.slide-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-logo img {
    height: 50px;
    /* Logo yüksekliği */
    width: auto;
    max-width: 180px;
    filter: grayscale(100%) brightness(0.7) contrast(1.2);
    opacity: 0.7;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Light/Dark Mode Ayarları */
[data-theme="dark"] .slide-logo img {
    filter: brightness(0) invert(1) opacity(0.6);
}

.slide-logo img:hover {
    filter: none !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Oklar */
.slider-arrow {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--primary-blue);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.prev {
    margin-right: 15px;
}

.next {
    margin-left: 15px;
}

/* Mobilde okları gizleyebiliriz, parmakla kaydırmak daha kolay */
@media (max-width: 768px) {
    .logo-track {
        gap: 2rem;
    }

    .slide-logo img {
        height: 35px;
    }

    .slider-arrow {
        display: none;
    }

    .logo-track-viewport {
        mask-image: none;
        -webkit-mask-image: none;
    }
}

/* --- MODAL YENİLEME & DÜZELTMELER --- */

/* 1. Day Mode Menü Görünürlük Sorunu */
[data-theme="light"] .menu-category h5 {
    color: #333;
    /* Başlıklar koyu olsun */
    background: none;
    -webkit-text-fill-color: initial;
}

[data-theme="light"] .submenu li a {
    color: #555;
    /* Linkler koyu gri */
}

[data-theme="light"] .submenu li a:hover,
[data-theme="light"] .submenu li a.active {
    color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.1);
    -webkit-text-fill-color: initial;
}

/* 2. Yeni Başlık Stilleri */
.super-heading {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
}

.category-heading {
    font-size: 2.6rem !important;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-orange);
    padding-left: 15px;
}

/* 3. Floating (Yüzen) Navigasyon Okları */
.nav-arrow-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* Alan kaplamasın */
    z-index: 2000;
    pointer-events: none;
    /* Tıklamalar alttaki elemente geçsin */
}

.float-nav-btn {
    position: fixed;
    bottom: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: all;
    /* Buton tıklanabilsin */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 2100;
    display: flex;
    align-items: center;
    max-width: 300px;
}

/* Konumlandırma */
.prev-float {
    left: 300px;
    /* Sidebar genişliği kadar içeride */
}

.next-float {
    right: 40px;
}

.float-nav-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.4);
}

.btn-content-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.nav-text.align-right {
    text-align: right;
}

.nav-text small {
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 1px;
}

.nav-text span {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Light Mode için Ok Renkleri */
[data-theme="light"] .float-nav-btn {
    background: #fff;
    color: #333;
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .float-nav-btn:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .prev-float {
        left: 20px;
        bottom: 20px;
        padding: 10px 15px;
    }

    .next-float {
        right: 20px;
        bottom: 20px;
        padding: 10px 15px;
    }

    .nav-text span {
        max-width: 100px;
        font-size: 0.8rem;
    }

    .nav-text small {
        display: none;
    }

    /* Mobilde "SONRAKİ" yazısını gizle, yer kazan */
}

/* --- MOBİL OK DÜZELTMESİ (KESİN ÇÖZÜM) --- */

@media (max-width: 992px) {

    /* 1. Konteynırı Sabitle ve En Üste Al */
    .nav-arrow-container {
        position: fixed !important;
        /* Sayfaya çivile */
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        z-index: 9999 !important;
        /* Her şeyin üstünde olsun */
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        /* Kenar boşlukları */
    }

    /* 2. Butonları Görünür Yap */
    .float-nav-btn {
        position: relative !important;
        /* Container içinde relative olsun */
        bottom: 25px !important;
        /* Alttan mesafe */
        top: auto;
        left: auto;
        right: auto;
        background: var(--primary-blue);
        /* Mobilde mavi olsun, fark edilsin */
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
        padding: 12px 18px;
        opacity: 1;
        /* Varsayılan görünürlük */
        pointer-events: auto;
        max-width: 45%;
    }

    /* 3. Önceki/Sonraki ayrımı */
    .prev-float {
        justify-content: flex-start;
        /* Uyarı gitmesi için bu kodu ekledik */
    }

    .next-float {
        background: var(--primary-orange);
        /* Sonraki butonu turuncu olsun */
        flex-direction: row-reverse;
        /* Ok sağda olsun */
    }

    /* 4. Metinleri Küçült (Sığması için) */
    .nav-text small {
        display: none;
    }

    /* "SONRAKİ" yazısını gizle */
    .nav-text span {
        font-size: 0.8rem;
        max-width: 90px;
    }

    /* 5. Buton içindeki simge ve yazı arası boşluk */
    .btn-content-wrapper {
        gap: 8px;
    }

    /* 6. İçerik Alanının Altını Boşalt (Butonlar metni kapatmasın) */
    .modal-content-area {
        padding-bottom: 120px !important;
    }
}

/* --- MOBİL MENÜ DÜZELTMESİ --- */
@media (max-width: 992px) {

    /* Menü kısmının altına 100px boşluk ekle */
    .modal-sidebar {
        padding-bottom: 100px !important;
    }

    /* Okların arka planını biraz daha belirgin yap ki karışmasın */
    .float-nav-btn {
        z-index: 99999;
        /* En en üstte olsun */
    }
}

/* --- DARK MODE LOGO ETKİLEŞİMLERİ --- */

/* 1. ÖZEL DURUM: HVKK ve TÜBİTAK (Başlangıçta Gri ve Detaylı Olsun) */
/* Bunlar düz beyaz olmasın, "Siyah-Beyaz Fotoğraf" gibi asil dursun */
[data-theme="dark"] img[alt="HVKK"],
[data-theme="dark"] img[alt="TÜBİTAK"],
[data-theme="dark"] img[alt="Tübitak"] {
    filter: grayscale(100%) brightness(2.5) contrast(1.2) !important;
    opacity: 0.8 !important;
    transition: all 0.4s ease;
    /* Renk değişimi yumuşak olsun */
}

/* 2. GENEL KURAL: TÜM Logolar Hover'da Canlansın */
/* (Hem projeler, hem slider, hem de referanslar için) */
[data-theme="dark"] .project-logo:hover,
[data-theme="dark"] .ref-logo:hover,
[data-theme="dark"] .slide-logo img:hover,
[data-theme="dark"] img[alt="HVKK"]:hover,
[data-theme="dark"] img[alt="TÜBİTAK"]:hover {

    filter: none !important;
    /* Tüm filtreleri kaldır (Orijinal Renk) */
    opacity: 1 !important;
    /* Tam parlaklık */
    transform: scale(1.1);
    /* Hafifçe büyüsün */

    /* Hafif bir parlama ekle ki çok havalı dursun */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2)) !important;
}

/* --- YENİ AYRILMIŞ İLETİŞİM & FOOTER --- */

/* İletişim Bölümü (Section) */
#contact {
    /* Footer'dan ayrıldığı için normal section boşluğu */
    padding-bottom: 2rem;
}

.contact-grid-wrapper {
    display: grid;
    /* Sol Form: 35%, Sağ Haritalar: 65% */
    grid-template-columns: 35% 1fr;
    gap: 2rem;
    align-items: start;
}

/* Form Kartı */
.contact-form-col {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

/* Form Inputları (Daha modern) */
.input-group input,
.input-group textarea {
    background: rgba(255, 255, 255, 0.03);
    /* Çok hafif arka plan */
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 8px;
    padding: 12px 15px;
}

/* Sağ Taraf */
.quick-contact-bar {
    padding: 1.2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.maps-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* İki harita yan yana */
    gap: 1.5rem;
}

/* FOOTER (Sadece Alt Kısım) */
footer {
    background: #050505;
    /* Simsiyah zemin */
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 0;
    /* İletişim ile birleşik dursun istersen */
}

/* Management Team Section */
#management-team {
    padding-top: 30px;
    /* Başlığı yukarı çekmek için üst boşluğu azalttık */
    padding-bottom: 100px;
}

/* Mali Bilgiler Kartı */
.financial-section {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    /* Çok silik */
}

/* Mobil Uyum */
@media (max-width: 992px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        /* Mobilde alt alta */
    }

    .maps-dual-grid {
        grid-template-columns: 1fr;
        /* Haritalar alt alta */
    }

    .quick-contact-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* --- YATAY FORM DÜZENİ (SOLDA YAZI - SAĞDA KUTU) --- */

.row-input-group {
    display: flex;
    align-items: center;
    /* Dikeyde ortala */
    margin-bottom: 1.2rem;
    width: 100%;
}

/* Mesaj kutusu için hizalama ayarı */
.row-input-group.align-top {
    align-items: flex-start;
    /* Yazı üstte dursun */
}

.row-input-group.align-top label {
    margin-top: 10px;
    /* Biraz aşağı itelim */
}

/* Etiketler (Soldaki Yazılar) */
.row-input-group label {
    flex: 0 0 100px;
    /* Sabit genişlik (Yazılar hizalı dursun) */
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
    margin-right: 15px;
}

/* Kutular (Sağdaki Alan) */
.row-input-group input,
.row-input-group textarea {
    flex: 1;
    /* Kalan tüm alanı kapla */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text-main);
    outline: none;
    transition: 0.3s;
    font-family: var(--font-main);
}

.row-input-group input:focus,
.row-input-group textarea:focus {
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.1);
}

/* Buton Düzeni */
.btn-row {
    margin-top: 5px;
}

.btn-row .form-btn {
    width: auto;
    /* Tam genişlik olmasın */
    padding: 10px 30px;
    margin-left: auto;
    /* Sağa yasla (opsiyonel) */
}

/* MOBİL UYUM */
@media (max-width: 500px) {
    .row-input-group {
        flex-direction: column;
        /* Mobilde alt alta olsun */
        align-items: flex-start;
    }

    .row-input-group label {
        margin-bottom: 5px;
        margin-right: 0;
    }

    .btn-row .form-btn {
        width: 100%;
        /* Buton mobilde tam genişlik */
    }
}

/* ========================================================= */
/* --- MOBİL İÇİN ÖZEL DÜZELTME --- */
/* ========================================================= */

@media (max-width: 768px) {

    /* 1. Kapsayıcıyı Flex'ten Kurtar ve Sıkıştır */
    .row-input-group {
        display: block !important;
        /* Yan yana olma zorunluluğunu kaldır */
        margin-bottom: 8px !important;
        /* Alt boşluğu 1.2rem'den (20px) 8px'e düşür */
        width: 100% !important;
        height: auto !important;
        /* Yükseklik serbest kalsın */
    }

    /* 2. Etiketleri (Adınız vb.) Kutuya Yapıştır */
    .row-input-group label {
        display: block !important;
        width: 100% !important;
        margin-bottom: 2px !important;
        /* Kutuyla yazı arasında sadece 2 piksel kalsın */
        margin-top: 0 !important;
        margin-right: 0 !important;
        font-size: 0.85rem !important;
        /* Yazı biraz kibarlaşsın */
        line-height: 1.2 !important;
    }

    /* 3. Kutuların (Input) İçini ve Dışını Ayarla */
    .row-input-group input,
    .row-input-group textarea {
        width: 100% !important;
        margin-top: 0 !important;
        /* Kutunun üstündeki görünmez boşluğu sil */
        height: 40px !important;
        /* Kutular standart incelikte olsun */
        padding: 8px 10px !important;
        box-sizing: border-box !important;
    }

    /* 4. Mesaj Alanı (Textarea) Özel Ayarı */
    .row-input-group textarea {
        height: 80px !important;
        /* Mesaj kutusu çok uzamasın */
    }

    /* 5. Mesaj Kısmındaki 'align-top' Boşluğunu Öldür */
    .row-input-group.align-top label {
        margin-top: 0 !important;
        /* O 10px'lik fazladan boşluğu sil */
    }
}

@media (max-width: 768px) {

    /* Başlık ile Form arasına boşluk aç */
    .form-header {
        margin-bottom: 25px !important;
        /* İşte o 'bir enter'lık boşluk */
        padding-bottom: 5px !important;
    }
}

/* --- NAVBAR DİL SEÇENEĞİ (TR | EN) --- */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    /* Harfler arası boşluk */
    margin-right: 20px;
    /* Ay ikonuna yapışmasın */
    margin-left: 15px;
    /* Menüden ayrılsın */
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-main);
    user-select: none;
    /* Yazı seçilmesin */
}

/* Aktif Dil (TR) */
.lang-active {
    color: var(--primary-orange);
    /* Turuncu olsun ki seçili olduğu belli olsun */
    cursor: default;
}

/* Ayıraç Çizgi (|) */
.divider {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Pasif Dil (EN) */
.lang-link {
    color: var(--text-main);
    /* Normal yazı rengi */
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.7;
}

.lang-link:hover {
    color: var(--primary-blue);
    /* Üstüne gelince mavi olsun */
    opacity: 1;
}

/* MOBİL UYUM */
@media (max-width: 992px) {
    .lang-switch {
        margin-right: 15px;
        /* Mobilde biraz daha sıkışabilir */
        font-size: 0.85rem;
    }
}

/* --- BLOG & HABERLER BÖLÜMÜ --- */

/* Grid Yapısı (3'lü Kart) */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

/* Kartın Kendisi (Cam Efekti) */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    /* Resim köşelerden taşmasın */
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* İçerik alt alta */
    height: 100%;
    /* Kartlar eşit boyda olsun */
}

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

/* Resim Alanı */
.blog-img {
    width: 100%;
    height: 160px;
    /* Sabit yükseklik (Resimler bozulmaz) */
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya doldur */
    transition: transform 0.5s ease;
}

/* Hoverda Resim Yaklaşsın */
.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

/* İçerik Alanı */
.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Alanı doldur */
}

/* Tarih / Etiket */
.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Başlık */
.blog-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.4;
}

/* Açıklama Yazısı */
.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    /* Butonu en alta itmek için */
}

/* Link (Read More) */
.read-more {
    font-size: 0.9rem;
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.read-more:hover {
    gap: 10px;
    /* Ok işareti sağa kaysın */
    color: var(--primary-blue);
}

/* --- MODAL İÇERİK: BAŞLIK ALTI GENİŞ GÖRSEL (BANNER) --- */

.content-block {
    margin-bottom: 4rem;
    /* Her başlık grubu arası boşluk */
}

/* Geniş Yer Tutucu (Banner Tipi) */
.img-placeholder-banner {
    width: 100%;
    height: 300px;
    /* Yükseklik */
    margin-top: 15px;
    margin-bottom: 25px;
    /* Yazı ile görsel arası boşluk */

    background: rgba(255, 255, 255, 0.03);
    /* Çok hafif zemin */
    border: 2px dashed rgba(255, 255, 255, 0.2);
    /* Silik kesik çizgi */
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: var(--text-muted);
    transition: 0.3s;
    overflow: hidden;
}

.img-placeholder-banner:hover {
    border-color: var(--primary-orange);
    /* Üstüne gelince turuncu olsun */
    background: rgba(255, 255, 255, 0.05);
}

.img-placeholder-banner i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

/* Resim eklendiğinde tam otursun */
.img-placeholder-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya yay */
}

/* --- GLOBAL SCROLLBAR (TÜM SİTE & MENÜLER İÇİN) --- */

/* 1. Chrome, Edge, Safari, Opera (Webkit) */
/* Başında nokta yok, yani her yere etki eder */
::-webkit-scrollbar {
    width: 6px;
    /* Biraz daha incelttim, çok şık durur */
    height: 6px;
    /* Yatay çubuk olursa o da ince olsun */
}

::-webkit-scrollbar-track {
    background: transparent;
    /* Arkası şeffaf */
}

::-webkit-scrollbar-thumb {
    background-color: rgba(160, 160, 160, 0.5);
    /* Sakin gri */
    border-radius: 10px;
    border: 1px solid transparent;
    /* Kenar boşluğu */
    background-clip: content-box;
    transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-orange);
    /* Tutunca Turuncu olsun */
}

/* 2. Firefox İçin (Yıldız * koyduk, artık her yeri kapsar) */
* {
    scrollbar-width: thin;
    /* İnce */
    scrollbar-color: var(--primary-orange) transparent;
    /* Turuncu Çubuk - Şeffaf Zemin */
}






/* --- SIMPLE MODAL ve DİĞER MODALLAR İÇİN GLOBAL BAŞLIK AYARI --- */
.super-heading,
#simple-modal .super-heading {
    /* Degradeyi kaldır ve düz renk yap */
    background: none !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: initial !important;
    color: var(--primary-blue) !important;
    /* Mavi tonu */
    display: inline-block;
}

#simple-modal .main-heading {
    color: var(--primary-blue) !important;
}

/* Kapatma butonunun görünür olduğundan emin olunmalı */
/* Kapatma butonunun görünür olduğundan emin olunmalı ve yerini sabitle */


/* ========================================= */
/* --- MALİ BİLGİLER & IBAN (FİNAL KOD) --- */
/* ========================================= */

/* 1. MASAÜSTÜ & GENEL AYARLAR (Her zaman Siyah/Dark Görünüm) */
.financial-section {
    background: #080808 !important;
    /* Simsiyah zemin */
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.financial-section h4 {
    color: var(--primary-orange) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.financial-section .fin-item,
.financial-section strong,
.bank-name {
    color: #ccc !important;
}

/* IBAN Kapsayıcı (Grid Yapısı) */
.iban-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* IBAN Kutusu */
.iban-box {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.iban-box span {
    color: #3b82f6 !important;
    font-weight: 800;
    margin-right: 8px;
}

.iban-box code {
    color: #fff !important;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.copy-btn {
    color: #aaa !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 4px 10px;
    cursor: pointer;
}

/* ======================================================= */
/* MOBİL MENÜ VE TURUNCU BUTON (SABİT & TIKLANABİLİR) */
/* ======================================================= */

@media (max-width: 992px) {

    /* 1. YÜZEN TURUNCU BUTON */
    .floating-menu-btn {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: #FF8C00;
        border-radius: 50%;
        color: white;
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(255, 140, 0, 0.4);
        z-index: 10000;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .floating-menu-btn:active {
        transform: scale(0.9);
    }

    /* 2. MENÜ KUTUSU (GENEL YAPISI) */
    #modal-sidebar {
        display: none !important;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.9);
        width: 90% !important;
        max-width: 350px;
        height: auto !important;
        max-height: 80vh;
        border-radius: 15px;
        padding: 0 !important;
        z-index: 10001;
        opacity: 0;
        transition: all 0.3s ease;
        overflow: hidden;
        /* Taşmaları gizle */
    }

    /* 3. MENÜ AÇIKKEN */
    #modal-sidebar.open {
        display: block !important;
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    /* --- RENK AYARLARI (GÜNDÜZ / LIGHT) --- */
    /* Varsayılan olarak veya light modda */
    #modal-sidebar,
    [data-theme="light"] #modal-sidebar {
        background: rgba(255, 255, 255, 0.98) !important;
        /* BEYAZ ARKA PLAN */
        border: 1px solid rgba(0, 0, 0, 0.1);
        /* Gri ince çizgi */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        color: #333 !important;
        /* Koyu yazı */
    }

    /* Gündüz modunda linkler ve başlıklar */
    [data-theme="light"] #modal-sidebar a,
    [data-theme="light"] #modal-sidebar h4,
    [data-theme="light"] #modal-sidebar h5 {
        color: #333 !important;
    }

    [data-theme="light"] .mobile-toggle-header {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* --- RENK AYARLARI (GECE / DARK) --- */
    /* Sadece dark modda devreye girer */
    [data-theme="dark"] #modal-sidebar {
        background: rgba(20, 20, 35, 0.98) !important;
        /* KOYU LACİVERT/SİYAH ARKA PLAN */
        border: 1px solid rgba(255, 255, 255, 0.1);
        /* Beyaz ince çizgi */
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
        color: #fff !important;
        /* Beyaz yazı */
    }

    /* Gece modunda linkler ve başlıklar */
    [data-theme="dark"] #modal-sidebar a,
    [data-theme="dark"] #modal-sidebar h4,
    [data-theme="dark"] #modal-sidebar h5 {
        color: #fff !important;
    }

    [data-theme="dark"] .mobile-toggle-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* İçerik Düzeni */
    .sidebar-scroll-wrapper {
        padding: 20px;
        overflow-y: auto;
        max-height: 70vh;
    }

    /* Başlık */
    .mobile-toggle-header {
        padding: 15px 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Masaüstünde Butonu Gizle */
@media (min-width: 993px) {
    .floating-menu-btn {
        display: none !important;
    }
}

/* ======================================================= */
/* SADECE SIDEBAR MENÜ İÇİNDEKİ ÇARPIYI GİZLE */
/* ======================================================= */

#modal-sidebar .close-menu-icon {
    display: none !important;
}

/* Eğer masaüstünde "MENÜ" başlığının yanında çıkıyorsa */
#modal-sidebar .fa-xmark {
    display: none !important;
}

/* --- BEFORE/AFTER SLIDER STİLİ --- */
.ba-slider-container {
    position: relative;
    width: 100%;
    /* Yükseklik resim oranına göre ayarlanır, genelde 16/9 iyidir */
    aspect-ratio: 16 / 9;
    margin: 2rem 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Hafif çerçeve */
    background: #000;
    /* Resim yüklenene kadar siyah fon */
    user-select: none;
    /* Sürüklerken seçimi engelle */
}

/* Resimlerin Temel Ayarları */
.ba-slider-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya sığdır */
    display: block;
    pointer-events: none;
    /* Resimlerin tıklanmasını engelle */
}

/* Üstteki Resmin Kapsayıcısı (Burası daralıp genişler) */
.ba-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    /* Başlangıç değeri */
    height: 100%;
    overflow: hidden;
    z-index: 2;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    /* Ayrım çizgisi */
}

/* Görünmez Slider Input (Kullanıcı buna dokunur) */
.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Tamamen görünmez */
    cursor: col-resize;
    /* İmleç değişsin */
    z-index: 10;
    /* En üstte bu olmalı */
    margin: 0;
}

/* Ortadaki Yuvarlak Buton ve İkon */
.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    /* Başlangıç değeri */
    height: 100%;
    width: 0;
    z-index: 5;
    pointer-events: none;
    /* Tıklama input'a gitsin diye */
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Tam ortala */
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    /* Yarı saydam beyaz */
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    /* Gölge ver */
    font-size: 14px;
}

/* --- STANDART GÖRSEL STİLİ --- */

.project-image-container {
    width: 100%;
    margin: 2rem 0;
    /* Üstten ve alttan boşluk */
    border-radius: 12px;
    /* Köşeleri yumuşat */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Slider ile aynı ince çerçeve */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Hafif gölge */
    background: #1a1a2e;
    /* Resim yüklenmezse görünecek arka plan */
}

.project-image-container img {
    width: 100%;
    height: auto;
    /* Resim oranını koru */
    display: block;
    /* Alt kısımdaki boşluğu siler */
    transition: transform 0.3s ease;
    /* Üzerine gelince efekt istersen */
}

/* Opsiyonel: Mouse ile üzerine gelince hafif büyüsün */
.project-image-container:hover img {
    transform: scale(1.02);
}

/* --- YAN YANA İKİLİ IZGARA (GRID) --- */
.project-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* İki eşit kolon */
    gap: 1.5rem;
    /* Aralarındaki boşluk */
    margin: 2rem 0;
}

/* Mobilde alt alta düşsünler */
@media (max-width: 768px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
        /* Mobilde tek kolon */
        gap: 1rem;
    }

    /* Grid içindeki container'ın kendi boşluğunu sıfırlayalım */
    .project-gallery-grid .project-image-container {
        margin: 0;
    }
}

/* ========================================================= */
/* --- REVİZE 1: COOKIE BANNER CSS SİLİNDİ --- */
/* (Eski CSS dosyanın içinden .cookie-banner ile başlayan her şeyi silebilirsin) */
/* ========================================================= */


/* ========================================================= */
/* --- REVİZE 2: HAKKIMIZDA SLIDER STİLLERİ --- */
/* ========================================================= */

.about-intro {
    /* Kartın yüksekliği metin değişince zıplamasın diye min-height veriyoruz */
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    display: none;
    /* Hepsi gizli */
    animation: fadeEffect 1s ease-in-out;
    /* Geçiş efekti */
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
    /* REVİZE 3 burada da geçerli */
}

.about-slide.active {
    display: block;
    /* Sadece aktif olan görünür */
}

/* Fade Animasyonu */
@keyframes fadeEffect {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================================= */
/* --- REVİZE 3: TÜM KUTU METİNLERİNİ İKİ YANA YASLA (JUSTIFY) --- */
/* ========================================================= */

.about-intro p,
.feature-card p,
.team-desc,
.big-box p,
.review-card p,
.project-card p,
.blog-content p,
.content-section p {
    text-align: justify !important;
    text-justify: inter-word;
    /* Kelime aralarını açarak düzgün hizalar */
}


/* ========================================================= */
/* --- REVİZE 4: ONE PAGE BAŞLIK RENK DÜZENLEMESİ --- */
/* (Gradient kaldırıldı -> Light: Siyah, Dark: Beyaz) */
/* ========================================================= */

/* .section-title içindeki .gradient-text etkisini iptal et */
.section-title .gradient-text {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    background-clip: border-box !important;
}

/* LIGHT MODE (Gündüz) -> Siyah */
[data-theme="light"] .section-title,
[data-theme="light"] .section-title span {
    color: #000000 !important;
}

/* DARK MODE (Gece) -> Beyaz */
[data-theme="dark"] .section-title,
[data-theme="dark"] .section-title span {
    color: #ffffff !important;
}

/* NOT: Modal içindeki başlıklar (.main-heading) bu kuraldan etkilenmez,
   çünkü onlar .section-title class'ı kullanmıyor. İstediğin gibi sadece One Page değişti. */


/* NOT: Modal içindeki başlıkların boyutunu büyütme */
.category-heading {
    font-size: 1.8rem;
    color: var(--primary-orange);
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* NOT: Kısaltma başlıklarını (CBE, CBS) mavi yapma */
.blue-heading {
    color: var(--primary-blue) !important;
}

/* BUTONU EN ALTA İTME SİHRİ */
.read-more {
    margin-top: auto;
    /* Yukarıdaki boşluğu otomatik doldurur, butonu en alta iter */
    align-self: flex-start;
    /* Butonu sola yasla */
}

/* Mobilde boyut ayarı */
@media (max-width: 768px) {
    .blog-scroll-container .blog-card {
        min-width: 280px;
        max-width: 280px;
    }
}

/* --- OK BUTONLARI --- */
.blog-arrow {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    z-index: 9999 !important;
    /* Her şeyin üstüne çık */
    pointer-events: auto !important;
    /* Tıklamayı kesinlikle algıla */
    cursor: pointer !important;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.prev-arrow {
    left: -60px;
}

.next-arrow {
    right: -60px;
}

.blog-arrow:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 1300px) {
    .blog-arrow {
        display: none;
    }
}

/* =========================================
   MOBİL HERO DÜZELTMESİ (YAZILAR GÖRÜNSÜN)
========================================= */

@media (max-width: 768px) {

    /* 1. Hero Yüksekliği (Videoya Göre Otomatik) */
    #hero.hero-section {
        aspect-ratio: unset !important;
        height: auto !important;
        /* Yükseklik videoya göre olsun */
        min-height: unset !important;
        display: block;
    }

    /* 2. VİDEO GÖRÜNÜMÜ (Akışta Yer Kaplasın) */
    #hero-video {
        position: relative !important;
        /* Absolute yerine Relative yapıyoruz ki kapsayıcıyı genişletsin */
        width: 100%;
        height: auto !important;
        /* Kendi doğal yüksekliği */
        object-fit: contain !important;
        background: #000;
        top: auto;
        left: auto;
        transform: none;
    }

    /* 3. BUTON KONUMU */
    .cta-group {
        width: 90%;
        top: 85% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.9rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
    }
}



/* ============================================================
   BLOG & HABERLER - TEK VE NİHAİ CSS (DÜZELTİLMİŞ VERSİYON)
   ============================================================ */

/* 1. KAPSAYICI */
.blog-slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* 2. KAYDIRMA ALANI (TRACK) */
.blog-scroll-container {
    display: flex !important;
    /* Yan yana diz */
    flex-direction: row !important;
    /* Satır düzeni */
    flex-wrap: nowrap !important;
    /* Asla alt alta inme */
    gap: 30px;
    overflow-x: auto;
    /* Yatay scroll */
    scroll-behavior: smooth;
    padding: 20px 5px;
    width: 100%;
    align-items: stretch;
    /* Kart boylarını eşitle */

    /* Scroll çubuğunu gizle */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.blog-scroll-container::-webkit-scrollbar {
    display: none;
}

/* 3. KART YAPISI */
.blog-scroll-container .blog-card {
    min-width: 350px;
    max-width: 350px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0;
}

/* İçerik Düzeni */
.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.read-more {
    margin-top: auto;
}

/* 4. OK BUTONLARI */
.blog-arrow {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary-blue);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    transition: 0.3s;
}

.blog-arrow:hover {
    background: var(--primary-blue);
    color: #fff;
}

.prev-arrow {
    left: -60px;
}

.next-arrow {
    right: -60px;
}


/* =========================================
   MOBİL İÇİN ÖZEL AYARLAR (GÜNCELLENDİ: OKLAR AKTİF)
   ========================================= */
@media (max-width: 992px) {

    /* Kapsayıcı: Oklar için kenarlardan biraz boşluk bırakalım */
    .blog-slider-wrapper {
        padding: 0 10px;
    }

    /* Track: Kaydırma alanı */
    .blog-scroll-container {
        gap: 15px !important;
        padding-bottom: 20px !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* Kart Boyutu: Mobilde ekranın %85'i */
    .blog-scroll-container .blog-card {
        min-width: 85vw !important;
        max-width: 85vw !important;
        scroll-snap-align: center;
    }

    /* --- MOBİLDE OKLARI GİZLE (Touch swipe kullanılacak) --- */
    .blog-arrow {
        display: none !important;
    }
}

/* --- SECTION KOMPAKT AYARLAR --- */
#sec-musteriler.section-padding {
    padding-bottom: 20px;
}

#sec-musteriler .section-title {
    margin-bottom: 15px;
}

#sec-musteriler .sub-heading-left {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#sec-musteriler .reviews-slider-wrapper {
    gap: 14px;
}

#sec-musteriler .review-card {
    padding: 1.5rem;
}

#sec-musteriler .review-card p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* --- BACKGROUND: Products & Blog — lacivert --- */
#products-section,
#blog.section-padding {
    background-color: #1e2d62 !important;
    /* Lacivert */
}

/* Sadece bölüm düzeyindeki başlık ve açıklama beyaz — kart içleri hariç */
#products-section>.container>.section-title,
#products-section>.container>.section-desc,
#blog>.container>h2.section-title,
#blog>.container>.section-title,
#blog>.container>.section-desc {
    color: #ffffff !important;
}

/* Başlık içindeki gradient-text span'leri de beyaz */
#products-section>.container>.section-title span,
#blog>.container>.section-title span {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
}

/* Kart içleri: koyu renkte okunabilir olsun */
#products-section .big-box,
#products-section .feature-card,
#products-section .glass-hover {
    color: var(--text-main);
}

#products-section .big-box p,
#products-section .big-box h3,
#products-section .big-box h4,
#products-section .feature-card p,
#products-section .feature-card h3 {
    color: #222222 !important;
}

/* Blog kartları */
#blog .blog-card,
#blog .blog-card p,
#blog .blog-card h3,
#blog .blog-card span {
    color: #222222 !important;
}

[data-theme="dark"] #products-section,
[data-theme="dark"] #blog.section-padding {
    background-color: #0d1b2e !important;
    /* Koyu lacivert (dark mode) */
}

/* --- BLOG SECTION SPACING FIX --- */
#blog.section-padding {
    scroll-margin-top: 80px;
    /* Navbar için güvenli alan */
}

#blog .section-desc {
    margin-bottom: 1rem;
}

#blog .section-title {
    margin-bottom: 15px;
    /* Başlık -> Açıklama arası kısa */
}

#blog .blog-slider-wrapper {
    margin-top: 0;
}

/* --- CHIC CARDS (SERTİFİKA VE PATENTLER) --- */
.chic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Tek kalan kartı ortalama */
.centered-card {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 450px;
    /* Diğer kartlarla uyumlu görünsün diye */
}

@media (max-width: 768px) {
    .centered-card {
        max-width: 100%;
    }
}

.chic-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.25rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.chic-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.chic-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: 0.3s;
}

.chic-card:hover .chic-icon {
    background: var(--primary-blue);
    color: #fff;
}

.chic-content {
    display: flex;
    flex-direction: column;
}

.chic-content h4 {
    font-size: 1rem;
    color: var(--text-main);
    margin: 0 0 4px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.chic-content span {
    font-size: 0.8rem;
    color: var(--text-muted);

    line-height: 1.3;
}

/* ============================================================ */
/* --- BÖLGE / DİL SEÇİCİ (GLOBE ICON DROPDOWN) --- */
/* ============================================================ */

.region-selector-wrapper {
    position: relative;
    margin-right: 15px;
    z-index: 1000;
}

/* Trigger Button */
.region-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 12px;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

[data-theme="light"] .region-btn {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-main);
}

.region-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.region-btn i.fa-globe {
    font-size: 1rem;
    color: var(--primary-blue);
}

.region-chevron {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.region-chevron.open {
    transform: rotate(180deg);
}

/* Dropdown Panel */
.region-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    overflow: visible;
    animation: regionFadeIn 0.2s ease;
}

[data-theme="light"] .region-dropdown {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.region-dropdown.open {
    display: block;
}

@keyframes regionFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.region-dropdown-inner {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Field (Country / Language) */
.region-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.region-field-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Select Box (trigger for sub-list) */
.region-select-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.2s;
}

[data-theme="light"] .region-select-box {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .region-select-box:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--primary-blue);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 0 10px rgba(0, 123, 255, 0.1);
}

.region-select-box:hover {
    border-color: var(--primary-blue);
}

.region-select-box>i.fa-chevron-down {
    margin-left: auto;
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.25s;
}

.region-select-box.list-open>i.fa-chevron-down {
    transform: rotate(180deg);
}

.region-flag {
    font-size: 1.3rem;
    line-height: 1;
}

.region-lang-icon {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--glass-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.07);
}

.region-select-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Inner dropdown list */
.region-dropdown-list {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 2000;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    max-height: 220px;
    overflow-y: auto;
}

[data-theme="light"] .region-dropdown-list {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.region-dropdown-list.open {
    display: block;
    animation: regionFadeIn 0.15s ease;
}

.region-dropdown-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-main);
    transition: background 0.15s;
}

.region-dropdown-list li:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .region-dropdown-list li:hover {
    background: rgba(0, 0, 0, 0.05);
}

.region-dropdown-list li span {
    font-size: 1.2rem;
}

.region-dropdown-list li.active {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Remember checkbox */
.region-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}

.region-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

.region-remember label {
    cursor: pointer;
}

/* Apply Button */
.region-apply-btn {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--primary-orange), #ff6a00);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-main);
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.2s;
}

.region-apply-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 992px) {
    .region-selector-wrapper {
        margin-right: 10px;
    }

    .region-label {
        display: none;
    }

    .region-btn {
        padding: 6px 10px;
        border-radius: 50%;
        gap: 0;
    }

    .region-chevron {
        display: none;
    }

    .region-dropdown {
        right: -10px;
        width: 180px;
    }
}

/* ============================================================ */
/* --- GOOGLE TRANSLATE UGLY WIDGET HİDDEN --- */

/* Hide the top popup bar entirely */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame {
    display: none !important;
    visibility: hidden !important;
}

/* More aggressive iframe hiding */
iframe.goog-te-banner-frame,
iframe[name="te_content"] {
    display: none !important;
}

/* Hide the new modern Google Translate widget container */
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc,
div[id^="goog-gt-"],
.goog-te-gadget {
    display: none !important;
}

/* Hide any skiptranslate element that is an iframe or a div (except body) */
iframe.skiptranslate,
div.skiptranslate:not(body) {
    display: none !important;
}

/* Google forces a top margin/padding on body when translating, remove it */
body,
html {
    top: 0px !important;
    position: static !important;
}

body {
    position: relative !important;
    min-height: 100vh;
}

/* Prevent tooltip popups on translated words */
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hide the original hidden widget container */
#google_translate_element {
    display: none !important;
}

/* Hide hover effects that Google applies to translated text */
.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Hide the language translation tooltip popup */
.VIpgJd-Zvi9od-ORHb-OEVmcd {
    display: none !important;
}
/* --- ARABIC (RTL) MODAL ADJUSTMENTS --- */
[dir="rtl"] .modal-close-anim {
    right: auto;
    left: 20px;
}

[dir="rtl"] .prev-float {
    left: auto;
    right: 280px; /* Sidebar width */
}

[dir="rtl"] .next-float {
    right: auto;
    left: 40px;
    flex-direction: row;
}

[dir="rtl"] .float-nav-btn i.fa-chevron-left {
    transform: rotate(180deg);
}
[dir="rtl"] .float-nav-btn i.fa-chevron-right {
    transform: rotate(180deg);
}

@media (max-width: 992px) {
    [dir="rtl"] .prev-float {
        right: 20px;
        left: auto;
    }
    [dir="rtl"] .next-float {
        left: 20px;
        right: auto;
    }
}



#blog-track {
    display: flex;
    gap: 30px;
    width: max-content;
    will-change: transform;
    overflow: visible !important;
}

#blog .blog-cards-container {
    overflow: hidden;
    padding-bottom: 2rem;
}



/* --- BIZ KIMIZ ETIKET BOYUTU --- */
#sec-biz-kimiz .en-about-label {
    font-size: 1.3rem; /* Sadece mavi etiket büyütüldü */
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}



/* ============================================================
   KAPSAMLI MOBİL RESPONSIVE DÜZELTME
   ============================================================ */

/* --- 0. GENEL TAŞMA ENGELİ --- */
body, html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* --- 1. NAVBAR MOBİL --- */
@media (max-width: 768px) {
    /* Nav linkleri mobilde gizle; hamburger tıklanınca .open class gelecek */
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 0;
        z-index: 9998;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        cursor: pointer;
        color: var(--text-main);
        padding: 0.3rem;
    }

    /* Nav controls sığdır */
    .nav-controls {
        gap: 0.8rem;
    }

    .region-selector-wrapper {
        margin-right: 0;
    }
}

/* --- 2. HERO SECTION MOBİL --- */
@media (max-width: 768px) {
    #hero.hero-section {
        aspect-ratio: unset !important;
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
    }

    .cta-group {
        position: absolute !important;
        bottom: 8% !important;
        top: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 0 !important;
    }

    .cta-group .btn {
        width: 100% !important;
        max-width: 260px !important;
        text-align: center !important;
        padding: 9px 16px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }
}

/* --- 3. BLOG SLIDER MOBİL --- */
@media (max-width: 768px) {
    /* blog-track'in taşmasını engelle */
    #blog-track {
        width: auto !important;
        overflow: visible !important;
    }

    .blog-scroll-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .blog-scroll-container .blog-card {
        min-width: 80vw !important;
        max-width: 80vw !important;
    }

    .prev-arrow {
        left: 0 !important;
    }

    .next-arrow {
        right: 0 !important;
    }

    /* Section padding daralt */
    .section-padding {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1rem;
    }
}

/* ================================================================
   RESPONSIVE FIX v5 — Hero gradient + Logo RTL + Blog + Dark mode
   ================================================================ */

/* ── 1. DARK MODE: Kutu içi yazılar beyaz ───────────────────────*/
[data-theme="dark"] #products-section .big-box p,
[data-theme="dark"] #products-section .big-box h3,
[data-theme="dark"] #products-section .big-box h4,
[data-theme="dark"] #products-section .feature-card p,
[data-theme="dark"] #products-section .feature-card h3,
[data-theme="dark"] #products-section .feature-card h4,
[data-theme="dark"] #products-section p,
[data-theme="dark"] #products-section h3,
[data-theme="dark"] #products-section h4 { color: #ffffff !important; }

[data-theme="dark"] #blog .blog-card,
[data-theme="dark"] #blog .blog-card p,
[data-theme="dark"] #blog .blog-card h3,
[data-theme="dark"] #blog .blog-card h4,
[data-theme="dark"] #blog .blog-card span,
[data-theme="dark"] #blog .blog-date,
[data-theme="dark"] #blog .blog-content h4,
[data-theme="dark"] #blog .blog-content p { color: #ffffff !important; }

/* ── 2. LOGO SLIDER RTL mask ─────────────────────────────────────*/
[dir="rtl"] .logo-track-viewport {
    mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent) !important;
    -webkit-mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent) !important;
}

/* ── 3. HERO MOBİL: Gradient overlay ────────────────────────────*/
@media (max-width: 1024px) {
    #hero.hero-section { position: relative !important; aspect-ratio: unset !important; height: auto !important; min-height: unset !important; max-height: unset !important; overflow: hidden !important; display: block !important; background: #000; }
    #hero-video { position: relative !important; top: auto !important; left: auto !important; transform: none !important; width: 100% !important; height: auto !important; object-fit: cover !important; display: block !important; }
    #hero.hero-section::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 55%; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%); pointer-events: none; z-index: 2; }
    .cta-group { position: absolute !important; bottom: 6% !important; left: 50% !important; top: auto !important; transform: translateX(-50%) !important; width: 85% !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 0.6rem !important; z-index: 10 !important; padding: 0 !important; background: transparent !important; }
    .cta-group .btn { width: 100% !important; max-width: 300px !important; text-align: center !important; padding: 11px 20px !important; font-size: 0.9rem !important; white-space: nowrap !important; }
    #hero.scroll-area { overflow: hidden !important; }
}

/* ── 4. BLOG MASAÜSTÜ ────────────────────────────────────────────*/
@media (min-width: 1025px) {
    #blog { overflow: hidden !important; }
    #blog .blog-slider-wrapper { overflow: visible !important; padding: 0 70px !important; }
    .blog-arrow, #blog-prev, #blog-next { display: flex !important; }
    .prev-arrow { left: -55px !important; }
    .next-arrow { right: -55px !important; }
    #blog-track { display: flex !important; flex-wrap: nowrap !important; width: max-content !important; overflow: visible !important; will-change: transform; }
}

/* ── 5. BLOG MOBİL/TABLET ───────────────────────────────────────*/
@media (max-width: 1024px) {
    #blog { overflow: visible !important; }
    #blog .blog-slider-wrapper { overflow: hidden !important; width: 100% !important; padding: 0 !important; }
    #blog-track { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; width: 100% !important; overflow-x: auto !important; overflow-y: visible !important; transform: none !important; will-change: unset !important; scroll-behavior: smooth !important; scroll-snap-type: x mandatory !important; -webkit-overflow-scrolling: touch !important; gap: 20px !important; padding: 10px 1.5rem 20px 1.5rem !important; scrollbar-width: none !important; -ms-overflow-style: none !important; align-items: stretch; }
    #blog-track::-webkit-scrollbar { display: none; }
    #blog-track .blog-card { min-width: 65vw !important; max-width: 65vw !important; flex-shrink: 0 !important; scroll-snap-align: start; height: auto !important; }
    .blog-arrow, #blog-prev, #blog-next { display: none !important; }
    #blog.section-padding, #blog.scroll-area { min-height: auto !important; max-height: none !important; overflow: visible !important; padding-bottom: 3rem !important; }
}
@media (max-width: 768px) { body, html { overflow-x: hidden !important; max-width: 100vw !important; } .container { padding: 0 1rem !important; width: 100% !important; } .section-padding { padding: 2.5rem 0 !important; } #blog-track { gap: 15px !important; padding: 10px 1rem 20px 1rem !important; } #blog-track .blog-card { min-width: 82vw !important; max-width: 82vw !important; } }
@media (max-width: 480px) { #blog-track .blog-card { min-width: 88vw !important; max-width: 88vw !important; } }

/* ── 6. NAVBAR ───────────────────────────────────────────────────*/
@media (min-width: 993px) and (max-width: 1200px) { .nav-links { gap: 0.7rem !important; } .nav-links li a { font-size: 0.8rem !important; white-space: nowrap; } .nav-controls { gap: 0.8rem !important; } }
@media (max-width: 1024px) { .nav-links { display: none !important; } .hamburger { display: flex !important; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; color: var(--text-main); } .nav-links.open { display: flex !important; flex-direction: column; gap: 0; position: fixed; top: 80px; left: 0; width: 100%; background: var(--glass-bg); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); padding: 1rem 0; z-index: 9997; } .nav-links.open li { border-bottom: 1px solid var(--glass-border); } .nav-links.open li a { display: block; padding: 0.8rem 1.5rem; font-size: 1rem; } }

/* ── 7. DİĞER ───────────────────────────────────────────────────*/
.modal-wrapper { top: 80px !important; height: calc(100vh - 80px) !important; z-index: 9998 !important; overflow: hidden !important; }
.modal-wrapper.active .modal-inner { height: 100%; overflow: hidden; }
.modal-wrapper.active .modal-content-area { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 1024px) { html { scroll-snap-type: none !important; } .scroll-area { min-height: auto !important; max-height: none !important; height: auto !important; } .scroll-area:not(#hero) { overflow-x: hidden !important; } }
@media (max-width: 768px) { .iban-container { grid-template-columns: 1fr !important; } .iban-box { min-width: 0 !important; box-sizing: border-box !important; } .iban-box code { font-size: 0.82rem !important; flex: 1 !important; min-width: 0 !important; word-break: break-all !important; } }
@media (max-width: 480px) { .iban-box span { flex-shrink: 0 !important; min-width: 48px !important; } .copy-btn { flex-shrink: 0 !important; margin-left: 6px !important; } }
#blog .blog-card, #blog .blog-card p, #blog .blog-card h3, #blog .blog-card h4, #blog .blog-card span { color: #222222 !important; }
* { scrollbar-color: rgba(160, 160, 160, 0.5) transparent !important; }
@media (max-width: 768px) { .super-heading { font-size: 1.8rem !important; word-break: break-word !important; white-space: normal !important; display: block !important; } .modal-content-area { padding: 1rem !important; overflow-x: hidden !important; } .main-heading { font-size: 1.3rem !important; word-break: break-word !important; } }
section, .section-padding, .scroll-area { max-width: 100%; box-sizing: border-box; }

/* ========== ARAPÇA (RTL) DÜZELTMELER ========== */
html[dir="rtl"] .financial-section,
html[dir="rtl"] .financial-section h4,
html[dir="rtl"] .fin-item {
  text-align: right;
  direction: rtl;
}

/* Latin metinli satırlar — karışık dil desteği */
html[dir="rtl"] .fin-item {
  unicode-bidi: plaintext;
}

/* strong ile yanındaki metin arasında boşluk */
html[dir="rtl"] .fin-item strong {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* Cüzdan ikonu sağda */
html[dir="rtl"] .financial-section h4 i.fa-wallet {
  margin-left: 0.5rem;
  margin-right: 0;
}

/* IBAN konteyneri — kutu sırası TL, USD, EUR kalsın (Türkçe ile aynı) */
html[dir="rtl"] .iban-container {
  direction: ltr;
}

/* Ama kutuların içindeki metin/rakam da LTR (rakam doğru aksın diye) */
html[dir="rtl"] .iban-box {
  direction: ltr;
  text-align: left;
}

/* Banka adı Arapça olduğu için sağda kalsın */
html[dir="rtl"] .bank-name {
  text-align: right;
  direction: rtl;
}

/* ── PDF İndirme Çubuğu ── */
.pdf-download-bar {
    display: flex;
    justify-content: center;
    margin: 1.2rem 0 1.8rem;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1.6rem;
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.40);
    border: none;
    cursor: pointer;
}

.pdf-btn:hover {
    background: linear-gradient(135deg, #a93226 0%, #c0392b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.55);
}

.pdf-btn i {
    font-size: 1.05rem;
}

/* RTL için buton düzeni */
html[dir="rtl"] .pdf-download-bar {
    direction: rtl;
}
/* ── MOBİL HERO FINAL FIX ── */
@media (max-width: 768px) {
    #hero.hero-section {
        height: auto !important;
        min-height: unset !important;
        max-height: unset !important;
        aspect-ratio: unset !important;
        display: flex !important;
        flex-direction: column !important;
    }
    #hero-video {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 220px !important;
        display: block !important;
        z-index: 1 !important;
        object-fit: cover !important;
    }
    .cta-group {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.5rem !important;
        padding: 1rem 1.5rem !important;
        background: rgba(245,245,245,0.95) !important;
        z-index: 10 !important;
    }
    .cta-group .btn {
        width: 100% !important;
        max-width: 280px !important;
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
}
@media (max-width: 768px) {
    #hero.hero-section {
        padding-top: 70px !important;
    }
}
@media (max-width: 768px) {
    [data-theme="dark"] .cta-group {
        background: rgba(20,20,35,0.95) !important;
    }
}