/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #dedcf2;
    color: #333; /* Text color */
}

a {
    text-decoration: none;
    color: #001e45; /* Links color */
}

/* Header */
header {
    background-color: #000a17; /* Incorporate the logo color-variant*/
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

header .logo img {
    height: 200px; /* Adjust the height as needed */
    margin-right: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    position: relative;
    padding: 2px 0;
    transition: color 0.2s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ff6600;
    transition: width 0.2s ease;
}

nav ul li a:hover {
    color: #ff6600;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    /* Background image removed — use a solid fallback color to avoid mixed-content/404 issues */
    background-color: #001e45;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

/* Shared CTA button used for estimate and primary actions across the site */
.cta-button {
    background-color: #ff6600; /* primary CTA color */
    border: none;
    color: #fff;
    padding: 12px 24px; /* consistent size */
    cursor: pointer;
    font-size: 1rem;
    border-radius: 6px; /* shape */
    transition: background-color 0.2s ease, transform 0.08s ease;
}

.cta-button:hover {
    background-color: #cc5200; /* slightly darker on hover */
    transform: translateY(-1px);
}

/* Contact action buttons (call / text / email) - compact, button-like links */
.contact-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ff6600; /* match CTA color */
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1;
    transition: background-color 0.15s ease, transform 0.06s ease;
}

.contact-link svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: block;
}

.contact-link:hover,
.contact-link:focus {
    background-color: #cc5200;
    transform: translateY(-1px);
    outline: none;
}

.contact-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(204,82,0,0.18);
}

/* Introduction, Services, Testimonials, Contact Sections */
/* Section Backgrounds with Grey Tones */
.introduction {
    background-color: #f8f8f8; /* Light grey background */
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services {
    background-color: #cbd1fb; /* Slightly darker grey background */
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact {
    background-color: #cbd1fb; /* Light grey background */
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Contact Section Logo */
.contact .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.contact .logo img {
    height: 100px; /* Adjust the height as needed */
}

.introduction h2 {
    color: #001e45; /* Section title color */
}

.services .service {
    margin: 20px 0;
}

.services .service h3 {
    color: #001e45; /* Service title color */
}

/* Contact Section Logo */
.contact .logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.contact .logo img {
    height: 100px; /* Adjust the height as needed */
}

.contact form {
    display: flex;
    flex-direction: column;
}

.contact form label {
    margin: 10px 0 5px;
    color: #001e45; /* Label color */
}

.contact form input, .contact form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* If contact forms use buttons, prefer re-using .cta-button for consistent styling. */

.map iframe {
    width: 100%;
    border: none;
    margin-top: 20px;
}
/* Additional Section Styling */
section {
    padding: 40px 20px;
    margin: 20px 0;
    background-color: #f8f8f8; /* Light grey background for all sections */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

section h2 {
    margin-bottom: 20px;
    color: #001e45; /* Section title color */
}

section p {
    margin-bottom: 20px;
}

/* Styling for individual service blocks */
.services .service {
    background-color: #e2e4f4; /* Slight variation for service blocks */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.services .service h3 {
    color: #001e45; /* Service title color */
}



/* Footer */
footer {
    background-color: #001e45; /* Incorporate the logo color */
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer .footer-logo {
    margin-bottom: 10px;
}

footer .footer-logo img {
    height: 50px; /* Adjust the height as needed */
}

footer .footer-links, footer .social-media {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    position: relative;
    padding: 2px 0;
    transition: color 0.2s ease;
}

footer .footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #ff6600;
    transition: width 0.2s ease;
}

footer .footer-links a:hover {
    color: #ff6600;
}

footer .footer-links a:hover::after {
    width: 100%;
}

footer .social-media img {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .social-media img {
    width: 24px;
    height: 24px;
}

footer .social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

footer .social-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .cta-button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    .introduction, .services, .our-promise, .contact {
        padding: 20px 10px;
        margin: 10px;
    }

    .service, .our-promise .promise {
        margin: 10px 0;
        flex-direction: column; /* Stack items vertically */
    }

    .our-promise .promise p {
        flex: 1 1 100%; /* Ensure items take full width */
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    footer {
        padding: 10px 0;
    }

    footer .footer-links, footer .social-media {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Contact Section Logo for Mobile */
    .contact img {
        height: auto; /* Ensure the height auto adjusts */
        max-width: 100%; /* Ensure the image doesn't exceed the container width */
    }

    /* Hide contact button text but keep icons on very small screens */
    .contact-link span {
        display: none;
    }

    .contact-link {
        padding: 8px; /* make buttons square when only showing icons */
    }
}
