
/* Rauch Maintenance & Repair LLC */
/* Website colors and basic styling */

:root {
    --charcoal: #101014;
    --bronze: #b58a50;
    --cream: #f5f1e9;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--charcoal);
    color: var(--cream);
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}

h1 {
    color: var(--bronze);
    font-size: 42px;
    margin-bottom: 20px;
}

p {
    font-size: 24px;
    line-height: 1.6;
}

/* Company logo */

.company-logo {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 30px;
}

/* Smartphone adjustments */

@media (max-width: 600px) {
    body {
        padding: 30px 15px;

-webkit-text-size-adjust: 100%;

    }

    .company-logo {
        max-width: 300px;
    }

    h1 {
        font-size: 24px;
    }

    p {
        font-size: 18px;
    }
}

/* Main navigation menu */

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 15px 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--bronze);
}

.main-nav a {
    color: var(--cream);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.main-nav a:hover {
    color: var(--bronze);
}


/* Services page introduction */

.services-tagline {
    color: var(--bronze);
    font-size: 22px;
    font-weight: 500;
    margin: 15px 0;
}

.services-intro {
    color: #bcbcbc;
    font-size: 17px;
    line-height: 1.6;
    max-width: 700px;
    margin: 15px auto 40px;
}

/* Professional services panel layout */

.services-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 45px auto;
    padding: 0 20px;
    text-align: left;
}

.service-card {
    background: #1a1a1e;
    border: 1px solid #494039;
    border-radius: 10px;
    padding: 28px;
    border-top: 3px solid var(--bronze);
}

.service-card h2 {
    color: var(--bronze);
    font-size: 23px;
    margin: 0 0 14px;
}

.service-card p {
    color: #c8c5c0;
    font-size: 17px;
    line-height: 1.6;
    margin: 0;
}

/* Stack service panels on smaller screens */

@media (max-width: 700px) {
    .services-list {
        grid-template-columns: 1fr;
    }
}

/* Center the fifth service card on desktop */

.services-list .service-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 12px);
    justify-self: center;
    box-sizing: border-box;
}

/* Keep full-width cards on phones */

@media (max-width: 700px) {
    .services-list .service-card:last-child {
        width: 100%;
    }
}
/* Our Work page introduction */

.work-intro {
    max-width: 650px;
    margin: 35px auto 50px;
    text-align: center;
}

.work-intro h1 {
    font-size: 42px;
    margin: 0 0 14px;
}

.work-intro .services-tagline {
    font-size: 20px;
    margin: 0 0 12px;
}

.work-intro .services-intro {
    font-size: 16px;
    line-height: 1.6;
    max-width: 520px;
    margin: 0 auto;
}

/* About page - balanced two-column layout */

.about-page .service-card:last-child {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
}

/* Contact page phone and email links */



.service-card a {
    color: #FFD65A;
    font-size: 24px;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
}



.service-card a:hover {
    color: #ffffff;
    text-decoration: underline;
}



/* Mobile navigation */

@media (max-width: 700px) {
    .main-nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 5px;
        margin-bottom: 20px;
    }

    .main-nav a {
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        padding: 8px 0;
    }
}


/* Email icons - desktop and mobile */

/* Desktop: envelope beside email address */
.desktop-email-icon {
    display: inline;
}

/* Desktop: hide envelope beside heading */
@media (min-width: 701px) {
    .service-card h2 span {
        display: none;
    }
}

/* Mobile: envelope beside Email Us heading */
@media (max-width: 700px) {
    .desktop-email-icon {
        display: none;
    }
}

/* Prevent contact cards from overflowing on mobile */

@media (max-width: 700px) {
    .services-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-card {
        min-width: 0;
    }


    /*
    .service-card a {
        overflow-wrap: anywhere;
    }
    */
}

/* Mobile contact link sizing */
@media (max-width: 700px) {
    .service-card a {
        font-size: 18px;
    }
}


/* RMR Homepage Redesign - Header */

.site-header {
    background-color: #243b30;
    padding: 6px 30px;
}

.site-header .company-logo {
    display: block;
    width: 110px;
    height: auto;
    margin: 0 auto 15px;
}

/* RMR Redesign - Navigation */

.site-header .main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin: 0;
    padding: 12px 0 0;
    border: none;
}

.site-header .main-nav a {
    color: #f5f0e5;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-header .main-nav a:hover {
    color: #d5ad72;
}
/* RMR Redesign - Header Layout */

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-header .company-logo {
    width: 125px;
    margin: 0;
}

.site-header .main-nav {
    padding: 0;
    margin: 0;
}

/* RMR Hero - Real Equipment Photos */

.hero-photos {
    position: relative;
    top: 10px;
    width: 100%;
    height: 250px;
}

.hero-tools {
    position: absolute;
    left: 61%;
    bottom: 19.25%;
    width: 95px;
    max-width: 15%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(3px 5px 3px rgba(0, 0, 0, 0.4));
}

