/* =========================================
   CIRCLE W CONSTRUCTION
   MAIN WEBSITE STYLES
   ========================================= */

:root {
    --black: #171411;
    --dark-brown: #241b16;
    --brown: #4a3426;
    --tan: #c7a477;
    --light-tan: #e6d4bb;
    --cream: #f4efe7;
    --white: #ffffff;
    --gray: #8f8982;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   NAVIGATION
   ========================================= */

header {
    background: var(--black);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

nav {
    max-width: 1250px;
    margin: auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 48px;
    height: 48px;
    border: 2px solid var(--tan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--tan);
    letter-spacing: -2px;
    transform: rotate(-3deg);
}

.logo strong {
    display: block;
    font-size: 20px;
    letter-spacing: 3px;
}

.logo span {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: var(--tan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--tan);
}

.nav-button {
    border: 1px solid var(--tan);
    padding: 11px 18px;
}


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

.hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
    background: #111;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.hero-content {
    max-width: 1250px;
    width: 100%;
    margin: auto;
    padding: 80px 30px;
    position: relative;
z-index: 2;
}

.eyebrow {
    color: var(--tan);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.92;
    letter-spacing: -4px;
    font-weight: 900;
    max-width: 900px;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.65);
}

.hero h1 span {
    color: var(--tan);
}

.hero-text {
    max-width: 650px;
    margin-top: 30px;
    font-size: 19px;
    color: #ddd5cc;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    transition: 0.25s ease;
}

.button.primary {
    background: var(--tan);
    color: var(--black);
}

.button.primary:hover {
    background: var(--white);
    transform: translateY(-2px);
}

.button.secondary {
    border: 1px solid rgba(255,255,255,0.55);
    color: var(--white);
}

.button.secondary:hover {
    border-color: var(--tan);
    color: var(--tan);
}


/* =========================================
   INTRO
   ========================================= */

.intro {
    max-width: 900px;
    margin: auto;
    padding: 110px 30px;
    text-align: center;
}

.intro h2,
.section-heading h2,
.about h2,
.contact h2 {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -2px;
    font-weight: 900;
}

.intro h2 span,
.about h2 span,
.contact h2 span {
    color: var(--brown);
}

.intro > p:last-child {
    margin: 28px auto 0;
    max-width: 720px;
    color: #625b54;
    font-size: 17px;
}


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

.services {
    background: var(--dark-brown);
    color: var(--white);
    padding: 110px 30px;
}

.section-heading {
    max-width: 1250px;
    margin: auto;
}

.section-heading h2 {
    color: var(--white);
}

.service-grid {
    max-width: 1250px;
    margin: 55px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.12);
}

.service-card {
    background: var(--dark-brown);
    padding: 38px;
    height: 420px;
    box-sizing: border-box;
    overflow: hidden;
    transition: 0.25s ease;
}

.service-card:hover {
    background: #30231b;
}

