/* Naxzant Logo Mobile-Responsive Styles */

/* Logo Container Enhancements */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1002;
}

.logo:hover {
    transform: scale(1.05);
}

.logo:focus {
    outline: 2px solid #2563eb;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Logo Image Styling */
.logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.logo img:hover {
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transform: scale(1.02);
}

/* Logo Text Styling */
.logo h2 {
    color: #2563eb;
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.5px;
}

/* Footer Logo Styling */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 35px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-logo h3 {
    margin: 0;
    color: #fbbf24;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Loading Screen Logo */
.loading-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.loading-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Page Title Logo Integration */
.page-header {
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: url('naxzant_logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

/* Tablet Responsive (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo {
        gap: 10px;
    }
    
    .logo img {
        height: 42px;
        max-width: 160px;
    }
    
    .logo h2 {
        font-size: 1.7rem;
    }
    
    .footer-logo img {
        height: 32px;
        max-width: 140px;
    }
    
    .footer-logo h3 {
        font-size: 1.4rem;
    }
}

/* Mobile Responsive (max-width: 768px) */
@media (max-width: 768px) {
    .logo {
        gap: 8px;
        flex-shrink: 0;
        position: relative;
        z-index: 1003;
    }
    
    .logo img {
        height: 38px;
        max-width: 140px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .logo h2 {
        font-size: 1.6rem;
        letter-spacing: -0.3px;
    }
    
    /* Ensure logo doesn't interfere with hamburger menu */
    .nav-container {
        justify-content: space-between;
        position: relative;
    }
    
    .hamburger {
        flex-shrink: 0;
        z-index: 1004;
    }
    
    /* Footer logo mobile */
    .footer-logo {
        justify-content: center;
        gap: 10px;
    }
    
    .footer-logo img {
        height: 30px;
        max-width: 120px;
    }
    
    .footer-logo h3 {
        font-size: 1.3rem;
    }
    
    /* Loading screen mobile */
    .loading-logo {
        gap: 12px;
    }\n    \n    .loading-logo img {\n        height: 65px;\n        max-width: 160px;\n    }\n    \n    .loading-logo span {\n        font-size: 2rem;\n    }\n    \n    /* Page header logo watermark mobile */\n    .page-header::before {\n        width: 50px;\n        height: 50px;\n        top: 15px;\n        right: 15px;\n        opacity: 0.08;\n    }\n}\n\n/* Small Mobile (max-width: 480px) */\n@media (max-width: 480px) {\n    .logo {\n        gap: 6px;\n    }\n    \n    .logo img {\n        height: 32px;\n        max-width: 110px;\n    }\n    \n    .logo h2 {\n        font-size: 1.4rem;\n        letter-spacing: -0.2px;\n    }\n    \n    .footer-logo img {\n        height: 28px;\n        max-width: 100px;\n    }\n    \n    .footer-logo h3 {\n        font-size: 1.2rem;\n    }\n    \n    .loading-logo img {\n        height: 55px;\n        max-width: 130px;\n    }\n    \n    .loading-logo span {\n        font-size: 1.7rem;\n        letter-spacing: 1px;\n    }\n    \n    .page-header::before {\n        width: 40px;\n        height: 40px;\n        top: 10px;\n        right: 10px;\n    }\n}\n\n/* Extra Small Mobile (max-width: 360px) */\n@media (max-width: 360px) {\n    .logo img {\n        height: 30px;\n        max-width: 95px;\n    }\n    \n    .logo h2 {\n        font-size: 1.3rem;\n    }\n    \n    .footer-logo img {\n        height: 26px;\n        max-width: 90px;\n    }\n    \n    .footer-logo h3 {\n        font-size: 1.1rem;\n    }\n    \n    .loading-logo img {\n        height: 50px;\n        max-width: 110px;\n    }\n    \n    .loading-logo span {\n        font-size: 1.5rem;\n    }\n}\n\n/* High DPI displays */\n@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {\n    .logo img,\n    .footer-logo img,\n    .loading-logo img {\n        image-rendering: -webkit-optimize-contrast;\n        image-rendering: crisp-edges;\n    }\n}\n\n/* Dark mode support */\n@media (prefers-color-scheme: dark) {\n    .logo img {\n        filter: brightness(1.1);\n    }\n    \n    .logo h2 {\n        color: #3b82f6;\n    }\n}\n\n/* Reduced motion support */\n@media (prefers-reduced-motion: reduce) {\n    .logo,\n    .logo img,\n    .footer-logo img,\n    .loading-logo img {\n        transition: none;\n        animation: none;\n    }\n    \n    .logo:hover {\n        transform: none;\n    }\n}\n\n/* Print styles */\n@media print {\n    .logo img,\n    .footer-logo img {\n        filter: none;\n        -webkit-print-color-adjust: exact;\n        color-adjust: exact;\n    }\n    \n    .loading-screen {\n        display: none;\n    }\n}\n\n/* Logo accessibility enhancements */\n.logo[aria-current=\"page\"] {\n    position: relative;\n}\n\n.logo[aria-current=\"page\"]::after {\n    content: '';\n    position: absolute;\n    bottom: -5px;\n    left: 0;\n    right: 0;\n    height: 2px;\n    background: #2563eb;\n    border-radius: 1px;\n}\n\n/* Logo loading state */\n.logo img[loading=\"eager\"] {\n    opacity: 0;\n    animation: fadeInLogo 0.6s ease forwards;\n}\n\n@keyframes fadeInLogo {\n    to {\n        opacity: 1;\n    }\n}\n\n/* Logo error state */\n.logo img[alt]:empty::before {\n    content: attr(alt);\n    display: block;\n    padding: 10px;\n    background: #f3f4f6;\n    color: #6b7280;\n    border-radius: 4px;\n    font-size: 0.8rem;\n    text-align: center;\n}\n\n/* Favicon and touch icon enhancements */\nlink[rel=\"icon\"],\nlink[rel=\"apple-touch-icon\"] {\n    transition: all 0.3s ease;\n}\n\n/* Logo hover effects for desktop */\n@media (min-width: 769px) {\n    .logo:hover img {\n        transform: scale(1.05) rotate(2deg);\n        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);\n    }\n    \n    .footer-logo:hover img {\n        transform: scale(1.1);\n        filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));\n    }\n}\n\n/* Logo animation for page load */\n@keyframes logoEntrance {\n    0% {\n        opacity: 0;\n        transform: translateY(-20px) scale(0.8);\n    }\n    100% {\n        opacity: 1;\n        transform: translateY(0) scale(1);\n    }\n}\n\n.logo {\n    animation: logoEntrance 0.8s ease-out;\n}\n\n/* Logo pulse effect for important pages */\n.logo.pulse {\n    animation: logoPulse 2s infinite;\n}\n\n@keyframes logoPulse {\n    0%, 100% {\n        transform: scale(1);\n    }\n    50% {\n        transform: scale(1.05);\n    }\n}\n\n/* Logo glow effect */\n.logo.glow img {\n    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);\n}\n\n/* Logo brand colors */\n:root {\n    --naxzant-primary: #2563eb;\n    --naxzant-secondary: #fbbf24;\n    --naxzant-accent: #667eea;\n}\n\n.logo h2 {\n    color: var(--naxzant-primary);\n}\n\n.footer-logo h3 {\n    color: var(--naxzant-secondary);\n}\n