/* =========================================================
   TEN ONE RESORT
   Footer
   footer.css
   ========================================================= */


/* =========================================================
   01. FOOTER
   ========================================================= */

.site-footer {
    position: relative;

    padding:
        80px 0 24px;

    overflow: hidden;

    color:
        rgba(255, 255, 255, 0.78);

    background:
        linear-gradient(
            135deg,
            #0D3328 0%,
            #123F30 42%,
            #18503D 72%,
            #1B5945 100%
        );

    isolation: isolate;
}


/* =========================================================
   02. BACKGROUND ATMOSPHERE
   ========================================================= */

.site-footer::before {
    content: "";

    position: absolute;

    top: -280px;
    right: -180px;

    width: 600px;
    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(95, 169, 184, 0.22) 0%,
            rgba(95, 169, 184, 0) 70%
        );

    pointer-events: none;

    z-index: -1;
}


.site-footer::after {
    content: "";

    position: absolute;

    bottom: -320px;
    left: -220px;

    width: 620px;
    height: 620px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(92, 159, 112, 0.16) 0%,
            rgba(92, 159, 112, 0) 70%
        );

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   03. CONTAINER
   ========================================================= */

.footer-container {
    position: relative;

    width:
        min(
            calc(
                100% -
                (var(--container-padding) * 2)
            ),
            1180px
        );

    margin-inline:
        auto;

    z-index: 2;
}


/* =========================================================
   04. MAIN FOOTER GRID
   ========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        1.35fr
        0.65fr
        0.9fr
        1fr
        1.25fr;

    gap:
        42px;
}


/* =========================================================
   05. BRAND
   ========================================================= */

.footer-brand {
    max-width:
        310px;
}


.footer-logo-link {
    display:
        inline-flex;

    align-items:
        center;

    margin-bottom:
        24px;
}


.footer-logo {
    display:
        block;

    width:
        90px;

    height:
        auto;

    object-fit:
        contain;

    filter:
        brightness(0)
        invert(1);

    opacity:
        0.95;
}


/* =========================================================
   06. BRAND TITLE
   ========================================================= */

.footer-brand-title {
    margin:
        0 0
        14px;

    color:
        var(--color-white);

    font-family:
        var(--font-heading);

    font-size:
        1.95rem;

    font-weight:
        var(--font-weight-semibold);

    line-height:
        1;

    letter-spacing:
        -0.02em;
}


.footer-brand-title span {
    color:
        #BFD9C8;
}


/* =========================================================
   07. BRAND DESCRIPTION
   ========================================================= */

.footer-brand-description {
    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.67
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.96rem;

    font-weight:
        400;

    line-height:
        1.75;
}


/* =========================================================
   08. SOCIAL
   ========================================================= */

.footer-social {
    display:
        flex;

    align-items:
        center;

    gap:
        8px;

    margin-top:
        22px;
}


.footer-social-link {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        37px;

    height:
        37px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.16
        );

    border-radius:
        50%;

    color:
        rgba(
            255,
            255,
            255,
            0.78
        );

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

    font-size:
        0.92rem;

    transition:
        transform
        var(--transition-base),

        color
        var(--transition-base),

        background-color
        var(--transition-base),

        border-color
        var(--transition-base);
}


.footer-social-link:hover {
    color:
        var(--color-white);

    border-color:
        rgba(
            255,
            255,
            255,
            0.32
        );

    background:
        rgba(
            255,
            255,
            255,
            0.14
        );

    transform:
        translateY(-2px);
}


/* =========================================================
   09. FOOTER COLUMNS
   ========================================================= */

.footer-column h3,
.footer-contact h3 {
    margin:
        4px 0
        19px;

    color:
        var(--color-white);

    font-family:
        var(--font-body-strong);

    font-size:
        1rem;

    font-weight:
        700;

    line-height:
        1.2;

    letter-spacing:
        0.13em;

    text-transform:
        uppercase;
}


/* =========================================================
   10. FOOTER LINKS
   ========================================================= */

.footer-links {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        11px;
}


.footer-links a {
    position:
        relative;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );

    font-family:
        var(--font-body-strong);

    font-size:
        .95rem;

    font-weight:
        500;

    line-height:
        1.4;

    transition:
        color
        var(--transition-base),

        transform
        var(--transition-base);
}


.footer-links a::before {
    content:
        "";

    position:
        absolute;

    left:
        -12px;

    bottom:
        -2px;

    width:
        0;

    height:
        1px;

    background:
        #A9CCB5;

    transition:
        width
        var(--transition-base);
}


.footer-links a:hover {
    color:
        var(--color-white);

    transform:
        translateX(2px);
}


.footer-links a:hover::before {
    width:
        7px;
}


/* =========================================================
   11. CONTACT ITEM
   ========================================================= */

