body {
    padding-top: 56px; /* Space for fixed navbar */
    background-color: hsl(81, 94%, 31%); /* MC Eco Energy green */
    /* Add solar panel background with overlay */
    background-image: 
        linear-gradient(#589e08d9, rgba(140, 199, 31, 0.85)),
        url('../images/gallery/solarpanel.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Alternative: Add solar panel as a subtle pattern */
body.pattern-bg {
    background-image: 
        linear-gradient(rgba(140, 199, 31, 0.9), rgba(140, 199, 31, 0.9)),
        url('../images/gallery/solarpanel.jpg');
    background-size: 400px 400px; /* Make it a repeating pattern */
    background-repeat: repeat;
    opacity: 0.3;
}

/* Content overlay to ensure readability */
.content-overlay {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section with solar panel background */
.hero-section {
    background-image: 
        linear-gradient(rgba(140, 199, 31, 0.7), rgba(52, 58, 64, 0.7)),
        url('../images/gallery/solarpanel.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: white;
    padding: 150px 0;
    position: relative;
}

/* Add animated overlay effect */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(140, 199, 31, 0.3), rgba(52, 58, 64, 0.3));
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.9; }
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Fancy solar panel section */
.solar-showcase {
    background-image: url('../images/gallery/solarpanel.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    position: relative;
    margin: 50px 0;
}

.solar-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(140, 199, 31, 0.8);
    backdrop-filter: blur(1px);
}

.solar-showcase .container {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* Logo styling */
.navbar-brand img {
    height: 40px;
    width: auto;
}

/* Card styling with glass effect */
.card {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Card icons */
.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Service icons */
.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Footer with subtle background */
footer {
    background: linear-gradient(rgba(248, 249, 250, 0.95), rgba(248, 249, 250, 0.95)),
                url('/images/gallery/solarpanel.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    text-align: center;
    color: #343a40;
}

h1, h2, h3 {
    color: #343a40;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero-section h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

a {
    color: #007bff;
}

a:hover {
    color: #0056b3;
}

.container {
    margin-top: 20px;
}

/* Responsive images */
.img-responsive {
    max-width: 100%;
    height: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* Fix for mobile */
    }
    
    .hero-section {
        background-attachment: scroll;
        padding: 80px 0;
    }
    
    .solar-showcase {
        background-attachment: scroll;
        padding: 60px 0;
    }
}