/* =====================================================
D & F Remodeling LLC
2026 Brand Refresh
Navy • Green • White
CodeBreeze Solutions LLC
===================================================== */

/* ================= VARIABLES ================= */

:root {
--blue: #143B6B;
--blue-soft: #1D4F8C;
--green: #8CC63F;


--white: #FFFFFF;
--light: #F5F7F5;
--text: #333333;

--radius: 12px;


}

/* ================= RESET ================= */

* {
  box-sizing: border-box;
  }

body {
margin: 0;
font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
background: var(--white);
color: var(--text);
line-height: 1.6;
}

/* ================= HEADER ================= */

.site-header {
display: flex;
justify-content: space-between;
align-items: center;


padding: 0.75rem 2rem;

background: var(--blue);
border-bottom: 4px solid var(--green);

position: sticky;
top: 0;
z-index: 100;


}

.site-logo img {
display: block;
max-height: 75px;
width: auto;
}

/* ================= NAVIGATION ================= */

.site-nav {
display: flex;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
}

.site-nav a {
color: var(--white);
text-decoration: none;
font-size: 1rem;
font-weight: 700;


transition: color .25s ease,
            transform .25s ease;


}

.site-nav a:hover {
color: var(--green);
transform: translateY(-2px);
}

.site-nav .nav-cta {
    background: var(--green);
    color: var(--white) !important;

    padding: 12px 24px;
    border-radius: 999px;

    transition: .25s ease;
}

/* ================= HERO ================= */

.hero-logo {
    width: 300px;
    max-width: 90%;
    height: auto;
    margin: 0 auto .05rem;
    display: block;
}

.hero {
padding: 0;
}

.hero-overlay {
text-align: center;
padding: 1rem 1rem 0;
}

.hero h1 {
color: var(--blue);
font-size: clamp(2rem, 5vw, 4rem);
margin: 0;
}

.hero p {
color: #555;
font-size: 1.2rem;
margin-top: 1rem;
}

/* ================= HERO CTA ================= */

.hero-cta {
text-align: center;
margin-bottom: 3rem;
}

.hero-subtext {
margin-bottom: 1.5rem;
font-size: 1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

/* ================= BUTTONS ================= */

.btn {
display: inline-block;
text-align: center;

padding: 14px 28px;

border-radius: 999px;
text-decoration: none;
font-weight: 700;

transition: .25s ease;

background: var(--green);
color: var(--white);


}

.btn:hover {
background: #76B32E;
}

.btn-secondary {
background: transparent;
color: var(--blue);
border: 3px solid var(--blue);
}

.btn-secondary:hover {
background: var(--blue);
color: var(--white);
}

/* ================= GENERAL SECTIONS ================= */

.section {
max-width: 1200px;
margin: 0 auto;
padding: 4rem 1.5rem;
text-align: center;
}

.section.dark,
.section.gray {
max-width: none;
background: var(--light);
}

.section h1,
.section h2 {
color: var(--blue);
}

/* ================= GALLERY ================= */
/* ================= GALLERY ================= */

.gallery {
    max-width: 800px;
    margin: 2rem auto;
}

.gallery img {
    width: 100%;
    max-width: 800px;
    height: auto;

    display: block;
    margin: 0 auto;

    border-radius: var(--radius);

    box-shadow: 0 4px 12px rgba(0,0,0,.10);
}


/* ================= CARDS ================= */

.cards {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
gap: 2rem;
margin-top: 2rem;
}

.card {
padding: 2rem;
border-radius: var(--radius);


background: var(--white);

border: 1px solid #E5E5E5;

box-shadow: 0 4px 12px rgba(0,0,0,.05);


}

/* ================= SERVICES ================= */

.service-list {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
gap: 1.5rem;
margin-top: 2rem;
}

.service-item {
background: var(--white);


border-top: 4px solid var(--green);

padding: 1.5rem;

border-radius: var(--radius);

box-shadow: 0 4px 12px rgba(0,0,0,.05);


}

.service-item h3 {
color: var(--blue);
}

/* ================= ICONS ================= */

.icon {
color: var(--green);
font-weight: 700;
margin-bottom: 1rem;
}

/* ================= TESTIMONIALS ================= */

.testimonials {
background: var(--light);
text-align: center;
}

.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
gap: 1.5rem;
margin-top: 2rem;
}

.testimonial {
background: var(--white);
padding: 2rem;
border-radius: var(--radius);


box-shadow: 0 4px 12px rgba(0,0,0,.05);

}

.review-btn {
    display: inline-block;
    margin: 2rem auto 0;
}

.review-btn {
    background: var(--green);
    color: var(--white);
    border: none;
}

.review-btn:hover {
    background: #76B32E;
}

/* ================= ABOUT PAGE ================= */

.about-section {
max-width: 1000px;
margin: 0 auto;
padding: 4rem 1.5rem;
}

.about-container {
background: var(--white);


border-left: 5px solid var(--green);

border-radius: var(--radius);

padding: 2rem;

margin-bottom: 1.5rem;

box-shadow: 0 4px 12px rgba(0,0,0,.05);


}

.about-container h1,
.about-container h2 {
color: var(--blue);
text-align: center;
}

.about-button-container {
display: flex;
justify-content: center;
gap: 1rem;
flex-wrap: wrap;
}

/* ================= PORTFOLIO ================= */

.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}

.portfolio-item {
background: var(--white);
border-radius: var(--radius);
overflow: hidden;

box-shadow: 0 4px 12px rgba(0,0,0,.08);

}

.portfolio-item img {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
}

.portfolio-caption {
padding: 1rem;
text-align: center;
font-weight: 700;
color: var(--blue);
}


/* ================= CONTACT ================= */
.contact-container {
    text-align: center;
}

.contact-hero {
background: var(--blue);
}

.contact-link,
.contact-trust {
color: var(--blue);
}

.contact-map {
    text-align: center;
}

.contact-home {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ================= FOOTER ================= */

footer {
background: var(--blue);
color: var(--white);


padding: 2rem 1rem;
text-align: center;


}

footer a {
color: var(--white);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {


.site-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.site-nav {
    justify-content: center;
    gap: 1rem;
}

.hero h1 {
    font-size: 2rem;
}

.hero-buttons {
    flex-direction: column;
}

.btn {
    
    max-width: 320px;
}

}

@media (max-width: 768px) {

    .section .btn {
        min-width: 240px;
        text-align: center;
    }

}

@media (max-width: 768px) {

    .btn {
        min-width: 220px;
        padding: 14px 24px;
        font-size: .95rem;
    }

}

@media (max-width: 768px) {

    .section .btn {
        display: block;
        width: 240px;
        margin: 10px auto;
    }

}


