/* Família Amaral - Design Moderno com Tema de Recordações */

/* Importar fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Dancing+Script:wght@400;600;700&display=swap');

/* Variáveis CSS para cores do tema de família */
:root {
    --primary-color: #d4af37;
    --secondary-color: #8b4513;
    --accent-color: #ff6b6b;
    --warm-orange: #ff8c42;
    --soft-pink: #ffb3ba;
    --cream: #fff8dc;
    --light-gold: #f9e79f;
    --dark-brown: #5d4e37;
    --text-dark: #2c1810;
    --text-light: #f5f5f5;
    --shadow-warm: rgba(212, 175, 55, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #d4af37 0%, #ff8c42 50%, #ff6b6b 100%);
    --gradient-secondary: linear-gradient(135deg, #fff8dc 0%, #f9e79f 50%, #ffb3ba 100%);
    --gradient-warm: linear-gradient(45deg, #ff8c42, #d4af37, #ff6b6b);
}

/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animações personalizadas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heartbeat {
    0%, 50%, 100% {
        transform: scale(1);
    }
    25%, 75% {
        transform: scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--shadow-warm);
    }
    50% {
        box-shadow: 0 0 30px var(--shadow-warm), 0 0 40px var(--shadow-warm);
    }
}

/* Classes de animação */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-heartbeat {
    animation: heartbeat 1.5s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* Partículas de fundo animadas */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    width: 4px;
    height: 4px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

/* Navbar moderna */
.navbar {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(255, 140, 66, 0.95) 100%) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Dancing Script', cursive;
    font-size: 2rem !important;
    font-weight: 700;
    color: var(--text-light) !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    color: var(--cream) !important;
}

.navbar-brand i {
    animation: heartbeat 2s infinite;
    margin-right: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.7rem 1.2rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    left: 0;
}

.navbar-nav .nav-link:hover {
    color: var(--cream) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Botões modernos */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-brown) 100%);
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    color: var(--text-light);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
    background: linear-gradient(135deg, var(--dark-brown) 0%, var(--secondary-color) 100%);
}

/* Cards de fotos modernas */
.photo-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
    backdrop-filter: blur(10px);
    transition: none !important;
    transform: none !important;
}

.photo-card::before {
    display: none !important;
}

.photo-card:hover {
    /* ABSOLUTAMENTE NADA */
}

.photo-card:hover::before {
    display: none !important;
}

.photo-card img {
    border-radius: 15px;
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: none !important;
    transform: none !important;
}

.photo-card:hover img {
    /* NADA */
}

