/* ======================= FOOTER STYLES ======================= */

:root {
    --footer-bg: #1a1a1a;
    --footer-text: #ccc;
    --footer-text-light: #888;
    --footer-accent: #0055aa;
    --footer-border: #333;
}

.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 20px 20px 20px;
    font-family: "Garamond";
    line-height: 1.5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* -------------------- Footer Columns -------------------- */
.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column.company-info {
    flex: 1.5;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--footer-accent);
    margin-bottom: 15px;
    display: block;
}

.footer-column.company-info p {
    color: var(--footer-text);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--footer-text);
}

.footer-contact-item .icon {
    color: var(--footer-accent);
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-contact-item a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-item a:hover,
.footer-contact-item a:focus {
    color: white;
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
}

/* Column Headings */
.footer-column h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 5px;
}

/* Link Lists */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: var(--footer-accent);
    padding-left: 5px;
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
}

/* -------------------- Sub-Footer & Copyright -------------------- */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--footer-text-light);
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid transparent;
}

.footer-social-links a:hover,
.footer-social-links a:focus {
    color: var(--footer-accent);
    border-color: var(--footer-accent);
    outline: none;
}

.footer-copyright span {
    margin-left: 15px;
}

.footer-copyright a {
    color: var(--footer-text-light);
    text-decoration: none;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.footer-copyright a:hover,
.footer-copyright a:focus {
    color: var(--footer-text);
    outline: 2px solid var(--footer-accent);
    outline-offset: 2px;
}

/* -------------------- Responsive Adjustments -------------------- */
@media (max-width: 992px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-column {
        flex: 1 1 45%;
        margin-bottom: 30px;
    }

    .footer-column.company-info {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        min-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-social-links {
        margin-bottom: 15px;
    }

    .footer-copyright span {
        margin-left: 0;
        display: block;
        margin-top: 10px;
    }
}

/* -------------------- Reduced Motion Support -------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}