/* Styles pour la page détaillée des projets */

/* Hero Section */
.project-hero {
    height: 40vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/residence-jardins-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 80px;
}

.project-hero-content {
    text-align: center;
}

.project-hero h1 {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.project-location {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-location i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.project-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.status-badge {
    background-color: var(--gold-primary);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.completion {
    font-size: 0.9rem;
    color: var(--white);
}

/* Gallery Section */
.project-gallery {
    padding: 60px 0;
    background-color: var(--white);
}

.gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-main {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.gallery-thumbs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.thumb:hover {
    opacity: 0.9;
}

.thumb.active {
    opacity: 1;
    border-color: var(--gold-primary);
}

/* Project Overview Section */
.project-overview {
    padding: 60px 0;
    background-color: var(--off-white);
}

.project-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.project-tagline {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.project-description {
    margin-bottom: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-gray);
}

.project-highlights {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 15px;
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.5rem;
}

.highlight-content {
    text-align: left;
}

.highlight-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.highlight-content p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Project Features Section */
.project-features {
    padding: 80px 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--off-white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gold-primary);
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-item p {
    color: var(--light-gray);
    line-height: 1.6;
}

/* Apartment Types Section */
.apartment-types {
    padding: 80px 0;
    background-color: var(--off-white);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.type-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease;
}

.type-item:hover {
    transform: translateY(-10px);
}

.type-label {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--gold-primary);
    color: var(--black);
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom-left-radius: 10px;
}

.type-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.type-header h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.type-price {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.type-price span {
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.type-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.type-feature {
    display: flex;
    align-items: center;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.type-feature i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.type-description {
    margin-bottom: 20px;
    color: var(--light-gray);
    line-height: 1.5;
    font-size: 0.9rem;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: var(--gold-primary);
    color: var(--black);
}

/* Project Specifications Section */
.project-specs {
    padding: 80px 0;
    background-color: var(--white);
}

.specs-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.specs-content {
    flex: 1;
}

.specs-list {
    margin-top: 30px;
}

.spec-group {
    margin-bottom: 30px;
}

.spec-group h3 {
    color: var(--gold-primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.spec-group ul {
    list-style: none;
}

.spec-group li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--light-gray);
}

.spec-group li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-primary);
}

.specs-image {
    flex: 1;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.specs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Location Section */
.project-location-section {
    padding: 80px 0;
    background-color: var(--off-white);
}

.location-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.location-grid {
    display: flex;
    gap: 50px;
}

.location-map {
    flex: 1;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.proximity-item {
    display: flex;
    gap: 20px;
}

.proximity-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.proximity-content {
    flex: 1;
}

.proximity-content h3 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.proximity-content ul {
    list-style: none;
}

.proximity-content li {
    padding: 5px 0;
    color: var(--light-gray);
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.proximity-content li::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold-primary);
    font-size: 0.7rem;
}

/* Project Progress Section */
.project-progress {
    padding: 80px 0;
    background-color: var(--white);
}

.progress-bar {
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    margin: 30px 0;
    position: relative;
}

.progress-filled {
    height: 100%;
    background-color: var(--gold-primary);
    border-radius: 4px;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-color: var(--gold-primary);
    border: 3px solid var(--white);
    border-radius: 50%;
}

.progress-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.progress-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.progress-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 80px;
}

.progress-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #eee;
    z-index: 1;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid var(--white);
}

.timeline-item.completed .timeline-dot {
    background-color: var(--gold-primary);
}

.timeline-item.current .timeline-dot {
    background-color: var(--gold-primary);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.3);
}

.timeline-content h3 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--light-gray);
}

.timeline-item.completed .timeline-content h3,
.timeline-item.current .timeline-content h3 {
    color: var(--gold-primary);
}

/* Similar Projects Section */
.similar-projects {
    padding: 80px 0;
    background-color: var(--off-white);
}

.projects-slider {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.project-slide {
    min-width: 350px;
    flex-shrink: 0;
}

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

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--gold-primary);
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1.8;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .project-hero h1 {
        font-size: 2.5rem;
    }
    
    .gallery-main {
        height: 400px;
    }
    
    .specs-wrapper {
        flex-direction: column;
    }
    
    .specs-image {
        width: 100%;
        height: 300px;
    }
    
    .location-grid {
        flex-direction: column;
    }
    
    .location-map {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 30vh;
    }
    
    .project-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .project-highlights {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .features-grid,
    .types-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .progress-timeline {
        flex-direction: column;
        gap: 30px;
    }
    
    .progress-timeline::before {
        display: none;
    }
    
    .timeline-dot {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .project-hero {
        height: 25vh;
    }
    
    .project-hero h1 {
        font-size: 1.8rem;
    }
    
    .gallery-main {
        height: 250px;
    }
    
    .project-description {
        font-size: 1rem;
    }
    
    .progress-stats {
        flex-direction: column;
        gap: 20px;
    }
} 