/* Galeria em grid moderno */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Hero section com gradiente animado */
.hero-section {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-content .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Formulários estilizados */
.form-control {
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

/* Containers com bordas decorativas */
.container-decorated {
    position: relative;
    padding: 3rem 2rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.container-decorated::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.3;
}

/* Títulos estilizados */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Dancing Script', cursive;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

/* Badges e tags */
.badge {
    background: var(--gradient-warm) !important;
    color: var(--text-light);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    margin: 0.2rem;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Loading e estados */
.loading {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gold);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .container-decorated {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .photo-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Ajustar altura das imagens/vídeos na galeria para mobile */
    .photo-card .photo-image,
    .photo-card img,
    .photo-card video {
        height: 220px !important;
        object-fit: cover;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Galeria otimizada para mobile pequeno */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    /* Cards menores para mobile */
    .photo-card {
        margin-bottom: 0.8rem;
        border-radius: 15px;
    }
    
    .photo-card .photo-image,
    .photo-card img,
    .photo-card video {
        height: 200px !important;
        border-radius: 15px 15px 0 0;
    }
    
    /* Melhorar espaçamento do conteúdo do card */
    .photo-card .p-3 {
        padding: 1rem !important;
    }
    
    .photo-card .photo-title {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .photo-card .photo-description {
        font-size: 0.85rem !important;
        margin-bottom: 0.8rem !important;
    }
    
    .photo-card .photo-meta {
        font-size: 0.75rem !important;
    }
    
    /* Badges menores no mobile */
    .badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }
}

/* Mobile muito pequeno */
@media (max-width: 400px) {
    .gallery-grid {
        padding: 0.5rem 0;
        gap: 0.8rem;
    }
    
    .photo-card .photo-image,
    .photo-card img,
    .photo-card video {
        height: 180px !important;
    }
    
    .photo-card .p-3 {
        padding: 0.8rem !important;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-warm);
}

/* Efeitos especiais para interações */
.interactive-element:hover {
    cursor: pointer;
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Alertas estilizados */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background: linear-gradient(135deg, #90EE90 0%, #32CD32 100%);
    color: #006400;
}

.alert-danger {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
    color: #8B0000;
}

.alert-info {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
    color: #000080;
}

/* Modais estilizados */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--text-light);
    border-radius: 20px 20px 0 0;
    border-bottom: none;
}

/* Footer estilizado */
.footer {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin: 0;
    font-weight: 500;
}

/* Animação de entrada para elementos */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   SISTEMA SOCIAL - CSS
   ========================================== */

/* Seção social geral */
.social-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

/* Seção de reações */
.reactions-section {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.reaction-btn {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reaction-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.reaction-btn:active {
    transform: scale(0.95);
}

.reaction-btn.btn-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.reaction-btn.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #a71e2a 100%);
}

.reaction-btn.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #d39e00 100%);
}

.reaction-btn.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.reaction-btn.btn-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.reaction-btn.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

/* Badges de reações */
#reactions-display .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.2rem;
}

#reactions-display .badge:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Seção de comentários */
.comments-section {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Formulário de comentário */
.comment-form {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1rem;
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.comment-form:focus-within {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
}

/* Avatar */
.avatar-sm {
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

.avatar-xs {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
}

/* Área de texto dos comentários */
#comment-text {
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

#comment-text:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
    background: white;
}

/* Sugestões de menção */
.mention-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.mention-dropdown .list-group {
    margin: 0;
    border: none;
}

.mention-dropdown .list-group-item {
    border: none;
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
}

.mention-dropdown .list-group-item:hover,
.mention-dropdown .list-group-item.active {
    background: var(--gradient-primary);
    color: white;
}

.mention-dropdown .list-group-item:first-child {
    border-radius: 8px 8px 0 0;
}

.mention-dropdown .list-group-item:last-child {
    border-radius: 0 0 8px 8px;
}

/* Lista de comentários */
#comments-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

/* Comentário individual */
.comment {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.comment:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(5px);
}

.comment-text {
    line-height: 1.5;
    word-wrap: break-word;
}

.comment-actions .btn-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.comment-actions .btn-link:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Respostas */
.replies {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 0 0 15px 15px;
    position: relative;
}

.replies::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.reply {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
}

.reply:hover {
    background: white;
    border-color: rgba(212, 175, 55, 0.2);
}

/* Menções estilizadas */
.mention {
    color: var(--gold);
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mention:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-dark);
}

/* Estados de carregamento */
.social-section .fas.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Responsividade para sistema social */
@media (max-width: 768px) {
    .social-section {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .reactions-section,
    .comments-section {
        padding: 0.8rem;
    }
    
    .reaction-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    #reaction-buttons {
        gap: 0.3rem !important;
        flex-wrap: wrap;
    }
    
    .comment-form {
        padding: 0.8rem;
    }
    
    .avatar-sm {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .avatar-xs {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
    }
    
    #comment-text {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .comment,
    .reply {
        padding: 0.8rem !important;
    }
    
    .replies {
        margin-left: 1rem !important;
        padding-left: 1rem !important;
    }
}

@media (max-width: 576px) {
    .social-section {
        margin: 0 -0.5rem;
        border-radius: 10px;
    }
    
    .reaction-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    #reaction-buttons {
        justify-content: center;
    }
    
    .comment-form .d-flex {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .comment-form .flex-shrink-0 {
        align-self: flex-start;
    }
    
    .replies {
        margin-left: 0.5rem !important;
        padding-left: 0.8rem !important;
    }
    
    .mention-dropdown {
        font-size: 0.9rem;
    }
}

/* Animações especiais para interações sociais */
@keyframes reactionPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.reaction-btn.animate-pop {
    animation: reactionPop 0.3s ease;
}

@keyframes commentSlideIn {
    0% { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.comment.new-comment {
    animation: commentSlideIn 0.5s ease;
}

/* Melhorias na acessibilidade */
.reaction-btn:focus,
.mention-suggestion:focus,
#comment-text:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Scrollbar personalizada para comentários */
#comments-list::-webkit-scrollbar {
    width: 6px;
}

#comments-list::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 3px;
}

#comments-list::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

#comments-list::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-warm);
}

/* ==========================================
   RESUMO SOCIAL NA GALERIA
   ========================================== */

.social-summary {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 10px;
    padding: 0.8rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.social-summary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.social-summary a {
    transition: all 0.2s ease;
    border-radius: 15px;
    padding: 0.3rem 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.social-summary a:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: scale(1.05);
}

.social-summary .fas {
    font-size: 0.9rem;
}

.social-summary .text-muted {
    font-weight: 500;
}

/* Indicadores de atividade social */
.social-summary .d-flex > div {
    position: relative;
}

/* Efeito de destaque para números maiores que zero */
.social-summary .text-muted:not(:empty) {
    color: #6c757d !important;
}

.social-summary a:hover .text-muted {
    color: #495057 !important;
}

/* Animação sutil para os ícones */
.social-summary .fas {
    transition: all 0.2s ease;
}

.social-summary a:hover .fas {
    transform: scale(1.1);
}

/* Responsividade do resumo social */
@media (max-width: 768px) {
    .social-summary {
        padding: 0.6rem;
    }
    
    .social-summary .d-flex {
        gap: 1rem !important;
    }
    
    .social-summary a {
        padding: 0.2rem 0.4rem;
    }
    
    .social-summary .fas {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .social-summary {
        padding: 0.5rem;
    }
    
    .social-summary .d-flex {
        flex-wrap: wrap;
        gap: 0.8rem !important;
    }
    
    .social-summary .small {
        font-size: 0.8rem !important;
    }
}

/* Garantir que os botões sejam clicáveis */
.photo-view-btn, .photo-download-btn {
    z-index: 10;
    pointer-events: auto !important;
    position: relative;
}

/* Garantir que a imagem seja clicável */
.photo-image {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

/* Mobile - sem conflitos */
@media (max-width: 768px) {
    .photo-card:hover {
        transform: none !important;
        animation: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }
    
    .photo-overlay {
        opacity: 0.8 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

.empty-state {
    max-width: 500px;
    margin: 0 auto;
} 