/* Standardized Footer Styles - CampusNotes Hub */
/* Based on result.html footer design */

:root {
    --oily-green: #2d5016;
    --oily-golden: #b8860b;
}

/* Footer */
footer {
    background-color: var(--oily-green);
    color: #fff;
    padding: 40px 0 20px;
}

.footer-title {
    color: var(--oily-golden);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.footer-link:hover {
    color: var(--oily-golden);
    transform: translateX(5px);
}

/* Footer Social Icons */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #fff;
}

.footer-social-link.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-color: #ff0000;
}

.footer-social-link.youtube:hover {
    background: linear-gradient(135deg, #ff3333, #ff0000);
    box-shadow: 0 4px 12px rgba(255,0,0,0.4);
}

.footer-social-link.instagram {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fccc63);
    border-color: #e4405f;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(135deg, #f56565, #9f7aea, #ffd93d);
    box-shadow: 0 4px 12px rgba(228,64,95,0.4);
}

.footer-social-link.telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    border-color: #0088cc;
}

.footer-social-link.telegram:hover {
    background: linear-gradient(135deg, #33a3dd, #4db8e8);
    box-shadow: 0 4px 12px rgba(0,136,204,0.4);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* Social Media Popup */
.social-media-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.youtube-btn {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 4px 15px rgba(255,0,0,0.4);
}

.youtube-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255,0,0,0.6);
    color: #fff;
}

.instagram-btn {
    background: linear-gradient(135deg, #e4405f, #833ab4, #fccc63);
    box-shadow: 0 4px 15px rgba(228,64,95,0.4);
}

.instagram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(228,64,95,0.6);
    color: #fff;
}

.telegram-btn {
    background: linear-gradient(135deg, #0088cc, #229ED9);
    box-shadow: 0 4px 15px rgba(0,136,204,0.4);
}

.telegram-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,136,204,0.6);
    color: #fff;
}

/* RESPONSIVE DESIGN - Mobile, Tablet, Desktop */

/* Tablet & Below (768px) */
@media (max-width: 768px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-top: 20px;
    }
    
    .social-media-popup {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    footer {
        text-align: center;
    }
    
    .footer-link {
        text-align: center;
    }
    
    .footer-social-icons {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}