/* ============================================
   GLAMZN MODERN FOOTER
   Professional & Clean Design
   ============================================ */

/* Footer Container - ALWAYS DARK */
.glamzn-footer {
    background: #000000 !important;
    border-top: 1px solid #262626 !important;
    margin-top: 60px;
}

/* Main Footer */
.glamzn-footer-main {
    padding: 60px 0 40px;
}

/* Footer Grid */
.glamzn-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 50px;
}

/* Footer Column */
.glamzn-footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Brand Section */
.glamzn-footer-brand {
    margin-bottom: 8px;
}

.glamzn-footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #a78bfa, #c4b5fd) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.glamzn-footer-tagline {
    font-size: 14px;
    font-weight: 600;
    color: #d1d5db !important;
    margin: 0;
}

.glamzn-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #9ca3af !important;
    margin: 0;
}

/* Footer Titles - ALWAYS WHITE */
.glamzn-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glamzn-footer-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    margin: 0 0 12px 0;
}

/* Social Links - ALWAYS DARK */
.glamzn-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.glamzn-social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #262626 !important;
    color: #ffffff !important;
    border: 1px solid #404040 !important;
    font-size: 20px !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.glamzn-social-link:hover {
    background: #6366f1 !important;
    color: #ffffff !important;
    border-color: #6366f1 !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.6) !important;
}

/* Footer Links - ALWAYS DARK */
.glamzn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.glamzn-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #9ca3af !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.glamzn-footer-link i {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.glamzn-footer-link:hover {
    color: #818cf8 !important;
    padding-left: 4px;
}

.glamzn-footer-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Posts - ALWAYS DARK */
.glamzn-footer-posts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.glamzn-footer-post {
    background: #1a1a1a !important;
    border: 1px solid #404040 !important;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.glamzn-footer-post:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.glamzn-footer-post-link {
    display: flex;
    gap: 12px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
}

.glamzn-footer-post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #2a2a2a !important;
}

.glamzn-footer-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.glamzn-footer-post:hover .glamzn-footer-post-image img {
    transform: scale(1.1);
}

.glamzn-footer-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.glamzn-footer-post-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #f9fafb !important;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.glamzn-footer-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #9ca3af !important;
}

.glamzn-footer-post-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.glamzn-footer-post-date i {
    font-size: 11px;
}

.glamzn-footer-post-category {
    padding: 2px 8px;
    background: #312e81 !important;
    color: #a5b4fc !important;
    border-radius: 4px;
    font-weight: 600;
}

/* Bottom Footer - ALWAYS DARK */
.glamzn-footer-bottom {
    padding: 24px 0;
    border-top: 1px solid #262626 !important;
    background: #0a0a0a !important;
}

.glamzn-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Copyright - ALWAYS DARK */
.glamzn-footer-copyright {
    flex: 1;
}

.glamzn-footer-copyright p {
    font-size: 14px;
    color: #9ca3af !important;
    margin: 0;
}

.glamzn-footer-copyright-link {
    color: #818cf8 !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.glamzn-footer-copyright-link:hover {
    color: #a5b4fc !important;
}

/* Legal Links - ALWAYS DARK */
.glamzn-footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.glamzn-footer-legal-link {
    color: #9ca3af !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.glamzn-footer-legal-link:hover {
    color: #818cf8 !important;
}

