/* Footer Profissional - Veneza Pizzaria */
.footer-veneza {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 60px;
    font-family: 'Poppins', sans-serif;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    padding: 0 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid #f8c471;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-logo h4 {
    color: white;
    font-weight: 600;
    margin: 0;
    font-size: 1.4rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 8;
}

.footer-description {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.company-info p {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.company-info strong {
    color: white;
    font-weight: 600;
}

.footer-section h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links a::before {
    content: '▶';
    opacity: 0;
    margin-right: 8px;
    transition: opacity 0.3s ease;
    font-size: 0.7rem;
}

.footer-links a:hover::before {
    opacity: 1;
}

.compliance-info {
    background: rgba(52, 73, 94, 0.3);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #f8c471;
}

.compliance-info p {
    color: white;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.compliance-info p:last-child {
    margin-bottom: 0;
    color: white;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #5d6d7e;
    padding-top: 25px;
    text-align: center;
}

.footer-copyright p {
    color: white;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-copyright p:last-child {
    color: white;
    font-weight: 500;
    margin-bottom: 0;
}

/* Modal de Políticas Styling */
#policyModal {
    z-index: 1060;
}

#policyModal .modal-backdrop {
    z-index: 1059;
}

#policyModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1061;
    position: relative;
    background: white;
}

#policyModal .modal-header {
    background: linear-gradient(135deg, #f8c471 0%, #f39c12 100%);
    color: #2c3e50;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    position: relative;
    z-index: 1062;
}

#policyModal .modal-title {
    font-weight: 600;
    font-size: 1.2rem;
}

#policyModal .modal-body {
    padding: 30px;
    line-height: 1.6;
}

#policyModal .modal-body h6 {
    color: #2c3e50;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
}

#policyModal .modal-body h6:first-child {
    margin-top: 0;
}

#policyModal .modal-body p {
    color: #5d6d7e;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

#policyModal .modal-footer {
    border-top: 1px solid #ecf0f1;
    padding: 20px 30px;
}

#policyModal .btn-secondary {
    background-color: #95a5a6;
    border-color: #95a5a6;
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#policyModal .btn-secondary:hover {
    background-color: #7f8c8d;
    border-color: #7f8c8d;
    transform: translateY(-2px);
}

/* Garantir que todos os outros elementos fiquem abaixo do modal */
#policyModal.show {
    z-index: 1060 !important;
}

#policyModal.show .modal-dialog {
    z-index: 1061 !important;
}

#policyModal.show .modal-content {
    z-index: 1062 !important;
    background: white !important;
    border: none !important;
}

/* Esconder elementos que possam interferir */
body.modal-open .navbar,
body.modal-open .social-notification,
body.modal-open .footer-logo img,
body.modal-open [style*="z-index"] {
    z-index: 1050 !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-veneza {
        padding: 40px 0 15px;
        margin-top: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-section {
        padding: 0 10px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .compliance-info {
        padding: 15px;
        text-align: left;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    #policyModal .modal-body {
        padding: 20px;
    }
    
    #policyModal .modal-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo h4 {
        font-size: 1.1rem;
    }
    
    .footer-section h5 {
        font-size: 1rem;
    }
    
    .compliance-info {
        padding: 12px;
    }
    
    .compliance-info p {
        font-size: 0.8rem;
    }
}

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

.footer-veneza {
    animation: fadeInUp 0.6s ease-out;
}

.footer-section {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-section:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-section:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-section:nth-child(3) {
    animation-delay: 0.3s;
}

/* Efeitos Hover Avançados */
.footer-links a {
    position: relative;
    overflow: hidden;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #f8c471, #f39c12);
    transition: left 0.3s ease;
}

.footer-links a:hover::after {
    left: 0;
}

/* Compliance Box Special Effects */
.compliance-info {
    position: relative;
    overflow: hidden;
}

.compliance-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 196, 113, 0.1), transparent);
    transition: left 0.8s ease;
}

.compliance-info:hover::before {
    left: 100%;
}