/* Modern Professional Design with Dark Mode */
:root {
    /* Brand Colors */
    --primary: #00a8cc;
    --primary-dark: #0088aa;
    --secondary: #f9b233;
    --dark: #003d4d;
    
    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-muted: #adb5bd;
    --border: #dee2e6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #242424;
    --bg-tertiary: #2d2d2d;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --border: #3a3a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 10px 0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 0.95rem;
}

.header-contact i {
    font-size: 1.1rem;
}

.phone-number {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.phone-number:hover {
    opacity: 0.9;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

[data-theme="dark"] .brand {
    color: var(--primary);
}

.brand .logo-text {
    color: #8bc34a;
}

.main-nav {
    display: flex;
    gap: 5px;
    align-items: center;
}

.main-nav > a,
.nav-dropdown > a {
    padding: 10px 18px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.main-nav > a:hover,
.nav-dropdown > a:hover,
.main-nav > a.active {
    background: var(--primary);
    color: white;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 5px;
    z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    padding-left: 24px;
}
/* ================================================
   GENİŞ DROPDOWN MENÜ (Ürünler için)
   ================================================ */

.nav-dropdown-large .dropdown-menu-large {
    min-width: 800px;
    max-width: 900px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 20px;
}

.nav-dropdown-large:hover .dropdown-menu-large {
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Grid Layout */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dropdown-column {
    min-width: 180px;
}

.dropdown-column h4 {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-column h4 i {
    margin-right: 6px;
}

.dropdown-column a {
    display: block;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    border-radius: 6px;
    margin-bottom: 4px;
}

.dropdown-column a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-column a i {
    margin-right: 8px;
    width: 14px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.dropdown-column a:hover i {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .dropdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-dropdown-large .dropdown-menu-large {
        min-width: 600px;
    }
}

@media (max-width: 768px) {
    .nav-dropdown-large .dropdown-menu-large {
        position: static;
        min-width: auto;
        transform: none;
        padding: 10px;
    }
    
    .dropdown-grid {
        grid-template-columns: 1fr;
    }
}

.mobile-menu-toggle {
    display: none;
    background: var(--bg-tertiary);
    border: none;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    flex-shrink: 0; /* 👈 BU SATIRI EKLE */
}

.mobile-menu-toggle:hover {
    background: var(--primary);
    color: white;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 400px);
}

/* Footer Styles - Dark Mode Desteği ile */
/* Footer Styles - Dark/Light Mode Desteği */
.site-footer {
    background: linear-gradient(135deg, #00a8cc 0%, #0088aa 100%); /* Light mode mavi */
    color: white;
    margin-top: 80px;
    transition: var(--transition);
}

/* Dark mode'da footer arka planı koyu */
[data-theme="dark"] .site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #003d4d 100%);
}

.footer-main {
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Logo - Dark/Light Mode Desteği */
.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo .logo-text {
    color: #ffeb3b; /* Sarı/altın renk - hem light hem dark'ta okunur */
}

[data-theme="dark"] .footer-logo .logo-text {
    color: #9ccc65; /* Dark mode'da yeşil */
}

.footer-logo-img {
    height: 45px;
    width: auto;
    filter: none; /* Light mode'da orijinal renkler (yeşil yazılı) */
    transition: var(--transition);
}

/* Dark mode'da footer logosu beyaz */
[data-theme="dark"] .footer-logo-img {
    filter: brightness(0) invert(1); /* Dark mode'da beyaz */
}

/* Footer metinleri için dark/light mode */
.footer-description {
    color: rgba(255, 255, 255, 0.9); /* Light mode'da daha okunur */
    line-height: 1.8;
    margin-bottom: 25px;
    transition: var(--transition);
}

[data-theme="dark"] .footer-description {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer section başlıkları */
.footer-section h3 {
    color: #ffffff; /* Light mode'da beyaz */
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

[data-theme="dark"] .footer-section h3 {
    color: #8bc34a; /* Dark mode'da yeşil */
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

/* Footer linkleri */
.footer-section a {
    color: rgba(255, 255, 255, 0.95); /* Biraz daha parlak */
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

[data-theme="dark"] .footer-section a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-section a:hover {
    color: #ffeb3b; /* Hover'da sarı/altın */
    transform: translateX(5px);
}

[data-theme="dark"] .footer-section a:hover {
    color: #9ccc65; /* Dark mode'da yeşil */
}

/* Footer About Section */
.footer-social {
    display: flex;
    gap: 12px;
}

/* Footer sosyal medya butonları */
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2); /* Light mode */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.3); /* Light mode */
    transform: translateY(-3px);
}

[data-theme="dark"] .footer-social a:hover {
    background: #00a8cc; /* Dark mode'da mavi */
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9); /* Light mode */
    transition: var(--transition);
}

[data-theme="dark"] .footer-contact li {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact i {
    color: #ffffff; /* Light mode'da beyaz */
    margin-top: 3px;
    font-size: 1.1rem;
    transition: var(--transition);
}

[data-theme="dark"] .footer-contact i {
    color: #8bc34a; /* Dark mode'da yeşil */
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9); /* Light mode */
    transition: var(--transition);
}

[data-theme="dark"] .footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
    color: #ffffff; /* Light mode */
    transform: none;
}

[data-theme="dark"] .footer-contact a:hover {
    color: #8bc34a; /* Dark mode */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2); /* Light mode */
    padding: 25px 0;
    transition: var(--transition);
}

[data-theme="dark"] .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.9); /* Light mode */
    font-size: 0.9rem;
    transition: var(--transition);
}

[data-theme="dark"] .footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.9); /* Light mode */
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

[data-theme="dark"] .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: #ffffff; /* Light mode */
}

[data-theme="dark"] .footer-bottom-links a:hover {
    color: #8bc34a; /* Dark mode */
}

/* Footer section başlıkları */
.footer-section h3 {
    color: #ffffff; /* Light mode'da beyaz - daha okunabilir */
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); /* Hafif gölge ekle */
}

