/* --- BASE STYLES & LIGHT THEME --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa; /* Light grey background */
    color: #4a4a4a; /* Dark slate text */
    line-height: 1.6;
}

h1, h2, h3, h4 {
    color: #2b2b2b; /* Darker slate for headings */
}

/* --- HEADER & NAVIGATION (Side-by-Side Layout) --- */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-container img {
    height: 70px; /* Adjust based on your logo file */
    width: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #8cc63f; /* Match the logo green */
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    background-color: #8cc63f;
    color: #ffffff;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #7ab332;
    transform: translateY(-2px);
    color: #ffffff;
}

/* --- HERO SECTIONS --- */
.hero {
    /* Replace this URL with your actual house image */
    background: linear-gradient(rgba(43, 43, 43, 0.7), rgba(43, 43, 43, 0.7)), 
                url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
    padding: 120px 5%;
    text-align: left;
}

.hero-content {
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h2 span {
    color: #8cc63f;
}

.hero p {
    font-size: 1.2rem;
    color: #f0f0f0;
    margin-bottom: 30px;
}

/* Sub-page Hero */
.page-hero {
    background-color: #2b2b2b;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0 50 L50 0 L100 50 Z" fill="none" stroke="%233a3a3a" stroke-width="1"/></svg>');
    padding: 60px 5%;
    text-align: center;
    border-bottom: 5px solid #8cc63f;
}

.page-hero h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.1rem;
    color: #cccccc;
    max-width: 700px;
    margin: 0 auto;
}

/* --- INFO BAR (Under Hero) --- */
.info-bar {
    display: flex;
    background-color: #8cc63f;
    color: white;
}

.info-box {
    flex: 1;
    padding: 20px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.2);
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.info-box:last-child { border-right: none; }
.info-box.dark { background-color: #4a4a4a; }

/* --- LAYOUT & CONTAINERS --- */
.container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #8cc63f;
}

/* --- HOME PAGE SERVICES GRID --- */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #8cc63f;
}

.card h3 {
    color: #2b2b2b;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #666666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    display: inline-block;
    color: #8cc63f;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.card-link:hover {
    color: #4a4a4a;
}

/* --- SUB-PAGE CONTENT --- */
.content-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 40px;
}

.content-section h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-left: 4px solid #8cc63f;
    padding-left: 15px;
}

.content-section p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.content-section ul {
    list-style: none;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 10px;
}

.content-section ul li::before {
    content: "■";
    color: #8cc63f;
    position: absolute;
    left: -15px;
    font-size: 0.8rem;
    top: 4px;
}

/* --- IMAGE GALLERY (OUR WORK) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    color: #2b2b2b;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #2b2b2b;
    padding: 60px 5%;
    color: #ffffff;
    text-align: center;
}

.contact-section h2 {
    color: #ffffff;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.info-item {
    background: #3a3a3a;
    padding: 30px;
    border-radius: 8px;
    min-width: 250px;
}

.info-item span.label {
    color: #8cc63f;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.info-item a, .info-item strong {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #8cc63f;
}

/* --- FOOTER --- */
footer {
    background-color: #1a1a1a;
    text-align: center;
    padding: 30px 5%;
    color: #888888;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; }
    nav { flex-wrap: wrap; justify-content: center; }
    .hero h2 { font-size: 2.2rem; }
    .info-bar { flex-direction: column; }
    .info-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
}