/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    width: 100%;
    background: #f7f6f3;
    color: #111111;
    overflow: hidden;
}

.contact-section {
    padding: 55px 0 90px;
}

.contact-container {
    width: min(1500px, 92%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(330px, 0.78fr) minmax(650px, 1.45fr);

    gap: 45px;
    align-items: center;
}


/* =========================================================
   LEFT — CONTACT INTRO
========================================================= */

.contact-intro {
    position: relative;
    z-index: 5;

    padding: 20px 0;
}

.contact-eyebrow {
    margin-bottom: 25px;

    color: #ff6a00;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.contact-intro h1 {
    margin: 0 0 24px;

    font-size: clamp(48px, 4vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    font-weight: 800;
}

.contact-intro h1 span {
    color: #ff6a00;
}

.contact-description {
    max-width: 500px;

    margin: 0 0 34px;

    color: #666666;

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #fff0e6;
    color: #ff6a00;

    font-size: 20px;
}

.contact-info-item h3 {
    margin: 0 0 3px;

    font-size: 15px;
    font-weight: 800;
}

.contact-info-item p {
    margin: 0;

    color: #555555;

    font-size: 14px;
    line-height: 1.45;
}

.contact-info-item small {
    display: block;

    margin-top: 2px;

    color: #8a8a8a;

    font-size: 12px;
    line-height: 1.4;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.contact-social {
    margin-top: 28px;
}

.contact-social h3 {
    margin: 0 0 12px;

    font-size: 15px;
    font-weight: 800;
}

.contact-social-list {
    display: flex;
    gap: 9px;
}

.contact-social-list a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.contact-social-list a {
    width: 47px;
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    background: #ffffff;

    color: #111111;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.contact-social-list a:hover {
    transform: translateY(-3px);

    border-color: #ff6a00;
    color: #ff6a00;
}


/* =========================================================
   RIGHT CONTENT
========================================================= */

.contact-content {
    position: relative;

    min-height: 720px;

    padding: 20px 0 35px;
}


/* =========================================================
   MAIN WORKSHOP IMAGE
========================================================= */

.contact-main-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 78%;
    height: 540px;

    overflow: hidden;

    border-radius: 28px;

    background: #222222;

    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.14);

    z-index: 1;
}

.contact-main-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =========================================================
   IMAGE DARK LABEL
========================================================= */

.contact-visual-label {
    position: absolute;

    right: 18px;
    bottom: 18px;

    display: flex;
    flex-direction: column;

    padding: 15px 17px;

    border-radius: 8px;

    background: rgba(20, 20, 20, 0.9);

    color: #ffffff;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.16em;
    line-height: 1.7;
}

.contact-visual-label div {
    width: 30px;
    height: 3px;

    margin-top: 8px;

    background: #ff6a00;
}


/* =========================================================
   CONTACT FORM CARD
========================================================= */

.contact-form-card {
    position: absolute;

    top: 105px;
    left: 0;

    width: 68%;

    padding: 31px;

    border: 1px solid rgba(0, 0, 0, 0.035);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow:
        0 25px 55px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.04);

    z-index: 4;
}


/* =========================================================
   FORM HEADER
========================================================= */

.contact-form-header {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 25px;
}

.contact-form-icon {
    flex: 0 0 auto;

    color: #ff6a00;

    font-size: 30px;
    line-height: 1;
}

.contact-form-header h2 {
    margin: 0 0 4px;

    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
}

