/* Services Page Styles */
:root {
    /* Using the same color scheme as the main site */
    --eco-green: #27ae60;
    --solar-yellow: #f1c40f;
    --sky-blue: #3498db;
    --orange: #e67e22;
    --dark-gray: #2c3e50;
    --white: #ffffff;
    --light-gray: #ecf0f1;
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.services-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/service/service-hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.services-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.services-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    animation: fadeInDown 1s ease;
}

.services-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

/* Services Introduction */
.services-intro {
    background-color: var(--white);
    padding: 60px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Main Services Section */
.main-services {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-details {
    padding: 20px;
}

.service-details h3 {
    font-size: 2rem;
    color: var(--eco-green);
    margin-bottom: 15px;
}

.service-details p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--eco-green);
    margin-right: 10px;
}

/* Additional Services Section */
.additional-services {
    background-color: var(--white);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--eco-green);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--eco-green);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/service/contact-bg.jpg') no-repeat center center/cover;
    padding: 80px 0;
    color: var(--white);
}

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

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.form-group select option {
    background-color: var(--dark-gray);
    color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Styles */
@media screen and (max-width: 1024px) {
    .services-hero-content h1 {
        font-size: 3rem;
    }
    
    .service-item {
        gap: 30px;
    }
    
    .service-image {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .services-hero {
        height: 50vh;
    }
    
    .services-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-image {
        height: 300px;
        order: -1;
    }
    
    .service-item:nth-child(even) .service-image {
        order: -1;
    }
}

@media screen and (max-width: 576px) {
    .services-hero {
        height: 40vh;
    }
    
    .services-hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-details h3 {
        font-size: 1.8rem;
    }
    
    .service-image {
        height: 250px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}