/* ==========================================
   CYBERSECURITY NAVBAR - PROFESSIONAL
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0e27;
    --secondary-dark: #1a1f3a;
    --accent-green: #00ff88;
    --accent-cyan: #00d4ff;
    --accent-red: #ff0055;
    --text-light: #e0e0e0;
    --border-color: rgba(0, 255, 136, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   HEADER & NAVBAR
   ========================================== */

.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================
   LOGO
   ========================================== */

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-svg {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.8));
    }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

.logo-container:hover .brand-name {
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

/* ==========================================
   NAVIGATION LINKS
   ========================================== */

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-cyan));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-green);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 100%;
}

/* Contact Button */
.btn-contact {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-cyan));
    color: var(--primary-dark) !important;
    border-radius: 4px;
    padding: 0.75rem 2rem !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.btn-contact:hover {
    box-shadow: 0 6px 25px rgba(0, 255, 136, 0.6);
    transform: translateY(-3px);
}

.btn-contact::before {
    display: none;
}

/* ==========================================
   HAMBURGER MENU
   ========================================== */

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--accent-green);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--secondary-dark);
        border-top: 2px solid var(--border-color);
        border-bottom: 2px solid var(--border-color);
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-list.active {
        max-height: 400px;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 2rem;
        display: block;
        width: 100%;
    }

    .nav-link::before {
        left: 0;
        width: 0;
        height: 100%;
        bottom: auto;
    }

    .nav-link:hover::before {
        width: 4px;
    }

    .brand-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .logo-svg {
        width: 40px;
        height: 40px;
    }

    .nav-list.active {
        max-height: 300px;
    }
}

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    animation: slideDown 0.5s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
