/* Unified Footer Styles for NORSU Alumni System */

/* Base Footer Styles */
.footer-modern,
.landing-footer {
    background: linear-gradient(135deg, #2b3c6b 0%, #1a2544 100%);
    color: #ecf0f1;
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

.footer-modern {
    background: linear-gradient(135deg, #2b3c6b 0%, #1a2544 100%);
}

.landing-footer {
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Subtle pattern overlay */
.footer-modern::before,
.landing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
    opacity: 0.5;
}

/* Footer Content */
.footer-content {
    padding: 2.5rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.landing-footer .footer-content {
    padding: 2rem 0 1rem;
}

/* Brand Section */
.footer-brand {
    margin-bottom: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.landing-footer .brand-logo {
    margin-bottom: 0.75rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-right: 0.75rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.brand-title {
    color: #ffffff;
    font-weight: 600;
    margin: 0;
    font-size: 1.25rem;
}

.footer-modern .brand-title {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-description {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.landing-footer .brand-description {
    color: rgba(255, 255, 255, 0.85);
}

/* Footer Sections */
.footer-section {
    margin-bottom: 0;
}

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    font-size: 0.875rem;
}

.landing-footer .footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-modern .footer-links a:hover {
    padding-left: 0.5rem;
}

.footer-links a i {
    width: 18px;
    margin-right: 0.5rem;
    font-size: 0.85rem;
}

/* Contact Info */
.contact-info {
    margin-bottom: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.875rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    font-size: 0.9rem;
}

.landing-footer .contact-item {
    color: rgba(255, 255, 255, 0.85);
}

.contact-item i {
    color: #3498db;
    margin-right: 0.875rem;
    margin-top: 0.25rem;
    width: 16px;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #3498db;
}

/* Social Media */
.social-section,
.social-links {
    margin-top: 0;
}

.social-icons,
.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    color: #ffffff;
}

.social-link.facebook::before {
    background: linear-gradient(45deg, #3b5998, #4267B2);
}

.social-link.twitter::before {
    background: linear-gradient(45deg, #1da1f2, #0d8bd9);
}

.social-link.linkedin::before {
    background: linear-gradient(45deg, #0077b5, #005885);
}

.social-link.instagram::before {
    background: linear-gradient(45deg, #e4405f, #fd1d1d, #fcb045);
}

.social-link.youtube::before {
    background: linear-gradient(45deg, #ff0000, #cc0000);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 1.25rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
    text-align: center;
}

.landing-footer .footer-bottom {
    padding-top: 1.25rem;
    margin-top: 2rem;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.landing-footer .copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.landing-footer .footer-bottom-links {
    justify-content: center;
    margin-top: 0.5rem;
}

.footer-bottom-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.landing-footer .footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links a:hover {
    color: #3498db;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        padding: 1.5rem 0 1rem !important;
    }

    .landing-footer {
        padding: 2rem 0 1rem !important;
        margin-top: 2rem !important;
    }
    
    .footer-bottom {
        text-align: center;
        padding: 0.875rem 0 !important;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 0.5rem;
        gap: 1rem;
    }
    
    .copyright {
        margin-bottom: 0.5rem;
        font-size: 0.8125rem !important;
    }
    
    .footer-section {
        margin-bottom: 1.25rem !important;
    }

    .brand-title {
        font-size: 1.125rem !important;
    }

    .brand-description {
        font-size: 0.8125rem !important;
    }

    .footer-title {
        font-size: 0.9375rem !important;
        margin-bottom: 0.875rem !important;
    }

    .footer-links a {
        font-size: 0.8125rem !important;
    }

    .contact-item {
        font-size: 0.8125rem !important;
        margin-bottom: 0.625rem !important;
    }

    .footer-bottom-links a {
        font-size: 0.8125rem !important;
    }

    .footer-logo {
        width: 36px !important;
        height: 36px !important;
    }

    .social-link {
        width: 36px !important;
        height: 36px !important;
    }

    .social-link i {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .footer-content {
        padding: 1.25rem 0 0.875rem !important;
    }

    .landing-footer {
        padding: 1.5rem 0 0.875rem !important;
        margin-top: 1.5rem !important;
    }

    .footer-bottom {
        padding: 0.75rem 0 !important;
    }

    .brand-logo {
        margin-bottom: 0.75rem !important;
    }

    .brand-title {
        font-size: 1rem !important;
    }

    .brand-description {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }
    
    .footer-title {
        font-size: 0.875rem !important;
        margin-bottom: 0.75rem !important;
        padding-bottom: 0.375rem !important;
    }

    .footer-title::after {
        width: 25px !important;
        height: 1.5px !important;
    }

    .footer-links li {
        margin-bottom: 0.375rem !important;
    }

    .footer-links a {
        font-size: 0.75rem !important;
        padding: 0.2rem 0 !important;
    }

    .footer-links a i {
        width: 16px !important;
        margin-right: 0.375rem !important;
        font-size: 0.75rem !important;
    }

    .contact-item {
        font-size: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .contact-item i {
        width: 12px !important;
        margin-right: 0.5rem !important;
        font-size: 0.75rem !important;
    }
    
    .social-link {
        width: 34px !important;
        height: 34px !important;
    }

    .social-link i {
        font-size: 0.9rem !important;
    }

    .social-icons,
    .social-links {
        gap: 0.375rem !important;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 0.375rem !important;
    }

    .footer-bottom-links a {
        font-size: 0.75rem !important;
    }

    .copyright {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    .footer-section {
        margin-bottom: 1rem !important;
    }

    .footer-logo {
        width: 32px !important;
        height: 32px !important;
        margin-right: 0.5rem !important;
    }

    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 375px) {
    .footer-content {
        padding: 1rem 0 0.75rem !important;
    }

    .brand-title {
        font-size: 0.9375rem !important;
    }

    .brand-description {
        font-size: 0.6875rem !important;
    }

    .footer-title {
        font-size: 0.8125rem !important;
    }

    .footer-links a {
        font-size: 0.6875rem !important;
    }

    .contact-item {
        font-size: 0.6875rem !important;
    }

    .social-link {
        width: 32px !important;
        height: 32px !important;
    }

    .social-link i {
        font-size: 0.85rem !important;
    }

    .copyright {
        font-size: 0.6875rem !important;
    }

    .footer-bottom-links a {
        font-size: 0.6875rem !important;
    }

    .footer-logo {
        width: 28px !important;
        height: 28px !important;
    }

    .container {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}
