/* ============================================
   SEOSyed - Dark Mode
   ============================================ */

[data-theme="dark"] {
    --bg-body: #0F1B2D;
    --bg-section: #152238;
    --bg-section-alt: #1A2B45;
    --bg-dark: #0A1220;
    --bg-card: #162033;
    --bg-overlay: rgba(10, 18, 32, 0.9);

    --text-primary: #E8ECF1;
    --text-secondary: #A0AEC0;
    --text-muted: #6B7F99;
    --text-link: #5DADE2;

    --border-color: rgba(255,255,255,0.08);
    --border-light: 1px solid rgba(255,255,255,0.06);

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.35);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.4);
    --shadow-card: 0 2px 16px rgba(0,0,0,0.2);
    --shadow-card-hover: 0 8px 32px rgba(0,0,0,0.35);

    --glass-bg: rgba(22, 32, 51, 0.8);
    --glass-border: rgba(255,255,255,0.06);

    --gradient-card: linear-gradient(145deg, rgba(46,134,193,0.06) 0%, rgba(22,32,51,0.4) 100%);

    color-scheme: dark;
}

/* Header */
[data-theme="dark"] .site-header.scrolled {
    background: rgba(15, 27, 45, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

[data-theme="dark"] .site-header.scrolled .header-nav > li > a {
    color: var(--text-primary);
}

[data-theme="dark"] .site-header.scrolled .hamburger span {
    background: var(--text-primary);
}

/* Navigation */
[data-theme="dark"] .header-nav > li > .sub-menu,
[data-theme="dark"] .mega-menu-dropdown {
    background: #1A2B45;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .mega-menu-column ul li a:hover {
    background: rgba(46,134,193,0.1);
}

[data-theme="dark"] .mega-menu-featured {
    background: linear-gradient(145deg, rgba(46,134,193,0.1) 0%, rgba(22,32,51,0.6) 100%);
}

/* Mobile Menu */
[data-theme="dark"] .mobile-menu-panel {
    background: #152238;
}

[data-theme="dark"] .mobile-nav a {
    color: var(--text-primary);
    border-bottom-color: rgba(255,255,255,0.06);
}

/* Cards */
[data-theme="dark"] .card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .faq-item {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .card-title a,
[data-theme="dark"] .faq-question {
    color: var(--text-primary);
}

/* Forms */
[data-theme="dark"] .form-control {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(46,134,193,0.15);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
}

/* Buttons */
[data-theme="dark"] .btn-secondary {
    border-color: var(--color-primary-light);
    color: var(--color-primary-light);
}

[data-theme="dark"] .btn-white {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
}

[data-theme="dark"] .btn-white:hover {
    background: rgba(255,255,255,0.15);
}

/* Trust Bar */
[data-theme="dark"] .trust-bar {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
}

/* Service Card Icons */
[data-theme="dark"] .service-card .icon {
    background: rgba(46,134,193,0.15);
}

[data-theme="dark"] .service-card:hover {
    border-color: rgba(46,134,193,0.25);
}

/* Sidebar */
[data-theme="dark"] .sidebar .widget {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.06);
}

/* Pagination */
[data-theme="dark"] .pagination a {
    background: var(--bg-card);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-secondary);
}

[data-theme="dark"] .pagination a:hover {
    background: var(--color-primary);
    color: var(--text-white);
}

/* Breadcrumbs */
[data-theme="dark"] .breadcrumbs-list .current {
    color: var(--text-primary);
}

/* FAQ */
[data-theme="dark"] .faq-question .faq-toggle {
    background: rgba(46,134,193,0.15);
}

/* Search Overlay */
[data-theme="dark"] .search-overlay {
    background: rgba(10, 18, 32, 0.95);
}

/* WP content */
[data-theme="dark"] .entry-content th {
    background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .entry-content td {
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .entry-content code {
    background: rgba(255,255,255,0.06);
}

/* Theme Switcher */
.theme-switcher {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255,255,255,0.08);
    color: var(--text-white);
    border: none;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.site-header.scrolled .theme-switcher {
    background: rgba(0,0,0,0.05);
    color: var(--text-primary);
}

[data-theme="dark"] .site-header.scrolled .theme-switcher {
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}

.theme-switcher:hover {
    background: rgba(46,134,193,0.15);
    color: var(--color-primary);
}

.theme-switcher .icon-sun { display: none; }
.theme-switcher .icon-moon { display: block; }

[data-theme="dark"] .theme-switcher .icon-sun { display: block; }
[data-theme="dark"] .theme-switcher .icon-moon { display: none; }

/* Footer in Dark Mode stays similar */
[data-theme="dark"] .site-footer {
    background: #0A1220;
}

[data-theme="dark"] .footer-cta {
    background: var(--gradient-primary);
}

/* Scrollbar */
[data-theme="dark"] ::-webkit-scrollbar {
    width: 8px;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #0A1220;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background: #2C3E50;
    border-radius: 4px;
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
    background: #34495E;
}
