/* Cherche appartement specific styles */

/* Hero Section */
.hero-cherche {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-image: url('../images/gallery/2017_0929_16124700-1024x576.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-cherche::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-cherche .hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
}

.hero-cherche h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cherche p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 50px;
}

.highlight-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-color);
    text-align: center;
    margin-top: 30px;
}

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.video-container iframe {
    border-radius: var(--border-radius);
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 10px;
}

.cta h3 {
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.cta h4 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Services Section */
.services {
    background-color: var(--light-color);
    padding: 80px 0;
}

.services-intro {
    max-width: 900px;
    margin: 0 auto 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.service-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 15px;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials h3 {
    text-align: center;
    margin-top: 20px;
    font-size: 1.8rem;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    animation: fade 0.5s ease;
}

.testimonial-item.active {
    display: block;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.testimonial-content {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    text-align: center;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 20px 20px 0;
    border-style: solid;
    border-color: var(--light-color) transparent transparent;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
}

.testimonial-author {
    text-align: center;
    margin-top: 30px;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.testimonial-control {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-control:hover {
    background-color: #008c43;
}

.testimonial-indicators {
    display: flex;
    margin: 0 20px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-indicator.active {
    background-color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: var(--white);
    padding: 80px 0;
}

.contact h2 strong {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .video-container iframe {
        height: 400px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-cherche h1 {
        font-size: 2.5rem;
    }
    
    .hero-cherche p {
        font-size: 1.2rem;
    }
    
    .video-container iframe {
        height: 300px;
    }
    
    .cta h3 {
        font-size: 2rem;
    }
    
    .cta h4 {
        font-size: 1.5rem;
    }
    
    .highlight-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-cherche h1 {
        font-size: 2rem;
    }
    
    .video-container iframe {
        height: 200px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .cta h3 {
        font-size: 1.8rem;
    }
    
    .cta h4 {
        font-size: 1.2rem;
    }
}