[data-theme="dark"] .footer-section h3 {
    color: #9ccc65; /* Dark mode'da parlak lime yeşili */
    text-shadow: none;
}

/* Footer linkleri */
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

[data-theme="dark"] .footer-section a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-section a:hover {
    color: #89c349;
    transform: translateX(5px);
}

/* Footer sosyal medya butonları */
.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

[data-theme="dark"] .footer-social a:hover {
    background: #00a8cc;
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
    color: #89c349;
    margin-top: 3px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: #89c349;
    transform: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: #89c349;
}

/* Card Styles */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Flash Messages */
.flash {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.flash {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

[data-theme="dark"] .flash {
    background: rgba(40, 167, 69, 0.2);
    color: #4ade80;
}

.flash.error {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

[data-theme="dark"] .flash.error {
    background: rgba(220, 53, 69, 0.2);
    color: #fca5a5;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.text-muted { color: var(--text-muted); }

.row {
    display: grid;
    gap: 30px;
}

article h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    font-size: 2rem;
}

article h3 {
    color: var(--text-primary);
    margin: 25px 0 15px;
    font-size: 1.5rem;
}

article p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

article ul {
    margin: 15px 0 15px 25px;
}

article ul li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    /* 👇 BU BÖLÜMÜ EKLE */
    .header-main .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
    }
    
    .brand {
        order: 1;
        flex-shrink: 0;
    }
    /* 👆 BU BÖLÜMÜ EKLE */
    
    .main-nav {
        position: fixed;
        top: 140px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 140px); /* 👈 EKLE */
        overflow-y: auto; /* 👈 EKLE */
        order: 3; /* 👈 EKLE */
    }
    
    .main-nav.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-top: 10px;
        padding-left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-main .container {
        position: relative;
    }
}