.footer-contact {
    min-width:
        0;
}


.footer-contact-item {
    display:
        flex;

    align-items:
        flex-start;

    gap:
        10px;

    margin-bottom:
        17px;
}


.footer-contact-icon {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        32px;

    height:
        32px;

    flex-shrink:
        0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.14
        );

    border-radius:
        50%;

    color:
        #BBD8C5;

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

    font-size:
        0.88rem;
}


.footer-contact-item div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        2px;

    min-width:
        0;
}


.footer-contact-item div > span {
    color:
        rgba(
            255,
            255,
            255,
            0.42
        );

    font-family:
        var(--font-body-strong);

    font-size:
        .85rem;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}


.footer-contact-item a {
    color:
        rgba(
            255,
            255,
            255,
            0.76
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.95rem;

    font-weight:
        500;

    line-height:
        1.5;

    transition:
        color
        var(--transition-base);
}


.footer-contact-item a:hover {
    color:
        var(--color-white);
}


/* =========================================================
   12. MAP COLUMN
   ========================================================= */

.footer-map-column {
    min-width:
        0;
}


/* =========================================================
   13. MAP HEADER
   ========================================================= */

.footer-map-header {
    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    margin-bottom:
        13px;
}


.footer-map-eyebrow {
    display:
        block;

    margin-bottom:
        5px;

    color:
        rgba(
            255,
            255,
            255,
            0.42
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.58rem;

    font-weight:
        700;

    letter-spacing:
        0.12em;

    text-transform:
        uppercase;
}


.footer-map-header h3 {
    margin:
        0;

    color:
        var(--color-white);

    font-family:
        var(--font-heading);

    font-size:
        1.55rem;

    font-weight:
        var(--font-weight-semibold);

    line-height:
        1;
}


/* =========================================================
   14. MAP MARKER
   ========================================================= */

.footer-map-marker {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    width:
        35px;

    height:
        35px;

    flex-shrink:
        0;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.15
        );

    border-radius:
        50%;

    color:
        #BBD8C5;

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

    font-size:
        0.72rem;
}


/* =========================================================
   15. MAP
   ========================================================= */

.footer-map {
    position:
        relative;

    width:
        100%;

    min-height:
        185px;

    overflow:
        hidden;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.12
        );

    border-radius:
        16px;

    background:
        rgba(
            255,
            255,
            255,
            0.05
        );

    box-shadow:
        0 12px 32px
        rgba(
            4,
            22,
            15,
            0.16
        );
}


.footer-map iframe {
    display:
        block;

    width:
        100%;

    height:
        185px;

    border:
        0;

    filter:
        saturate(0.82);

    opacity:
        0.92;
}


/* =========================================================
   16. MAP LINK
   ========================================================= */

