/*
Theme Name: Belanger Builders Inc.
Theme URI: https://www.belangerbuilders.com/
Author: Robb
Author URI: https://www.with2bees.com
Description: A custom WordPress theme by With2Bees
Version: 1.0
*/

:root {
    --blue-dark: #1e2d3b;
    --blue-light: #4e5975;
    --blue-lighter: #99b2ca;
    --gray-dark: #c6c6c6;
    --gray-light: #f7f7f7;
    --red-main: #ba1306;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--blue-dark);
    color: var(--gray-light);
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
}

/* font stuff */
.encode-sans-100 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 100;
    font-style: normal;
}
.encode-sans-200 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 200;
    font-style: normal;
}
.encode-sans-300 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 300;
    font-style: normal;
}
.encode-sans-400 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.encode-sans-500 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 500;
    font-style: normal;
}
.encode-sans-600 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 600;
    font-style: normal;
}
.encode-sans-700 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 700;
    font-style: normal;
}
.encode-sans-800 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 800;
    font-style: normal;
}
.encode-sans-900 {
    font-family: "Encode Sans Condensed", sans-serif;
    font-weight: 900;
    font-style: normal;
}

/* color stuff */
.gray {
    color: var(--gray-dark);
}

/* navigation stuff */
nav {
    position: relative;
    width: 100%;
    height: 60px;
    background-color: #000000ad;
    font-size: 20px;
    z-index: 10000;
}
nav .nav-container {
    display: flex;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
    align-items: center;
    padding: 0 10px;
}
nav .nav-left {
    flex-shrink: 0;
    display: flex;
}
nav .nav-left-mobile {
    display: none;
    padding-top: 8px;
    cursor: pointer;
}
nav .nav-left .nav-opt {
    margin-right: 20px;
    cursor: pointer;
    text-transform: uppercase;

    &:hover {
        color: var(--blue-lighter)
    }
}
nav .nav-right {
    flex-grow: 1;
    text-align: right;
}
.nav-mobile {
    display: none;
    opacity: 0;
    position: absolute;
    inset: 0;
    background-color: black;
    z-index: 9999;
    transition: all 300ms;
}
.nav-mobile-options {
    padding: 50px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.nav-mobile-opt {
    color: white;
    text-align: center;
    cursor: pointer;
    font-size: clamp(1.5rem, 3vh, 4rem);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
#hammy {
    opacity: 1;
    transition: all 300ms;
}
#closey {
    display: none;
    opacity: 0;
    transition: all 300ms;
}







.bg-blueprint {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(to bottom, var(--blue-dark) 0%, transparent 40%),
        linear-gradient(to top, var(--blue-dark) 0%, transparent 40%),
        url('images/bg_blueprint.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}



/* site generated content */
.site-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* home page */
.hero {
    position: relative;
    width: 100%;
    max-height: 600px;
    background-color: var(--blue-light);
    z-index: 1;
    margin-top: -60px;
    overflow: hidden;
}
.hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.hero .bottom-gradient, .bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1e2d3b 20px, transparent 100%)
}
.header {
    display: flex;
    position: relative;
    box-sizing: border-box;
    max-width: 1100px;
    height: 400px;
    margin: 0 auto;
    margin-top: -100px;
    background: linear-gradient(to bottom, #000000ad 100px, transparent 280px);
    border-radius: 20px 20px 0 0;
    z-index: 2;
    padding: 0 40px;
}
.header .logo {
    width: 220px;
    height: 220px;
    margin-top: -20px;
}
.header .words {
    display: flex;
    height: 174px;
    align-items: center;
}
.header .words .left {
    font-size: 66px;
    padding-left: 20px;
}
.header .words .right {
    font-size: 26px;
    padding-left: 15px;
    line-height: 32px;
    margin-top: 3px;
}
.opening-blurb {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -180px;
    box-sizing: border-box;
    padding: 0 40px;
    line-height: 26px;
    z-index: 9998;
}

.section-header {
    background-color: var(--red-main);
    margin: 0 auto;
    display: inline-block;
    font-size: 40px;
    padding: 10px 30px;
}
.section-blurb {
    text-align: left !important;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 40px !important;
}

.services {
    text-align: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    margin: 0 auto;
    margin-top: 100px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    margin-top: 80px;
}
.services-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #10181F;
    text-align: center;
    padding: 20px;
    min-height: 200px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow:
        3px 3px 5px rgba(0, 0, 0, 0.9),
        1px 1px 20px rgba(0,0,0,1),
        0px 0px 40px rgba(0,0,0,1);
    z-index: 1;
    overflow: hidden;
    transition: all 300ms ease-in-out;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
}
.services-grid-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 300ms ease-in-out;
    z-index: -2;
}
.services-grid-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(30,45,59,0.5);
    z-index: -1;
    transition: background 300ms ease-in-out;
}
.services-grid-item:hover {
    border-radius: 10px;

    &::before {
        transform: scale(1.1);
    }
    &::after {
        background-color: rgba(30,45,59,0);
    }
}
.services-callout {
    margin-top: 100px;
    color: #4e5975;
    text-align: center;
    font-size: 30px;

    span {
        color: #99b2ca;
    }
    div {
        font-size: 94px;
        color: white;
        margin-top: -14px;
    }
}




