/* ==========================================================================
   FOOTER STYLES - Premium Theme
   ========================================================================== */

.footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.8);
    margin-top: var(--spacing-xl);
}

/* Main Footer */
.footer-main {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    max-height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.footer-logo .logo-accent {
    color: var(--accent);
}

/* Footer About */
.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 2rem;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-links a i {
    font-size: 0.875rem;
    width: 16px;
}

.footer-links a.text-accent {
    color: var(--accent);
    font-weight: 500;
    margin-top: 0.5rem;
}

.footer-links a.text-accent:hover {
    color: white;
}

/* Footer Posts */
.footer-posts {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-post {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-post-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    transition: var(--transition);
}

.footer-post-title:hover {
    color: var(--accent);
}

.footer-post-meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-post-meta i {
    font-size: 0.75rem;
}

/* Bottom Footer */
.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-credit {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.footer-credit:hover {
    color: white;
}

/* Button in Footer */
.footer .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.footer .btn-outline-light:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 991px) {
    .footer-main {
        padding: var(--spacing-lg) 0;
    }
    
    .footer-widget {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 767px) {
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .col-md-6:first-child {
        margin-bottom: 0.5rem;
    }
}