

/* =========================================================
   NORTHERN SIDE METAL WORKS
   CONTACT PAGE
   ========================================================= */


/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-page-hero {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92) 0%,
            rgba(0, 0, 0, 0.70) 52%,
            rgba(0, 0, 0, 0.30) 100%
        ),
        url("../images/contact/contact-hero.jpg")
        center / cover no-repeat;

    color: #ffffff;
}


.contact-page-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(232, 117, 22, 0.08),
            transparent 60%
        );

    pointer-events: none;
}


.contact-page-hero-content {
    position: relative;
    z-index: 2;
}


.contact-page-hero .eyebrow {
    color: #E87516;
}


.contact-page-hero h1 {
    max-width: 900px;

    margin: 15px 0 25px;

    color: #ffffff;

    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.02;
    font-weight: 500;

    letter-spacing: -3px;
}


.contact-page-hero h1 span {
    color: #E87516;
}


.contact-page-hero p {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   CONTACT INTRO
   ========================================================= */

.contact-intro {
    padding: 120px 0;

    background: #ffffff;
}


.contact-intro-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: start;
}


.contact-intro-grid h2 {
    max-width: 650px;

    margin-top: 15px;

    color: #171717;

    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2.5px;
}


.contact-intro-grid h2 span {
    display: block;

    color: #E87516;
}


.contact-intro-copy {
    padding-top: 38px;
}


