/* Reset CSS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 1s ease-in-out; /* Add transition for background image */
    animation: backgroundAnimation 200s infinite; /* Oscillate every 36 seconds (6 seconds for each background) */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5); /* Light semi-transparent overlay */
    backdrop-filter: blur(3px);
    z-index: -1;
}

header {
    background: rgba(0, 100, 0, 0.7);
    color: #fff;
    padding: 0.3rem 0;
    text-align: center;
    position: relative;
}

header .logo {
    max-width: 100%;
    height: auto;
    width: 180px; /* Adjust width as needed */
    margin: 0 auto;
    display: block;
    filter: invert(100%); /* Invert colors */
}

header h1 {
    margin: 0.5rem 0;
}

header p {
    margin: 0.25rem 0; /* Reduced margin */
}

header .contact-info {
    margin-top: 0rem;
}

header .contact-info a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-flex; /* Display social media links in the same line */
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

header .contact-info a:not(:last-child) {
    margin-right: 2rem; /* Add margin between social media links */
}

header .contact-info i {
    margin-right: 0.5rem;
}

/* Add the separator style */
.separator {
    border-top: 2px solid #fff;
    margin: 0rem auto; /* Adjust margin as needed */
    width: 100%; 
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.section-container {
    max-width: 800px;
    width: 100%;
}

.content-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    margin: 1rem 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#services ul {
    list-style: none;
    padding: 0;
}

#services ul li {
    background: #e0f7da;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-left: 5px solid #48a868;
    cursor: pointer; /* Make items clickable */
}

#services ul li .description {
    display: none;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

form {
    display: grid;
    gap: 0.5rem; /* Reduced gap between form elements */
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

form button {
    background: #48a868;
    color: #fff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

form button:hover {
    background: #3a8355;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Add keyframes for background animation */
@keyframes backgroundAnimation {
    0%, 100% { background-image: url('background_garden.jpg'); } /* 0-6 seconds and 30-36 seconds */
    16.67% { background-image: url('background_garden1.jpg'); } /* 6-12 seconds */
    33.33% { background-image: url('background_garden2.jpg'); } /* 12-18 seconds */
    50% { background-image: url('background_garden3.jpg'); } /* 18-24 seconds */
    66.67% { background-image: url('background_wash.jpg'); } /* 24-30 seconds */
    83.33% { background-image: url('background_wash2.jpg'); } /* 30-36 seconds */
}

/* Define the background images */
body {
    background-image: url('background_garden.jpg'); /* Default background image */
}
