/* =========================================================
   PSK ROOFING V2 - LAYOUT CSS
========================================================= */


/* =========================================================
   FLEX UTILITIES
========================================================= */

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}


/* =========================================================
   GRID SYSTEMS
========================================================= */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


/* =========================================================
   SECTION HEADERS
========================================================= */

.section-header {
    max-width: 750px;
    margin: 0 auto 70px;
    text-align: center;
}

.section-subtitle {
    display: inline-block;

    font-size: 14px;
    font-weight: var(--fw-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;

    color: var(--accent-color);

    margin-bottom: 15px;
}

.section-title {
    margin-bottom: 20px;
}

.section-description {
    font-size: var(--font-size-md);
    color: var(--text-light);
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero-section {

    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background-color: var(--primary-color);

	background-image: url('../images/hero/hero-bg.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;

    padding-top: 120px;
    padding-bottom: 120px;
}

.hero-overlay {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(15, 23, 42, 0.75);

    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 750px;
}

.hero-title {
    font-size: 72px;
    line-height: 1.1;

    color: var(--white-color);

    margin-bottom: 30px;
}

.hero-description {
    font-size: 20px;
    color: rgba(255,255,255,0.85);

    margin-bottom: 40px;
}


/* =========================================================
   PAGE BANNER
========================================================= */

.page-banner {

    position: relative;

    padding-top: 180px;
    padding-bottom: 100px;

    background-color: var(--primary-color);

    overflow: hidden;
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner-title {
    color: var(--white-color);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breadcrumb li {
    color: rgba(255,255,255,0.75);
}

.breadcrumb li a {
    color: var(--white-color);
}


/* =========================================================
   CONTENT BLOCKS
========================================================= */

.content-block {
    position: relative;
}

.content-block-sm {
    max-width: 650px;
}

.content-block-centered {
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   IMAGE BLOCKS
========================================================= */

.image-block {
    position: relative;
}

.image-block img {
    border-radius: var(--radius-lg);
    overflow: hidden;
}


/* =========================================================
   INDUSTRY SECTION
========================================================= */

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}


/* =========================================================
   SERVICES LAYOUT
========================================================= */

.services-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================================================
   PROJECTS LAYOUT
========================================================= */

.projects-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================================================
   CTA SECTION
========================================================= */

.cta-section {

    position: relative;

    background: var(--primary-color);

    border-radius: var(--radius-xl);

    padding: 80px;

    overflow: hidden;
}

.cta-content {
    max-width: 700px;
}

.cta-title {
    color: var(--white-color);
}

.cta-description {
    color: rgba(255,255,255,0.75);
}


/* =========================================================
   SPACING UTILITIES
========================================================= */

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

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

    .grid-4,
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

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

    .grid-2,
    .grid-3,
    .grid-4,
    .industry-grid,
    .services-layout,
    .projects-layout {

        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 54px;
    }

    .hero-description {
        font-size: 18px;
    }

    .cta-section {
        padding: 60px;
    }

}

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

    .hero-section {
        min-height: auto;
        padding-top: 160px;
        padding-bottom: 100px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .cta-section {
        padding: 40px 25px;
    }

}