.contact-intro-copy p {
    max-width: 620px;

    margin-bottom: 22px;

    color: #666666;

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   CONTACT MAIN
   ========================================================= */

.contact-main {
    padding: 120px 0;

    background: #f7f7f5;
}


.contact-layout {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: start;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.contact-information {
    padding-top: 5px;
}


.contact-heading {
    margin-bottom: 50px;
}


.contact-heading .section-label {
    display: block;

    margin-bottom: 10px;
}


.contact-heading h2 {
    margin-top: 10px;

    color: #171717;

    font-size: clamp(40px, 4vw, 55px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}


.contact-heading h2 span {
    color: #E87516;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-detail {
    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-top: 1px solid #d8d8d5;
}


.contact-detail:last-child {
    border-bottom: 1px solid #d8d8d5;
}


.contact-detail-number {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #171717;

    color: #E87516;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1px;
}


.contact-detail span {
    display: block;

    margin-bottom: 8px;

    color: #888888;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


.contact-detail p {
    margin: 0;

    color: #171717;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   CONTACT FORM WRAPPER
   ========================================================= */

.contact-form-wrapper {
    padding: 55px;

    background: #ffffff;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.06);
}


.contact-form-header {
    margin-bottom: 40px;
}


.contact-form-header .section-label {
    display: block;

    margin-bottom: 10px;
}


.contact-form-header h2 {
    margin: 10px 0 12px;

    color: #171717;

    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -1.5px;
}


.contact-form-header h2 span {
    color: #E87516;
}


.contact-form-header p {
    color: #666666;

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FORM
   ========================================================= */

.contact-form {
    display: flex;

    flex-direction: column;

    gap: 25px;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-group label {
    color: #555555;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.3px;
}


.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 15px 16px;

    border: 1px solid #d8d8d5;

    border-radius: 0;

    outline: none;

    background: #ffffff;

    color: #171717;

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input,
.form-group select {
    height: 52px;
}


.form-group textarea {
    min-height: 150px;

    resize: vertical;

    line-height: 1.7;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaaaaa;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #E87516;

    box-shadow:
        0 0 0 1px #E87516;
}


.form-group select {
    appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #777777 50%),
        linear-gradient(135deg, #777777 50%, transparent 50%);

    background-position:
        calc(100% - 18px) 22px,
        calc(100% - 13px) 22px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.contact-submit {
    width: fit-content;

    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 17px 28px;

    border: 0;

    background: #171717;

    color: #ffffff;

    font-family: inherit;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.8px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.contact-submit:hover {
    background: #E87516;

    transform: translateY(-2px);
}


.contact-submit span {
    color: #E87516;

    font-size: 18px;

    transition: transform 0.3s ease;
}


.contact-submit:hover span {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
   LOCATION
   ========================================================= */
.location-map-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.location-map-link:hover {
    text-decoration: none;
}

.contact-location {
    padding: 120px 0;

    background: #ffffff;
}


.location-header {
    margin-bottom: 50px;
}


.location-header .section-label {
    display: block;

    margin-bottom: 10px;
}


.location-header h2 {
    margin: 10px 0 15px;

    color: #171717;

    font-size: clamp(42px, 5vw, 62px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}


.location-header h2 span {
    color: #E87516;
}


.location-header p {
    max-width: 620px;

    color: #666666;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   LOCATION MAP
   ========================================================= */

.location-map {
    position: relative;

    min-height: 450px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(20, 20, 20, 0.86),
            rgba(20, 20, 20, 0.86)
        ),
        url("../images/contact/contact.png")
        center / cover no-repeat;
}


.location-map::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    opacity: 0.5;
}


.location-map-content {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.location-pin {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid #E87516;

    color: #E87516;

    font-size: 25px;

    border-radius: 50%;
}


.location-map-content > span {
    margin-bottom: 10px;

    color: #E87516;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.7px;
}


.location-map-content strong {
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 28px;
    font-weight: 500;
}


.location-map-content small {
    color: #999999;

    font-size: 13px;
}


/* =========================================================
   FINAL CONTACT SECTION
   ========================================================= */

.contact-final {
    padding: 110px 0;

    background: #171717;

    text-align: center;
}


.contact-final-inner {
    display: flex;

    flex-direction: column;

    align-items: center;
}


.contact-final .eyebrow {
    color: #E87516;
}


.contact-final h2 {
    max-width: 850px;

    margin: 15px auto 18px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.05;
    font-weight: 500;

    letter-spacing: -2px;
}


.contact-final h2 span {
    color: #E87516;
}


.contact-final p {
    color: #888888;

    font-size: 14px;

    letter-spacing: 0.5px;
}


/* =========================================================
   TABLET - 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .contact-layout {
        gap: 60px;
    }


    .contact-form-wrapper {
        padding: 40px;
    }

}


/* =========================================================
   TABLET - 900px
   ========================================================= */

@media (max-width: 900px) {

    .contact-page-hero {
        min-height: 560px;
    }


    .contact-intro {
        padding: 100px 0;
    }


    .contact-intro-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .contact-intro-copy {
        padding-top: 0;
    }


    .contact-main {
        padding: 100px 0;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 70px;
    }


    .contact-form-wrapper {
        padding: 45px;
    }


    .contact-location {
        padding: 100px 0;
    }

}


/* =========================================================
   MOBILE - 600px
   ========================================================= */

@media (max-width: 600px) {

    .contact-page-hero {
        min-height: 600px;

        align-items: flex-end;

        padding: 130px 0 80px;
    }


    .contact-page-hero h1 {
        margin-top: 10px;

        font-size: 40px;

        line-height: 1.05;

        letter-spacing: -1.5px;
    }


    .contact-page-hero p {
        font-size: 14px;

        line-height: 1.8;
    }


    .contact-intro {
        padding: 90px 0;
    }


    .contact-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .contact-intro-grid h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .contact-intro-copy p {
        font-size: 14px;
    }


    .contact-main {
        padding: 90px 0;
    }


    .contact-layout {
        grid-template-columns: 1fr;

        gap: 55px;
    }


    .contact-heading {
        margin-bottom: 40px;
    }


    .contact-heading h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .contact-detail {
        grid-template-columns: 40px 1fr;

        gap: 15px;

        padding: 22px 0;
    }


    .contact-form-wrapper {
        padding: 30px 22px;
    }


    .contact-form-header h2 {
        font-size: 34px;
    }


    .form-row {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .contact-submit {
        width: 100%;

        justify-content: center;
    }


    .contact-location {
        padding: 90px 0;
    }


    .location-header {
        margin-bottom: 40px;
    }


    .location-header h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }


    .location-map {
        min-height: 350px;
    }


    .location-map-content strong {
        font-size: 23px;
    }


    .contact-final {
        padding: 85px 0;
    }


    .contact-final h2 {
        font-size: 40px;

        letter-spacing: -1.5px;
    }

}


/* =========================================================
   VERY SMALL MOBILE - 400px
   ========================================================= */

@media (max-width: 400px) {

    .contact-page-hero h1 {
        font-size: 36px;
    }


    .contact-intro-grid h2 {
        font-size: 36px;
    }


    .contact-heading h2 {
        font-size: 36px;
    }


    .contact-form-wrapper {
        padding: 25px 18px;
    }


    .contact-form-header h2 {
        font-size: 31px;
    }


    .location-header h2 {
        font-size: 36px;
    }


    .contact-final h2 {
        font-size: 36px;
    }

}

.contact-detail a {
    color: inherit;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--orange);
}
.contact-detail a {
    color: inherit;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--orange);
}

.location-icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: var(--orange);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail-number svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: var(--orange);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.contact-details {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    gap: 15px;
}

.contact-details a {
    color: var(--white);

    font-size: 20px;

    font-weight: 500;

    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--orange);
}

.contact-details .linkedin-contact {
    margin-top: 25px;

    padding-bottom: 8px;

    border-bottom: 1px solid var(--white);

    color: var(--white);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {
    .section-container {
        width: 88%;
    }
}
