/* ==========================================================
   404 / 500 ERROR PAGES
   CLEAN RESPONSIVE VERSION
========================================================== */

.error-page {
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 110px 24px 70px;

    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(16, 51, 94, 0.35),
            transparent 55%
        ),
        #061321;

    color: #ffffff;
}

.error-page-inner {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}


/* STATUS */

.error-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 9px 17px;
    margin-bottom: 30px;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 999px;

    background: rgba(255, 255, 255, 0.04);

    color: #d4af37;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.error-status span {
    width: 7px;
    height: 7px;

    display: inline-block;

    border-radius: 50%;
    background: #d4af37;
}


/* ICON */

.error-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    color: #d4af37;
    font-size: 48px;
    line-height: 1;
}


/* 404 / 500 NUMBER */

.error-code {
    margin: 0;

    color: #d4af37;

    font-family: Sora, sans-serif;
    font-size: clamp(100px, 15vw, 175px);
    font-weight: 800;
    line-height: 0.9;

    letter-spacing: -6px;
}


/* TITLE */

.error-page h1 {
    max-width: 700px;

    margin: 28px auto 0;

    color: #ffffff;

    font-family: Sora, sans-serif;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -1.5px;
}


/* DESCRIPTION */

.error-page p {
    max-width: 680px;

    margin: 25px auto 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 15px;
    line-height: 1.8;
}


/* BUTTONS */

.error-actions {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;

    margin-top: 34px;
}

.error-actions a {
    text-decoration: none;
}


/* MAIN BUTTON */

.error-page .btn-primary {
    width: min(100%, 780px);
    min-height: 58px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 25px;

    border: none;
    border-radius: 30px;

    background: #d4af37;
    color: #061321;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s ease;
}

.error-page .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}


/* SECONDARY BUTTON */

.error-page .btn-secondary {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 0 28px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    transition: 0.25s ease;
}

.error-page .btn-secondary:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-2px);
}


/* ==========================================================
   IMPORTANT:
   NO EXTRA ABOUT / SERVICES / PROJECTS NAVIGATION
========================================================== */

.error-links {
    display: none !important;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 768px) {

    .error-page {
        min-height: 100vh;
        padding: 95px 22px 60px;
    }

    .error-page-inner {
        max-width: 680px;
    }

    .error-status {
        font-size: 9px;
        padding: 8px 15px;
    }

    .error-icon {
        width: 52px;
        height: 52px;
        font-size: 42px;
    }

    .error-code {
        font-size: 110px;
        letter-spacing: -4px;
    }

    .error-page h1 {
        font-size: 38px;
    }

    .error-page p {
        font-size: 14px;
        line-height: 1.7;
    }

    .error-page .btn-primary {
        width: 100%;
        max-width: 780px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 480px) {

    .error-page {
        min-height: 100vh;
        padding: 75px 18px 45px;
    }

    .error-status {
        max-width: 90%;
        padding: 8px 13px;

        font-size: 8px;
        letter-spacing: 1px;
    }

    .error-icon {
        width: 46px;
        height: 46px;

        margin-bottom: 14px;

        font-size: 36px;
    }

    .error-code {
        font-size: 88px;
        letter-spacing: -3px;
    }

    .error-page h1 {
        margin-top: 22px;
        font-size: 32px;
        line-height: 1.1;
    }

    .error-page p {
        margin-top: 20px;

        font-size: 13px;
        line-height: 1.7;
    }

    .error-actions {
        margin-top: 28px;
        gap: 12px;
    }

    .error-page .btn-primary {
        width: 100%;
        max-width: none;

        min-height: 54px;
    }

    .error-page .btn-secondary {
        min-height: 46px;
        padding: 0 24px;
    }
}


/* ==========================================================
   VERY SMALL PHONE
========================================================== */

@media (max-width: 380px) {

    .error-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .error-code {
        font-size: 78px;
    }

    .error-page h1 {
        font-size: 29px;
    }

    .error-page p {
        font-size: 12px;
    }

    .error-status {
        font-size: 7.5px;
    }
}

/* =========================================================
   404 / 500 - REMOVE EXCESSIVE MOBILE SPACE
========================================================= */

.error-page {
    min-height: auto !important;
    height: auto !important;
    padding: 45px 20px 60px !important;
}

.error-page-inner {
    min-height: auto !important;
    height: auto !important;
}

.error-page + .site-footer {
    margin-top: 0 !important;
}


/* TABLET */
@media (max-width: 768px) {

    .error-page {
        min-height: auto !important;
        height: auto !important;
        padding: 40px 20px 55px !important;
    }

    .error-page-inner {
        min-height: auto !important;
        height: auto !important;
    }

}


/* PHONE */
@media (max-width: 480px) {

    .error-page {
        min-height: auto !important;
        height: auto !important;
        padding: 35px 15px 45px !important;
    }

    .error-page-inner {
        min-height: auto !important;
        height: auto !important;
    }

}