/* Styles spécifiques pour la page L'Espace Mancette */

/* Hero Banner avec détail */
.apartment-detail-banner {
    height: 400px;
}

/* Conteneur principal du détail de l'appartement */
.apartment-detail-container {
    margin: 0 auto 60px;
    max-width: 1100px;
    padding: 0 20px;
}

/* Section d'information principale */
.main-apartment-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding: 30px 0;
}

.apartment-description {
    flex: 1;
    padding-right: 30px;
}

.apartment-description h2 {
    font-family: 'Playfair Display', serif;
    color: #444;
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: normal;
    position: relative;
    padding-bottom: 15px;
    text-align: left;
}

.apartment-description h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background: #d3cbbc;
}

.apartment-description p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
    text-align: left;
    max-width: 95%;
}

.apartment-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.highlight-item {
    background-color: #f9f7f4;
    border-radius: 30px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
}

.highlight-item i {
    color: #a89882;
    font-size: 1.2rem;
    margin-right: 10px;
}

.highlight-item span {
    color: #444;
    font-weight: 500;
}

.apartment-pricing {
    background-color: #f9f7f4;
    padding: 25px 35px;
    text-align: center;
    margin-bottom: 30px;
    width: 90%;
}

.apartment-pricing h3 {
    font-family: 'Playfair Display', serif;
    color: #444;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: normal;
    padding-bottom: 10px;
}

.price-range {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a89882;
    margin: 15px 0;
    padding-bottom: 20px;
}

.request-info {
    display: inline-block;
    background-color: #a89882;
    color: #fff;
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: none;
}

.request-info i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.request-info:hover {
    background-color: #8c7d69;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.request-info:hover i {
    transform: translateX(3px);
}

/* Description détaillée de l'appartement */
.apartment-description-section {
    margin: 60px 0;
    text-align: center;
}

.apartment-description-section h2 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.apartment-description-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #d3cbbc;
}

.apartment-description-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Carrousel de l'appartement */
.apartment-carousel-container {
    margin-bottom: 40px;
}

.apartment-carousel-container h2 {
    font-family: 'Playfair Display', serif;
    color: #444;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: normal;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.apartment-carousel-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #d3cbbc;
}

.apartment-carousel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 500px;
    margin-bottom: 15px;
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    color: #a89882;
    font-size: 1.2rem;
}

.carousel-control:hover {
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators .indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background-color: #a89882;
    transform: scale(1.2);
}

.carousel-description {
    background-color: #f9f7f4;
    padding: 25px 30px;
    border-radius: 0 0 8px 8px;
    margin-bottom: 30px;
    border-top: none;
    position: relative;
    text-align: center;
}

.carousel-description h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.carousel-description h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #a89882;
    opacity: 0.5;
}

.carousel-description p {
    color: #666;
    line-height: 1.6;
}

/* Section témoignages */
.testimonials-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.testimonials-section h2 {
    font-family: 'Playfair Display', serif;
    color: #444;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: normal;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: #d3cbbc;
}

.testimonials-container {
    position: relative;
    margin: 30px auto;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
}

.testimonial-inner {
    position: relative;
    height: 220px;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    visibility: hidden;
    padding: 20px;
}

.testimonial.active {
    display: block;
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #a89882;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    color: #444;
    font-size: 1.3rem;
}

.testimonial-author p {
    margin: 5px 0 0;
    color: #777;
    font-size: 0.9rem;
}

.testimonial-date {
    font-style: italic;
    font-size: 0.85rem;
    color: #999;
}

.testimonial-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* Style pour les accordéons */
.accordion-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #efe9e0;
}

.accordion-header {
    padding: 15px 20px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #efe9e0;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f9f7f4;
}

.accordion-header h4 {
    font-family: 'Playfair Display', serif;
    color: #a89882;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.accordion-header h4 i {
    transition: transform 0.3s ease;
}

.accordion-header.active h4 i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: white;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 20px;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.accordion-content ul li {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    line-height: 1.5;
    text-align: left;
    display: flex;
    align-items: center;
}

.fas.fa-check {
    color: #689775;
    font-size: 0.8rem;
    margin-right: 5px;
}

.accordion-content ul li::before {
    display: none;
}

.accordion-content ul li i {
    margin-right: 10px;
    color: #a89882;
    width: 20px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .apartment-main-info {
        flex-direction: column;
    }
    
    .apartment-description {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .apartment-pricing {
        width: 100%;
    }
    
    .apartment-carousel {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .apartment-carousel {
        height: 350px;
    }
    
    .apartment-carousel-container,
    .apartment-details-description,
    .testimonials-section {
        padding: 20px;
    }
    
    .apartment-highlights {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .apartment-carousel {
        height: 250px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonial-avatar {
        margin-bottom: 15px;
    }
}
