/*
* Sweet Villas - Site de location de villas de luxe à Saint Martin
* CSS principal
*/

/* 
* Variables
*/
:root {
    --primary-color: #c8a165;
    --primary-dark: #a88445;
    --primary-light: #e4cb9e;
    --secondary-color: #1a2b40;
    --text-color: #333333;
    --text-light: #777777;
    --white: #ffffff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --success-color: #5cb85c;
    --error-color: #d9534f;
    
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
}

/*
* Réinitialisation et base
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 6rem 0;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}

.section-header h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* 
* Boutons
*/
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* 
* Préchargeur
*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.preloader-hide {
    opacity: 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(200, 161, 101, 0.3);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 
* En-tête
*/
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(26, 43, 64, 0.9);
    backdrop-filter: blur(10px);
}

.main-header.sticky {
    background-color: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 60px;
    display: inline-block;
}

.logo img {
    max-height: 50px;
    transition: var(--transition);
}

.sticky .logo img {
    max-height: 45px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    position: relative;
    margin: 0 1rem;
}

.nav-list li a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: block;
    position: relative;
}

.nav-list li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-list li a:hover:after,
.nav-list li a.active:after {
    width: 100%;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-left: 1rem;
    cursor: pointer;
}

.current-lang {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.current-lang:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5rem;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 101;
    border-radius: 3px;
    margin-top: 0.5rem;
    list-style: none;
}

.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 0;
    margin: 0;
}

.lang-dropdown li a {
    padding: 0.5rem 1rem;
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Navigation mobile */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 1rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    z-index: 999;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.mobile-menu-close {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-items li {
    margin-bottom: 1rem;
}

.mobile-menu-items li a {
    color: var(--white);
    font-size: 1.2rem;
    display: block;
    padding: 0.5rem 0;
}

.mobile-menu-items li.active a {
    color: var(--primary-color);
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-cta {
    margin-top: 2rem;
}

.mobile-cta .btn {
    width: 100%;
}

@media (max-width: 991px) {
    section {
        padding: 5rem 0;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

/* 
* Section Hero
*/
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 43, 64, 0.8), rgba(26, 43, 64, 0.6));
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-down {
    color: var(--white);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* 
* Section Aperçu À Propos
*/
.about-preview-section {
    background-color: var(--light-bg);
}

.about-preview-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-preview-image img {
    width: 100%;
    transition: var(--transition);
}

.about-preview-image:hover img {
    transform: scale(1.05);
}

.about-preview-content h2 {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-preview-content h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 
* Section Villas
*/
.villas-section {
    background-color: var(--white);
}

.villa-card {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    overflow: hidden;
    transition: var(--transition);
}

.villa-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.villa-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.villa-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.villa-card:hover .villa-image img {
    transform: scale(1.1);
}

.villa-price {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: 500;
}

.villa-price span {
    display: block;
    font-size: 1.2rem;
    line-height: 1.2;
}

.villa-price small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.villa-content {
    padding: 2rem;
}

.villa-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.villa-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.feature i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.villa-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.villa-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 576px) {
    .villa-buttons {
        flex-direction: column;
    }
}

/* 
* Section Prestations
*/
.amenities-section {
    background-color: var(--light-bg);
}

.amenity-box {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.amenity-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.amenity-box h3 {
    margin-bottom: 1rem;
}

.amenity-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 
* Section Témoignages
*/
.testimonials-section {
    background-color: var(--white);
}

.testimonial-box {
    background-color: var(--light-bg);
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin: 1rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content p:before,
.testimonial-content p:after {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    line-height: 0;
    position: absolute;
}

.testimonial-content p:before {
    top: 15px;
    left: -10px;
}

.testimonial-content p:after {
    bottom: -5px;
    right: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
}

.author-info span {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating {
    color: var(--primary-color);
}

/* 
* Section CTA
*/
.cta-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 6rem 0;
    color: var(--white);
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 43, 64, 0.8);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 
* Page Header
*/
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 43, 64, 0.7);
}

.page-header-content {
    position: relative;
    text-align: center;
}

.page-header-content h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

/* 
* Page Villa Détail
*/
.villa-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
    padding-bottom: 3rem;
}

.villa-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
}

.villa-hero-content {
    position: relative;
}

.villa-hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.villa-hero .villa-features {
    justify-content: center;
    margin-bottom: 2rem;
}

.villa-hero .feature {
    color: var(--white);
    font-size: 1rem;
    margin: 0 1rem;
}

.villa-price-tag {
    display: inline-block;
    background-color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    text-align: center;
}

.villa-price-tag .price {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
}

.villa-price-tag .per-night {
    font-size: 0.9rem;
    opacity: 0.8;
}

.villa-overview {
    padding: 5rem 0;
}

.villa-gallery {
    background-color: var(--light-bg);
}

.gallery-grid .gallery-item {
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.villa-features-section {
    padding: 5rem 0;
}

.features-list h3 {
    margin-bottom: 1.5rem;
}

.features-list ul {
    list-style: none;
    padding: 0;
}

.features-list ul li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.features-list ul li i {
    color: var(--primary-color);
    margin-right: 0.7rem;
}

.villa-location {
    background-color: var(--light-bg);
}

.map-container {
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.villa-cta {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 6rem 0;
    color: var(--white);
}

.villa-cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 43, 64, 0.7);
}

/* 
* Page Contact
*/
.contact-info-section {
    padding: 5rem 0;
}

.contact-info-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    height: 100%;
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info-item .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info-item h3 {
    margin-bottom: 1rem;
}

.contact-info-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.contact-image {
    height: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-form-container h2 {
    margin-bottom: 0.5rem;
}

.contact-form-container .lead {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    height: auto;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* 
* Page Réservation
*/
.reservation-section {
    padding: 5rem 0;
}

.reservation-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.reservation-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.villa-thumbnail {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 5px;
}

.villa-thumbnail img {
    width: 100%;
    transition: var(--transition);
}

.villa-thumbnail:hover img {
    transform: scale(1.05);
}

.price-summary {
    margin-top: 1.5rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item.total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding-top: 1rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.7rem;
}

.contact-info p i {
    width: 20px;
    margin-right: 0.7rem;
    color: var(--primary-color);
}

/* 
* Page À Propos
*/
.about-story-section {
    padding: 5rem 0;
}

.about-values-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

.value-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-team-section {
    padding: 5rem 0;
}

.team-member {
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    overflow: hidden;
}

.member-image img {
    width: 100%;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 2rem;
    text-align: center;
}

.member-info h3 {
    margin-bottom: 0.3rem;
}

.member-info .position {
    display: block;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-location-section {
    background-color: var(--light-bg);
    padding: 5rem 0;
}

/* 
* Page 404
*/
.error-section {
    padding: 8rem 0;
}

.error-title {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-content h2 {
    margin-bottom: 1.5rem;
}

.error-content p {
    margin-bottom: 2rem;
}

.error-actions {
    margin-bottom: 3rem;
}

.error-suggestions h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.suggestion-card {
    background-color: var(--white);
    padding: 2rem;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
}

.suggestion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.suggestion-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.suggestion-card h4 {
    margin-bottom: 1rem;
}

.suggestion-card p {
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--primary-color);
    padding: 0;
    margin: 0 0.5rem;
    text-decoration: none;
}

.btn-link:hover {
    color: var(--primary-dark);
}

/* 
* Pied de page
*/
.main-footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 5rem;
    position: relative;
}

.main-footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary-light), var(--primary-color), var(--primary-dark));
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-menu h4, 
.footer-villas h4, 
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-menu h4:after, 
.footer-villas h4:after, 
.footer-contact h4:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-menu ul,
.footer-villas ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu ul li,
.footer-villas ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
}

.footer-menu ul li a,
.footer-villas ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    padding-left: 0;
}

