/* ========================================
   VANCENCO BASE STYLES & NAVIGATION
   (Extracted from index.html)
   ======================================== */

/* BASE RESET */
body {
    background-color: #050505;
    color: #ffffff;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   NAVIGATION MENU SYSTEM
   ======================================== */

/* Hamburger Toggle Button */
.nav-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}
.nav-toggle:hover {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 0, 0, 0.9);
}
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Navigation Drawer */
.nav-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 99;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    padding: 100px 32px 32px;
}
.nav-drawer.open,
.nav-drawer.active { /* pages.css uses .active toggle logic sometimes, support both */
    right: 0;
}

/* Navigation Sections */
.nav-section {
    margin-bottom: 32px;
}
.nav-section-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #fff; /* Brighter title */
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Brighter line */
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Product Grid */
.nav-products-grid, .nav-product-grid { /* Support singular/plural variations found in files */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.nav-product-item {
    background: rgba(255, 255, 255, 0.05); /* Slightly brighter background */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Brighter border */
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Force tag to bottom */
    height: 100%; /* Ensure it fills grid cell */
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.nav-product-item:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.1); /* Add glow on hover */
}
.nav-product-item img {
    max-height: 32px; /* Increased from 24px */
    width: auto;
    opacity: 1; /* Removed opacity reduction */
}
/* Specific Override for Vancenco Intelligence */
.nav-product-item img[src*="vancenco_intelligence"] {
    max-height: 50px; /* Much bigger */
    margin: -5px 0; /* Negate some spacing to fit */
}

.nav-product-item span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; /* Bumbed up size */
    color: #e5e7eb; /* Brighter text (gray-200) */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

/* Nav Links */
.nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Brighter line */
    color: #e5e7eb; /* Brighter text */
    font-family: 'Montserrat', sans-serif;
    font-size: 13px; /* Slightly larger */
    font-weight: 400; /* Increased weight */
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}
.nav-link:hover {
    color: #00E5FF;
}
.nav-link .coming-soon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    color: #FF4D6D;
    background: rgba(255, 77, 109, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.1em;
}
.nav-link.active {
    color: #00E5FF;
    border-bottom-color: rgba(0, 229, 255, 0.2);
}

/* Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
