/* Footer Component Styles */

.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-accent);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gradient-2);
}

.footer-top {
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    background: 
        linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.8) 100%),
        url('https://images.unsplash.com/photo-1517134191118-9d595e4c8c2b?q=80&w=2670&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 968px) {
    .footer-top {
        background-attachment: scroll;
    }
}

.footer-top::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.4) 0%, 
        rgba(20, 20, 20, 0.6) 100%
    );
    z-index: 1;
}

.footer-top-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
    position: relative;
    z-index: 2;
}

@media (max-width: 968px) {
    .footer-top-content {
        grid-template-columns: 1fr;
        text-align: left;
        gap: var(--space-md);
    }
}

.footer-about {
    max-width: 400px;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.footer-description {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-column-title {
    font-family: var(--font-display);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--color-accent);
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    transition: color 0.3s ease;
    padding-left: 0;
}

.footer-link:hover {
    color: var(--color-accent);
}

/* New hover effect with > arrow like in menu */
.footer-link::before {
    content: '>';
    position: absolute;
    left: -20px;
    opacity: 0;
    color: var(--color-accent);
    font-weight: 300;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-link:hover::before {
    opacity: 1;
    left: -15px;
    transform: translateX(0);
}

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-detail-label {
    font-size: 0.875rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-detail-value {
    color: var(--color-text);
    font-size: 1rem;
}

.footer-bottom {
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

@media (max-width: 768px) {
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.footer-legal-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--color-accent);
}