/* ========================================
   LOGO STYLES - Daniele Berardo
   ======================================== */

.navbar-brand img {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: translateY(-2px);
}

/* Logo responsive */
@media (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
        max-width: 160px;
    }
}

/* ========================================
   FOOTER STYLES - Daniele Berardo
   ======================================== */

#footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #d01a1a;
    padding: 4rem 0 0;
    margin-top: 4rem;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2ea3f2 0%, #0077b6 50%, #2ea3f2 100%);
}

.footer-content {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    color: rgba(255, 255, 255, 0.9);
}

.footer-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.footer-subtitle {
    color: #2ea3f2;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.footer-heading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

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

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    color: #2ea3f2;
}

.social-link span {
    font-size: 0.95rem;
}

.social-link:hover {
    background: rgba(46, 163, 242, 0.1);
    border-color: #2ea3f2;
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p,
.footer-credits p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-credits a {
    color: #2ea3f2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #footer {
        padding: 3rem 0 0;
        margin-top: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .footer-title {
        font-size: 1.3rem;
    }
}

/* Dark mode enhancements */
@media (prefers-color-scheme: dark) {
    #footer {
        background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    }
}
