
/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}
/* Import Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    animation: fadeIn 0.8s ease-out;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
main {
    padding-top: 80px;
}

section {
    scroll-margin-top: 80px;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
h1, h2, h3 {
    color: #2e7d32;
    font-weight: 600;
    letter-spacing: -0.025em;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
    text-align: center;
}
h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}
/* Hero Section */
.hero {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    text-align: center;
    background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                      url('http://static.photos/garden/1200x630/42');
    background-size: cover;
    background-position: center;
}
.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    width: 100%;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.service-card {
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}
.service-card i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
/* About Section */
.about {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-features {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}
.feature i {
    color: #2e7d32;
}
/* Video Section */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}
/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.gallery-overlay h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    color: #ddd;
    font-size: 0.9rem;
    margin: 0;
}

/* Testimonials Section */
.testimonials-grid {
display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.rating {
    color: #ffc107;
    margin-right: 0.2rem;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-style: italic;
}

.testimonial-author span {
    display: block;
    color: #666;
    font-size: 0.9rem;
}
/* Emergency Services Section */
.emergency {
    background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9)), 
                url('https://huggingface.co/spaces/chishs95/verdant-vista-virtuosos/resolve/main/images/Fence-Repairs-Storm-Damage-in-Hereford.jpg');
    background-size: cover;
    background-position: center;
    border-left: 5px solid #ff3b30;
    padding: 4rem 2rem;
    color: #333;
}
.emergency-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.emergency-list h3 {
    color: #ff3b30;
    margin: 1.5rem 0 0.5rem 0;
    background: rgba(255,255,255,0.8);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.emergency-list ul {
    list-style-type: none;
    padding: 0;
}

.emergency-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #ffecec;
    position: relative;
    padding-left: 1.5rem;
    background: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    border-radius: 4px;
    padding: 0.8rem 1rem;
}
.emergency-list li::before {
    content: "⚠️";
    position: absolute;
    left: 0;
}
.emergency-call {
    background-color: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid rgba(255,59,48,0.2);
}
.emergency-call h3 {
    color: #ff3b30;
    margin-bottom: 1rem;
}

.btn-emergency {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff3b30;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-emergency:hover {
    background-color: #e0352b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 59, 48, 0.3);
}

@media (min-width: 768px) {
    .emergency-content {
        flex-direction: row;
    }
    
    .emergency-list {
        flex: 1;
    }
    
    .emergency-call {
        flex: 1;
    }
}
/* Service Area Section */
.service-area {
    background-color: #f8f9fa;
    text-align: center;
}
.area-list {
    font-size: 1.1rem;
    color: #2e7d32;
    font-weight: 600;
    line-height: 2;
    margin: 1.5rem 0;
}

.service-area-cta {
    margin-top: 2rem;
}
/* Reviews Section */
.reviews {
    background-color: #f8f9fa;
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stars {
    display: flex;
    gap: 0.3rem;
}

.stars i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.stars i.active,
.stars i.hovered {
    color: #ffc107;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    flex: 1;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 500;
}
.contact-item i,
.contact-item img {
    color: #2e7d32;
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #2e7d32;
}

.form-group {
    margin-bottom: 1rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
}

textarea {
    resize: vertical;
}
/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
}
.btn-primary {
    background-color: #2e7d32;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #1e5e23;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #2e7d32;
    border: 1px solid #2e7d32;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #f1f8e9;
    transform: translateY(-2px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4a7c59;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a6147;
}

/* Responsive styles */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        padding: 4rem 2rem;
    }
    
    .about {
        flex-direction: row;
    }
    
    .contact-container {
        flex-direction: row;
    }
}
