:root {
    --primary-color: #28a745; /* New primary color (green) */
    --secondary-color: #6C757D; /* Secondary color (gray) */
    --accent-color: #FFC107; /* Accent color (yellow) */
    --background-color: #F8F9FA; /* Background color (light gray) */
    --text-color: #343A40; /* Text color (dark gray) */
    --white: #FFFFFF; /* White color */
    --light-gray: #E9ECEF; /* Light gray color */
    --dark-gray: #495057; /* Dark gray color */
    --box-shadow-color: rgba(0, 0, 0, 0.1); /* Box shadow color */
}

/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--box-shadow-color);
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .logo a:hover {
    color: var(--accent-color);
}

.logo {
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

#hero {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('/assets/banner/oakpark.avif') no-repeat center center;
    background-size: cover;
    min-height: 80vh;
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-text {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff7f50;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff5722;
}

.learn-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--secondary-color); /* Secondary color (dark gray) */
    color: var(--white); /* White text */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold; /* Make the text bold for better readability */
}

.learn-more-button:hover {
    background-color: var(--primary-color); /* Primary color (blue) */
    color: var(--white); /* Keep text white for contrast */
}

section {
    padding: 60px 20px;
    text-align: center;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

.lead {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

#introduction {
    background-color: var(--background-color);
    padding: 60px 20px;
    text-align: center;
}

#introduction h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--primary-color);
}

#introduction h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

#introduction .lead {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-section {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
    max-width: 600px;
    text-align: left;
    flex: 1;
}

.about-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.about-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
}
#services {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
}

#services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    color: var(--text-color);
}

#services h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-item {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--box-shadow-color);
}

.service-icon {
    background-color: var(--accent-color);
    padding: 20px;
    text-align: center;
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 3rem;
}

.service-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.service-details p {
    margin: 10px 0;
    color: var(--dark-gray);
    line-height: 1.6;
    text-align: center;
}

#why-choose-us {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--light-gray);
}

#why-choose-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

#why-choose-us h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

.why-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.why-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
    max-width: 300px;
    flex: 1;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--box-shadow-color);
}

.why-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.why-card p {
    margin: 0;
}

#rates {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--background-color);
}

#rates h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    position: relative;
}

#rates h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

.rates-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.rate-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
    min-width: 280px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.rate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--box-shadow-color);
}

.rate-icon {
    background-color: var(--accent-color);
    padding: 20px;
    text-align: center;
    color: var(--white);
    border-radius: 50%;
    margin-bottom: 20px;
}

.rate-icon i {
    font-size: 3rem;
}

.rate-details {
    text-align: left;
    width: 100%;
}

.rate-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-align: center;
}

.rate-details p {
    margin: 10px 0;
    color: var(--dark-gray);
    line-height: 1.6;
}

.rate-features {
    background-color: var(--light-gray);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--box-shadow-color);
    margin: 10px 0;
    list-style-type: none;
}

.rate-features li {
    margin: 5px 0;
    color: var(--text-color);
}

.book-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.book-button:hover {
    background-color: var(--secondary-color);
}

.rates-footnote {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}


.pricing-page-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pricing-page-button:hover {
    background-color: var(--secondary-color);
}


footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
    font-size: 1rem;
    border-top: 5px solid var(--accent-color);
}

footer p {
    margin: 10px 0;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
    font-weight: bold;
}

footer a:hover {
    color: var(--primary-color);
}

footer a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

#contact {
    background-color: var(--light-gray);
    padding: 60px 20px;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

#contact h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--box-shadow-color);
}

.form-group {
    width: 100%;
    margin-bottom: 15px;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: bold;
    text-align: left;
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    background-color: var(--accent-color);
    color: black;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

button:hover {
    background-color: #e0a800;
}

#contact p {
    margin-top: 20px;
    font-size: 1rem;
    color: var(--text-color);
}

#latest-blog {
    background-color: var(--light-gray);
    padding: 60px 20px;
    text-align: center;
}

#latest-blog h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

#latest-blog h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 10px auto;
}

.blog-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.blog-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 0 20px var(--box-shadow-color);
    max-width: 300px;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--box-shadow-color);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-details {
    padding: 20px;
}

.blog-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.blog-details p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.read-more {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #e0a800;
}

.contact-intro {
    max-width: 600px;
    margin: 0 auto 20px auto;
    text-align: center;
    font-size: 1.1rem;
}

.call-button {
    display: none; /* Hidden by default */
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color);
        position: absolute;
        top: 60px;
        left: 0;
        padding: 0;
    }

    .call-button {
        display: flex; /* Visible on mobile devices */
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: var(--primary-color);
        color: var(--white);
        border-radius: 50%;
        box-shadow: 0 4px 6px var(--box-shadow-color);
        text-decoration: none;
        transition: background-color 0.3s ease;
        z-index: 1000;
    }

    .call-button:hover {
        background-color: var(--accent-color);
    }

    .call-button i {
        font-size: 1.5rem;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 10px 0;
    }

    .burger {
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
    }



    .services-content {
        grid-template-columns: 1fr;
    }
    .why-content {
        flex-direction: column;
    }

    .why-card {
        max-width: 100%;
    }
    .rates-content {
        flex-direction: column;
        align-items: center;
    }

    .rate-card {
        width: calc(100% - 40px);
    }


    form {
        padding: 25px;
    }

    button {
        padding: 10px 20px;
    }

    textarea {
        height: 80px;
    }

    #introduction .lead {
        font-size: 1.2rem;
    }


    .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-section {
        padding: 15px;
        text-align: center;
    }
    
}