@media (max-width: 576px) {
    .header-contact {
        font-size: 0.85rem;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    .brand {
        font-size: 1.5rem;
    }
}
/* ========================================
   SVG LOGO STYLES
   ======================================== */

/* Header Logo */
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.brand-logo {
    height: 60px; /* 50px'den 60px'e çıkardık (+20%) */
    width: auto;
    transition: var(--transition);
}

/* Light mode'da SVG koyu renk */
/* Light mode'da SVG orijinal renklerini korur (yeşil dahil) */
.brand-logo {
    filter: none; /* Hiçbir filtre uygulanmaz */
}

/* Dark mode'da SVG beyaz olur */
[data-theme="dark"] .brand-logo {
    filter: brightness(0) invert(1);
}

/* Dark mode'da SVG beyaz olur */
[data-theme="dark"] .brand-logo {
    color: #ffffff;
}

.brand:hover .brand-logo {
    transform: scale(1.05);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    color: #ffffff; /* Footer'da her zaman beyaz */
}

/* Responsive Logo Boyutları */
@media (max-width: 992px) {
    .brand-logo {
        height: 52px; /* Biraz daha büyük */
    }
    
    .footer-logo-img {
        height: 42px;
    }
}

@media (max-width: 768px) {
    .brand-logo {
        height: 45px; /* Biraz daha büyük */
    }
    
    .footer-logo-img {
        height: 38px;
    }
}

@media (max-width: 576px) {
    .brand-logo {
        height: 40px; /* Biraz daha büyük */
    }
    
    .footer-logo-img {
        height: 35px;
    }
}

/* Admin Panel Logo Stilleri */
.login-logo {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
    filter: none; /* Light mode için orijinal renkler */
}

.admin-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .admin-logo {
        height: 36px;
    }
    
    .login-logo {
        height: 60px;
    }
}

/* SVG Optimizasyonu */
.footer-logo-img,
.admin-logo,
.login-logo {
    display: block;
    max-width: 100%;
    height: auto;
}
.brand-logo {
    display: block;
    max-width: 100%;

}
/* ================================================
   MEGA MENÜ - 2 SÜTUNLU (Hikvision & Dahua)
   ================================================ */

.nav-dropdown-large .dropdown-menu-mega {
    min-width: 700px;
    max-width: 800px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 30px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    position: absolute;
    top: 100%;
    margin-top: 5px;
    z-index: 100;
}

.nav-dropdown-large:hover .dropdown-menu-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Mega Menü Grid - 2 Sütun */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Mega Menü Sütunları */
.mega-column {
    min-width: 0; /* Grid overflow fix */
}

.mega-column-title {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column-title i {
    font-size: 1.1rem;
}

/* Mega Menü Linkleri */
.mega-column-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-column-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    border-radius: 6px;
}

.mega-column-links a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    transform: translateX(5px);
}

.mega-column-links a i {
    width: 16px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.6;
}

.mega-column-links a:hover i {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .nav-dropdown-large .dropdown-menu-mega {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-dropdown-large .dropdown-menu-mega {
        position: static;
        min-width: auto;
        transform: none;
        padding: 15px;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
    }
}
/* ================================================
   3 SEVİYELİ DROPDOWN MENÜ (Hikvision için)
   ================================================ */

/* Seviye 2 Dropdown (Ağ Ürünleri, PTZ vs.) */
.nav-dropdown .nav-dropdown-nested {
    position: relative;
}

.nav-dropdown-nested > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-dropdown-nested > a::after {
    content: "›";
    font-size: 18px;
    margin-left: auto;
    transition: transform 0.3s;
}

.nav-dropdown-nested:hover > a::after {
    transform: translateX(3px);
}

/* Seviye 3 Dropdown (Pro Serisi, AcuSense vs.) */
.dropdown-menu-level3 {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    min-width: 250px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: var(--transition);
    margin-left: 5px;
    z-index: 101;
    max-height: 500px;
    overflow-y: auto;
}

.nav-dropdown-nested:hover .dropdown-menu-level3 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-menu-level3 a {
    display: block;
    padding: 10px 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.85rem;
    border-left: 3px solid transparent;
}

.dropdown-menu-level3 a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 20px;
}

