/* Home Page Specific Styles */

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), url('cover_image_7.jpeg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

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

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Services Overview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

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

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Coastal Protection */
.coastal-protection {
    background-color: var(--light-color);
}

.coastal-protection .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.protection-content h2 {
    text-align: left;
}

.protection-content ul {
    margin: 1rem 0 2rem;
    padding-left: 1.5rem;
}

.protection-content ul li {
    list-style-type: disc;
    margin-bottom: 0.5rem;
}

.protection-image img {
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
    font-style: italic;
    position: relative;
    padding: 0 10px;
}

.testimonial-card p::before {
    content: '\201C';
    font-size: 3rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: var(--primary-color);
    opacity: 0.3;
}

.client-info {
    text-align: right;
    font-weight: bold;
    color: var(--secondary-color);
}

/* Call to Action */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta h2 {
    color: var(--white);
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background-color: transparent;
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .coastal-protection .container {
        grid-template-columns: 1fr;
    }
    
    .protection-content {
        order: 2;
    }
    
    .protection-image {
        order: 1;
    }
}
