/* ===================================
   Portal Turismo - Ícones Modernos
   Sistema de ícones SVG com gradientes
   =================================== */

/* ====== SINO DE NOTIFICAÇÃO ====== */
.bell-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
    animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(8deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(5deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
}

.notifications-link:hover .bell-icon {
    animation: bellRing 0.6s ease-in-out infinite;
}

/* ====== AVATAR DE USUÁRIO ====== */
.user-avatar-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: relative;
}

/* Placeholders de avatar modernos */
.avatar-placeholder,
.author-avatar-placeholder {
    background: linear-gradient(135deg, #FF6B35 0%, #004E89 100%);
    position: relative;
    overflow: hidden;
}

.avatar-placeholder::before,
.author-avatar-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
}

/* ====== ÍCONES DE REDES SOCIAIS ====== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Instagram - Gradiente oficial */
.social-icon--instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

/* Facebook - Azul oficial */
.social-icon--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

/* YouTube - Vermelho oficial */
.social-icon--youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

/* TikTok - Cores oficiais */
.social-icon--tiktok {
    background: linear-gradient(135deg, #000000 0%, #25f4ee 50%, #fe2c55 100%);
}

/* Twitter/X - Preto */
.social-icon--twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: white;
    position: relative;
    z-index: 1;
}

/* ====== CONTATO: ÍCONE INSTAGRAM SEM BOTÃO ====== */
.contact-page .social-links-inline .social-icon {
    background: transparent !important;
    color: #e1306c !important;
    box-shadow: none !important;
}

.contact-page .social-links-inline .social-icon::before {
    display: none !important;
}

.contact-page .social-links-inline .social-icon svg {
    width: 42px;
    height: 42px;
    fill: currentColor !important;
    flex-shrink: 0;
}

.contact-page .social-links-inline .social-icon:hover {
    background: transparent !important;
    color: #b91c5c !important;
    transform: translateY(-2px);
}

/* ====== ÍCONE DO LOGO (Globo) ====== */
.globe-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo a:hover .globe-icon {
    animation: rotateGlobe 2s linear infinite;
}

/* ====== ÍCONES DE NOTIFICAÇÃO (dentro da lista) ====== */
.notification-icon {
    position: relative;
    overflow: hidden;
}

.notification-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 100%);
}

.notification-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* Gradientes específicos para tipos de notificação */
.notification-icon--comment {
    background: linear-gradient(135deg, #FF6B35 0%, #004E89 100%);
}

.notification-icon--reply {
    background: linear-gradient(135deg, #004E89 0%, #1B7BA1 100%);
}

.notification-icon--like {
    background: linear-gradient(135deg, #F39C12 0%, #FF6B35 100%);
}

.notification-icon--post_like {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}

.notification-icon--post_save {
    background: linear-gradient(135deg, #a8e063 0%, #56ab2f 100%);
}

.notification-icon--follow_request {
    background: linear-gradient(135deg, #ffa751 0%, #ffe259 100%);
}

.notification-icon--follow {
    background: linear-gradient(135deg, #1B7BA1 0%, #004E89 100%);
}

.notification-icon--follow_accepted {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* ====== SOCIAL ITEM (Páginas de agências) ====== */
.social-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    color: white !important;
}

.social-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-item:hover::before {
    opacity: 1;
}

.social-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.social-item--instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-item--facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5dbf 100%);
}

.social-item--tiktok {
    background: linear-gradient(135deg, #000000 0%, #69c9d0 50%, #ee1d52 100%);
}

.social-item--youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-item svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ====== MENU DROPDOWN - ÍCONE DE USUÁRIO ====== */
.user-dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-dropdown > a .user-avatar-icon {
    animation: none;
    transition: transform 0.3s ease;
}

.user-dropdown:hover > a .user-avatar-icon {
    transform: scale(1.1);
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 768px) {
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .bell-icon {
        width: 22px;
        height: 22px;
    }
}

/* ====== ACESSIBILIDADE ====== */
@media (prefers-reduced-motion: reduce) {
    .bell-icon,
    .globe-icon {
        animation: none !important;
    }
    
    .social-icon,
    .social-item,
    .user-avatar-icon {
        transition: none !important;
    }
}

