/* Site-wide styles for base.html: the brand blue, the navbar and the phone menu. Loaded in
   the head, so the navbar has its colour from the very first paint. */
:root {
    --kanidata-blue: #3B5998;
    --kanidata-light: #4B69A8;
    --kanidata-dark: #2A4073;
}

.bg-kanidata {
    background-color: var(--kanidata-blue);
}

.text-kanidata {
    color: var(--kanidata-blue);
}

/* Support Tailwind-style opacity utilities on dark hero sections */
.bg-kanidata .text-white\/90 { color: rgba(255, 255, 255, 0.9); }
.bg-kanidata .text-white\/80 { color: rgba(255, 255, 255, 0.8); }
.bg-kanidata .text-white\/70 { color: rgba(255, 255, 255, 0.7); }
.bg-kanidata .text-white\/60 { color: rgba(255, 255, 255, 0.6); }
.bg-kanidata .text-white\/50 { color: rgba(255, 255, 255, 0.5); }

/* Navigation Styles */
.nav-link,
.nav-button {
    color: white !important;
}

/* Mobile Menu */
#mobile-menu {
    position: fixed;
    z-index: 100;
}

body.mobile-menu-open #mainNav {
    position: fixed;
    z-index: 49;
}

.mobile-menu-active {
    transform: translateX(0) !important;
    z-index: 100;
}

#mobile-menu {
    transition: opacity 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* Enhanced animation for menu items */
.nav-item-enter {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-item-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