.hero-boots {
    position: absolute;
    left: 35%;
    bottom: -4%;
    width: 72px;
    max-width: 9%;
    height: auto;
    filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.4));
}

/* RMR Redesign - Hero Layout */

.hero {
    min-height: 410px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 35px;
    padding: 35px 30px;
    text-align: center;
    background-color: #304b3b;
}

/* RMR Hero - Headline Refinement */


.hero-content h1 {
    font-size: clamp(26px, 2.5vw, 36px);
    line-height: 1.2;
    max-width: 850px;
    margin: 0 auto 20px;
    color: #f5f0e5;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}


/* RMR Hero - Whitey */

.hero-truck {
    position: absolute;
    right: 6%;
    bottom: 5%;
    width: 405px;
    max-width: 40%;
    height: auto;
    object-fit: contain;
}

/* RMR Hero - Residential Background */

.hero {
    background-image: url("images/rmr-hero-complete.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/* RMR Redesign - Header Branding */

.header-brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-brand-text {
    text-align: left;
}

.header-company-name {
    color: #d5ad72;
    font-size: 24px;
    font-weight: 700;
}

.header-credentials {
    color: #f5f0e5;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-top: 8px;
}
/* RMR Redesign - Welcome Section */

.welcome-section {
    background-color: #243b30;
    padding: 30px 20px;
    text-align: center;
}

.welcome-section h1 {
    color: #d5ad72;
    font-size: 32px;
    margin: 0 0 15px;
}

.welcome-section p {
    color: #f5f0e5;
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.5;
}
.services-preview {
    background-color:#b5aa96; 
    padding: 45px 30px;
    text-align: center;
}

.services-preview h2 {
    color: #243b30;
    font-size: 30px;
    margin-bottom: 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: #243b30;
    padding: 30px 25px;
    border-top: 4px solid #243b30;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    color: #d9ae72;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: #f5f0e5;
    line-height: 1.6;
}
.experience-section {
    background-color: #243b30;
    padding: 45px 30px;
    text-align: center;
}

.experience-section h2 {
    color: #d9ae72;
    font-size: 30px;
    margin-bottom: 25px;
}

.experience-section p {
    color: #f5f0e5;
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.7;
}

.experience-button {
    display: inline-block;
    background-color: #d9ae72;
    color: #243b30;
    padding: 12px 25px;
    margin-top: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.experience-button:hover {
    background-color: #c49a60;
}
.contact-preview {
    background-color: #b5aa96;
    padding: 45px 30px;
    text-align: center;
}

.contact-preview h2 {
    color: #243b30;
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-preview p {
    color: #243b30;
    max-width: 750px;
    margin: 0 auto 25px;
    font-size: 18px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.contact-details a {
    color: #243b30;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-button {
    display: inline-block;
    background-color: #243b30;
    color: #f5f0e5;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.contact-button:hover {
    background-color: #304b3b;
}
.site-footer {
    background-color: #243b30;
    color: #f5f0e5;
    padding: 25px 20px;
    text-align: center;
    border-top: 3px solid #d9ae72;
}

.site-footer p {
    margin: 8px 0;
    font-size: 15px;
}

.site-footer .footer-company {
    color: #d9ae72;
    font-size: 20px;
    font-weight: bold;
}

.site-footer .footer-copyright {
    font-size: 13px;
    margin-top: 20px;
    opacity: 0.8;
}
.site-footer .footer-credit {
    color: #d9ae72;
    font-size: 13px;
    font-style: italic;
    margin-top: 15px;
}
.site-footer .footer-flag {
    display: block;
    width: 45px;
    height: auto;
    margin: 0 auto 15px;
}
.site-footer .footer-datetime {
    color: #c8c0af;
    font-size: 13px;
    margin: 20px auto 0;
    padding-top: 15px;
    max-width: 400px;
    border-top: 1px solid #68796d;
}
/* RMR Redesign - Mobile Header */

@media (max-width: 900px) {

    body {
        padding: 0;
    }

    .site-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .header-brand {
        flex-direction: column;
        gap: 10px;
    }

    .header-brand-text {
        text-align: center;
    }

    .site-header .company-logo {
        width: 100px;
    }

    .header-company-name {
        font-size: 20px;
    }

    .header-credentials {
        font-size: 12px;
    }

    .site-header .main-nav {
        gap: 15px;
        justify-content: center;
    }

    .site-header .main-nav a {
        font-size: 14px;
    }
}
/* RMR Redesign - Responsive Hero */

@media (max-width: 900px) {
    .hero {
        min-height: 0;
        padding: 0;
        width: 100%;
        aspect-ratio: 1898 / 719;
        background-size: contain;
        background-position: center;
    }
}
/* RMR Redesign - Mobile Service Cards */

@media (max-width: 700px) {

    .services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .services-preview {
        padding: 30px 20px;
    }

    .services-grid .service-card {
        padding: 20px;
        min-width: 0;
    }

    .service-card h3 {
        margin-top: 0;
        font-size: 22px;
    }
}
/* RMR Redesign - Small Smartphones */

@media (max-width: 480px) {

    .site-header .main-nav {
        gap: 10px;
    }

    .site-header .main-nav a {
        font-size: 12px;
    }

    .welcome-section h1 {
        font-size: 25px;
    }

    .welcome-section p {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    a[href^="mailto:"] {
        font-size: 16px;
        overflow-wrap: anywhere;
    }
}
/* About Page */

.about-details {
    background-color: #b5aa96;
    padding: 45px 30px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-grid .service-card {
    padding: 30px;
}

.about-grid .service-card h3 {
    margin-top: 0;
}

/* About Page - Mobile */

@media (max-width: 700px) {

    .about-details {
        padding: 30px 20px;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .about-grid .service-card {
        padding: 20px;
    }

}
/* About Page Introduction */

.about-intro {
    padding: 40px 25px;
}

.about-intro p {
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.7;
}
/* Shared Header Separation */

.site-header {
    border-bottom: 2px solid #d9ae72;
}
/* About Profile Layout */

.about-profile {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 30px auto 0;
}

.about-photo {
    aspect-ratio: 4 / 5;
    background-color: #40574a;
    border: 2px solid #d9ae72;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9ae72;
    overflow: hidden;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-bio {
    text-align: left;
}

.about-bio p {
    margin: 0 0 20px;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

/* About Profile - Mobile */

@media (max-width: 700px) {

    .about-profile {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .about-photo {
        width: 100%;
        max-width: 260px;
        box-sizing: border-box;
        margin: 0 auto;
    }

    .about-bio {
        text-align: center;
    }

}
/* Our Work - Project Gallery */

.work-gallery {
    background-color: #b5aa96;
    padding: 45px 30px;
}

.project-showcase {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 30px;
    background-color: #243b30;
    border-radius: 8px;
}

.project-heading {
    margin-bottom: 30px;
}

.project-heading h2 {
    color: #d9ae72;
    font-size: 30px;
    margin: 0 0 10px;
}

.project-heading p {
    color: #f5f0e5;
    font-size: 18px;
    max-width: 800px;
    margin: 15px auto;
}

.project-heading .project-location {
    color: #d9ae72;
    font-size: 15px;
    letter-spacing: 1px;
}

.project-featured {
    max-width: 850px;
    margin: 0 auto 30px;
}

.project-featured img,
.project-photos img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.project-featured p,
.project-photos figcaption {
    color: #d9ae72;
    font-size: 16px;
    margin: 12px 0;
}

.project-photos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 25px;
}

.project-photos figure {
    margin: 0;
    min-width: 0;
}

.project-panorama {
    grid-column: 1 / -1;
}

/* Project Gallery - Mobile */

@media (max-width: 700px) {

    .work-gallery {
        padding: 25px 15px;
    }

    .project-showcase {
        padding: 15px;
    }

    .project-heading h2 {
        font-size: 24px;
    }

    .project-heading p {
        font-size: 16px;
    }

    .project-photos {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}
/* Project Gallery - Thumbnail Layout */

.project-photos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.project-photos .project-panorama {
    grid-column: auto;
}

.project-photos img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: zoom-in;
    transition: opacity 0.2s ease;
}

.project-featured img {
    cursor: zoom-in;
}

.project-photos img:hover,
.project-featured img:hover {
    opacity: 0.85;
}

.project-photos figcaption {
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .project-photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}
/* Project Gallery - Lightbox Viewer */

.photo-lightbox {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    box-sizing: border-box;
    margin: 0;
    padding: 20px;
    border: none;
    background-color: rgba(10, 15, 12, 0.98);
    color: #f5f0e5;
    overflow: hidden;
}

.photo-lightbox[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-lightbox::backdrop {
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    width: 90%;
    text-align: center;
}

#lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 5px;
}

#lightbox-caption {
    color: #d9ae72;
    font-size: 18px;
    margin: 12px 0 5px;
}

#lightbox-counter {
    color: #f5f0e5;
    font-size: 14px;
    margin: 5px 0;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background-color: rgba(36, 59, 48, 0.9);
    color: #d9ae72;
    border: 1px solid #d9ae72;
    border-radius: 6px;
    font-size: 30px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    z-index: 2;
}

.lightbox-close {
    top: 15px;
    right: 20px;
}

.lightbox-prev {
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: #d9ae72;
    color: #243b30;
}

@media (max-width: 700px) {

    .lightbox-content {
        width: 100%;
    }

    #lightbox-image {
        max-height: 70vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 38px;
        height: 44px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}