/**
 * Orisa Header Widget Styles
 * 
 * @since 1.0.0
 */

/* Widget Wrapper */
.elementor-widget-orisa-header {
    position: relative;
    z-index: 1000;
}

/* Ensure dark/light toggle receives clicks in Elementor editor */
.elementor-widget-orisa-header .dark-light-mode,
.elementor-widget-orisa-header .dark-light-switcher {
    pointer-events: auto;
    cursor: pointer;
}

/* Fallback Header */
.orisa-header-fallback {
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.orisa-header-fallback .navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

/* Dual light/dark logo swap */
.at-header-logo .orisa-logo-dark,
.at-offcanvas-logo .orisa-logo-dark,
.at-search-logo .orisa-logo-dark {
    display: none;
}

[data-bs-theme=dark] .at-header-logo .orisa-logo-light,
[data-bs-theme=dark] .at-offcanvas-logo .orisa-logo-light,
[data-bs-theme=dark] .at-search-logo .orisa-logo-light {
    display: none;
}

[data-bs-theme=dark] .at-header-logo .orisa-logo-dark,
[data-bs-theme=dark] .at-offcanvas-logo .orisa-logo-dark,
[data-bs-theme=dark] .at-search-logo .orisa-logo-dark {
    display: inline;
}

.at-header-logo a.orisa-has-dual-logo img,
.at-offcanvas-logo a.orisa-has-dual-logo img,
.at-search-logo a.orisa-has-dual-logo img,
[data-bs-theme=dark] .at-header-logo a.orisa-has-dual-logo img,
[data-bs-theme=dark] .at-offcanvas-logo a.orisa-has-dual-logo img,
[data-bs-theme=dark] .at-search-logo a.orisa-has-dual-logo img {
    filter: none !important;
}

/* Layout 02/03 — logo/actions + menu colors (index-2.html, index-3.html) */
.header-2 .at-header-logo a.orisa-has-dual-logo h6,
.header-2 .at-header-right,
.header-3 .at-header-logo a.orisa-has-dual-logo h6,
.header-3 .at-header-right,
.header-5 .at-header-logo a.orisa-has-dual-logo h6,
.header-5 .at-header-right {
    color: var(--at-common-black);
}

.header-2 .at-main-menu nav ul li a,
.header-2 .at-main-menu nav ul li a:hover,
.header-2 .at-main-menu nav ul li.has-dropdown > a,
.header-2 .at-main-menu nav ul li.menu-item-has-children > a,
.header-2 .at-main-menu > nav > ul > li > a .at-link-swap .text-1,
.header-2 .at-main-menu > nav > ul > li > a .at-link-swap .text-2,
.header-3 .at-main-menu nav ul li a,
.header-3 .at-main-menu nav ul li a:hover,
.header-3 .at-main-menu nav ul li.has-dropdown > a,
.header-3 .at-main-menu nav ul li.menu-item-has-children > a,
.header-3 .at-main-menu > nav > ul > li > a .at-link-swap .text-1,
.header-3 .at-main-menu > nav > ul > li > a .at-link-swap .text-2,
.header-4 .at-main-menu nav ul li a,
.header-4 .at-main-menu nav ul li a:hover,
.header-4 .at-main-menu nav ul li.has-dropdown > a,
.header-4 .at-main-menu nav ul li.menu-item-has-children > a,
.header-4 .at-main-menu > nav > ul > li > a .at-link-swap .text-1,
.header-4 .at-main-menu > nav > ul > li > a .at-link-swap .text-2,
.header-5 .at-main-menu nav ul li a,
.header-5 .at-main-menu nav ul li a:hover,
.header-5 .at-main-menu nav ul li.has-dropdown > a,
.header-5 .at-main-menu nav ul li.menu-item-has-children > a,
.header-5 .at-main-menu > nav > ul > li > a .at-link-swap .text-1,
.header-5 .at-main-menu > nav > ul > li > a .at-link-swap .text-2 {
    color: var(--at-common-black);
}

[data-bs-theme=dark] .header-2 .at-main-menu,
[data-bs-theme=dark] .header-3 .at-main-menu,
[data-bs-theme=dark] .header-4 .at-main-menu,
[data-bs-theme=dark] .header-5 .at-main-menu {
    --at-common-black: var(--at-common-dark-black);
    --at-common-black-rgb: var(--at-common-dark-black-rgb);
}

[data-bs-theme=dark] .header-2 .at-main-menu nav ul li.has-dropdown > a::after,
[data-bs-theme=dark] .header-2 .at-main-menu nav ul li.menu-item-has-children > a::after,
[data-bs-theme=dark] .header-3 .at-main-menu nav ul li.has-dropdown > a::after,
[data-bs-theme=dark] .header-3 .at-main-menu nav ul li.menu-item-has-children > a::after,
[data-bs-theme=dark] .header-4 .at-main-menu nav ul li.has-dropdown > a::after,
[data-bs-theme=dark] .header-4 .at-main-menu nav ul li.menu-item-has-children > a::after,
[data-bs-theme=dark] .header-5 .at-main-menu nav ul li.has-dropdown > a::after,
[data-bs-theme=dark] .header-5 .at-main-menu nav ul li.menu-item-has-children > a::after {
    filter: invert(1);
}