.footer-menu ul li a:before,
.footer-villas ul li a:before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: var(--transition);
}

.footer-menu ul li a:hover,
.footer-villas ul li a:hover {
    color: var(--primary-color);
    padding-left: 15px;
}

.footer-menu ul li a:hover:before,
.footer-villas ul li a:hover:before {
    opacity: 1;
    left: 0;
}

.footer-contact ul li {
    margin-bottom: 1rem;
}

.footer-contact ul li i {
    margin-right: 1rem;
    color: var(--primary-color);
    min-width: 16px;
    text-align: center;
}

.footer-bottom {
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright p {
    margin-bottom: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.footer-bottom-links a:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

.footer-bottom-links a:hover:after {
    width: 100%;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-5px);
}

/* 
* Responsive
*/
@media (max-width: 1199px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .main-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    section {
        padding: 4rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .villa-hero {
        height: 60vh;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-copyright {
        margin-bottom: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .header-actions .btn {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 9999;
    transition: 0.4s ease;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-menu-header .logo img {
    max-height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-list li a {
    color: var(--white);
    font-size: 1rem;
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.mobile-nav-list li a:hover,
.mobile-nav-list li a.active {
    color: var(--primary-color);
}

.mobile-menu-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer .language-selector {
    margin-bottom: 1.5rem;
    display: block;
}

.mobile-menu-footer .language-selector span {
    color: var(--white);
    margin-bottom: 0.5rem;
    display: block;
}

.mobile-menu-footer .lang-list {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.mobile-menu-footer .lang-list li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.mobile-menu-footer .lang-list li a:hover,
.mobile-menu-footer .lang-list li a.active {
    color: var(--primary-color);
}

.mobile-menu-footer .social-links {
    justify-content: flex-start;
}

/* 
* Section Nos Valeurs
*/
.values-section {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(200, 161, 101, 0.05);
    z-index: 0;
}

.values-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(26, 43, 64, 0.05);
    z-index: 0;
}

.values-section .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0 -10px;
}

.values-section .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
}

.value-box {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
}

.value-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    transition: height 0.5s ease;
}

.value-box:hover::before {
    height: 100%;
}

.value-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background-color: var(--light-bg);
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.5s ease;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px dashed var(--primary-color);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.value-box:hover .value-icon::before {
    opacity: 0.3;
    transform: scale(1.1) rotate(10deg);
}

.value-box:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(200, 161, 101, 0.15);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 161, 101, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(200, 161, 101, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 161, 101, 0);
    }
}

.value-box:hover .value-icon {
    animation: pulse 1.5s infinite;
    background-color: var(--primary-color);
    color: var(--white);
    transform: rotateY(360deg);
}

.value-box h3 {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.value-box h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.value-box:hover h3::after {
    width: 60px;
}

.value-box p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive pour mobiles */
@media (max-width: 767px) {
    .values-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 20px;
        margin: 0 -5px;
    }
    
    .values-section .col-md-4 {
        flex: 0 0 80%;
        max-width: 80%;
        padding: 0 5px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .value-box {
        padding: 1.5rem 1rem;
    }
    
    .value-box p {
        font-size: 0.9rem;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
    .values-section .col-md-4 {
        flex: 0 0 90%;
        max-width: 90%;
    }
}

.value-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, rgba(200, 161, 101, 0.05), rgba(200, 161, 101, 0.02));
    z-index: -1;
    transition: width 0.5s ease;
}

.value-box:hover .value-overlay {
    width: 100%;
}

/* Éléments décoratifs pour la section valeurs */
.decoration-element {
    position: absolute;
    background-color: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: -100px;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: -75px;
}

@media (max-width: 767px) {
    .decoration-element {
        display: none;
    }
} 