.glamzn-footer-separator {
    color: #4b5563 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .glamzn-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .glamzn-footer-col-wide {
        grid-column: span 2;
    }

    .glamzn-footer-logo {
        font-size: 1.625rem;
    }

    .glamzn-footer-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .glamzn-footer {
        margin-top: 40px;
    }

    .glamzn-footer-main {
        padding: 35px 0 25px;
    }

    .glamzn-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .glamzn-footer-col-wide {
        grid-column: span 1;
    }

    .glamzn-footer-brand {
        text-align: center;
        margin-bottom: 12px;
    }

    .glamzn-footer-logo {
        font-size: 1.5rem;
    }

    .glamzn-footer-tagline {
        font-size: 13px;
    }

    .glamzn-footer-desc {
        text-align: center;
        font-size: 14px;
        line-height: 1.6;
    }

    .glamzn-footer-social {
        text-align: center;
    }

    .glamzn-social-links {
        justify-content: center;
    }

    .glamzn-footer-title,
    .glamzn-footer-subtitle {
        text-align: center;
        font-size: 15px;
    }

    .glamzn-footer-links {
        text-align: center;
    }

    .glamzn-footer-link {
        justify-content: center;
    }

    .glamzn-footer-posts {
        gap: 14px;
    }

    .glamzn-footer-post-link {
        padding: 12px;
    }

    .glamzn-footer-post-image {
        width: 75px;
        height: 75px;
    }

    .glamzn-footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .glamzn-footer-copyright {
        text-align: center;
    }

    .glamzn-footer-copyright p {
        font-size: 13px;
    }

    .glamzn-footer-legal {
        font-size: 13px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .glamzn-footer {
        margin-top: 30px;
    }

    .glamzn-footer-main {
        padding: 30px 16px 20px;
    }

    .glamzn-footer-grid {
        gap: 30px;
    }

    .glamzn-footer-logo {
        font-size: 1.375rem;
    }

    .glamzn-footer-tagline {
        font-size: 12px;
    }

    .glamzn-footer-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .glamzn-footer-title,
    .glamzn-footer-subtitle {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .glamzn-footer-link {
        font-size: 13px;
    }

    .glamzn-social-links {
        gap: 10px;
    }

    .glamzn-social-link {
        width: 42px;
        height: 42px;
    }

    body.dark-mode .glamzn-social-link,
    .dark-mode .glamzn-social-link,
    .dark .glamzn-social-link,
    [data-theme="dark"] .glamzn-social-link,
    html.dark .glamzn-social-link,
    html[data-bs-theme="dark"] .glamzn-social-link {
        font-size: 18px !important;
    }

    .glamzn-footer-posts {
        gap: 12px;
    }

    .glamzn-footer-post-link {
        padding: 10px;
        gap: 10px;
    }

    .glamzn-footer-post-image {
        width: 70px;
        height: 70px;
    }

    .glamzn-footer-post-title {
        font-size: 13px;
        line-height: 1.3;
        -webkit-line-clamp: 3;
    }

    .glamzn-footer-post-meta {
        font-size: 11px;
        gap: 8px;
    }

    .glamzn-footer-post-category {
        padding: 2px 6px;
        font-size: 10px;
    }

    .glamzn-footer-bottom {
        padding: 18px 16px;
    }

    .glamzn-footer-copyright p {
        font-size: 12px;
    }

    .glamzn-footer-legal {
        font-size: 12px;
        gap: 10px;
    }
}

@media (max-width: 375px) {
    .glamzn-footer-logo {
        font-size: 1.25rem;
    }

    .glamzn-footer-tagline {
        font-size: 11px;
    }

    .glamzn-footer-desc {
        font-size: 12px;
    }

    .glamzn-social-links {
        gap: 8px;
    }

    .glamzn-social-link {
        width: 40px;
        height: 40px;
    }

    body.dark-mode .glamzn-social-link,
    .dark-mode .glamzn-social-link,
    .dark .glamzn-social-link,
    [data-theme="dark"] .glamzn-social-link,
    html.dark .glamzn-social-link,
    html[data-bs-theme="dark"] .glamzn-social-link {
        font-size: 17px !important;
    }

    .glamzn-footer-post-image {
        width: 65px;
        height: 65px;
    }

    .glamzn-footer-post-title {
        font-size: 12px;
    }

    .glamzn-footer-grid {
        gap: 25px;
    }
}

/* Accessibility */
.glamzn-footer a:focus-visible {
    outline: 2px solid #4F46E5;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles */
@media print {
    .glamzn-footer {
        display: none;
    }
}
