/* Footer Styles */

.footer {
    position: relative;
    background: var(--bg-secondary);
    margin-top: auto;
}

.footer-content {
    padding: var(--spacing-4xl) 0 var(--spacing-xl);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
    display: flex;
    flex-direction: column; /* Stack image above text */
    align-items: center;    /* Center horizontally */
    text-align: center;     /* Center text */
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Center horizontally within logo container */
    margin-bottom: var(--spacing-md);
}

.footer-logo-image {
  width: 200px;
  height: auto;

  background: white; 
  -webkit-mask-image: url("../assets/arbiter_logo.webp");
  mask-image: url("../assets/arbiter_logo.webp");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transition: background 0.8s ease, filter 0.8s ease;
}

.footer-logo-image:hover {
  background: var(--gradient-purple-pink);
  filter: brightness(1.2);
}









.footer-tagline {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--color-cyan);
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}

/* Footer Title */
.footer-title {
    font-size: var(--font-size-sm);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    position: relative;
    width: fit-content;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-green-cyan);
    transition: width var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Highlighted email link in footer */
.footer-email-link {
    color: var(--color-cyan) !important;
    font-weight: 600;
}

.footer-email-link:hover {
    color: #fff !important;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-primary);
}

.copyright {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.footer-note {
    font-size: var(--font-size-sm);
    color: var(--text-tertiary);
}

.footer-note .gradient-text {
    font-weight: var(--font-weight-semibold);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-2xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: var(--spacing-3xl) 0 var(--spacing-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-brand {
        align-items: center;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-links a::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover::after {
        width: 100%;
        left: 0;
        transform: none;
    }
}
