/* =========================================================
   NORTHERN SIDE METAL WORKS
   Premium Industrial Website
   Orange + White Theme
   ========================================================= */


/* =========================================================
   DESIGN VARIABLES
   ========================================================= */

:root {
    --orange: #E87516;
    --orange-dark: #c95f0d;

    --black: #111111;
    --charcoal: #171717;
    --dark-gray: #222222;

    --white: #ffffff;
    --off-white: #f7f7f5;
    --light-gray: #f1f1ef;

    --border-light: #d8d8d5;
    --border-dark: #303030;

    --text: #171717;
    --text-gray: #666666;
    --text-light: #999999;

    --container: 1380px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.section-container {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}


/* =========================================================
   COMMON TYPOGRAPHY
   ========================================================= */

.eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: #777777;
}



/* =========================================================
   BUTTONS / LINKS
   ========================================================= */

.hero-link,
.contact-cta,
.arrow-link,
.light-arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        gap 0.3s ease;
}


/* ORANGE BUTTON */

.hero-link,
.contact-cta {
    min-height: 44px;

    padding: 13px 18px;

    border: 1px solid var(--orange);

    background: var(--orange);
    color: var(--white);
}

.hero-link span,
.contact-cta span,
.arrow-link span,
.light-arrow-link span {
    font-size: 17px;
    line-height: 1;

    transition: transform 0.3s ease;
}

.hero-link:hover,
.contact-cta:hover {
    background: var(--white);
    color: var(--orange);

    transform: translateY(-2px);

    gap: 18px;
}

.hero-link:hover span,
.contact-cta:hover span {
    transform: translateX(4px);
}


/* DARK SECTION LINK */

.light-arrow-link {
    color: var(--white);

    border-bottom: 1px solid rgba(255, 255, 255, 0.7);

    padding-bottom: 8px;
}

.light-arrow-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.light-arrow-link:hover span {
    transform: translateX(5px);
}


/* LIGHT SECTION LINK */

.arrow-link {
    color: var(--orange);

    border-bottom: 1px solid var(--white);

    padding-bottom: 8px;
    padding-top: 15px;

    white-space: nowrap;
}

.arrow-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.arrow-link:hover span {
    transform: translateX(5px);
}




/* =========================================================
   INDUSTRIES
   ========================================================= */

.industries-section {
    padding: 130px 0;

    background: var(--off-white);
}

.industries-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.industries-heading h2 {
    max-width: 550px;

    margin-top: 18px;

    color: var(--text);

    font-size: clamp(38px, 4vw, 58px);

    line-height: 1.08;

    font-weight: 500;

    letter-spacing: -1.5px;
}

.industries-list {
    border-top: 1px solid var(--border-light);
}

