/* Main stylesheet for Montego Bay Pool Cleaning site */

/* Reset and typography */
*, *:before, *:after {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: #222;
    background-color: #f7fafc;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
h1, h2, h3 {
    margin-top: 0;
    color: #006d77;
}

/* Navigation */
nav {
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
nav ul {
    margin: 0;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1.5rem;
}
nav li {
    font-weight: bold;
    color: #006d77;
}
nav li a:hover {
    color: #83c5be;
}

/* Hero section */
/* Hero section with background image and overlay */
.hero {
    background: url('https://upload.wikimedia.org/wikipedia/commons/3/3d/Pool-cleaner.jpg') center/cover no-repeat;
    position: relative;
    color: #fff;
    padding: 6rem 1rem;
    text-align: center;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    color: #f1f1f1;
}

/* Call-to-action button */
.cta-button {
    display: inline-block;
    background: #00a896;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}
.cta-button:hover {
    background: #007f77;
}

/* Generic sections */
section {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}
section:nth-child(even) {
    background-color: #eaf7fb;
}

/* Services list */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.service-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.service-item:hover {
    transform: translateY(-4px);
}

/* Areas list */
.areas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}
.area-item {
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    text-align: center;
}

/* Contact section */
.contact-details {
    text-align: center;
    margin-bottom: 2rem;
}
.contact-details p {
    margin: 0.5rem 0;
}
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}
.contact-form button {
    background: #006d77;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form button:hover {
    background: #00a896;
}

/* Testimonials section */
#testimonials {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.testimonial {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-style: italic;
}
.testimonial .client-name {
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: bold;
    color: #006d77;
}

/* Footer */
footer {
    background: #003d5b;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
}
