/**
 * Footer Section Styles
 * Main footer with logo, social links, and contact information
 */

/* Footer Section */
#footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--space-2xl) 0 var(--space-xl) 0;
    text-align: center;
    margin-top: var(--space-2xl);
    opacity: 1; /* Always visible - no scroll animations for elderly users */
    transform: translateY(0);
    transition: none; /* No transitions for immediate response */
}

/* Class to trigger footer animation - disabled for elderly users */
#footer.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Container - Three Column Layout */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    max-width: 1500px;  /* Increased from 1025px to 1500px for wider content */
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Footer Logo Section */
.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.footer-logo img:hover {
    transform: scale(1.05);
}

/* Footer Links Section */
.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links p {
    font-size: var(--font-size-body-lg);
    margin-bottom: var(--space-xs);
    color: var(--text-white);
    font-weight: var(--font-weight-semibold);
}

.footer-links a {
    margin: 0 var(--space-sm);
    display: inline-block;
}

/* Social icons container */
.sosial-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.sosial-icon a {
    margin: 0;
    display: inline-flex;
}

/* Social Icons */
.social-icon {
    width: 36px;
    height: 36px;
    margin: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    opacity: 0.9;
    filter: brightness(1);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 1;
    filter: brightness(1.2);
}

/* Footer Contact Section */
.footer-contact {
    flex: 1;
    min-width: 200px;
    font-size: var(--font-size-body);
    color: var(--footer-text);
}

.footer-contact p {
    margin: var(--space-xs) 0;
    line-height: var(--line-height-relaxed);
}

.footer-contact a {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-base);
}

.footer-contact a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    #footer {
        padding: var(--space-xl) 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-lg);
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        min-width: auto;
        width: 100%;
    }

    .footer-links,
    .footer-contact {
        margin-top: 0;
    }

    /* Keep icons close together on mobile */
    .sosial-icon {
        gap: var(--space-xs);
    }

    .sosial-icon a {
        margin: 0;
    }

    .social-icon {
        margin: 0;
        width: 36px;
        height: 36px;
    }
}

/* Credit Developer Section */
#credit-developer {
    background-color: #000;
    color: var(--text-white);
    text-align: center;
    padding: var(--space-md) 0;
    font-size: var(--font-size-body-sm);
}

#credit-developer a {
    color: var(--color-primary-light);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: color var(--transition-base);
}

#credit-developer a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}