:root {
    --brand-maroon: #7b1e24; 
    --brand-maroon-hover: #591519; 
    --brand-copper: #b66a45;
}

body {
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background-color: #f8f9f7;
    color: #273238;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 6%;

    background-color: #f8f9f7;
    border-bottom: none;
}

header h2 {
    font-size: 22px;
    margin: 0;
}

nav {
    display: flex;
    gap: 30px; 
}

nav a {
    text-decoration: none;
    color: #273238;
    font-size: 16px; 
}

nav a:hover {
    color: #b66a45;
}

.hero {
    display: flex;
    align-items: center;
    gap: 5%;

    padding: 100px 6%;
    min-height: 60vh;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 550px;
}

.hero-image {
    flex: 1;
    min-height: 650px;
    background-color: #d6dedc; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.button-primary {
    background-color: #b66a45;
    color: white;
}

.button-secondary {
    border: 1px solid #273238;
    color: #273238
}

@media (max-width: 800px) {

    .hero {
        flex-direction: column;
        padding: 60px 6%;
    }

    .hero-image {
        width: 100%;
        min-height: 300px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
}

.services-preview {
    padding: 80px 6% 100px;
    background-color: #eef1ee;
}

.services-heading {
    max-width: 1100px;
    margin: 0 auto 40px;
}

.services-heading h2 {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 15px; 
}

.services-heading p {
    font-size: 18px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap:25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: white; 
    padding: 35px;
    border: 1px solid #e5e8e5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
}

.service-region {
    color: #b66a45;
    font-weight: bold;
    font-size: 14px;
    margin-top: auto;
    padding-top: 25px;
}

.service-card a {
    color: #273238;
    font-weight: bold;
    text-decoration: none;
    margin-top: 20px;
}

.service-card a:hover {
    color: #b66a45;
}

@media (max-width: 800px) {

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-heading h2 {
        font-size: 32px;
    }

    .services-preview {
        padding: 60px 6%;
    }
}

.about-preview {
    padding: 100px 6%;
    background-color: #f8f9f7;
}

.about-preview-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-preview-title h2 {
    font-family: Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-top: 15px;
}

.eyebrow {
    color: #b66a45;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-preview-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 25px;
}

@media (max-width: 800px) {

    .about-preview {
        padding: 60px 6%;
    }

    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-preview-title h2 {
        font-size: 36px;
    }
}

.contact-cta {
    background-color: #273238;
    color: white;
    padding: 100px 6%;
    text-align: center;
}

.contact-cta-contect {
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-family: Georgia, serif; 
    font-size: 46px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 25px;
}

.contact-cta p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
}

@media (max-width: 800px) {

    .contact-cta {
        padding: 70px 6%;
    }

    .contact-cta h2 {
        font-size: 36px;
    }
}

.site-footer {
    background-color: #f8f9f7;
    padding: 70px 6% 25px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid; 
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-column h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.7; 
    margin: 0 0 10px; 
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footner-nav a {
    text-decoration: none;
    color: #273238;
    font-size: 15px;
}

.footer-nav a:hover {
    color: #b66a45; 
}

.footer-bottom {
    max-width: 1100px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid #d6dedc;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px; 
    color: #667277;
}

@media (max-width: 800px) {

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px; 
    }

    .site-footer {
        padding: 50px 6% 25px;
    }
}

.about-hero {
    background: #f8f9f7;
    padding: 110px 6%;
}

.about-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-hero h1 {
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    max-width: 750px;
    margin-top: 20px;
}

.about-hero-inner > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
}

.about-story {
    background-color: #eef1ee;
    padding: 100px 6%;
}

.about-story-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
}

.story-heading h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-top: 15px;
}

.story-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-top: 0;
    margin-bottom: 25px;
}

.project {
    background-color: #f8f9f7;
    padding: 100px 6%;
}

.projects-container {
    max-width: 1100px;
    margin: 0 auto;
}

.projects h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.projects-intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 45px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat (3, minmax(0,1fr));
    column-gap: 30px;
    row-gap: 50px;
}

.project-card {
    margin: 0;
}

.project-placeholder {
    background-color: #d6dedc;
    border: 2px dashed #a8b6b5;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
}

.project-card figcaption {
    font-size: 17px;
    font-weight: bold;
    margin-top: 20px;
}

@media (max-width: 800px) {

    .about-hero {
        padding: 70px 6%;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .about-story {
        padding: 70px 6%;
    }

    .about-story-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-heading h2 {
        font-size: 36px;
    }

    .projects {
        padding: 70px 6%;
    }

    .projects h2 {
        font-size: 36px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.services-page-hero {
    background-color: #f8f9f7;
    padding: 110px 6%;
    text-align: center;
}

.services-page-hero h1 {
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
    max-width: 800px;
    margin: 20px auto 25px;
}

.services-page-hero > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto; 
}

.services-main {
    background-color: #eef1ee;
    padding: 100px 6%;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
}

.services-container h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-bottom: 20px
}

.services-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 45px;
}

