/* Variables CSS modernisées */
:root {
    --primary-color: #1a1a2e;
    --secondary-color: #ffd700;
    --accent-color: #ffed4e;
    --text-dark: #1a1a2e;
    --text-light: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2d2d44;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --gradient-hero: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 20px;
    --border-radius-small: 12px;
}

/* Reset et base modernisé */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* En-tête modernisé */
.header {
    background: linear-gradient(90deg, #181A20 60%, #1877F3 100%);
    box-shadow: 0 2px 16px rgba(24, 26, 32, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    min-height: 72px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-svg {
    display: block;
    width: 48px;
    height: 48px;
}

.logo-text {
    font-size: 1.6em;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.navigation {
    display: flex;
    gap: 32px;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08em;
    position: relative;
    padding: 8px 0;
    transition: color 0.2s;
}

.navigation a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #E4405F;
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.navigation a:hover {
    color: #E4405F;
}

.navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Animation d'apparition pour l'en-tête */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header {
    animation: headerSlideDown 0.6s ease-out;
}

/* Responsive pour l'en-tête */
@media (max-width: 1024px) {
    .header .container {
        padding: 1rem 1.5rem;
    }
    
    .navigation {
        gap: 0.5rem;
    }
    
    .navigation a {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        padding: 1rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: -100vw;
        width: 80vw;
        height: 100vh;
        background: #181A20;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s;
        z-index: 100;
    }
    .navigation.active {
        right: 0;
    }
    
    .navigation a {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: var(--border-radius-small);
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0.8rem 1rem;
    }
    
    .logo img {
        height: 45px;
    }
    
    .navigation a {
        font-size: 0.85rem;
        padding: 0.8rem;
    }
}

/* Section Hero modernisée */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #181A20;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) blur(1px);
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, #181A20 60%, #1877F3 100%);
    opacity: 0.7;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
    /* Modern glassmorphism effect for clarity */
    background: rgba(24, 26, 32, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(24, 26, 32, 0.18);
    margin: 0 auto;
    /* Add spacing for the button below */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.7rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.7rem;
    text-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 1px #0008;
    letter-spacing: 1.5px;
}

.highlight {
    color: #f9fbfb;
    position: relative;
}

.brand {
    color: #fff !important;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px #000a, 0 1px 1px #0006;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    font-size: 1.2em;
    display: inline-block;
    margin-bottom: 0.2em;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.7;
    margin-bottom: 0;
    color: #f7f7fa;
    opacity: 1;
    text-shadow: 0 2px 8px #181A20cc, 0 1px 1px #0006;
    font-weight: 500;
    letter-spacing: 0.5px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    margin: 0 auto;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, #00d4aa, #00b894);
    color: white;
    padding: 18px 48px;
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    width: fit-content;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 35px rgba(0, 212, 170, 0.4);
    background: linear-gradient(135deg, #00b894, #00a085);
}

/* Disponibilité lots dans la section hero */
.hero-availability {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 32px 0 24px 0;
    flex-wrap: wrap;
}
.availability-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px #181A2033;
    padding: 18px 28px;
    text-align: center;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.availability-icon {
    font-size: 2em;
    margin-bottom: 8px;
    color: #1877F3;
}
.availability-label {
    font-weight: 600;
    color: #181A20;
    margin-bottom: 4px;
}
.availability-status {
    color: #E4405F;
    font-weight: 700;
    font-size: 1.08em;
}
@media (max-width: 900px) {
    .hero-availability {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .availability-item {
        min-width: 140px;
        padding: 14px 12px;
    }
}

/* Sections communes modernisées */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2,
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 0.5em;
    background: linear-gradient(90deg, #0b0b0b 0%, #1877F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 12px #ffd70022, 0 1px 1px #0002;
    position: relative;
}

.section-header h2::after,
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 18px auto 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, #0f0f0f 0%, #1877F3 100%);
    box-shadow: 0 2px 12px #ffd70033;
}

.section-header p,
.section-title p {
    color: #181A20;
    opacity: 0.85;
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 1.5em;
}

/* Section À propos modernisée */
.about {
    padding: 120px 0;
    background: var(--light-gray);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    z-index: 1;
    opacity: 0.3;
}

.about-image:hover img {
    transform: translate(-10px, -10px);
}

/* --- MOBILE FRIENDLY PATCH --- */

/* About section: stack text and image vertically on mobile */
@media (max-width: 900px) {
  .about-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
    align-items: center;
  }
  .about-text {
    width: 100%;
    text-align: left;
  }
  .about-image {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .about-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
  }
}

/* Localisation section: stack map and details vertically */
@media (max-width: 900px) {
  .location-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    padding: 0 1rem !important;
    align-items: center;
  }
  .location-map {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .map-container iframe {
    width: 100% !important;
    min-width: 0 !important;
    height: 240px !important;
  }
  .location-details {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
    justify-items: center !important;
  }
  .location-item {
    width: 100% !important;
    max-width: 350px !important;
    margin: 0 auto !important;
  }
}

/* Make sure section headers and containers have enough padding */
@media (max-width: 600px) {
  .container {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .section-header h2 {
    font-size: 2rem !important;
  }
  .section-header p {
    font-size: 1.1rem !important;
  }
}

/* Footer: stack sections vertically and center on mobile */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
  }
  .footer-section {
    min-width: 0 !important;
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }
  .social-icons {
    justify-content: center !important;
  }
}

/* Section Localisation modernisée */
.location {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.location::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-gray), transparent);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.location-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.map-container:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
    border-radius: var(--border-radius);
}

.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-small);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.location-item:hover::before {
    transform: scaleY(1);
}

