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

/* Body and Font Settings */
body {
    font-family: 'Roboto', sans-serif;
    color: #FFFFFF;
    background-color: #303841; /* Dark background to match the logo */
    line-height: 1.6;
    font-size: 16px;
}

/* Links */
a {
    color: #FFA14A;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
header {
    background-color: #303841;
    padding: 15px 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

header .logo img {
    width: 120px; /* Adjust size as needed */
}

header nav ul {
    display: flex;
    gap: 25px;
}

header nav ul li a {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFFFFF;
    font-weight: normal;
    padding: 8px 0;
    font-size: 1.2em;
    letter-spacing: 1px;
}

header .contact-info a {
    color: #FFA14A;
    font-weight: bold;
    margin-left: 10px;
}

/* Header Icons */
.contact-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-icons .icon {
    color: #FFA14A; /* Matches the brand’s orange color */
    font-size: 1.2em;
    transition: color 0.3s;
}

.contact-icons .icon:hover {
    color: #FFFFFF; /* Changes to white on hover */
}

.contact-icons .icon i {
    vertical-align: middle;
}

/* Mobile contact icons */
.mobile-contact-icons {
    display: none;
}

.mobile-contact-icons .icon {
    color: #FFA14A;
    font-size: 1.2em;
    transition: color 0.3s;
}

.mobile-contact-icons .icon:hover {
    color: #FFFFFF;
}

.mobile-contact-icons .icon i {
    vertical-align: middle;
}

/* Hero Section */
.hero {
    background: url('images/tree-stump-grinding-1920w.webp') no-repeat center center/cover;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4em;
    color: #FFA14A;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8),
                 -1px -1px 0 rgba(0, 0, 0, 0.8),  
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8);
}

.hero p {
    font-size: 1.5em;
    color: #FFFFFF;
    margin: 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero .btn {
    background-color: #FFA14A;
    color: #333A42;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 15px;
}

/* Section Headings */
h2 {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFA14A;
    font-size: 2.4em;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* Section Styling */
section {
    padding: 50px 20px;
    text-align: center;
}

/* Override center alignment for FAQs */
.faqs {
    text-align: left;
}

/* Services */
.services .service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.services .service-item {
    background: linear-gradient(145deg, #3D454D 0%, #363D44 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.services .service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.services .service-icon {
    font-size: 2.5em;
    color: #FFA14A;
    margin-bottom: 20px;
}

.services .service-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFA14A;
    font-size: 1.8em;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.services .service-item p {
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services .service-list {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .services .service-item {
        padding: 25px;
    }
}

/* Gallery */
.gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding: 10px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.close {
    position: fixed;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #FFA14A;
}

/* Reviews */
.reviews .review-item {
    background-color: #3D454D;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 20px;
}

/* FAQs Section */
.faqs {
    padding: 50px 20px;
    background-color: #2B2F36; /* Matches page background */
}

.faqs h2 {
    text-align: center;
}

.faq-item {
    background-color: #3D454D;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

.faq-item h3 {
    font-family: 'Bebas Neue', sans-serif;
    color: #FFA14A;
    font-size: 1.6em;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.faq-item p, .faq-item ul {
    color: #CCCCCC;
    line-height: 1.6;
}

.faq-item ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #FFFFFF;
}

.faq-item ul li::marker {
    color: #FFA14A;
}

.faq-item:hover {
    background-color: #4A525C;
}


/* Areas Section */
.map-container {
    max-width: 280px;
    margin: 30px auto 0;
}

.map-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.map-image:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Contact Section */
.contact .contact-details, .contact .social-media {
    color: #CCCCCC;
    margin: 20px 0;
}

.contact .contact-details a {
    color: #FFA14A;
}

/* Social Media Links */
.social-media a {
    margin: 0 10px;
    color: #FFA14A;
}

.social-media a i {
    margin-right: 5px;
}

.social-media a:hover {
    color: #FFFFFF;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #333A42;
    padding: 25px 0;
    text-align: center;
}

.review-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.review-btn:hover {
    text-decoration: none;
}

.google-review-btn {
    background-color: #FFA14A;
    color: #333A42;
}

.google-review-btn:hover {
    background-color: #ff8c1a;
}

.google-review-btn i {
    margin-right: 8px;
}

.bark-review-btn {
    background-color: #4285f4;
    color: #FFFFFF;
}

.bark-review-btn:hover {
    background-color: #3367d6;
}

footer p {
    color: #CCCCCC;
    font-size: 0.9em;
}

footer .payment-methods, footer .certifications {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

footer img {
    width: 40px;
}

/* Back to Top Button */
.back-to-top {
    display: block;
    width: 120px;
    text-align: center;
    margin: 20px auto;
    padding: 10px;
    background-color: #FFA14A;
    color: #333A42;
    border-radius: 5px;
    font-weight: bold;
}

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
    margin-left: auto;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #FFA14A;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Active burger menu states */
.burger.active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.active .line2 {
    opacity: 0;
}

.burger.active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        position: relative;
    }

    .burger {
        position: absolute;
        right: 20px;
        display: block;
        z-index: 2;
    }

    header nav {
        width: 100%;
    }

    header nav ul {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background-color: #303841;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transition: right 0.5s ease;
        z-index: 1;
        padding: 20px;
    }

    .contact-icons {
        display: none;
    }

    .mobile-contact-icons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }

    header nav ul.active {
        right: 0;
    }

    header nav ul li {
        margin: 20px 0;
    }

    header .contact-icons {
        z-index: 2;
    }

    header .container, .hero, .about, .services, .areas, .gallery, .reviews, .faqs, .contact, footer {
        padding: 20px;
    }

    .services .service-list {
        flex-direction: column;
        align-items: center;
    }

    .gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
}