.industries-list span {
    display: block;

    padding: 22px 5px;

    border-bottom: 1px solid var(--border-light);

    color: #444444;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 1.5px;

    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.industries-list span:hover {
    padding-left: 10px;

    color: var(--orange);
}



/* =========================================================
   CTA
   ========================================================= */

.contact-section {
    padding: 80px 0;

    background: var(--light-gray);
}

.contact-simple {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;
}

.contact-content {
    max-width: 760px;
}

.contact-content .eyebrow {
    display: block;

    margin-bottom: 15px;

    color: var(--orange);
}

.contact-content h2 {
    max-width: 700px;

    margin: 0;

    color: var(--text);

    font-size: clamp(30px, 3.2vw, 46px);

    line-height: 1.12;

    font-weight: 500;

    letter-spacing: -1px;
}

.contact-content p {
    margin-top: 14px;

    color: var(--text-gray);

    font-size: 14px;

    line-height: 1.7;
}

.contact-simple .contact-cta {
    flex-shrink: 0;

    white-space: nowrap;
}


/* =========================================================
   General PAGE
   ========================================================= */


/* PAGE HERO */

.page-hero {
    min-height: 520px;

    padding: 160px 0 90px;

    background:
        linear-gradient(90deg,
            rgba(10, 10, 10, 0.96),
            rgba(10, 10, 10, 0.72)),
        linear-gradient(135deg,
            #111111,
            #292929);

    color: var(--white);

    display: flex;

    flex-direction: column;

    justify-content: center;

    position: relative;

    overflow: hidden;
}

.page-hero::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    border: 1px solid rgba(232, 117, 22, 0.35);

    right: 8%;
    top: 50%;

    transform:
        translateY(-50%) rotate(45deg);
}

.page-hero-content {
    width: min(1380px, 90%);

    margin: 0 auto;

    position: relative;

    z-index: 2;

    padding: 40px 0;
}

.page-hero .eyebrow {
    display: block;

    margin-bottom: 22px;
}

.page-hero h1 {
    max-width: 850px;

    margin: 10px 0 25px;

    color: var(--white);

    font-size: clamp(44px, 6vw, 76px);

    line-height: 1.02;

    font-weight: 500;

    letter-spacing: -2.5px;
}

.page-hero h1 span {
    display: block;

    color: var(--orange);
}

.page-hero p {
    max-width: 620px;

    color: #cccccc;

    font-size: 16px;

    line-height: 1.8;
}

.page-hero-bottom {
    width: min(1380px, 90%);

    margin: 0 auto;

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.2);

    display: flex;

    justify-content: space-between;

    position: relative;

    z-index: 2;

    font-size: 12px;

    letter-spacing: 2px;

    color: #aaa;
}


/* =========================================================
   TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 900px) {
    .page-hero {
        min-height: 500px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .section-container {
        width: 88%;
    }

    /* HERO */

    .hero,
    .hero-slide {
        min-height: 750px;
    }

    .hero-slide .hero-content {
        padding-top: 90px;
    }

    .hero-slide .hero-content h1 {
        max-width: 100%;

        font-size: 40px;

        line-height: 1.1;

        letter-spacing: -0.8px;
    }

    .hero-slide .hero-content p {
        max-width: 100%;

        font-size: 13px;

        line-height: 1.7;
    }

    .hero-bottom {
        left: 6%;
        right: 6%;

        bottom: 25px;

        font-size: 7px;
    }

    .hero-dots {
        left: 6%;

        bottom: 70px;
    }

    .hero-dot {
        width: 20px;
    }

    .hero-dot.active {
        width: 35px;
    }


    /* SECTION SPACING */

    .intro-section,
    .capabilities-section,
    .expertise-section,
    .projects-section,
    .gallery-section,
    .industries-section,
    .clients-section,
    .quality-section {
        padding: 90px 0;
    }


    /* INTRO */

    .intro-grid {
        gap: 40px;
    }

    .intro-heading h2,
    .section-top h2 {
        font-size: 42px;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 35px 20px;

        border-bottom: 1px solid var(--border-dark);
    }

    .stat-item:nth-child(2) {
        border-right: 0;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid var(--border-dark);
    }


    /* SECTION HEADERS */

    .section-top {
        align-items: flex-start;

        flex-direction: column;
    }




    /* CTA */

    .contact-section {
        padding: 65px 0;
    }

    .contact-simple {
        flex-direction: column;

        align-items: flex-start;

        gap: 28px;
    }

    .contact-content h2 {
        font-size: 34px;
    }

    .contact-content p {
        font-size: 13px;
    }

    .page-hero {
        min-height: 500px;

        padding: 130px 0 70px;
    }

    .page-hero h1 {
        font-size: 38px;

        letter-spacing: -1.5px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .page-hero::after {
        width: 200px;
        height: 200px;

        right: -80px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .cap-feature-content h2 {
        font-size: 36px;
    }
}

.form-notification {
    display: none;
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.form-notification.success {
    display: block;
    color: #176534;
    background: #eaf7ee;
    border: 1px solid #b7e2c3;
}

.form-notification.error {
    display: block;
    color: #a12626;
    background: #fff0f0;
    border: 1px solid #efc0c0;
}
