/**
 * DevWharf Footer Styles v6.0
 * Large SVG logo footer with hover animations
 */

.dw-footer {
    background: var(--dw-bg-secondary, #0c0c14) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--dw-text-muted, #606070);
    position: relative;
}

/* Gradient glow line at top of footer */
.dw-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.3),
        rgba(139, 92, 246, 0.4),
        rgba(6, 182, 212, 0.3),
        transparent
    );
    pointer-events: none;
}

/* Subtle glow wash below the line */
.dw-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 80px;
    background: linear-gradient(
        to bottom,
        rgba(99, 102, 241, 0.03),
        transparent
    );
    pointer-events: none;
}

.dw-footer h3,
.dw-footer h6 {
    color: inherit;
}

.dw-footer-grid {
    max-width: min(94vw, 1400px);
    margin: 0 auto;
    align-items: center;
}

.dw-footer-brand {
    flex-basis: 500px !important;
}

.dw-footer-brand h3 {
    color: var(--dw-text-primary, #f0f0f0) !important;
    font-family: var(--dw-font-display, 'Sansita', sans-serif);
}

.dw-footer a {
    color: var(--dw-text-muted, #606070) !important;
    transition: color 0.25s ease;
    text-decoration: none;
}

.dw-footer a:hover {
    color: var(--dw-text-primary, #f0f0f0) !important;
}

.dw-footer p {
    color: inherit;
}

/* Footer logo — large SVG display */
.dw-footer-logo,
.dw-footer-logo.dw-footer-logo--large {
    margin: 0 !important;
}

.dw-footer-logo--large img {
    width: 250px !important;
    height: 200px !important;
    max-width: 250px !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 0.65;
    transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    image-rendering: auto;
}

.dw-footer-logo--large img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.25)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.1));
    transform: scale(1.02);
}

/* Fallback for non-large footer logo */
.dw-footer-logo:not(.dw-footer-logo--large) img {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 0.7;
    transition: opacity 0.3s ease, filter 0.3s ease;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.dw-footer-logo:not(.dw-footer-logo--large) img:hover {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.3));
}

@media (max-width: 768px) {
    .dw-footer-logo--large img {
        width: 180px !important;
        height: 144px !important;
    }

    .dw-footer-brand {
        flex-basis: 100% !important;
    }
}

