/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
}

/* Navigation Bar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #325D01;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .logo a {
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
}


.navbar .nav-links {
    display: flex;
    list-style: none;
}

.navbar .nav-links li {
    margin: 0 15px;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

/* Hamburger Menu (hidden on large screens) */
.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    justify-content: space-between;
}

.hamburger .line {
    background-color: white;
    height: 3px;
    width: 100%;
}

/* Hero Section */
.hero {
    #background-image: url('https://rotatechproducts.com/cdn/shop/articles/How-To-Fell-A-Tree-Safely_8925ae6f-69f1-4758-a1e6-a08417537a71.jpg?v=1738766492&width=950'); /* Replace with your image */
    background-image: url(./option1.jpeg); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    padding-top: 60px; /* To avoid overlap with navbar */
}

.hero .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .cta-button {
    background-color: #325D01;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}
.contact .cta-button {
    background-color: #325D01;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
}

.hero .bottom-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.hero .bottom-nav a {
    margin: 0 10px;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

/* About Section */
.about {
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    color: #555;
}

/* Services Section */
.services {
    padding: 50px;
    background-color: #e9e9e9;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.services ul {
    list-style-type: none;
}

.services li {
    font-size: 1.5rem;
    margin: 10px 0;
}

/* Contact Section */
.contact {
    padding: 50px;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2rem;
    color: #555;
    margin: 10px 0;
}

.contact-info a {
    text-decoration: none;
}

.facebook-link {
    display: inline-block;
    margin-top: 10px;
}

.facebook-icon {
    width: 30px;
    height: 30px;
    margin-left: 10px;
}

/* Optional: Hover effect for Facebook icon */
.facebook-icon:hover {
    opacity: 0.8;
}


/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

footer a {
    color: #07c;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #333;
        width: 200px;
        padding: 20px;
        box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .menu-toggle:checked + .hamburger + .nav-links {
        display: flex;
    }

    .hero .bottom-nav {
        display: none;
    }
}

