/* ===================================
   CYNARAX - Header & Footer Styles
   Reusable across all pages
   =================================== */

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

/* Use HEIGHT as the control to avoid distortion */
.logo-image{
  height: 48px;       /* tweak: 44–54 depending on your taste */
  width: auto;
  display: block;
  object-fit: contain;
}

/* Optional: subtle tech glow (looks premium on your dark nav) */
.logo-image{
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.25));
}

.logo-placeholder {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    color: #a8b2d1;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00ffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #00ffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer */
.main-footer {
    position: relative;
    background: #0a0e1a;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    overflow: hidden;
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-column.brand {
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-tagline {
    color: #a8b2d1;
    line-height: 1.7;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00ffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    color: white;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-column h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.125rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #a8b2d1;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-column ul li a:hover {
    color: #00ffff;
    padding-left: 5px;
}

.footer-locations {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-locations h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #00ffff;
}

.location-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #00d4ff;
}

.location-item h5 {
    font-size: 0.95rem;
    color: #00ffff;
    margin-bottom: 8px;
}

.location-item p {
    font-size: 0.875rem;
    color: #a8b2d1;
    line-height: 1.6;
    margin-bottom: 4px;
}

.footer-logo-image {
    height: 50px;   /* match navbar for consistency */
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.2));
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #a8b2d1;
    font-size: 0.95rem;
}

.footer-offices {
    display: flex;
    gap: 30px;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

/* Responsive - Header & Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        gap: 30px;
        transition: left 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 20px;
    }

    .logo-image{ height: 40px; }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-offices {
        flex-direction: column;
        gap: 10px;
    }
}
