/*
 * Yama Ahmadi Pro v8 Shell Test
 * SAFE SCOPE: header + footer only.
 * This file must never style WordPress page content or homepage sections.
 */

#ya-header {
    --ya-shell-accent: #2f80ed;
    --ya-shell-accent-2: #58b7ff;
    --ya-shell-header-bg: rgba(4, 16, 31, .965);
    --ya-shell-header-border: rgba(143, 199, 255, .15);
    --ya-shell-radius: 14px;
    --ya-shell-motion: 220ms;
}

#ya-header .ya-header-row {
    transition: min-height var(--ya-shell-motion) ease;
}

#ya-header .ya-logo img,
#ya-header .ya-nav-list a,
#ya-header .ya-icon-link,
#ya-header .ya-header-cta,
#ya-header .ya-language-button,
#ya-header .ya-menu-button {
    transition:
        transform var(--ya-shell-motion) ease,
        opacity var(--ya-shell-motion) ease,
        color var(--ya-shell-motion) ease,
        background-color var(--ya-shell-motion) ease,
        border-color var(--ya-shell-motion) ease,
        box-shadow var(--ya-shell-motion) ease;
}

#ya-header .ya-logo:hover img {
    transform: translateY(-1px);
}

#ya-header .ya-nav-list a:hover,
#ya-header .ya-nav-list a:focus-visible {
    transform: translateY(-1px);
}

#ya-header .ya-header-cta:hover,
#ya-header .ya-header-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(47, 128, 237, .22);
}

#ya-header .ya-language-button {
    min-width: 44px;
    justify-content: center;
    gap: 7px;
}

#ya-header .ya-language-button .ya-language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#ya-header .ya-language-menu {
    border-radius: var(--ya-shell-radius);
    overflow: hidden;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

#ya-header .ya-language-menu a:hover,
#ya-header .ya-language-menu a:focus-visible {
    transform: translateX(2px);
}

.ya-footer {
    --ya-footer-accent: #2f80ed;
    --ya-footer-accent-2: #58b7ff;
    --ya-footer-radius: 18px;
    --ya-footer-motion: 240ms;
}

.ya-footer .ya-footer-column a,
.ya-footer .ya-footer-bottom a,
.ya-footer .ya-store-badge,
.ya-footer .ya-footer-badges span,
.ya-footer .ya-footer-site-icon {
    transition:
        transform var(--ya-footer-motion) ease,
        color var(--ya-footer-motion) ease,
        background-color var(--ya-footer-motion) ease,
        border-color var(--ya-footer-motion) ease,
        box-shadow var(--ya-footer-motion) ease,
        opacity var(--ya-footer-motion) ease;
}

.ya-footer .ya-footer-column a:hover,
.ya-footer .ya-footer-column a:focus-visible {
    transform: translateX(4px);
}

.ya-footer .ya-footer-site-icon:hover {
    transform: translateY(-2px);
}

.ya-footer .ya-store-section {
    border-radius: var(--ya-footer-radius);
}

.ya-footer .ya-store-badge:hover,
.ya-footer .ya-store-badge:focus-visible {
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    #ya-header *,
    #ya-header *::before,
    #ya-header *::after,
    .ya-footer *,
    .ya-footer *::before,
    .ya-footer *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
