/* ========================================
   HEADER & FOOTER STYLES - Frontend 25
   Stile moderno per header e footer
   ======================================== */

/* === HEADER === */

/* Top Bar */
.top-bar-25 {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.contact-info-25 {
    display: flex;
    gap: 25px;
}

.phone-link-25,
.email-link-25 {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.phone-link-25:hover,
.email-link-25:hover {
    color: #ffd700;
}

.social-links-25 {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.social-links-25 a {
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links-25 a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Main Header */
.main-header-25 {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-25 img {
    max-height: 70px;
    width: auto;
}

.navbar-25 .navbar-nav {
    gap: 5px;
}

.navbar-25 .nav-link {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-25 .nav-link:hover {
    background-color: #3498db;
    color: #fff;
}

.navbar-25 .dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border-radius: 8px;
    margin-top: 10px;
}

.navbar-25 .dropdown-item {
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.navbar-25 .dropdown-item:hover {
    background-color: #3498db;
    color: #fff;
}

.navbar-25 .navbar-toggler {
    border-color: #3498db;
    color: #3498db;
}

/* === FOOTER === */

.footer-25 {
    background: #2c3e50;
    color: #ecf0f1;
}

.footer-top-25 {
    padding: 50px 0 30px;
}

.footer-logo-25 img {
    max-height: 80px;
    margin-bottom: 20px;
}

.footer-description-25 {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social-25 {
    display: flex;
    gap: 12px;
}

.footer-social-25 a {
    color: #ecf0f1;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social-25 a:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-3px);
}

.footer-title-25 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title-25:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #3498db;
}

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

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

.footer-links-25 a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-25 a:hover {
    color: #3498db;
    padding-left: 5px;
}

.newsletter-text-25 {
    color: #bdc3c7;
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form-25 .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 5px;
}

.newsletter-form-25 .form-control::placeholder {
    color: #bdc3c7;
}

.newsletter-form-25 .form-control:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #3498db;
    color: #fff;
    box-shadow: none;
}

.newsletter-form-25 .custom-control-label {
    color: #bdc3c7;
    font-size: 13px;
}

.newsletter-form-25 .custom-control-label a {
    color: #3498db;
}

.btn-newsletter-25 {
    width: 100%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-newsletter-25:hover {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.footer-bottom-25 {
    background-color: #1a252f;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-25,
.legal-info-25 {
    color: #95a5a6;
    font-size: 13px;
    margin: 0;
}

/* Fixed Contact Bar */
.contact-bar-25 {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.contact-bar-item-25 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    padding: 15px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-bar-item-25:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.phone-bar-25 i {
    font-size: 20px;
    animation: pulse 2s infinite;
}

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

/* Responsive */
@media (max-width: 991px) {
    .contact-info-25 {
        flex-direction: column;
        gap: 10px;
    }

    .social-links-25 {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .main-header-25 {
        padding: 15px 0;
    }

    .logo-25 img {
        max-height: 60px;
    }

    .footer-top-25 {
        padding: 40px 0 20px;
    }
}

@media (max-width: 767px) {
    .top-bar-25 {
        font-size: 12px;
        padding: 8px 0;
    }

    .social-links-25 a {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .logo-25 img {
        max-height: 50px;
    }

    .navbar-25 .nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }

    .footer-top-25 {
        padding: 30px 0 20px;
    }

    .footer-title-25 {
        font-size: 18px;
    }

    .footer-logo-25 img {
        max-height: 60px;
    }

    .contact-bar-25 {
        padding: 0;
    }

    .contact-bar-item-25 {
        font-size: 14px;
        padding: 12px;
    }

    .phone-bar-25 i {
        font-size: 18px;
    }
}