/* Seviye 3 için özel işaret */
.dropdown-menu-level3 a::before {
    content: "•";
    margin-right: 8px;
    color: var(--primary);
    opacity: 0.5;
}

.dropdown-menu-level3 a:hover::before {
    opacity: 1;
}

/* Mobile için 3 seviyeli menü */
@media (max-width: 768px) {
    .dropdown-menu-level3 {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        margin-left: 0;
        padding-left: 30px;
        background: rgba(0, 168, 204, 0.05);
        border-radius: 0;
        max-height: none;
    }
    
    .nav-dropdown-nested > a::after {
        content: "▼";
        font-size: 12px;
    }
    
    .dropdown-menu-level3 a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}
/* ==============================================
   4 SEVİYELİ MENÜ SİSTEMİ - CSS EKLENTİLERİ
   ============================================== */

/* Dropdown Section (Marka Başlıkları - Hikvision/Dahua) */
.dropdown-section {
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-section:last-child {
    border-bottom: none;
}

.dropdown-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #00a8cc;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: none; /* Tıklanamaz başlık */
    display: flex;
    align-items: center;
}

.dropdown-section-title i {
    margin-right: 10px;
    font-size: 1.1rem;
}

/* Dropdown Section Items (Ana Kategoriler) */
.dropdown-section-items {
    padding: 5px 0;
}

.dropdown-section-item {
    display: block;
    padding: 10px 20px 10px 40px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    position: relative;
}

.dropdown-section-item i {
    margin-right: 10px;
    color: #6c757d;
    font-size: 0.85rem;
}

.dropdown-section-item:hover {
    background: #f8f9fa;
    padding-left: 45px;
    color: #00a8cc;
}

.dropdown-section-item:hover i {
    color: #00a8cc;
}

/* Nested Dropdown (Alt kategorisi olan Level 3 menüler) */
.nav-dropdown-nested {
    position: relative;
}

.dropdown-item-with-submenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px 10px 40px;
    color: #495057;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.dropdown-item-with-submenu i:first-child {
    margin-right: 10px;
    color: #6c757d;
    font-size: 0.85rem;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    color: #adb5bd;
    transition: transform 0.3s;
}

.dropdown-item-with-submenu:hover {
    background: #f8f9fa;
    padding-left: 45px;
    color: #00a8cc;
}

.dropdown-item-with-submenu:hover i {
    color: #00a8cc;
}

.nav-dropdown-nested:hover .submenu-arrow {
    transform: translateX(3px);
}

/* Level 4 Submenu (Alt Kategoriler - Pro Serisi, Ultra Series vb) */
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-dropdown-nested:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu-item {
    display: block;
    padding: 10px 20px;
    color: #495057;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.dropdown-submenu-item:hover {
    background: #f8f9fa;
    color: #00a8cc;
    border-left-color: #00a8cc;
    padding-left: 25px;
}

/* Dropdown Menu Genel Ayarlar */
.nav-dropdown-large .dropdown-menu {
    min-width: 500px;
    max-width: 600px;
    padding: 20px 0;
}

