/*
Theme Name: BlackBox Electronics
Theme URI: https://yourdomain.com
Author: BBE-Team-Dev
Author URI: https://yourdomain.com
Description: Custom theme for BlackBox Electronics
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blackbox
*/

:root {
    --black: #111111;
    --dark: #1a1a1a;
    --medium: #333333;
    --light: #f1f1f1;
    --accent: #e53935;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--light);
    line-height: 1.6;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: rgba(17, 17, 17, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.logo img {
    height: 30px;
    vertical-align: middle;
}

.logo .subtitle {
    position: absolute;
    top: 33px;
    color: rgb(241, 20, 15);
    font-size: 0.5REM;
    right: 0;
}

.logo:hover {
    color: var(--accent);
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.logo:hover::after {
    width: 100%;
}

.nav {
    position: relative;
}

.nav > ul {
    display: flex;
    list-style: none;
}

.nav > ul > li {
    margin-left: 2.5rem;
    position: relative;
}

.nav > ul > li > a {
    color: var(--light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 6px;
    padding: 0.5rem 2rem;
}

.nav > ul > li > a:hover {
    color: var(--accent);
}

.nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav > ul > li > a:hover::after {
    width: 100%;
}

/* Services dropdown */
ul.services-dropdown {
    list-style: none;
}

.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--accent);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav > ul > li:hover .services-dropdown {
    opacity: 1;
    visibility: visible;
}

.services-dropdown li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.services-dropdown li:last-child {
    border-bottom: none;
}

.services-dropdown a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.7rem;
}

.services-dropdown a:hover {
    background-color: rgba(229, 57, 53, 0.1);
    color: var(--accent);
    padding-left: 1.8rem;
}

.services-dropdown i {
    margin-right: 0.8rem;
    width: 16px;
    text-align: center;
}

.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: 1px solid var(--medium);
    color: var(--light);
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.lang-btn.active {
    background-color: var(--accent);
    border-color: var(--accent);
}

/* Hero and other sections remain the same as before */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8)), url('assets/hero-4.png') no-repeat center center/cover;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    margin-top: 4rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 8px;
    background: var(--light);
    border-radius: 2px;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 30px; }
}

.services {
    padding: 6rem 2rem;
    background-color: var(--dark);
}

.services h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 4rem;
    letter-spacing: 2px;
    color: var(--light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--black);
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

.service-card.cat-remote {
    background-color: rgba(40, 0, 0, 0.4);

}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(229, 57, 53, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.stats {
    display: flex;
    justify-content: space-around;
    padding: 5rem 2rem;
    background-color: var(--black);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

.footer {
    padding: 4rem 2rem 2rem;
    background-color: var(--dark);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.copyright {
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .nav > ul {
        margin: 1.5rem 0;
        flex-direction: column;
        align-items: center;
    }

    .nav > ul > li {
        margin: 0.5rem 0;
    }

    .services-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        border: none;
        display: none;
    }

    .nav > ul > li:hover .services-dropdown {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}