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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c24 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #a8d26d;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(45, 80, 22, 0.7), rgba(74, 124, 36, 0.7)),
                url('/portfolio-site/Lawncare-Mockup/photos/hero.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    background: #a8d26d;
    color: #2d5016;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(168, 210, 109, 0.3);
}

.cta-button:hover {
    background: #95c255;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 210, 109, 0.4);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 100px;
    height: 4px;
    background: #a8d26d;
    display: block;
    margin: 1rem auto;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #a8d26d, #4a7c24);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a8d26d, #4a7c24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #2d5016;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.8), rgba(74, 124, 36, 0.8));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #2d5016, #4a7c24);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

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

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-item strong {
    font-size: 1.3rem;
}

/* Footer */
.footer {
    background: #1a2f0d;
    color: white;
    text-align: center;
    padding: 2rem;
}

/* Mobile scroll hint - hidden by default */
.mobile-scroll-hint {
    display: none;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    /* Show mobile scroll hints */
    .mobile-scroll-hint {
        display: block;
    }

    /* Mobile Services - Horizontal Scroll */
    .services {
        padding: 3rem 1rem;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none; /* Override desktop grid */
        margin-top: 1rem; /* Override desktop margin */
    }

    .service-card {
        flex: 0 0 280px;
        scroll-snap-align: start;
        margin-right: 1rem;
    }

    .services-grid::-webkit-scrollbar {
        height: 8px;
    }

    .services-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .services-grid::-webkit-scrollbar-thumb {
        background: #a8d26d;
        border-radius: 10px;
    }

    .services-grid::-webkit-scrollbar-thumb:hover {
        background: #95c255;
    }

    /* Mobile Gallery - Horizontal Scroll */
    .gallery {
        padding: 3rem 1rem;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding: 1rem 0;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none; /* Override desktop grid */
        margin-top: 1rem; /* Override desktop margin */
    }

    .gallery-item {
        flex: 0 0 280px;
        scroll-snap-align: start;
        margin-right: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .gallery-grid::-webkit-scrollbar {
        height: 8px;
    }

    .gallery-grid::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .gallery-grid::-webkit-scrollbar-thumb {
        background: #4a7c24;
        border-radius: 10px;
    }

    .gallery-grid::-webkit-scrollbar-thumb:hover {
        background: #2d5016;
    }

    /* Mobile Contact Info */
    .contact {
        padding: 3rem 1rem;
    }

    .contact-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    /* Mobile Hero adjustments */
    .hero-content {
        padding: 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Mobile section titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}