/* Home Page Styles */

/* Client Feedback Section */
.section.frontpage-open1 {
    background-color: #cad6c5;
    padding: 4rem 0;
}

.section.frontpage-open1 .block-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #2a3f24;
}

.section.frontpage-open1 p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #2a3f24;
}

.section.frontpage-open1 p em {
    font-style: italic;
}

.section.frontpage-open1 p strong {
    font-weight: 600;
    color: #1a2e1f;
}

/* Hero Section */
/* Hero Reset */
.hero {
    position: relative;
    background:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.25)),
        url('../../../assets/images/gallery/MarcusLops.jpg') no-repeat center/cover;
    background-color: #2c3e50; /* Fallback */
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin: 0 0 3rem;
    padding: 100px 1.5rem 60px; /* Space for header + vertical padding */
}

.hero-content {
    max-width: 720px;
    padding: 0;
    z-index: 2;
    background: none;
    border-radius: 0;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 1rem;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

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

@media (max-width: 991.98px) {
    .hero {
        min-height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        min-height: 70vh;
        padding: 1rem;
        padding-top: 60px;
    }
    
    .hero-content {
        padding: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
}

.feature-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-text {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.service-icon img, .service-icon i {
    width: 60px;
    height: 60px;
    font-size: 2.5rem; /* For FA icons */
    margin-bottom: 1.5rem;
}

/* PNG-specific styling */
.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem;
}

@media (max-width: 767.98px) {
    .service-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Font Awesome Icon Styling */
.service-icon i {
    font-size: 2.5rem;
    color: #5a8b4a; /* Lighter brand green */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767.98px) {
    .service-icon i {
        font-size: 2rem;
        width: 50px;
        height: 50px;
    }
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-text::before {
    content: '\201C';
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.testimonial-role {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    opacity: 0.9;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero {
        height: 70vh;
        padding: 6rem 0 4rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .hero {
        height: 60vh;
        padding: 4rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta {
        padding: 4rem 0;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}
