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

/* Modern Reviews Section */
.reviews {
    /* Deep Green Gradient Background to match brand */
    background: linear-gradient(135deg, #325D01 0%, #1e3c00 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* The Glass Card */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    padding: 40px;
    
    /* Translucent Effect */
    background: rgba(255, 255, 255, 0.1); /* 10% opaque white */
    backdrop-filter: blur(10px); /* Blurs the background behind the card */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.review-slide {
    display: none;
    animation: fade 0.6s ease-in-out;
}

.review-slide.active {
    display: block;
}

/* Big Quote Icon */
.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    display: block;
}

.review-text {
    font-size: 1.4rem;
    font-style: italic;
    color: #f1f1f1;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 300;
}

.review-author {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modern Arrows */
.carousel-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    user-select: none;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.carousel-dots {
    margin-top: 25px;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #fff;
    transform: scale(1.2);
}

@keyframes fade {
    from {opacity: 0; transform: translateY(10px);} 
    to {opacity: 1; transform: translateY(0);}
}

/* Mobile Tweak */
@media (max-width: 600px) {
    .carousel-btn {
        display: none; /* Hide arrows on small screens, rely on swipe/dots */
    }
    .review-text {
        font-size: 1.1rem;
    }
}