/* Dropdown Menu Grid Layout (2 Sütun) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 15px 0;
    min-width: 250px;
    z-index: 1000;
    margin-top: 5px;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

/* Ürünler menüsü için özel grid layout */
.nav-dropdown-large .dropdown-menu {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.nav-dropdown-large:hover .dropdown-menu {
    display: grid;
}

/* Responsive - Mobil */
@media (max-width: 992px) {
    .dropdown-submenu {
        position: relative;
        left: 0;
        top: 0;
        min-width: 100%;
        box-shadow: none;
        border-left: 3px solid #00a8cc;
        margin-left: 20px;
        margin-top: 5px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none; /* Mobilde toggle ile açılacak */
    }
    
    .nav-dropdown-nested.open .dropdown-submenu {
        display: block;
    }
    
    .dropdown-section-title {
        pointer-events: auto; /* Mobilde tıklanabilir */
        cursor: pointer;
    }
    
    .dropdown-item-with-submenu {
        cursor: pointer;
    }
    
    .nav-dropdown-large .dropdown-menu {
        grid-template-columns: 1fr;
    }
}

/* Hover Efektleri */
.dropdown-menu a {
    transition: all 0.3s ease;
}

/* Scrollbar Stilizasyonu (Uzun menüler için) */
.dropdown-menu {
    max-height: 80vh;
    overflow-y: auto;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #00a8cc;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #0077b6;
}

/* Animasyonlar */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-dropdown:hover .dropdown-menu {
    animation: slideIn 0.3s ease;
}

/* Dark Mode Desteği */
body.dark-mode .dropdown-menu,
body.dark-mode .dropdown-submenu {
    background: #1a1a1a;
    border: 1px solid #333;
}

body.dark-mode .dropdown-section {
    border-bottom-color: #333;
}

body.dark-mode .dropdown-section-item,
body.dark-mode .dropdown-item-with-submenu,
body.dark-mode .dropdown-submenu-item {
    color: #e0e0e0;
}

body.dark-mode .dropdown-section-item:hover,
body.dark-mode .dropdown-item-with-submenu:hover,
body.dark-mode .dropdown-submenu-item:hover {
    background: #2a2a2a;
    color: #00d9ff;
}
/* Language Switcher - Header */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-flag {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    object-fit: cover;
    display: block;
}

.lang-flag:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.lang-flag.active {
    border-color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
/* ================================================
   HİZMETLER SAYFASI - DARK MODE DÜZELTMESİ
   ================================================ */

/* Services Hero - Light Mode */
.services-hero {
    background: linear-gradient(135deg, #00a8cc 0%, #0088aa 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dark Mode'da daha koyu arka plan */
[data-theme="dark"] .services-hero {
    background: linear-gradient(135deg, #003d4d 0%, #002a35 100%);
    color: #ffffff;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.services-hero-content {
    position: relative;
    z-index: 1;
}

.services-hero h1 {
    font-size: 42px;
    margin: 0 0 15px 0;
    font-weight: 800;
    color: #ffffff; /* Her zaman beyaz */
}

[data-theme="dark"] .services-hero h1 {
    color: #ffffff; /* Dark mode'da da beyaz */
}

.services-hero p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95); /* Her zaman beyaz */
}

[data-theme="dark"] .services-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Service Cards - Dark Mode */
.service-category-card {
    background: var(--bg-primary);
    border: 2px solid var(--border);
    transition: var(--transition);
}

[data-theme="dark"] .service-category-card {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.service-category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 168, 204, 0.2);
}

[data-theme="dark"] .service-category-card:hover {
    box-shadow: 0 20px 60px rgba(0, 168, 204, 0.4);
}

/* Service Detail Hero - Dark Mode */
.service-detail-hero {
    background: linear-gradient(135deg, #00a8cc 0%, #0088aa 100%);
    color: white;
}

[data-theme="dark"] .service-detail-hero {
    background: linear-gradient(135deg, #003d4d 0%, #002a35 100%);
}

.service-detail-hero h1,
.service-detail-hero p,
.breadcrumb,
.breadcrumb a {
    color: #ffffff !important;
}
/* Mobile'da daha küçük */
@media (max-width: 576px) {
    .lang-flag {
        width: 28px;
        height: 28px;
    }
    
    .header-top-content > div:last-child {
        gap: 10px;
    }
}
