/* CRITICAL: Hide the old catalog navigation completely */
nav#navbar,
nav#navbar * {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Remove any duplicate navigation elements */
.nav-content,
.nav-links.desktop-only {
    display: none !important;
}

/* Removed conflicting topbar overrides as we now use .desktop-topbar-fix */
/* 
body>div[class*="fixed top-0"] {
    background: rgba(24, 80, 126, 0.15) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 9999 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}
*/

/* Ensure logo has proper background */
.site-logo {
    background: transparent !important;
    z-index: 10000 !important;
    flex-shrink: 0 !important;
}

/* 
.site-logo img {
    max-height: 56px !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    z-index: 10000 !important;
}
*/

/* Ensure navigation buttons have proper styling */
.main-menu {
    background: transparent !important;
    z-index: 10000 !important;
    margin: 0 auto !important;
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
}

@media (min-width: 1024px) {
    .main-menu-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        z-index: 10000 !important;
    }
}

/* Ensure translate button has proper styling and position */
@media (min-width: 1024px) {
    .translate-glass-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        z-index: 10000 !important;
        flex-shrink: 0 !important;
    }
}

/* Fix hero section positioning */
.hero {
    padding-top: 100px !important;
    margin-top: 0 !important;
    z-index: 1 !important;
}

.hero-bg,
.blob {
    z-index: -1 !important;
}

.hero-content {
    z-index: 2 !important;
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .desktop-topbar-fix {
        display: none !important;
    }

    .hero {
        padding-top: 100px !important;
    }

    #mobile-topbar-katalog {
        display: flex !important;
        flex-direction: column !important;
        background: rgba(24, 80, 126, 0.15) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
    }

    #mobile-topbar-katalog .site-logo {
        margin-top: 5px !important;
        margin-bottom: 8px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #mobile-topbar-katalog .site-logo img {
        height: 65px !important;
        /* Enlarged from 50px */
        width: auto !important;
        max-width: 220px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    #mobile-topbar-katalog .main-menu {
        padding: 0 5px !important;
        gap: 2.5px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    #mobile-topbar-katalog .main-menu-btn,
    #mobile-topbar-katalog .translate-glass-btn {
        font-size: 11px !important;
        letter-spacing: -0.4px !important;
        padding: 8px 5px !important;
        min-height: 42px !important;
        height: auto !important;
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.1 !important;
    }

    /* Fix the "leaning to the left" / right-side gap issue */
    html,
    body {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 1.5rem !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }

    .hero-content {
        width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-content h1 {
        font-size: 2.8rem !important;
        /* Enlarged for better density */
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-content p {
        font-size: 1.1rem !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 90vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .hero-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        align-items: center !important;
    }

    /* Footer logo adjustments */
    .footer-logo {
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 1.5rem !important;
    }

    .footer-logo-img {
        height: 60px !important;
        width: auto !important;
    }

    .footer-brand {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
}

/* Global/Web Footer logo adjustment */
.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.footer-logo {
    height: auto !important;
}

/* Desktop: hide mobile topbar */
@media (min-width: 1024px) {
    #mobile-topbar-katalog {
        display: none !important;
    }
}

/* Ensure all sections are below topbar */
section {
    position: relative;
    z-index: 10 !important;
}

/* CTA Button Fixes */
.cta-btns {
    display: flex !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    margin-top: 2.5rem !important;
}

.cta-btns a {
    width: auto !important;
    min-width: 240px !important;
    max-width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .cta-btns {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .cta-btns a {
        width: 100% !important;
        max-width: 100% !important;
        min-width: unset !important;
    }
}

/* Override any conflicting catalog styles */
body {
    padding-top: 0 !important;
}