.footer-map-link {
    position:
        absolute;

    right:
        9px;

    bottom:
        9px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        7px;

    min-height:
        32px;

    padding:
        0 9px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius:
        var(--radius-full);

    color:
        var(--color-white);

    background:
        rgba(
            10,
            43,
            30,
            0.78
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.57rem;

    font-weight:
        700;

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    transition:
        background-color
        var(--transition-base);
}


.footer-map-link:hover {
    color:
        var(--color-white);

    background:
        rgba(
            22,
            74,
            58,
            0.94
        );
}


/* =========================================================
   17. DIVIDER
   ========================================================= */

.footer-divider {
    width:
        100%;

    height:
        1px;

    margin:
        45px 0
        20px;

    background:
        linear-gradient(
            90deg,
            rgba(
                255,
                255,
                255,
                0
            ),
            rgba(
                255,
                255,
                255,
                0.16
            ) 20%,
            rgba(
                255,
                255,
                255,
                0.16
            ) 80%,
            rgba(
                255,
                255,
                255,
                0
            )
        );
}


/* =========================================================
   18. FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display:
        grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items:
        center;

    gap:
        20px;
}


.footer-bottom p {
    margin:
        0;

    color:
        rgba(
            255,
            255,
            255,
            0.43
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.85rem;

    line-height:
        1.5;
}


.footer-bottom-links {
    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        17px;
}


.footer-bottom-links a {
    color:
        rgba(
            255,
            255,
            255,
            0.52
        );

    font-family:
        var(--font-body-strong);

    font-size:
        0.85rem;

    font-weight:
        500;

    transition:
        color
        var(--transition-base);
}


.footer-bottom-links a:hover {
    color:
        var(--color-white);
}


.footer-credit {
    text-align:
        right;
}


.footer-credit i {
    margin:
        0 2px;

    color:
        #A8CDB5;
}


/* =========================================================
   19. TABLET
   769px - 1100px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1100px) {

    .site-footer {
        padding:
            65px 0
            22px;
    }


    .footer-main {
        grid-template-columns:
            1.2fr
            0.7fr
            0.9fr;

        gap:
            35px 30px;
    }


    .footer-brand {
        max-width:
            290px;
    }


    .footer-map-column {
        grid-column:
            span 2;
    }


    .footer-map {
        min-height:
            200px;
    }


    .footer-map iframe {
        height:
            200px;
    }

}


/* =========================================================
   20. MOBILE
   <= 768px
   ========================================================= */

@media (max-width: 768px) {

    .site-footer {
        padding:
            58px 0
            22px;
    }


    .footer-container {
        width:
            calc(
                100% -
                (var(--container-padding) * 2)
            );
    }


    .footer-main {
        display:
            grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap:
            38px
            24px;
    }


    /* -----------------------------------------------------
       Brand
       ----------------------------------------------------- */

    .footer-brand {
        grid-column:
            1 / -1;

        max-width:
            100%;
    }


    .footer-logo {
        width:
            70px;
    }


    .footer-brand-title {
        font-size:
            1.8rem;
    }


    .footer-brand-description {
        max-width:
            580px;

        font-size:
            0.9rem;
    }


    /* -----------------------------------------------------
       Columns
       ----------------------------------------------------- */

    .footer-column h3,
    .footer-contact h3 {
        margin-bottom:
            16px;

        font-size:
            1rem;
    }


    .footer-links {
        gap:
            10px;
    }


    .footer-links a {
        font-size:
            0.9rem;
    }


    .footer-contact-item {
        margin-bottom:
            14px;
    }


    .footer-contact-icon {
        width:
            29px;

        height:
            29px;
    }


    .footer-contact-item a {
        font-size:
            0.9rem;
    }


    /* -----------------------------------------------------
       Map
       ----------------------------------------------------- */

    .footer-map-column {
        grid-column:
            1 / -1;
    }


    .footer-map {
        min-height:
            210px;

        border-radius:
            15px;
    }


    .footer-map iframe {
        height:
            210px;
    }


    /* -----------------------------------------------------
       Bottom
       ----------------------------------------------------- */

    .footer-divider {
        margin:
            34px 0
            18px;
    }


    .footer-bottom {
        display:
            flex;

        flex-direction:
            column;

        align-items:
            center;

        gap:
            9px;

        text-align:
            center;
    }


    .footer-bottom p,
    .footer-credit {
        text-align:
            center;
    }


    .footer-bottom-links {
        order:
            -1;

        flex-wrap:
            wrap;

        gap:
            12px;
    }

}


/* =========================================================
   21. SMALL MOBILE
   <= 480px
   ========================================================= */

@media (max-width: 480px) {

    .site-footer {
        padding:
            50px 0
            18px;
    }


    .footer-main {
        grid-template-columns:
            1fr;

        gap:
            30px;
    }


    .footer-brand,
    .footer-column,
    .footer-contact,
    .footer-map-column {
        grid-column:
            auto;
    }


    .footer-brand {
        max-width:
            100%;
    }


    .footer-logo {
        width:
            65px;
    }


    .footer-brand-title {
        font-size:
            1.65rem;

        line-height:
            1.05;
    }


    .footer-brand-description {
        font-size:
            0.9rem;

        line-height:
            1.7;
    }


    .footer-social {
        margin-top:
            18px;
    }


    .footer-column h3,
    .footer-contact h3 {
        margin-top:
            0;

        margin-bottom:
            13px;
    }


    .footer-links a {
        font-size:
            0.9rem;
    }


    .footer-map-header h3 {
        font-size:
            1.35rem;
    }


    .footer-map {
        min-height:
            195px;
    }


    .footer-map iframe {
        height:
            195px;
    }


    .footer-map-link {
        font-size:
            0.52rem;
    }


    .footer-bottom-links a {
        font-size:
            0.85rem;
    }


    .footer-bottom p {
        font-size:
            0.85rem;
    }

}


/* =========================================================
   22. VERY SMALL PHONES
   <= 375px
   ========================================================= */

@media (max-width: 375px) {

    .footer-container {
        width:
            calc(
                100% - 24px
            );
    }


    .footer-brand-title {
        font-size:
            1.52rem;
    }


    .footer-brand-description {
        font-size:
            0.85rem;
    }


    .footer-links a,
    .footer-contact-item a {
        font-size:
            0.9rem;
    }


    .footer-map {
        min-height:
            180px;
    }


    .footer-map iframe {
        height:
            180px;
    }

}


/* =========================================================
   23. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .footer-social-link,
    .footer-links a,
    .footer-contact-item a,
    .footer-map-link {
        transition:
            none;
    }


    .footer-social-link:hover {
        transform:
            none;
    }


    .footer-links a:hover {
        transform:
            none;
    }

}