.contact-form-header p {
    margin: 0;

    color: #777777;

    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.contact-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 13px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {
    color: #222222;

    font-size: 13px;
    font-weight: 600;
}

.form-group label span {
    color: #ff4d4d;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 12px 13px;

    border: 1px solid #dddddd;
    border-radius: 9px;

    background: #ffffff;

    color: #222222;

    font-family: inherit;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
    height: 43px;
}

.form-group textarea {
    min-height: 104px;

    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a1a1a1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ff6a00;

    box-shadow:
        0 0 0 3px rgba(255, 106, 0, 0.08);
}


/* =========================================================
   FILE UPLOAD
========================================================= */

.contact-file-upload {
    display: flex;
    align-items: center;
    gap: 14px;

    min-height: 84px;

    padding: 14px 17px;

    box-sizing: border-box;

    border: 1px dashed #cccccc;
    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.contact-file-upload:hover {
    border-color: #ff6a00;

    background: #fffaf6;
}

.contact-file-upload input {
    display: none;
}

.file-icon {
    flex: 0 0 auto;

    color: #8c969d;

    font-size: 27px;
}

.contact-file-upload strong {
    display: block;

    margin-bottom: 3px;

    font-size: 13px;
}

.contact-file-upload strong span {
    font-weight: 400;
}

.contact-file-upload p {
    margin: 0 0 2px;

    color: #777777;

    font-size: 12px;
    line-height: 1.35;
}

.contact-file-upload small {
    color: #999999;

    font-size: 11px;
}


/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
    width: fit-content;
    min-width: 210px;
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 0 22px;

    border: 0;
    border-radius: 10px;

    background: #ff6a00;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-submit:hover {
    transform: translateY(-2px);

    background: #eb5f00;

    box-shadow:
        0 8px 20px rgba(255, 106, 0, 0.2);
}

.contact-submit span {
    font-size: 16px;
}


/* =========================================================
   DESKTOP FINE TUNING
========================================================= */

@media (min-width: 1400px) {

    .contact-content {
        min-height: 750px;
    }

    .contact-main-image {
        width: 80%;
        height: 560px;
    }

    .contact-form-card {
        top: 105px;
        width: 67%;
    }

    .contact-small-image {
        left: 46%;
        width: 230px;
        height: 230px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .contact-container {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .contact-intro {
        max-width: 750px;
    }

    .contact-content {
        width: 100%;
        max-width: 850px;

        margin: 0 auto;

        min-height: 700px;
    }

    .contact-main-image {
        width: 72%;
    }

    .contact-form-card {
        width: 68%;
    }

}


/* =========================================================
   MOBILE / SMALL TABLET
========================================================= */

@media (max-width: 720px) {

    .contact-section {
        padding: 35px 0 60px;
    }

    .contact-container {
        width: min(94%, 620px);
    }

    .contact-intro {
        padding: 0;
    }

    .contact-eyebrow {
        margin-bottom: 18px;

        font-size: 10px;
    }

    .contact-intro h1 {
        margin-bottom: 18px;

        font-size: 48px;
    }

    .contact-description {
        font-size: 14px;
    }

    .contact-content {
        min-height: auto;

        display: flex;
        flex-direction: column;

        gap: 25px;

        padding: 0;
    }

    /*
       Pada mobile tidak menggunakan overlap
       agar form tetap mudah digunakan.
    */

    .contact-main-image {
        position: relative;

        top: auto;
        right: auto;

        width: 100%;
        height: 330px;

        order: 1;

        border-radius: 22px;
    }

    .contact-form-card {
        position: relative;

        top: auto;
        left: auto;

        width: 100%;

        box-sizing: border-box;

        order: 2;

        padding: 22px;

        border-radius: 17px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .contact-intro h1 {
        font-size: 40px;
    }

    .contact-form-card {
        padding: 18px;
    }

    .contact-form-header h2 {
        font-size: 21px;
    }

    .contact-main-image {
        height: 280px;
    }

    .contact-visual-label {
        right: 12px;
        bottom: 12px;

        padding: 11px 13px;

        font-size: 9px;
    }

    .contact-file-upload {
        align-items: flex-start;
    }
}

/* ========================================
   CONTACT SUCCESS NOTIFICATION
======================================== */

.contact-success-notification {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-bottom: 24px;
    border: 1px solid #d9e8dc;
    border-radius: 14px;
    background: #f5faf6;
}

.contact-success-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #1f7a45;
    color: #ffffff;

    font-size: 16px;
    font-weight: 700;
}

.contact-success-notification strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.contact-success-notification p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}