.featured-services-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 30px;
}

.service-detail-card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid #b66a45;
    display: flex;
    flex-direction: column;
}

.service-detail-card:nth-child(2) {
    background-color: #fbf3ed;
}

.service-detail-card h3 {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 25px;
}

.service-detail-card p {
    font-size: 16px;
    line-height: 1.8;
}

.service-availability {
    color: #b66a45;
    font-weight: bold;
    margin-top: auto;
    padding-top: 30px;
}

.services-california {
    background-color: #f8f9f7;
    padding: 100px 6%;
}

.california-services-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 25px;
}

.california-service-card {
    background-color: #eef1ee; 
    padding: 35px;
    border-radius: 8px;
    border: 1px solid #d6dedc; 
    display: flex;
    flex-direction: column;
}

.california-service-card h3 {
    font-size: 23px;
    margin-top: 0;
    margin-bottom: 20px;
}

.california-service-card p {
    font-size: 16px;
    line-height: 1.7;
}

.california-service-card .service-availability {
    margin-top: auto;
    padding-top: 25px;
}

@media (max-width: 900px) {

    .featured-services-grid {
        grid-template-columns: 1fr;
    }

    .california-services-grid {
        grid-template-columns: 1fr;
    }

    .services-main, .services-california {
        padding: 70px 6%;
    }

    .services-container h2 {
        font-size: 36px;
    }
}

.contact-hero {
    background-color: #f8f9f7;
    padding: 110px 6%;
    text-align: center;
}

.contact-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-family: Georgia, serif;
    font-size: 56px;
    font-weight: 400;
    line-height: 1.2;
    margin: 20px 0 25px;
}

.contact-hero-inner > p:not(.eyebrow) {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.contact-section {
    background-color: #eef1ee;
    padding: 100px 6%;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-information h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 25px;
}

.contact-information > p:not(.eyebrow) {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-detail {
    margin-bottom: 30px;
}

.contact-detail h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-detail p {
    font-size: 16px;
    line-height: 1.6;
    margin: 5px 0;
}

.contact-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid #b66a45;
}

.contact-form-container h2 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 15px;
}

.contact-form-container > p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #273238;
    background-color: #f8f9f7;
    border: 1px solid #d6dedc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 2px solid #b66a45;
    outline-offset: 2px;
    background-color: white;
}

.contact-form-container button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-note {
    font-size: 13px;
    color: #667277;
    margin-top: 15px;
}