.location-item:hover {
    background: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
}

.location-icon {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.location-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.location-text p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Section Biens immobiliers modernisée */
.properties {
    padding: 120px 0;
    background: var(--light-gray);
    position: relative;
}

.properties::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--white), transparent);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
}

.property-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}

.property-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.property-card:hover::before {
    transform: scaleX(1);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.property-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-price {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--gradient-secondary);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(255, 255, 254, 0.977);
}

.property-content {
    padding: 2rem;
}

.property-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.property-details span {
    background: var(--light-gray);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.property-btn {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.property-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.property-btn:hover::before {
    left: 100%;
}

.property-btn:hover {
    background: var(--gradient-secondary);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Section Contact modernisée */
.contact {
    background: #fff; /* Remove dark gradient */
    color: #181A20;   /* Use dark text for readability */
    padding: 64px 0 48px 0;
}

.contact-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: rgba(24,26,32,0.7);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 2px 12px #0002;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    box-shadow: 0 2px 8px #1877F355;
}

.contact-item h4 {
    margin: 0 0 4px 0;
    color: #ffd700;
    font-size: 1.08em;
}

.contact-item p, .contact-item a {
    color: #fff;
    margin: 0;
    font-size: 1em;
    text-decoration: none;
}

.contact-item a:hover {
    color: #E4405F;
    text-decoration: underline;
}

.contact-form {
    flex: 1 1 380px;
    min-width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 24px #181A2033;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 8px;
    border: none;
    background: #f7f7fa;
    font-size: 1em;
    margin-bottom: 8px;
    color: #181A20;
    box-shadow: 0 1px 4px #181A2011;
    transition: box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #1877F3;
}

.submit-btn {
    background: linear-gradient(90deg, #E4405F 40%, #1877F3 100%);
    color: #fff;
    padding: 16px 0;
    border-radius: 32px;
    font-size: 1.18em;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px #1877F355;
    transition: background 0.2s, transform 0.2s;
    margin-top: 8px;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #1877F3 40%, #E4405F 100%);
    transform: translateY(-2px) scale(1.04);
}

/* Modern Contact Section */
.contact-content-modern {
  display: flex;
  gap: 3rem;
  justify-content: space-between;
  align-items: flex-start;
  background: rgba(255,255,255,0.95);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(24,26,32,0.08);
  padding: 3rem 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.contact-info-modern {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 220px;
}
.contact-item-modern {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: #f8fafd;
  border-radius: 16px;
  padding: 1.2rem 1rem;
  box-shadow: 0 2px 12px #0001;
  transition: box-shadow 0.2s;
}
.contact-item-modern:hover {
  box-shadow: 0 4px 24px #ffd70033;
}
.contact-icon-modern {
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 12px #0001;
}
.contact-item-modern h4 {
  margin: 0 0 0.2em 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #181A20;
}
.contact-item-modern p, .contact-item-modern a {
  margin: 0;
  color: #181A20;
  font-size: 1rem;
  text-decoration: none;
  word-break: break-all;
}
.contact-item-modern a:hover {
  text-decoration: underline;
  color: #1877F3;
}
.contact-form-modern {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: #f8fafd;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px #0001;
  min-width: 260px;
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-form-modern input,
.contact-form-modern textarea {
  flex: 1 1 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: #181A20;
  transition: border 0.2s;
  outline: none;
  resize: none;
}
.contact-form-modern input:focus,
.contact-form-modern textarea:focus {
  border: 1.5px solid #1877F3;
}
.submit-btn-modern {
  background: linear-gradient(90deg,#E4405F 0%,#ffd700 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 24px #ffd70033;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
  align-self: flex-end;
}
.submit-btn-modern:hover {
  background: linear-gradient(90deg,#ffd700 0%,#E4405F 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Modern select styling for contact form */
.contact-form-modern select,
.contact-form select {
    width: 100%;
    padding: 0.9em 1em;
    border: 1.5px solid #e0e4ea;
    border-radius: 8px;
    background: #fff;
    color: #181A20;
    font-size: 1rem;
    font-family: inherit;
    appearance: none;
    outline: none;
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(24,26,32,0.03);
    margin-bottom: 0.5em;
    cursor: pointer;
}

.contact-form-modern select:focus,
.contact-form select:focus {
    border-color: #1877F3;
    box-shadow: 0 0 0 2px #1877F355;
}

.contact-form-modern select:invalid,
.contact-form select:invalid {
    color: #888;
}

/* Optional: Add a custom dropdown arrow */
.contact-form-modern select,
.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23187AF3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1.2em;
}

/* Responsive for mobile */
@media (max-width: 900px) {
  .contact-content-modern,
  .contact-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.2rem !important;
    padding: 1rem 0.2rem !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .contact-info-modern,
  .contact-info,
  .contact-form-modern,
  .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.5rem 0.2rem !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .form-row {
    flex-direction: column !important;
    gap: 0.7rem !important;
  }
  .contact-form-modern input,
  .contact-form-modern textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 1em !important;
    padding: 0.8em 0.9em !important;
    width: 100% !important;
  }
  .submit-btn-modern,
  .submit-btn {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 1em 0 !important;
    align-self: stretch !important;
  }
}

/* Section Actualités */
.news {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-secondary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    z-index: 1;
}

.news-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(26, 26, 46, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    z-index: 1;
}

.news-content {
    padding: 2.5rem;
}

.news-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--gradient-secondary);
}

.news-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlights, .location-benefits {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--secondary-color);
}

.highlights h4, .location-benefits h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.highlights ul, .location-benefits ul {
    list-style: none;
    padding-left: 0;
}

.highlights li, .location-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: var(--text-light);
}

.highlights li::before, .location-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color) !important;
    text-align: center;
    margin: 2.5rem 0 !important;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.03) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-radius: var(--border-radius-small);
    border: 1px dashed var(--secondary-color);
}

