/* ═══════════════════════════════════════════════════════════════
   Belt of Somali Women — Custom Animations CSS
   ═══════════════════════════════════════════════════════════════ */

/* ────── Keyframes ────── */
@keyframes bsw-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
@keyframes bsw-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes bsw-pulse-slow {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* ────── Animation utilities ────── */
.animate-marquee       { animation: bsw-marquee 30s linear infinite; }
.animate-marquee:hover { animation-play-state: paused; }
.animate-float         { animation: bsw-float 3s ease-in-out infinite; }
.animate-pulse-slow    { animation: bsw-pulse-slow 3s ease-in-out infinite; }

/* ────── Scroll-triggered fade-in ────── */
.bsw-animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.bsw-animate-on-scroll.bsw-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════════════════════════════════════
   NAV LINK COLOURS — CSS-driven, no Tailwind JIT needed
   ════════════════════════════════════════════════════ */

/* Default state for links and buttons (header is always white bg) */
#bsw-header .bsw-nav-link {
    color: rgba(26, 26, 26, 0.7) !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.25s, border-color 0.25s, background-color 0.25s;
    white-space: nowrap !important;
}
#bsw-header .bsw-nav-link:hover {
    color: #2A6B6B !important;
}

#bsw-header .bsw-nav-btn {
    color: #2A6B6B !important;
    border: 1px solid #2A6B6B !important;
    text-decoration: none;
    white-space: nowrap !important;
    transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
#bsw-header .bsw-nav-btn:hover {
    background: rgba(42, 107, 107, 0.05) !important;
}

/* Active page highlight */
#bsw-header .bsw-nav-link.bsw-nav-active {
    color: #C8470A !important;
}

/* ────── Logo text and image transitions ────── */
.bsw-logo-text {
    transition: color 0.3s;
}

#bsw-header .bsw-logo-img {
    filter: none !important;
}

/* ────── Dropdowns ────── */
.bsw-dropdown {
    position: relative;
    display: inline-block;
}
.bsw-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 0.375rem;
    padding: 0.5rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 0;
    text-align: left;
}
.bsw-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}
.bsw-dropdown:hover .bsw-dropdown-menu {
    display: block !important;
}
.bsw-dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(26, 26, 26, 0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.bsw-dropdown-item:hover {
    background-color: #F5EDE3;
    color: #2A6B6B;
}

/* ────── Scrollbar ────── */
::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: #F5EDE3; }
::-webkit-scrollbar-thumb  { background: #2A6B6B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #1E5050; }

/* ────── Form element font reset ────── */
button, input, textarea, select { font-family: inherit; }

/* ────── Misc ────── */
html { scroll-behavior: smooth; }
[style*="Playfair"] { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important; }