.about-us {
    margin-top: 100px;
    text-align: center;
}
.about-us-image {
    position: relative;
    z-index: 500;
    img {
        width: 100%;
        height: auto;
        object-fit: cover;
        z-index: 501;
    }
}
.about-us-image .bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1e2d3b 20px, transparent 100%)
}
.about-us-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -300px;
    z-index: 503;
}
.about-us-stats-container {
    max-width: 1100px;
    height: 280px;
    margin: 0 auto;
    margin-top: 50px;
    background: linear-gradient(to bottom, #000000ad 100px, transparent 300px);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-content: center;

    div:not(:last-of-type) {
        border-right: 2px solid #99b2caaa;
        max-height: 100px;
    }

    span {
        font-size: 60px;
        font-weight: bolder;
        color: #99b2ca;
    }
}
.about-us-text {
    text-align: left;
    margin-top: -150px;
    padding: 0 40px;
}
.learn-more {
    text-align: center !important;
    text-decoration: none;
    margin-top: 30px;
    color: white;

    &:hover {
        color: var(--blue-lighter);
    }
}

.testimonials {
    position: relative;
    background-color: #00000088;
    margin-top: 70px;
    min-height: 500px;
    display: flex;
    align-items: center;

    .quote-box {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    }
    .quote {
        font-size: 40px;
        font-style: italic;
    }
    .quotee {
        margin-top: 20px;
        font-size: 30px;
        text-align: right;
        color: #4e5975;
    }
    .testimonials-next-button {
        position: absolute;
        right: 10px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        transform: scaleX(-1);
        cursor: pointer;
    }
    .testimonials-prev-button {
        position: absolute;
        left: 10px;
        top: 0;
        bottom: 0;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
}

.project-galleries {
    position: relative;
    text-align: center;
    margin-top: 100px;
    padding: 0 20px;

    .section-header {
        margin-bottom: 40px;
    }
}
.project-galleries-text {
    text-align: left;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-us {
    text-align: center;
    margin-top: 100px;
    padding: 80px 20px;
    background-color: #10181F;

    .section-header {
        margin-bottom: 40px;
    }
}
.contact-us-content {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    gap: 40px;
    margin-top: 40px;
}
.contact-info {
    width: 40%;
    margin-top: -15px;

    span {
        display: block;
        font-family: "Encode Sans Condensed", sans-serif;
        font-weight: 700;
        font-style: normal;
        font-size: 14px;
        margin-bottom: 4px;
        text-transform: uppercase;
        color: #99b2ca;
    }
    .mailing-address {
        margin-top: 40px;
    }
    .mailing-address p {
        margin: unset;
    }
    .special-message {
        margin-top: 20px;
    }
}
.contact-form {
    width: 60%;

    input, textarea {
        width: 100%;
        border: unset;
        background-color: #000;
        font-size: 16px;
        padding: 20px 15px;
        margin-bottom: 20px;
        font-family: "JetBrains Mono", monospace;
        font-optical-sizing: auto;
        font-weight: 300;
        font-style: normal;
        color: #f7f7f7;
        box-sizing: border-box;
    }

    &.onpage {
        input, textarea {
            background-color:rgba(0,0,0,.5)
        }
    }
}
.contact-info {
    .phone-number, .email-address {
        margin-top: 20px;
    }
}
.contact-button {
    background-color:rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    transition: border 300ms ease-in-out;

    &:hover {
        border-color: rgba(255,255,255,0.25);
    }
}






/* gallery pages */
.aiovg-title a {
    color: white;
    text-decoration: underline !important;
}
.aiovg-row {
    justify-content: center;
}
.gallery-header {
    font-size: 24px;
    font-weight: bolder;
    color: var(--blue-lighter);
    display: block;
    text-transform: uppercase;
    margin: -30px 0 20px 0;
}
#primary a {
    &:visited {
        color: white !important;
    }
}
.title-galleries {
    position: relative;
    font-size: 30px;
    font-weight: 700;
    bottom: 12px;
}
.project-gallery-options {
    text-align: left;
    padding-top: 20px;

    a {
        display: block;
        color: white;
    }
}
.thepage {
    margin-top: 0px;
    background-color: transparent;
    padding-top: 40px;

    .section-header {
        cursor: pointer;
    }
}
.videos-header {
    display: inline-block;
    margin-bottom: 16px;
}
.photos-header, .videos-header {
    background-color: rgba(0,0,0,0.5);
    padding: 6px 20px;
}

.aiovg.aiovg-videos {
    margin-top: 20px;
}
.aiovg-single-video {
    margin-top: 40px;
}

/* about us stuff */
.about-us-header {
    margin-top: 40px;
    text-align: center;
}

/* service pages */
.header-service {
    display: block;
    position: relative;
    box-sizing: border-box;
    max-width: 1100px;
    margin: 0 auto;
    margin-top: -200px;
    padding: 40px 40px 0 40px;
    background: linear-gradient(to bottom, #000000ad 100px, transparent 280px);
    border-radius: 20px 20px 0 0;
    z-index: 2;
    height: 100% !important;
}
.page-header {
    height: 500px;
    overflow: hidden;
    position: relative;
}
.page-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    filter: blur(3px);
    opacity: 0.6
}
.page-header-section {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: -170px;
}
.red-callout {
    background-color: var(--red-main);
    padding: 10px 40px;
    font-size: 40px;
}
.page-title {
    font-size: 30px;
    margin-bottom: 15px;
    text-align: center;
}

/* neighborhood stuff */
/* Additional styles for single-page layout */
.neighborhoods-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
}
.neighborhoods-hero {
    width: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 80px;
}
.neighborhood-blurb {
    text-align: left;
    margin-top: 40px;
}


.neighborhoods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px 40px;
}