.service-number {
    color: var(--tan);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.service-card h3 {
    font-size: 24px;
    margin: 35px 0 12px;
}

.service-card p {
    color: #bdb4aa;
    font-size: 15px;
}


/* =========================================
   ABOUT
   ========================================= */

.about {
    padding: 120px 30px;
    background: var(--cream);
}

.about-content {
    max-width: 850px;
    margin: auto;
}

.about h2 {
    color: var(--black);
}

.about-content > p:not(.eyebrow) {
    margin-top: 25px;
    color: #625b54;
    font-size: 17px;
}

.about-details {
    display: flex;
    gap: 60px;
    margin-top: 45px;
    border-top: 1px solid #cfc4b6;
    padding-top: 30px;
}

.about-details strong {
    display: block;
    font-size: 25px;
    color: var(--brown);
}

.about-details span {
    color: #777068;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}


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

.projects {
    padding: 110px 30px;
    background: #ded3c5;
}

.projects .section-heading h2 {
    color: var(--black);
}

.projects .section-heading > p:last-child {
    margin-top: 15px;
    color: #665e56;
}

.project-placeholder {
    max-width: 1250px;
    min-height: 420px;
    margin: 50px auto 0;
    border: 2px dashed #9d8d7b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

.project-placeholder span {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--brown);
}

.project-placeholder p {
    max-width: 500px;
    margin: 15px auto 0;
    color: #6d655c;
}


/* =========================================
   SERVICE AREAS
   ========================================= */

.areas {
    padding: 110px 30px;
    background: var(--black);
    color: var(--white);
}

.area-list {
    max-width: 1100px;
    margin: 55px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.area-list span {
    border: 1px solid #5b5149;
    padding: 14px 20px;
    color: #ddd4ca;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
}


/* =========================================
   CONTACT
   ========================================= */

.contact {
    padding: 120px 30px;
    background: var(--tan);
    color: var(--black);
}

.contact-content {
    max-width: 850px;
    margin: auto;
}

.contact .eyebrow {
    color: var(--brown);
}

.contact h2 span {
    color: var(--white);
}

.contact-content > p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 25px;
    color: #493b30;
    font-size: 17px;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.contact .button.primary {
    background: var(--black);
    color: var(--white);
}

.contact .button.primary:hover {
    background: var(--brown);
}

.contact .button.secondary {
    border: 1px solid var(--black);
    color: var(--black);
}

.contact .button.secondary:hover {
    background: var(--black);
    color: var(--white);
}


/* =========================================
   FOOTER
   ========================================= */

footer {
    background: #0f0d0b;
    color: var(--white);
    padding: 45px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-mark {
    width: 42px;
    height: 42px;
}

.footer-logo strong {
    display: block;
    letter-spacing: 2px;
}

.footer-logo span {
    display: block;
    color: var(--tan);
    font-size: 8px;
    letter-spacing: 2px;
}

footer p {
    color: #8e867e;
    font-size: 12px;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 850px) {

    nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 70px 22px;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

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

    .service-grid {
        grid-template-columns: 1fr;
    }

    .services,
    .about,
    .projects,
    .areas,
    .contact {
        padding: 80px 22px;
    }

    .intro {
        padding: 80px 22px;
    }

    .about-details {
        gap: 25px;
        flex-wrap: wrap;
    }

    footer {
        padding: 35px 22px;
    }
}/* ==============================
   CIRCLE W QUICK QUOTE CENTER
   ============================== */

.quote-box {
    max-width: 700px;
    margin: 40px auto 60px;
    padding: 40px;
    background: #17120f;
    border: 1px solid #8a6a3f;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.quote-box h3 {
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
    letter-spacing: 1px;
}

.quote-box label {
    display: block;
    margin: 22px 0 8px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.quote-box select,
.quote-box input {
    width: 100%;
    padding: 15px;
    background: #26201b;
    color: #ffffff;
    border: 1px solid #6f5636;
    border-radius: 3px;
    font-size: 16px;
    box-sizing: border-box;
}

.quote-box select:focus,
.quote-box input:focus {
    outline: none;
    border-color: #b08a52;
}

.distance-input {
    display: flex;
    align-items: center;
    gap: 12px;
}

.distance-input input {
    flex: 1;
}

.distance-input span {
    color: #c9b08a;
    font-weight: 700;
}

.quote-button {
    width: 100%;
    margin-top: 30px;
    cursor: pointer;
    border: none;
}

.quote-result {
    margin-top: 30px;
    padding: 28px;
    background: #211a15;
    border-top: 2px solid #a67c45;
    text-align: center;
}

.quote-result span {
    display: block;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    color: #c9b08a;
}

.quote-result strong {
    display: block;
    margin: 8px 0;
    font-size: 48px;
    color: #ffffff;
}

.quote-result p {
    margin: 0;
    color: #bfb2a3;
    font-size: 14px;
}

#emailQuote {
    display: block;
    width: 100%;
    margin-top: 18px;
    box-sizing: border-box;
    text-align: center;
}

.project-contact {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.project-contact h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.project-contact p {
    line-height: 1.7;
}

.project-contact .contact-buttons {
    margin-top: 25px;
}


/* MOBILE */
@media (max-width: 600px) {

    .quote-box {
        padding: 25px 20px;
        margin-top: 30px;
    }

    .quote-box h3 {
        font-size: 24px;
    }

    .quote-result strong {
        font-size: 40px;
    }

    .distance-input {
        display: block;
    }

    .distance-input span {
        display: block;
        margin-top: 8px;
    }
}/* ==============================
   CIRCLE W PROJECT ESTIMATE
   ============================== */

.project-form {
    max-width: 700px;
    margin: 35px auto 25px;
    padding: 35px;
    background: #17120f;
    border: 1px solid #8a6a3f;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    text-align: left;
}

.project-form label {
    display: block;
    margin: 20px 0 8px;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-form input,
.project-form select,
.project-form textarea {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #26201b;
    color: #ffffff;
    border: 1px solid #6f5636;
    border-radius: 3px;
    font-family: inherit;
    font-size: 16px;
}

.project-form input::placeholder,
.project-form textarea::placeholder {
    color: #9d9389;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
    outline: none;
    border-color: #b08a52;
}

.project-form textarea {
    resize: vertical;
    min-height: 140px;
}

.project-form .btn {
    width: 100%;
    margin-top: 28px;
    cursor: pointer;
    border: none;
}

.project-contact {
    margin-top: 70px;
}

.project-contact > p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-contact h3 {
    margin-bottom: 12px;
}


/* MOBILE PROJECT FORM */
@media (max-width: 600px) {

    .project-form {
        padding: 25px 20px;
        margin-top: 25px;
    }

    .project-form input,
    .project-form select,
    .project-form textarea {
        font-size: 16px;
    }

}
/* SERVICE CARD PHOTOS */
.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 24px;
}/* ================================
   PROJECT GALLERY
   ================================ */

.projects {
    padding: 100px 0;
    background: #eee6d8;
}

.projects .container {
    width: min(92%, 1200px);
    max-width: 1200px;
    margin: 0 auto;
}

.projects .section-label {
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 3px;
}

.projects h2 {
    text-align: center;
    margin: 0 0 15px;
}

.projects .section-intro {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
    line-height: 1.7;
}

/* Three-column gallery */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
    align-items: stretch;
}

/* Individual project cards */
.project-card {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #1b1511;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Project photos */
.project-card img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Tablet */
@media (max-width: 900px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Phone */
@media (max-width: 600px) {
    .projects {
        padding: 70px 0;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card img {
        height: 260px;
    }
}/* ================================
   MOBILE / HORIZONTAL OVERFLOW FIX
   ================================ */

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
}

.container {
    width: min(92%, 1200px);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {

    .container {
        width: calc(100% - 32px);
        max-width: none;
    }

    .projects {
        width: 100%;
        overflow: hidden;
    }

    .project-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
    }

    .project-card img {
        width: 100%;
        max-width: 100%;
        height: 260px;
        object-fit: cover;
    }
}/* =========================================
   MOBILE WEBSITE RESET
   ========================================= */

@media (max-width: 600px) {

    /* Stop the entire site from creating sideways scrolling */
    html,
    body {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    /* Make every major section use the full phone width */
    section {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Reset containers */
    .container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Make text sections full width */
    .about,
    .projects,
    .areas,
    .services,
    .contact {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Prevent columns from becoming tiny */
    .about-content,
    .about-text,
    .section-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* SERVICES */
    .services-grid,
    .service-grid {
        width: 100%;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .service-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    /* ABOUT */
    .about .container {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .about h2 {
        max-width: 100%;
    }

    /* PROJECTS */
    .projects {
        padding: 70px 0;
    }

    .projects .container {
        width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .projects .section-label,
    .projects h2,
    .projects .section-intro {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .project-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .project-card img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: 260px;
        object-fit: cover;
    }

    /* Prevent videos from overflowing */
    video {
        max-width: 100%;
        height: auto;
    }

    /* Prevent buttons from forcing the page wider */
    .contact-buttons {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-buttons .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}