﻿/* =========================================================
   LUCILLA GOLD
   FOOTER
========================================================= */

.site-footer {
    position: relative;
    width: 100%;
    margin: 0;
    background: var(--lucila-green);
    color: var(--lucila-text-light);
    font-family: var(--font-primary);
    border-top: 1px solid rgba(214, 179, 95, 0.55);
}


/* =========================================================
   CONTAINER
========================================================= */

.footer-container {
    width: min(100%, var(--header-max-width));
    margin: 0 auto;
    padding: 62px 32px 0;
}


/* =========================================================
   MAIN GRID
========================================================= */

.footer-main {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr 0.9fr 1.15fr;
    align-items: start;
    gap: 0;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {
    min-width: 0;
    padding-inline-end: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


.footer-brand-link {
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    direction: ltr;
}


/* SYMBOL */

.footer-brand-symbol {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
}


/* WORDMARK */

.footer-brand-wordmark {
    display: block;
    width: 190px;
    max-width: 100%;
    height: auto;
    margin-top: 7px;
    object-fit: contain;
}


/* =========================================================
   TAGLINE
========================================================= */

.footer-tagline {
    position: relative;
    margin-top: 17px;
    padding-top: 16px;
    color: var(--lucila-gold-light);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.8;
    white-space: nowrap;
}


    /* ENGLISH TAGLINE */

    .footer-tagline[dir="ltr"] {
        direction: ltr;
        letter-spacing: 3.5px;
    }


    /* PERSIAN TAGLINE */

    .footer-tagline[dir="rtl"] {
        direction: rtl;
        font-size: 13px;
        letter-spacing: 0;
        word-spacing: 1px;
    }


    .footer-tagline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 165px;
        height: 1px;
        background: rgba(214, 179, 95, 0.32);
        transform: translateX(-50%);
    }


/* =========================================================
   COLUMNS
========================================================= */

.footer-column {
    min-width: 0;
    min-height: 230px;
    padding: 0 38px;
    border-inline-start: 1px solid rgba(255, 255, 255, 0.09);
}


/* =========================================================
   TITLES
========================================================= */

.footer-title {
    margin: 0 0 21px;
    color: var(--lucila-gold-light);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   LINKS
========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}


    .footer-links a {
        position: relative;
        width: fit-content;
        color: rgba(255, 255, 255, 0.78);
        font-size: 13px;
        font-weight: 300;
        line-height: 1.8;
        transition: color 0.22s ease, transform 0.22s ease;
    }


        .footer-links a:hover {
            color: var(--lucila-gold-light);
        }


html[dir="rtl"] .footer-links a:hover {
    transform: translateX(-3px);
}


html[dir="ltr"] .footer-links a:hover {
    transform: translateX(3px);
}


/* =========================================================
   CONTACT
========================================================= */

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


.footer-contact-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
}


a.footer-contact-item {
    transition: color 0.22s ease;
}


    a.footer-contact-item:hover {
        color: var(--lucila-gold-light);
    }


/* CONTACT ICON WRAPPER */

.footer-contact-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    color: var(--lucila-gold-light);
}


    .footer-contact-icon svg {
        display: block;
        width: 19px;
        height: 19px;
    }


/* =========================================================
   BOTTOM
========================================================= */

.footer-bottom {
    min-height: 86px;
    margin-top: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-top: 1px solid rgba(214, 179, 95, 0.3);
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 300;
    line-height: 1.8;
}


.footer-copyright-separator {
    color: rgba(214, 179, 95, 0.65);
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}


.footer-social-link {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    flex: 0 0 37px;
    border: 1px solid rgba(214, 179, 95, 0.38);
    border-radius: 50%;
    color: var(--lucila-gold-light);
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}


    .footer-social-link svg {
        display: block;
        width: 18px;
        height: 18px;
    }


    .footer-social-link:hover {
        color: var(--lucila-green);
        background: var(--lucila-gold-light);
        border-color: var(--lucila-gold-light);
        transform: translateY(-2px);
    }


/* =========================================================
   TABLET
   768px - 1199px
========================================================= */

@media (max-width: 1199px) {

    .footer-container {
        padding: 50px 28px 0;
    }


    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 38px;
    }


    /* BRAND FULL WIDTH */

    .footer-brand {
        grid-column: 1 / -1;
        padding: 0 0 34px;
        border-bottom: 1px solid rgba(214, 179, 95, 0.22);
    }


    .footer-brand-symbol {
        width: 72px;
        height: 72px;
    }


    .footer-brand-wordmark {
        width: 165px;
    }


    .footer-tagline {
        margin-top: 14px;
    }


        .footer-tagline[dir="ltr"] {
            font-size: 10px;
            letter-spacing: 3px;
        }


        .footer-tagline[dir="rtl"] {
            font-size: 12.5px;
            letter-spacing: 0;
        }


    /* COLUMNS */

    .footer-column {
        min-height: auto;
        padding: 0 28px;
    }


        .footer-column:nth-child(2) {
            border-inline-start: 0;
        }


    .footer-bottom {
        margin-top: 40px;
    }
}


/* =========================================================
   MOBILE
   < 768px
========================================================= */

@media (max-width: 767px) {

    .footer-container {
        padding: 40px 18px 0;
    }


    /* MAIN */

    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 0;
    }


    /* BRAND */

    .footer-brand {
        width: 100%;
        padding: 0 0 30px;
        border-bottom: 1px solid rgba(214, 179, 95, 0.25);
    }


    .footer-brand-symbol {
        width: 62px;
        height: 62px;
    }


    .footer-brand-wordmark {
        width: 145px;
        margin-top: 5px;
    }


    .footer-tagline {
        margin-top: 13px;
        padding-top: 13px;
    }


        .footer-tagline[dir="ltr"] {
            font-size: 9px;
            letter-spacing: 2.8px;
        }


        .footer-tagline[dir="rtl"] {
            font-size: 12px;
            letter-spacing: 0;
        }


        .footer-tagline::before {
            width: 135px;
        }


    /* COLUMNS */

    .footer-column {
        width: 100%;
        min-height: auto;
        padding: 23px 2px;
        border-inline-start: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }


    .footer-title {
        margin-bottom: 15px;
        font-size: 15px;
    }


    .footer-links {
        gap: 8px;
    }


        .footer-links a {
            font-size: 13px;
        }


    /* CONTACT */

    .footer-contact-item {
        font-size: 13px;
    }


    .footer-contact-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }


        .footer-contact-icon svg {
            width: 18px;
            height: 18px;
        }


    /* BOTTOM */

    .footer-bottom {
        min-height: auto;
        margin-top: 0;
        padding: 25px 0 26px;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        border-top: 0;
    }


    .footer-social {
        order: 1;
    }


    .footer-copyright {
        order: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px;
        text-align: center;
        font-size: 10px;
    }


    .footer-social-link {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .footer-container {
        padding-inline: 14px;
    }


    .footer-brand-symbol {
        width: 56px;
        height: 56px;
    }


    .footer-brand-wordmark {
        width: 130px;
    }


    .footer-tagline[dir="ltr"] {
        letter-spacing: 2.2px;
    }


    .footer-tagline[dir="rtl"] {
        letter-spacing: 0;
    }


    .footer-column {
        padding-block: 21px;
    }
}


/* =========================================================
   FOCUS
========================================================= */

.footer-brand-link:focus-visible,
.footer-links a:focus-visible,
.footer-contact-item:focus-visible,
.footer-social-link:focus-visible {
    outline: 2px solid var(--lucila-gold-light);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-links a,
    .footer-contact-item,
    .footer-social-link {
        transition: none;
    }
}
