/* Base Styles & Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f4f7f6; /* Very light slate gray to compliment blue */
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 2rem 0;
}

/* Colors pulled from logo */
.bg-light { background-color: #ffffff; }
.bg-primary { background-color: #082e4a; } /* Deep Navy */
.text-white { color: #ffffff; }
.text-center { text-align: center; }
.mt-3 { margin-top: 30px; }

/* Typography */
h1, h2, h3 { margin-bottom: 1rem; color: #111; }
.bg-primary h2, .bg-primary p, .bg-primary h3 { color: #fff; }
p { margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2.5rem; color: #082e4a; border-bottom: 3px solid #008bb5; display: inline-block; padding-bottom: 0.5rem;}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: background 0.3s, transform 0.2s;
}
.primary-btn { background: #008bb5; color: #fff; } /* Water blue accent */
.primary-btn:hover { background: #006f91; transform: translateY(-2px); }
.large-btn { background: #008bb5; color: #fff; font-size: 1.2rem; padding: 15px 30px; }
.large-btn:hover { background: #006f91; transform: translateY(-3px); }
.submit-btn { background: #008bb5; color: #fff; width: 100%; font-size: 1.2rem; padding: 15px; margin-top: 10px;}
.submit-btn:hover { background: #006f91; }

/* Header & Logo */
header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}
.logo-link-header { text-decoration: none; }
.logo-text-header {
    font-weight: bold;
    font-size: 1.8rem;
    color: #082e4a;
    border-left: 5px solid #008bb5;
    padding-left: 10px;
}
.phone-link { font-weight: bold; color: #082e4a; text-decoration: none; margin-right: 20px; font-size: 1.1rem; }

/* Hero Section (Split Layout with Integrated Logo) */
.hero-split {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1584985223049-5eb2bdabf92d?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    border-bottom: 5px solid #008bb5;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 4rem 0;
}
.hero-text { flex: 3; }
.hero-image-logo { flex: 2; text-align: center; }
.hero h2 { color: #082e4a; font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; color: #555; max-width: 700px; margin: 0 0 2rem 0; }
.hero p strong { color: #082e4a; }
.integrated-logo {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

/* Project Gallery Styling (Advanced 2x2 Pairs) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.gallery-pair {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.gallery-item {
    flex: 1;
    min-width: 45%;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    border: 3px solid #f4f4f4;
}
.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}
/* Before/After Labels */
.label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 10;
    text-transform: uppercase;
}
.before-label { background-color: #e74c3c; } /* Red for Before */
.after-label { background-color: #27ae60; } /* Green for After */
.project-desc {
    flex: 1 1 100%;
    padding-top: 10px;
    font-size: 0.95rem;
    color: #555;
    border-top: 1px solid #eee;
    text-align: center;
}

/* Grids & Standard Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-top: 4px solid #082e4a;}
.service-box { background: rgba(255,255,255,0.1); padding: 30px; border-radius: 8px; text-align: center; border: 1px solid rgba(255,255,255,0.2); }

/* FIXED: Rates Notice Contrast */
.rates-notice { margin-top: 40px; padding: 30px; background: #e6f4f9; border-radius: 8px; border-left: 5px solid #008bb5;}
.rates-notice h3, .rates-notice p { color: #082e4a !important; } /* Forces text to be dark navy */

/* FAQ */
.faq-list { max-width: 800px; margin: auto; }
.faq-item { background: #fff; margin-bottom: 15px; padding: 20px; border-radius: 5px; border-left: 4px solid #008bb5; box-shadow: 0 2px 4px rgba(0,0,0,0.05);}
.faq-item h4 { color: #082e4a; margin-bottom: 10px; font-size: 1.2rem;}

/* Forms */
.form-container { max-width: 700px; margin: auto; }
.contact-form { background: #fff; padding: 30px; border-radius: 8px; color: #333; box-shadow: 0 5px 15px rgba(0,0,0,0.2);}
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; color: #082e4a; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #008bb5; box-shadow: 0 0 5px rgba(0, 139, 181, 0.3); }

/* Footer */
footer { background: #111; color: #ccc; padding: 2rem 0; font-size: 0.9rem; border-top: 5px solid #008bb5; }

/* Mobile Responsiveness */
@media(max-width: 768px) {
    .header-container { flex-direction: column; text-align: center; gap: 15px;}
    .hero-container { flex-direction: column-reverse; text-align: center; padding: 2rem 0; }
    .hero h2 { font-size: 2.2rem; }
    .integrated-logo { max-height: 250px; }
    .grid-3, .grid-2, .gallery-grid { grid-template-columns: 1fr; }
    .gallery-img { height: 250px; }
    .gallery-item { min-width: 100%; }
    .phone-link { display: block; margin: 0 0 10px 0; }
}