/* Villas Page Styles */
.villas-hero {
    height: 80vh;
    position: relative;
    color: white;
}

.villas-hero .swiper-slide {
    background-size: cover;
    background-position: center;
    position: relative;
}

.villas-hero .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.villas-hero .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    animation: fadeInUp 1s ease-out;
}

.villas-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.villas-hero p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.villas-hero .swiper-button-next,
.villas-hero .swiper-button-prev {
    color: white;
}

.villas-hero .swiper-pagination-bullet {
    background: white;
    opacity: 0.7;
}

.villas-hero .swiper-pagination-bullet-active {
    background: #c8a97e;
    opacity: 1;
}

/* Filtres */
.villa-filters {
    background: #f8f9fa;
    padding: 2rem 0;
    margin-bottom: 4rem;
}

.filters-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: start;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
}

.filter-group select {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
    cursor: pointer;
}

/* Villa Cards Grid */
.villas-grid {
    display: grid;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.villa-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.villa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.villa-card-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    min-height: 400px;
}

.villa-card:nth-child(even) .villa-card-content {
    direction: rtl;
}

.villa-card:nth-child(even) .villa-card-content > * {
    direction: ltr;
}

.villa-card-text {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

.villa-card-text h2 {
    color: #003861;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.villa-card-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #c8a97e;
}

.villa-card-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.5rem;
    max-height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.room-facilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-2px);
    color: #003861;
}

.facility-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.facility-item span {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.villa-card-gallery {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 100%;
}

.villa-card-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.villa-card-gallery img:hover {
    transform: scale(1.05);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #c8a97e;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 1rem;
    border: 1px solid #c8a97e;
}

.cta-button:hover {
    background-color: transparent;
    color: #c8a97e;
}

/* Comparison Table */
.villa-comparison {
    padding: 4rem 0;
    background: #fff;
}

.villa-comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2.5rem;
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #c8a97e;
    color: white;
    font-weight: 500;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .villa-card-content {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .villa-card:nth-child(even) .villa-card-content {
        direction: ltr;
    }

    .villa-card-gallery {
        height: 400px;
    }

    .villa-card-text {
        padding: 2rem;
    }

    .villa-card-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .villas-hero {
        height: 60vh;
    }

    .villas-hero h1 {
        font-size: 2.5rem;
    }

    .villas-hero p {
        font-size: 1.2rem;
    }

    .filters-wrapper {
        grid-template-columns: 1fr;
    }

    .villas-grid {
        gap: 3rem;
        padding: 2rem 1rem;
    }

    .villa-card-gallery {
        height: 300px;
    }

    .room-facilities {
        grid-template-columns: 1fr;
    }

    .villa-card-text h2 {
        font-size: 1.8rem;
    }

    .villa-card-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .villa-card-text {
        padding: 1.5rem;
    }

    .villa-card-text h2 {
        font-size: 1.6rem;
    }

    .villa-card-gallery {
        height: 250px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Villa Presentation */
.villa-presentation {
    padding: 8rem 0;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
    position: relative;
    overflow: hidden;
}

.villa-presentation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200, 169, 126, 0.3), transparent);
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.villa-presentation h2 {
    font-size: 3rem;
    color: #2c3e50;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.separator {
    width: 80px;
    height: 2px;
    background: #c8a97e;
    margin: 0 auto 3rem;
    position: relative;
}

.separator::before,
.separator::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #c8a97e;
    border-radius: 50%;
    top: -2px;
}

.separator::before {
    left: -10px;
}

.separator::after {
    right: -10px;
}

.villa-presentation .lead {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 2rem;
    font-weight: 300;
}

.villa-presentation .sub-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .villa-presentation {
        padding: 4rem 0;
    }

    .villa-presentation h2 {
        font-size: 2.4rem;
    }

    .villa-presentation .lead {
        font-size: 1.2rem;
    }

    .villa-presentation .sub-lead {
        font-size: 1.1rem;
    }
} 
