
/* ========================================
   LOADING SCREEN
======================================== */

#loader-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: #211811;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    --uib-size: 60px;
    --uib-color: #C58B55;
    --uib-speed: 1.5s;
    --dot-size: calc(var(--uib-size) * 0.17);

    position: relative;
    width: var(--uib-size);
    height: var(--uib-size);
    animation: productSmoothRotate calc(var(--uib-speed) * 1.8) linear infinite;
}

.loader-spinner .dot {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    animation: productRotate var(--uib-speed) ease-in-out infinite;
}

.loader-spinner .dot::before {
    content: "";
    width: var(--dot-size);
    height: var(--dot-size);
    border-radius: 50%;
    background: var(--uib-color);
}

.loader-spinner .dot:nth-child(2) {
    animation-delay: calc(var(--uib-speed) * -0.4175);
}

.loader-spinner .dot:nth-child(3) {
    animation-delay: calc(var(--uib-speed) * -0.334);
}

.loader-spinner .dot:nth-child(4) {
    animation-delay: calc(var(--uib-speed) * -0.2505);
}

.loader-spinner .dot:nth-child(5) {
    animation-delay: calc(var(--uib-speed) * -0.167);
}

.loader-spinner .dot:nth-child(6) {
    animation-delay: calc(var(--uib-speed) * -0.0835);
}

@keyframes productRotate {
    0% {
        transform: rotate(0deg);
    }

    65%, 100% {
        transform: rotate(360deg);
    }
}

@keyframes productSmoothRotate {
    to {
        transform: rotate(360deg);
    }
}



/* ================================
   MAPPING PAGE
================================ */

body {
    background-color: #FFFCF6;
}


/* ========================================
   MAPPING HERO - FULL BACKGROUND IMAGE
======================================== */

#mapping-hero {
    position: relative;
    min-height: calc(100vh - 104px);
    padding: 80px 8%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;

    /* Full background image with dark bronze overlay */
    background-image:
        linear-gradient(
            90deg,
            rgba(30, 20, 14, 0.90) 0%,
            rgba(30, 20, 14, 0.72) 45%,
            rgba(30, 20, 14, 0.40) 100%
        ),
        url("mapping.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #FFFCF6;
}


/* ========================================
   MAPPING CONTENT
======================================== */

.mapping-content {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    text-align: center;
}


/* Small heading label */

#mapping-hero .portfolio-label {
    display: block;
    margin: 0 auto 15px;

    color: #D4A477;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Main heading */

#mapping-hero h1 {
    margin: 15px 0;

    color: #F5EBDD;

    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}


/* Description */

.mapping-description {
    max-width: 700px;
    margin: 0 auto 45px;

    color: #F5EBDD;

    font-size: 1.05rem;
    line-height: 1.8;
}


/* ========================================
   COMING SOON SECTION
======================================== */

.coming-soon {
    max-width: 750px;
    margin: 0 auto;
    padding: 30px 20px;

    background: rgba(33, 24, 17, 0.45);
    border: 1px solid rgba(212, 164, 119, 0.3);
    border-radius: 16px;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


.coming-soon h2 {
    margin-bottom: 20px;

    color: #D4A477;

    font-size: 2rem;
    line-height: 1.3;
}


.coming-soon p {
    margin-bottom: 15px;

    color: #F5EBDD;

    font-size: 1rem;
    line-height: 1.8;
}


/* Coming Soon Label */

.coming-soon-label {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 22px;

    background-color: #C58B55;
    color: #211811;

    border-radius: 25px;

    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}


/* ========================================
   FOOTER LAYOUT
======================================== */

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    text-align: left;
}

.footer-contact {
    text-align: right;
    margin-left: auto;
}

.footer-bottom {
    width: 100%;
}


/* ========================================
   TABLET RESPONSIVE DESIGN
======================================== */

@media screen and (max-width: 900px) {

    #mapping-hero {
        padding: 70px 6%;
        background-position: center;
    }

    .coming-soon {
        max-width: 700px;
    }

}


/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */

@media screen and (max-width: 700px) {

    #mapping-hero {
        min-height: calc(100vh - 86px);
        padding: 60px 6%;

        background-position: center;
    }

    #mapping-hero h1 {
        font-size: 2.2rem;
    }

    .mapping-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .coming-soon {
        padding: 25px 18px;
    }

    .coming-soon h2 {
        font-size: 1.7rem;
    }

    .coming-soon p {
        font-size: 0.95rem;
    }

    .footer-contact {
        margin-left: 0;
        text-align: left;
    }

}


/* ========================================
   FOOTER LAYOUT
======================================== */

.footer-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    text-align: left;
}

.footer-contact {
    text-align: right;
    margin-left: auto;
}

.footer-bottom {
    width: 100%;
}


/* ========================================
   TABLET RESPONSIVE DESIGN
======================================== */

@media screen and (max-width: 900px) {

    .mapping-image {
        height: 450px;
    }

}


/* ========================================
   MOBILE RESPONSIVE DESIGN
======================================== */

@media screen and (max-width: 700px) {

    /* Hero */

    #mapping-hero {
        padding: 70px 5% 30px;
    }

    #mapping-hero h1 {
        font-size: 2rem;
    }

    #mapping-hero p {
        font-size: 0.95rem;
    }


    /* Main content */

    #mapping-content {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin-bottom: 55px;
        box-sizing: border-box;
    }


    /* Mapping image */

    .mapping-image {
        width: 100%;
        max-width: 100%;
        height: 460px;
        padding: 5px;
        margin: 0 auto 30px;
    }

    .mapping-image img {
        width: 100%;
        height: 100%;
    }


    /* Coming Soon */

    .coming-soon {
        padding: 20px 10px;
    }

    .coming-soon h2 {
        font-size: 1.7rem;
    }


    /* Footer */

    .footer-contact {
        margin-left: 0;
        text-align: left;
    }

}
