/* --- 1. GLOBAL RESET AND STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9; /* Very light gray for the body background */
    color: #333;
}

/* Color Palette */
:root {
    --primary-blue: #007bff; /* Bright action blue */
    --dark-blue: #2b2b6b; /* Dark navy for text and background */
    --light-gray: #e9ecef;
    --text-dark: #333;
    --text-light: #fff;
}

/* --- 2. NAVIGATION BAR (The dark bar on top) --- */
.navbar-container {
    background-color: var(--dark-blue);
    padding: 15px 0;
}

.navbar {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content:   center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s;
}


.nav-link:hover {
    color: var(--primary-blue);
}

/* --- 3. HERO SECTION (The main visual block) --- */
.hero-container {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('plumbing-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 10px 0;
    text-align: center;
}

.hero-content {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Flex is used for desktop layout */
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: left;
	text-align: left;
}

.hero-logo {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

.hero-right {
    flex: 2;
    text-align: left;
    padding-left: 50px;
}

.hero-headline {
    font-size: 2.5em;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-weight: 800;
}

.hero-subtext {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #555;
}


.entry-content ul {
    list-style: none;
	text-decoration: none;
}
.entry-content  ul li:before {
    content: '✓ ';
    color: #000;
    text-decoration: none;
  }
}
 
/* Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s, opacity 0.3s;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border: 2px solid var(--primary-blue);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary:hover {
    background-color: var(--light-gray);
}


/* --- 4. HIGHLIGHTS SECTION (3-column layout) --- */
.highlights-container {
    padding: 30px 0;
    background-color: var(--text-light);
    border-top: 1px solid var(--light-gray);
}

.highlights-grid {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Flex is used for desktop 3-column layout */
    gap: 30px;
    justify-content: space-between;
}

.highlight-card {
    flex: 1;
    padding: 30px;
    text-align: center;
    background-color: var(--text-light);
}

.icon-circle {
    font-size: 2em;
    color: var(--primary-blue);
    padding: 15px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.4em;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.highlight-card p, .highlight-card ul {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
    text-align: left;
    padding-left: 0;
}

.highlight-card ul {
    list-style-type: none;
    margin-left: 20px;
}

.highlight-card ul li {
    margin-bottom: 8px;
    position: relative;
}

.highlight-card ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary-blue);
    margin-right: 10px;
}

.card-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.text-blue {
    color: var(--primary-blue);
    font-weight: bold;
}

/* Testimonial specific styling */
.testimonial-box {
    background-color: var(--light-gray);
    border-left: 4px solid var(--primary-blue);
    padding: 15px;
    text-align: left;
    margin-top: 20px;
}
.testimonial-box .quote {
    font-style: italic;
    margin-bottom: 5px;
}
.testimonial-box .author {
    font-weight: bold;
    font-size: 0.9em;
    color: var(--dark-blue);
    text-align: right;
}

/* --- 5. FOOTER --- */
.footer {
    background-color: var(--dark-blue);
    color: var(--light-gray);
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* --- New Star Rating Styles --- */

.star-rating {
    margin: 10px 0;
    color: var(--primary-blue); /* Sets the stars to your primary blue color */
    font-size: 1.1em;
}

.testimonial-box .star-rating {
    text-align: center; /* Center the stars above the quote */
    margin-bottom: 15px;
	color: #FFD700; /* Sets the stars to a standard gold color */
    /* Alternatively, you could use 'gold' or '#DAA520' (Goldenrod) */
    
    font-size: 1.1em;
}

/* --- CONTACT PAGE STYLES --- */

/* Adapt the Hero container for the contact form layout */
.contact-form-container {
    /* Change from the logo/text split to a info/form split */
    display: flex; 
    flex-direction: row; 
    align-items: flex-start; /* Align content to the top */
    gap: 50px;
    padding: 60px;
}

.contact-info {
    flex: 1;
    color: var(--dark-blue);
}

.contact-info h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.contact-info i {
    color: var(--primary-blue);
    margin-right: 10px;
}

/* Form Styles */
.contact-form {
    flex: 1.2; /* Give the form slightly more space than the info column */
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-size: 1.6em;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
}

.contact-form .btn-primary {
    margin-top: 25px;
    width: 100%;
    border: none;
    cursor: pointer;
}


/* MOBILE MEDIA QUERY FOR CONTACT PAGE */
@media (max-width: 800px) {
    .contact-form-container {
        flex-direction: column;
        padding: 30px 20px;
    }

    .contact-info {
        text-align: center;
    }
    .contact-info p {
        text-align: center;
    }
}
/* ==================================== */
/* 6. MOBILE RESPONSIVENESS (MEDIA QUERIES) */
/* ==================================== */

/* Tablet & Smaller Screens (Max Width 992px) */
@media (max-width: 992px) {
    .navbar {
        width: 90%;
        justify-content: center; /* Center the navigation links */
        gap: 20px;
    }

    /* Adjust the Hero content layout for smaller screens */
    .hero-content {
        width: 90%;
        padding: 40px 20px;
        /* Stack logo and text vertically */
        flex-direction: column;
        text-align: center;
    }

    .hero-left, .hero-right {
        padding-left: 0; /* Remove left padding */
        text-align: center;
    }

    .hero-logo {
        width: 200px;
        height: 200px;
        margin-bottom: 30px; /* Space between logo and text */
    }

    .hero-headline {
        font-size: 2em; /* Slightly smaller headline */
    }

    /* Stack buttons vertically if they can't fit well side-by-side */
    .hero-buttons {
        justify-content: center;
    }

    /* Change Highlights to 2 columns on tablets */
    .highlights-grid {
        width: 90%;
        flex-wrap: wrap; /* Allow wrapping */
    }

    .highlight-card {
        flex: 1 1 calc(50% - 20px); /* Two cards per row with gap */
    }
}

/* Mobile Phone Screens (Max Width 600px) */
@media (max-width: 600px) {
    .navbar {
        flex-wrap: wrap; /* Wrap links onto a new line if necessary */
        gap: 10px 15px;
        padding: 10px 0;
    }

    .nav-link {
        font-size: 0.9em;
    }

    .hero-container {
        padding: 50px 0;
    }

    .hero-headline {
        font-size: 1.6em; /* Smaller headline for phones */
    }

    .hero-subtext {
        font-size: 1em;
    }

    /* Stack buttons vertically on phones */
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 300px; /* Constrain button width */
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    /* Change Highlights to 1 column on phones */
    .highlights-grid {
        flex-direction: column;
        gap: 20px;
    }

    .highlight-card {
        flex: 1 1 100%; /* Full width for each card */
    }
}