/* ===== DARK THEME (Nighttime) ===== */
[data-theme="dark"] {
    --theme-bg: #0f0f1a;
    --theme-text: #e0e0e0;
    --theme-card-bg: #1a1a2e;
    --theme-section-alt: #12122a;
}

[data-theme="dark"] body {
    background: #0f0f1a;
    color: #e0e0e0;
}

[data-theme="dark"] .top-bar {
    background: #0a0a18;
}

[data-theme="dark"] .header {
    background: rgba(15, 15, 26, 0.95);
    border-bottom-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .header.scrolled {
    background: rgba(15, 15, 26, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

[data-theme="dark"] .nav-link,
[data-theme="dark"] .dropdown a {
    color: #c0c0d0;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .dropdown a:hover {
    color: #ff4d6d;
}

[data-theme="dark"] .dropdown {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.08);
}

[data-theme="dark"] .why-us {
    background: transparent;
}

[data-theme="dark"] .why-us-grid {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .why-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .why-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .why-card p {
    color: #9999aa;
}

[data-theme="dark"] .about {
    background: #0f0f1a;
}

[data-theme="dark"] .section-title {
    color: #ffffff;
}

[data-theme="dark"] .section-tag {
    color: #ff4d6d;
}

[data-theme="dark"] .section-desc,
[data-theme="dark"] .about-content p {
    color: #9999aa;
}

[data-theme="dark"] .about-badge {
    background: linear-gradient(135deg, #c8102e, #ff4d6d);
}

[data-theme="dark"] .services {
    background: #12122a;
}

[data-theme="dark"] .service-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .service-card:hover {
    border-color: rgba(200,16,46,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

[data-theme="dark"] .service-body h3 {
    color: #ffffff;
}

[data-theme="dark"] .service-body p,
[data-theme="dark"] .service-features li {
    color: #9999aa;
}

[data-theme="dark"] .products {
    background: #0f0f1a;
}

[data-theme="dark"] .product-showcase {
    background: #1a1a2e;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

[data-theme="dark"] .product-showcase-content h3,
[data-theme="dark"] .product-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .product-showcase-content p,
[data-theme="dark"] .product-card p {
    color: #9999aa;
}

[data-theme="dark"] .product-type h4 {
    color: #e0e0e0;
}

[data-theme="dark"] .product-type span {
    color: #777;
}

[data-theme="dark"] .product-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .tech-services {
    background: #12122a;
}

[data-theme="dark"] .tech-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .tech-card:hover {
    border-color: rgba(200,16,46,0.3);
}

[data-theme="dark"] .tech-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .tech-card p {
    color: #9999aa;
}

[data-theme="dark"] .portfolio {
    background: #0f0f1a;
}

[data-theme="dark"] .partners {
    background: #12122a;
}

[data-theme="dark"] .references {
    background: #0f0f1a;
}

[data-theme="dark"] .ref-item {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .contact {
    background: #12122a;
}

[data-theme="dark"] .contact-card {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .contact-card h4 {
    color: #ffffff;
}

[data-theme="dark"] .contact-card p,
[data-theme="dark"] .contact-card a {
    color: #9999aa;
}

[data-theme="dark"] .contact-form {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: #12122a;
    border-color: rgba(255,255,255,0.1);
    color: #e0e0e0;
}

[data-theme="dark"] .footer {
    background: #0a0a14;
}

[data-theme="dark"] .footer-top {
    border-bottom-color: rgba(255,255,255,0.05);
}

[data-theme="dark"] .footer h4 {
    color: #ffffff;
}

[data-theme="dark"] .footer p,
[data-theme="dark"] .footer a,
[data-theme="dark"] .footer li {
    color: #8888aa;
}

[data-theme="dark"] .footer a:hover {
    color: #ff4d6d;
}

[data-theme="dark"] .footer-bottom {
    background: #06060e;
}

[data-theme="dark"] .stat-number,
[data-theme="dark"] .stat-suffix {
    color: #ff4d6d;
}

[data-theme="dark"] .stat-label {
    color: #9999aa;
}

/* Subpage overrides */
[data-theme="dark"] .page-content {
    background: #0f0f1a;
}

[data-theme="dark"] .sidebar-box {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .sidebar-box h4 {
    color: #ffffff;
}

[data-theme="dark"] .sidebar-box a {
    color: #9999aa;
}

[data-theme="dark"] .sidebar-box a:hover,
[data-theme="dark"] .sidebar-box a.active {
    color: #ff4d6d;
}

[data-theme="dark"] .spec-table th {
    background: #12122a;
    color: #e0e0e0;
}

[data-theme="dark"] .spec-table td {
    background: #1a1a2e;
    color: #9999aa;
}

[data-theme="dark"] .feature-box {
    background: #1a1a2e;
    border-color: rgba(255,255,255,0.06);
}

[data-theme="dark"] .feature-box h4 {
    color: #ffffff;
}

[data-theme="dark"] .feature-box p {
    color: #9999aa;
}

[data-theme="dark"] .page-banner {
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
}
