/* ===================================================================
   HEADER CONTACTS - Красивый блок контактов в header
   =================================================================== */

/* Основной контейнер контактов */
#header .contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Ссылка на телефон */
#header .contacts a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

#header .contacts a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Иконки */
#header .contacts a i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* WhatsApp иконка */
#header .contacts a .fa-whatsapp {
    color: #fff;
}

/* Телефон иконка */
#header .contacts a .fa-phone {
    color: #fff;
    display: none; /* Показываем только WhatsApp по умолчанию */
}

/* При наведении - анимация иконок */
#header .contacts a:hover .fa-whatsapp {
    transform: rotate(12deg) scale(1.1);
}

/* Dark header стили */
#header.dark .contacts a,
.dark #header .contacts a {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
}

/* Sticky header - уменьшенный размер */
#header.sticky-active .contacts a {
    padding: 10px 18px;
    font-size: 15px;
}

#header.sticky-active .contacts a i {
    font-size: 16px;
}

/* Альтернативный стиль - outline */
#header .contacts.outline a {
    background: transparent;
    border: 2px solid #25D366;
    color: #25D366 !important;
    box-shadow: none;
}

#header .contacts.outline a:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
}

/* Альтернативный стиль - minimal */
#header .contacts.minimal a {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366 !important;
    box-shadow: none;
    padding: 10px 16px;
}

#header .contacts.minimal a:hover {
    background: rgba(37, 211, 102, 0.2);
}

/* Responsive - планшеты */
@media (max-width: 991.98px) {
    #header .contacts {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
    }

    #header .contacts a {
        padding: 10px 18px;
        font-size: 15px;
    }

    #header .contacts a i {
        font-size: 16px;
    }
}

/* Responsive - мобильные */
@media (max-width: 767px) {
    #header .contacts {
        margin-top: 10px;
    }

    #header .contacts a {
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }

    #header .contacts a i {
        font-size: 15px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    #header .contacts a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* Анимация появления */
@keyframes contactsFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#header .contacts {
    animation: contactsFadeIn 0.5s ease-out 0.3s both;
}

/* Pulse эффект для привлечения внимания */
@keyframes contactsPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.5);
    }
}

#header .contacts a.pulse {
    animation: contactsPulse 2s ease-in-out infinite;
}