.neighborhood-card {
    background-color: rgba(0,0,0,0.5);
    border: 1px solid black;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0px 0px 20px rgba(255,255,255,.1);
    cursor: pointer;
    transition: box-shadow 200ms ease-in-out;

    &:hover {
        box-shadow: 0px 0px 30px rgba(255,255,255,.2);
    }
}
.neighborhood-image {
    height: 300px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin: -20px -20px 0 -20px;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }
}
.neighborhood-content { flex-grow: 1; }
.phase-status { margin-top: 0; }
.neighborhood-card-button {
    margin: 0 -20px -20px -20px;
    margin-top: auto;
    background-color: var(--blue-light);
    height: 60px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    transition: all 200ms;

    &:hover {
        background-color: #586485
    }
}

.neighborhood-title {
    font-size: 48px;
    padding: 6px 0 26px 0;
    text-align: center;
}
.neighborhood-price-range {
    width: 100%;
    text-align: center;
    color: var(--blue-lighter);
    margin-bottom: 40px;
    font-weight: bolder;
    font-size: 20px;
}
.neighborhood-status {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}
.neighborhood-description {
    margin-bottom: 40px;
}
.listings-count {
    margin: 40px 0 10px 0;
    color: #ffc107;
}
.listings-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.listing-card {
    background-color: black;
    cursor: pointer;
}
.listing-name {
    margin-top: 20px;
    font-size: 26px;
}
.listing-label {
    color: var(--blue-lighter);
}
.listing-info {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    text-align: center;
    font-size: 20px;
    margin-top: 10px;

    span {
        color: var(--blue-lighter);
        font-size: 50px;
    }
    div:not(:last-child) {
        /* border-right: 3px solid var(--blue-lighter); */
    }
}

.back-to-neighborhoods,
.back-to-neighborhood {
    background: #6c757d;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
    text-decoration: none;
    display: inline-block;
}

.back-to-neighborhoods:hover,
.back-to-neighborhood:hover {
    background: #545b62;
}

.neighborhood-header,
.listing-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.neighborhood-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* neighborhood status colors */
.status-planning { color: #17a2b8; }
.status-under-construction { color: #ffc107; }
.status-complete { color: #28a745; }
.status-available { color: #28a745; }
.status-under-contract { color: #ffc107; }
.status-sold { color: #dc3545; }

/* footer stuff */
footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0 20px 0;
    text-align: center;
}




@media (max-width: 767px) {
    nav .nav-left { display: none; }
    nav .nav-left-mobile { display: block; }
    .contact-us-content {
        display: block;
    }
    .contact-info {
        margin-bottom: 40px;
    }
    .contact-info, .contact-form {
        width: 100%;
    }
    .testimonials {
        .quote, .quotee {
            font-size: 26px;
            padding: 0 20px;
        }
    }
    .hero {
        min-height: 270px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .services-callout {
        div {
            font-size: 50px;
            margin-top: 20px;
            margin-bottom: 40px;
        }
        span {
            display: block;
        }
    }
    .about-us {
        margin-top: 40px;
    }
    .about-us-stats-container {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 40px 20px;
        margin-top: 150px;
        border-radius: 0px;;

        div:first-of-type {
            display:none;
        }
    }
    .about-us-content .section-header {
        margin-top: 30px;
    }
}
@media (max-width: 900px) {
    .header {
        position: relative;
        height: 100%;
        display: block;
        border-radius: 0px;
        height: 580px;
        text-align: center;
    }
    .header .words {
        display: block;
    }
    .header .logo {
        width: 150px;
        height: 150px;
    }
    .words strong {
        display: block;
        margin-bottom: -20px;
    }
}
@media (max-width: 1095px) {
    .header .words {
        display: block !important;

        & .right {
            padding-left: 20px;
        }
        & .left {
            padding-top: 20px;
        }
    }
    .header {
        justify-content: center;
    }
}
@media (max-width: 1115px) {
    .header, .header-service {
        border-radius: 0px;
    }
}
