/* OUAN Tech Custom Logo Styles - В стиле сайта */
.ouan-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #0D4250;
    transition: all 0.3s ease;
    position: relative;
}

.ouan-logo:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.ouan-logo-top {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.ouan-logo-main {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFD550 0%, #FFC107 50%, #FFB300 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
}

.ouan-logo-main::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFD550 0%, #186265 100%);
    border-radius: 2px;
    opacity: 0;
    transition: all 0.3s ease;
}

.ouan-logo:hover .ouan-logo-main::after {
    opacity: 1;
    transform: scaleX(1.1);
}

.ouan-logo-sub {
    font-size: 14px;
    font-weight: 600;
    color: #186265;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #186265 0%, #0D4250 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 58px;
    line-height: 1;
}

.ouan-logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFD550 0%, #FFC107 50%, #FFB300 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    box-shadow: 0 6px 20px rgba(255, 213, 80, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ouan-logo-icon::before {
    content: '🌐';
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: all 0.3s ease;
}

.ouan-logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.ouan-logo:hover .ouan-logo-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 213, 80, 0.4);
}

.ouan-logo:hover .ouan-logo-icon::after {
    opacity: 1;
    animation: shine 0.6s ease;
}

.ouan-logo:hover .ouan-logo-icon::before {
    transform: scale(1.1);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ouan-logo-main {
        font-size: 28px;
        letter-spacing: -1px;
    }
    
    .ouan-logo-sub {
        font-size: 12px;
        letter-spacing: 2px;
        margin-left: 46px;
    }
    
    .ouan-logo-icon {
        width: 36px;
        height: 36px;
        margin-right: 10px;
        border-radius: 10px;
    }
    
    .ouan-logo-icon::before {
        font-size: 18px;
    }
}

/* Footer logo styles - В стиле сайта */
.footer-ouan-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-ouan-logo:hover {
    text-decoration: none;
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-ouan-logo-top {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.footer-ouan-logo-main {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -2px;
    color: #FFD550;
    text-transform: uppercase;
    position: relative;
    line-height: 1;
}

.footer-ouan-logo-main::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #FFD550 0%, #ffffff 100%);
    border-radius: 1px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-ouan-logo:hover .footer-ouan-logo-main::after {
    opacity: 1;
}

.footer-ouan-logo-sub {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-left: 52px;
    line-height: 1;
}

.footer-ouan-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #FFD550 0%, #FFC107 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    box-shadow: 0 4px 15px rgba(255, 213, 80, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-ouan-logo-icon::before {
    content: '🌐';
    font-size: 20px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: all 0.3s ease;
}

.footer-ouan-logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.footer-ouan-logo:hover .footer-ouan-logo-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 213, 80, 0.3);
}

.footer-ouan-logo:hover .footer-ouan-logo-icon::after {
    opacity: 1;
    animation: shine 0.6s ease;
}

.footer-ouan-logo:hover .footer-ouan-logo-icon::before {
    transform: scale(1.1);
} 