/* 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 {
    background: linear-gradient(120deg, #00a5cf, #00b4d8);
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
}
.hero h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Image inside hero section */
.hero img {
    max-width: 100%;
    height: auto;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 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;
}

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