@media (max-width: 800px) {

    .contact-hero {
        padding: 70px 6%;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .contact-section {
        padding: 70px 6%;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-container {
        padding: 25px;
    }
}

/* Mobile Navigation */

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid #273238;
    border-radius: 5px;
    color: #273238;
    font-size: 26px;
    padding: 5px 12px;
    cursor: pointer;
}

@media (max-width: 800px) {

    .site-header {
        flex-wrap: wrap;
    }

    .site-header h2 {
        font-size: 17px;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }

    .site-nav a {
        display: block;
        padding: 15px 0;
        border-top: 1px solid #d6dedc;
    }

    .site-nav.is-open {
        display: flex;
    }
}

/* Project Photo Carousels */

.carousel-image {
    display: block;
    width: 100%;
    aspect-ratio: 4/3; 
    object-fit: cover;
    border-radius: 8px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.carousel-controls button {
    background-color: transparent;
    border: 1px solid #273238;
    border-radius: 5px;
    color: #273238;
    font-size: 20px;
    padding: 8px 14px;
    cursor: pointer; 
}

.carousel-controls button:hover {
    background-color: #eef1ee;
}

.carousel-controls button:focus-visible {
    outline: 2px solid #b66a45;
    outline-offset: 3px;
}

.carousel-counter {
    font-size: 14px;
    color: #667277;
}

.projects-grid .project-card figcaption {

    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #273238;
    margin-top: 0;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid #b66a45;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.site-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

.site-brand h2 {
    margin: 0;
}

@media (max-width: 800px) {
    .site-logo {
        width: 40px;
        height: 40px;
    }

    .site-brand {
        gap: 8px;
    }
}

/* Homepage Color Refresh Test */
.hero {
    background: linear-gradient(
        90deg,
        #f8f5f0 0%,
        #f8f5f0 59%,
        #ded0d0 59%,
        #ded0d0 100%
    );
}

.service-card {
    background: linear-gradient(
        160deg,
        #ffffff 0%,
        #f0f5f7 100%,
    );

    border: 1px solid #cfdde2;
    border-top: 5px solid #b66a45; 
    box-shadow: 0 10px 25px rgba(25, 45, 60, 0.10);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:nth-child(2) {
    border-top-color: #457a89;
}

.service-card:nth-child(3) {
    border-top-color: #334f63; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(25, 45, 60, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .service-card {
        transition: none;
    }

    .service-card:hover {
        transform: none;
    }
}

.home-page {
    --hero-split: 59%
}

.home-page .site-header,
.home-page .hero {
    background: linear-gradient(
        90deg,
        #f8f5f0 0%,
        #f8f5f0 60%,
        #333b43 60%,
        #606a73 72%,
        #414950 86%,
        #2d343b 100%
    );
}

.home-page .hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-page .hero-copy-box {
    width: 100%;
    max-width: 510px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

@media (max-width: 800px) {

    .home-page .site-header {
        background: #f8f5f0; 
    }

    .home-page .hero {
        background: linear-gradient(
            180deg,
            #f8f5f0 0%,
            #e8dcdc 100%,
        );
    }

    .home-page .hero-copy-box {
        transform: none;
        text-align: center;
    }

    .home-page .hero-text {
        transform: none;
    }
}

.home-page .hero-text {
    transform: translateY(-60px);
}

@media (min-width: 801px) {

    .home-page .site-nav a {
        color: #ffffff; 
    }
}

.button-primary {
    background-color: var(--brand-maroon);
    border-color: var(--brand-maroon);
    color: #ffffff;
}

.button-primary:hover {
    background-color: var(--brand-maroon-hover);
    border-color: var(--brand-maroon-hover);
}

.about-page .about-projects {
    background: linear-gradient(
        180deg,
        #f8f5f0 0%,
        #edf0f1 100%
    );

    padding: 80px 6%;
}

.about-page .project-card {
    background-color: #ffffff;
    padding: 18px;
    border: 1px solid #d8dee1; 
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(25, 35, 45, 0.08); 
}

.about-page .project-card figcaption {
    border-left: 3px solid var(--brand-maroon);
    padding-left: 12px; 
    margin-bottom: 18px; 
    color: #273238; 
}

.about-page .carousel-controls button:hover {
    background-color: #f4e9e9;
    background-color: var(--brand-maroon); 
    color: var(--brand-maroon);
}

.about-page .carousel-controls button:focus-visible { 
    outline-color: var(--brand-maroon);
}

.about-page .about-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-page .about-hero-inner {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.about-page .about-hero-inner p {
    margin-left: auto;
    margin-right: auto; 
}

.services-page .service-feature {
    padding: 35px; 
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(25, 35, 45, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.services-page .service-feature-structural {
    background: linear-gradient(
        140deg,
        #7b1e24 0%,
        #48161c 100%
    );
}

.services-page .service-feature-architectural {
    background: linear-gradient(
        135deg,
        #30373e 0%,
        #5b646d 50%,
        #353c43 100%
    );
}

.services-page .service-feature h2,
.services-page .service-feature h3,
.services-page .service-feature p,
.services-page .service-feature li {
    color: #ffffff; 
}

.services-page .service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(25, 35, 45, 0.18);
}

.service-page .service-california {
    background-color: #ffffff;
    border: 1px solid #d8dee1; 
    border-top: 4px solid var(--brand-maroon);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(25,35,45,0.08); 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

@media (prefers-reduced-motion: reduce) {
    .services-page .service-feature,
    .services-page .service-california {
        transition: none;
    }

    .services-page .service-feature:hover,
    .services-page .service-california:hover {
        transform: none; 
    }
}

.contact-page .contact-info-panel {
    background-color: #f8f5f0;
    border: 1px solid #e0d9d6;
    border-left: 4px solid var(--brand-maroon);
    border-radius: 12px;
    padding: 30px 32px;
    box-shadow: 0 8px 24px rgba(25, 35, 45, 0.06);
    align-self: start; 
    height: fit-content;
    box-sizing: border-box; 
}

.contact-page .contact-form-panel {
    background-color: #ffffff;
    border: 1px solid #d8dee1;
    border-top: 4px solid var(--brand-maroon);
    border-radius: 12px;
    padding: 30px 32px;
    box-shadow: 0 12px 30px rgba(25, 35, 45, 0.10); 
}

.contact-page .contact-form-panel
input[type="text"],
.contact-page .contact-form-panel
input[type="email"],
.contact-page .contact-form-panel
input[type="tel"],
.contact-page .contact-form-panel select,
.contact-page .contact-form-panel textarea {
    width: 100%;
    box-sizing: border-box; 
    background-color: #fbfcfc; 
    border: 1px solid #cbd2d5;
    border-radius: 6px; 
    padding: 12px 14px;
    color: #273238; 
}

.contact-page .contact-form-panel input:focus,
.contact-page .contact-form-panel select:focus,
.contact-page .contact-form-panel textarea:focus
{
    outline: 2px solid var(--brand-maroon);
    outline-offset: 2px;
    border-color: var(--brand-maroon);
}

@media (max-width: 800px) {
    .contact-page .contact-info-panel,
    .contact-page .contact-form-panel {
        padding: 24px 20px;
    }
}

/* GitHub Desktop Publishing Test - November 20, 2026 */

/* Mobile Homepage Background Fix */
@media (max-width: 800px) {
    .home-page .site-header,
    .home-page .hero {
        background: #f8f5f0;
    }
}