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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    padding-top: 180px;
}

/* ── TOP BAR ── */
.top-bar {
    background: #1a1a1a;
    color: #fff;
    display: flex;

    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 101;
}

.top-bar .brand {
    font-weight: 600;
}

.top-bar .contact {
    display: flex;
    color: white;
    gap: 30px;
}

.top-bar .contact a {
    text-decoration: none;
    color: white;
}


/* ── NAV ── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    position: fixed;
    top: 33px;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 99;
}

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

.logo-svg {
    width: 72px;
    height: 72px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: #c0392b;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #C41230;
    border-radius: 2px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }

    .top-bar {
        padding: 8px 20px;
        flex-direction: column;
        gap: 8px;
        font-size: 12px;
    }

    .top-bar .contact {
        gap: 15px;
        flex-wrap: wrap;
    }

    nav {
        top: 48px;
        padding: 12px 20px;
        flex-wrap: wrap;
    }

    .logo-wrap {
        order: 1;
    }

    .logo-svg {
        width: 50px;
        height: 50px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        margin-top: 10px;
    }

    .nav-links.active {
        max-height: 200px;
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .hamburger {
        order: 2;
        display: flex;
    }

    .featured-work-item img {
        height: 200px !important;
    }

}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }

    .top-bar {
        padding: 6px 15px;
    }

    nav {
        padding: 10px 15px;
    }


}

.about-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('./images/white-dark-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* ── ABOUT US ── */
.about-section {
    position: relative;

    overflow: hidden;
    padding: 55px 40px 30px;
    text-align: center;
}

.about-bg {
    position: absolute;
    inset: 0;
    background-image: url('./images/about.jpg');
    z-index: 0;
}


.about-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #444;
    margin-bottom: 16px;
}

.title-line {
    width: 50px;
    height: 2px;
    background: #c0392b;
    margin: 0 auto 34px;
}

.about-text {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
}

.about-text strong {
    color: #222;
}

.about-link {
    color: #c0392b;
    text-decoration: underline;
    cursor: pointer;
}

/* ── SERVICES ── */
.services-section {
    position: relative;
    overflow: visible;
    padding: 0;
    background: #2a3540;
}

.services-bg-container {
    position: relative;
    background-image: url('./images/services-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding-top: 40px;
    z-index: 1;
}

.services-bg-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
    pointer-events: none;
}

/* house photo banner */
.services-banner {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 60%;
    display: none;
    filter: brightness(0.72);
}

/* fallback gradient if no image */
.services-banner-fallback {
    width: 100%;
    height: 340px;
    display: none;
    align-items: flex-start;
    justify-content: center;
}

.services-header {
    position: relative;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 5px;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.services-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #c0392b;
    margin: 20px auto 0;
}

.services-cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 40px 60px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.service-card {
    background: #fff;
    width: 100%;
    max-width: 1100px;
    padding: 20px 50px 44px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #c0392b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 22px;
    border: 3px solid transparent;
    transition: border 0.3s ease;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.service-card:hover .card-icon {
    border-color: #c0392b;
    border-width: 5px;
    box-shadow: 0 0 0 8px rgba(192, 57, 43, 0.15);
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: #333;
}

.card-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* ── FEATURED WORKS ── */
.featured-section {
    background: #f8f8f8;
    padding: 80px 40px;
    text-align: center;
}

.featured-section .section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 16px;
}

.featured-section .title-line {
    width: 50px;
    height: 2px;
    background: #c0392b;
    margin: 0 auto 50px;
}

.featured-works-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Featured items: appear when scrolled into view */
.featured-work-item {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.6s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1);
    opacity: 0;
    transform: translateY(40px);
}

.featured-work-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.featured-work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.35s ease;
}

.featured-work-item:hover img {
    transform: scale(1.03);
}


/* ── CONTACT SECTION ── */
.contact-section {
    padding: 80px 20px 100px;
    color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: clamp(2rem, 3vw, 2rem);
    font-weight: 200;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 18px;
}

.divider {
    width: 80px;
    height: 1px;
    background: #888;
    margin: 0 auto 60px;
}

.contact-name {
    font-size: 1rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}



.contact-info {
    font-size: 1rem;
    color: #444;
    letter-spacing: 0.02em;
}

.contact-info a {
    color: #b71c1c;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #7f0000;
}

/* ── FOOTER ── */
.site-footer {
    background: #2b2b2b;
    color: #ccc;
    font-size: 0.8rem;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    letter-spacing: 0.01em;
}

.site-footer a {
    color: #ccc;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

/* ── SCROLL-TO-TOP BUTTON ── */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: #b71c1c;
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.scroll-top:hover {
    background: #7f0000;
}

@media (max-width: 600px) {
    .site-footer {
        flex-direction: column;
        text-align: center;
    }
}