@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap');

html, body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    background: #181c22;
    color: #e6e6e6;
}

/* Navbar base styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(24, 28, 34, 0.48);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.navbar.scrolled {
    background: rgba(24, 28, 34, 0.98);
}
.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1.5rem;
}
.navbar-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    gap: 0.5rem;
}
.navbar-logo img {
    height: 35px;
}
.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar-menu li a {
    color: #e6e6e6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.navbar-menu li a:hover {
    color: #4a90a4;
}
.navbar-menu li.nav-item-active > a,
.navbar-menu li:hover > a {
    position: relative;
    color: #4a90a4 !important;
    border-radius: 6px 6px 0 0;
    z-index: 2;
}
.navbar-menu li.nav-item-active > a::before {
    display: none;
}
.navbar-menu li.nav-item-active > a::after,
.navbar-menu li:hover > a::after {
    content: '▼';
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    color: #4a90a4;
    font-size: 1rem;
    line-height: 1;
    z-index: 10;
}
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}
.navbar-toggle-icon {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
    position: relative;
}
.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: #fff;
    transition: 0.3s;
}
.navbar-toggle-icon::before {
    top: -8px;
}
.navbar-toggle-icon::after {
    top: 8px;
}
.navbar-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1.5rem;
}
.navbar-lang a {
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    transition: box-shadow 0.2s;
    box-shadow: 0 0 0 0 transparent;
}
.navbar-lang a:hover {
    box-shadow: 0 0 0 2px #4a90a4;
}
.navbar-lang img {
    display: block;
    width: 22px;
    height: 17px;
    object-fit: cover;
}
.navbar-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 2rem;
}
.navbar-contact a {
    color: #e6e6e6;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.navbar-contact a:hover {
    color: #4a90a4;
}
.d-desktop {
    display: flex;
}
@media (max-width: 1600px) {
    .d-desktop {
        display: none !important;
    }
    .navbar-contact {
        gap: 0.5rem;
        margin-left: 0.5rem;
    }
    .navbar-contact a {
        font-size: 0.95rem;
    }
    .navbar-container {
        max-width: 1600px;
    }
    
    .navbar-logo {
        margin-right: 2rem;
    }
}
@media (max-width: 700px) {
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(20, 20, 20, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 2rem;
        gap: 1rem;
        display: none;
    }
    .navbar-menu.active {
        display: flex;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-lang {
        margin-left: 0;
        margin-top: 0.5rem;
        gap: 0.3rem;
    }
}
.scrolling-banner {
    overflow: hidden;
    white-space: nowrap;
    background: #232a33;
    color: #f7c325;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid #4a90a4;
}
.scrolling-text {
    display: inline-block;
    padding-left: 100vw;
    animation: marquee 25s linear infinite;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
.hero-banner {
    background: #181c22;
}
.system-section {
    background: #20242b;
}
.system-description {
    background: #232a33;
    color: #e6e6e6;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.system-description h2 {
    color: #f7c325;
}
.product-card {
    background: #232a33;
    color: #e6e6e6;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.product-card h3 {
    color: #f7c325;
}
.slider-controls button {
    background: #232a33;
    color: #f7c325;
}
.slider-controls button:hover {
    background: #4a90a4;
    color: #fff;
}
.hero-btn {
    background: #f7c325;
    color: #232a33;
}
.hero-btn:hover {
    background: #4a90a4;
    color: #fff;
}
.hero-btn-secondary {
    background: #232a33;
    color: #f7c325;
    border: 2px solid #f7c325;
}
.hero-btn-secondary:hover {
    background: #f7c325;
    color: #232a33;
}