.contact-info {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.phone-numbers {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.2);
}

.phone-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 26, 46, 0.3);
}

/* Pied de page modernisé */
.footer {
    background: #2d3642;
    color: #cfd8e3;
    padding: 40px 0 0 0;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-logo-block {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 220px;
}

.footer-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    letter-spacing: 2px;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    color: #cfd8e3;
    font-size: 1rem;
}

.footer-info a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-info a:hover {
    color: #E4405F;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 220px;
}

.footer-social span {
    font-size: 1rem;
    color: #cfd8e3;
    margin-bottom: 4px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    transition: transform 0.2s, filter 0.2s;
}

.social-icon:hover svg {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 8px #ffd70055);
}

.footer-divider {
    border: none;
    border-top: 1px solid #3a4250;
    margin: 32px 0 0 0;
}

.footer-bottom {
    text-align: center;
    color: #cfd8e3;
    opacity: 0.7;
    padding: 18px 0 10px 0;
    font-size: 0.98rem;
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 28px;
        padding: 0 12px;
    }
    .footer-logo-block,
    .footer-info,
    .footer-social {
        align-items: center;
        text-align: center;
        min-width: 0;
    }
    .footer-social {
        align-items: center;
    }
}

/* Testimonials section styles */
.testimonials {
    background: linear-gradient(to bottom, #f8f9ff 0%, #ffffff 100%);
    padding: 80px 0;
    text-align: center;
}
.section-title {
    text-align: center;
    margin-bottom: 32px;
}
.section-title h2 {
    font-size: 2.5em;
    color: #2D3142;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.title-border {
    width: 80px;
    height: 3px;
    background: #4F5D75;
    margin: 0 auto;
    margin-top: 15px;
}
.testimonial-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
}
.testimonial-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    width: 300px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.testimonial-item:hover {
    transform: translateY(-5px);
}
.avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: #E8ECF4;
    border-radius: 50%;
    padding: 5px;
}
.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-item h4 {
    color: #2D3142;
    font-size: 1.2em;
    margin-bottom: 15px;
    font-weight: 600;
}
.testimonial-item p {
    color: #4F5D75;
    font-size: 0.95em;
    line-height: 1.6;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E8ECF4;
    cursor: pointer;
    transition: background 0.3s ease;
}
.dot.active {
    background: #2D3142;
}
@media (max-width: 992px) {
    .testimonial-container {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-item {
        width: 100%;
        max-width: 350px;
    }
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .hero {
            position: relative;
            height: 100vh;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-carousel {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
        }

        .carousel-container {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .carousel-slides {
            display: flex;
            width: 500%;
            height: 100%;
            transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
        }

        .carousel-slide {
            width: 20%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        .carousel-slide::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2));
            z-index: 1;
        }

        /* Sample background images */
        .slide-1 { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
        .slide-2 { background-image: url('https://q-xx.bstatic.com/xdata/images/hotel/max1024x768/312820566.jpg?k=727392bb88efc353558f52d28f7bc72d678ba12957bea65336b0bc453785041f&o='); }
        .slide-3 { background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
        .slide-4 { background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
        .slide-5 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }

        .hero-content {
            position: relative;
            z-index: 10;
            text-align: center;
            color: #fff;
            max-width: 800px;
            padding: 0 20px;
            /* Modern glassmorphism effect for clarity */
            background: rgba(24, 26, 32, 0.45);
            backdrop-filter: blur(8px);
            border-radius: 24px;
            box-shadow: 0 8px 32px rgba(24, 26, 32, 0.18);
            margin: 0 auto;
            /* Add spacing for the button below */
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.7rem;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 0.7rem;
            text-shadow: 0 4px 24px rgba(0,0,0,0.25), 0 1px 1px #0008;
            letter-spacing: 1.5px;
        }

        .highlight {
            color: #f9fbfb;
            position: relative;
        }

        .brand {
            color: #fff !important;
            font-weight: 900;
            letter-spacing: 2px;
            text-shadow: 0 2px 12px #000a, 0 1px 1px #0006;
            background: none !important;
            -webkit-background-clip: unset !important;
            background-clip: unset !important;
            font-size: 1.2em;
            display: inline-block;
            margin-bottom: 0.2em;
        }

        .hero-subtitle {
            font-size: clamp(1.15rem, 2vw, 1.35rem);
            line-height: 1.7;
            margin-bottom: 0;
            color: #f7f7fa;
            opacity: 1;
            text-shadow: 0 2px 8px #181A20cc, 0 1px 1px #0006;
            font-weight: 500;
            letter-spacing: 0.5px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            margin: 0 auto;
            margin-top: 1.5rem;
            background: linear-gradient(135deg, #00d4aa, #00b894);
            color: white;
            padding: 18px 48px;
            font-size: 1.15rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 50px;
            transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
            box-shadow: 0 8px 25px rgba(0, 212, 170, 0.3);
            text-transform: uppercase;
            letter-spacing: 1.2px;
            width: fit-content;
        }

        .cta-button:hover {
            transform: translateY(-2px) scale(1.04);
            box-shadow: 0 12px 35px rgba(0, 212, 170, 0.4);
            background: linear-gradient(135deg, #00b894, #00a085);
        }

        .carousel-nav {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            z-index: 10;
        }

        .nav-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .nav-dot.active {
            background: #00d4aa;
            border-color: rgba(255, 255, 255, 0.6);
            transform: scale(1.2);
        }

        .nav-dot:hover {
            background: rgba(255, 255, 255, 0.7);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-content {
                padding: 0 15px;
            }        
            .carousel-nav {
                bottom: 20px;
            }
        }

        /* Animation for content entrance */
        .hero-content > * {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease forwards;
        }

        .hero-title { animation-delay: 0.2s; }
        .hero-subtitle { animation-delay: 0.4s; }
        .cta-button { animation-delay: 0.6s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Rends le titre de la section contact blanc et plus lisible */
.contact .section-header h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 0.5em;
    background: linear-gradient(90deg, #0b0b0b 0%, #1877F3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;

    position: relative;
}

.contact .section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    margin: 18px auto 0 auto;
    border-radius: 3px;
    background: linear-gradient(90deg, #0f0f0f 0%, #1877F3 100%);

}

.contact-section-subtitle {
    color: #fff;
    opacity: 0.85;
    font-size: 1.2rem;
    font-weight: 400;
    margin-top: -1.2em;
    margin-bottom: 2em;
    text-shadow: 0 2px 8px #000a;
    letter-spacing: 0.5px;
}

img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 600px) {
  .contact-content-modern,
  .contact-content {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 1rem 0.2rem !important;
    gap: 1.2rem !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .contact-info-modern,
  .contact-info,
  .contact-form-modern,
  .contact-form {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0.5rem 0.2rem !important;
    box-shadow: none !important;
    background: transparent !important;
  }
  .form-row {
    flex-direction: column !important;
    gap: 0.7rem !important;
  }
  .contact-form-modern input,
  .contact-form-modern textarea,
  .contact-form input,
  .contact-form textarea {
    font-size: 1em !important;
    padding: 0.8em 0.9em !important;
  }
  .submit-btn-modern,
  .submit-btn {
    width: 100% !important;
    font-size: 1.1em !important;
    padding: 1em 0 !important;
    align-self: stretch !important;
  }
}
