/* Estilos adicionais e micro-interações para MasterServ */

/* Transições suaves globais */
a, button, input, textarea, select {
    transition: all 0.25s ease-in-out;
}

/* Efeito de hover suave nos links da navegação */
nav a {
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2ECC71;
    transition: width 0.3s ease;
}
nav a:hover::after, nav a.active::after {
    width: 100%;
}

/* Animações e efeitos de glassmorphism para menus e modais */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 20, 73, 0.95);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border-left: 4px solid #2ECC71;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 16px 24px;
    border-radius: 4px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Dot matrix custom backgrounds */
.bg-dot-pattern {
    background-image: radial-gradient(rgba(30, 42, 94, 0.08) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}
.bg-dot-pattern-light {
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
}

/* Modal Estilo Premium */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 20, 73, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 200;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-container {
    background: #ffffff;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}
.modal-overlay.active .modal-container {
    transform: scale(1);
}

/* Pulsing effect for green dots */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
.status-pulse {
    animation: pulse 2s infinite ease-in-out;
}
