/* Custom Font Import */
@font-face {
    font-family: 'The New Elegance';
    src: url('../fonts/The-New-Elegance.woff2') format('woff2'),
         url('../fonts/The-New-Elegance.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'The New Elegance';
    src: url('../fonts/The-New-Elegance-Italic.woff2') format('woff2'),
         url('../fonts/The-New-Elegance-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/* Global Color Variables */
:root {
    --primary-color: #12579E;    /* First color - Blue */
    --secondary-color: #DF7C0B;  /* Second color - Orange */
    --tertiary-color: #13AEBD;   /* Third color - Teal */
    --text-color: #3B3B3B;       /* Fourth color - Dark Gray */
    --light-color: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #DDDDDD;
    --dark-gray: #888888;
}
/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.1;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: var(--light-color);
    width: 100%;
}

/* Typography */
h1, h2 {
    font-family: 'The New Elegance', serif;
    margin-top: 0;
    line-height: 1.35;
    color: var(--primary-color);
}

h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-top: 0;
    line-height: 1.4;
    color: var(--primary-color);
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}
.fw-500{font-weight: 500 !important;}
/* Buttons */
.btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 1.3rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid;
    text-decoration: none;
    line-height: 1.2;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: var(--primary-color);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--primary-color);
    border-color: rgb(18 87 158 / 23%);
}
.btn-light:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    border-color: rgb(18 87 158 / 23%);
}
.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border-color: var(--light-color);
}
.btn-secondary:hover {
    background-color: var(--tertiary-color);
    color: var(--light-color);
    border-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    z-index: 2;
    position: relative;
}
.bg-color{
    background-color: #ECF2F8;
}
/* .btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
} */
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 850px;
    background-image: url('../img/image-hero.png');
    background-size: cover;
    background-position: center bottom;
    color: var(--text-color);
    /* margin-bottom: min(6vw, 120px); */
}

.hero-content {
    padding-top: min(3vw, 60px);
    position: relative;
    z-index: 2;
}

/* Logo Styles */
.logo-container {
    width: 100%;
    padding: 1rem;
    text-align: center;
}

.logo {
    height: 80px;
}

/* Hero Title Styles */
.hero-title {
    font-size: min(calc(1rem + 1.5vw), 42px);
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: center;
}
.hero-price {
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
    font-size: min(calc(1rem + 0.8vw), 32px);
    font-weight: 600;
    max-width: min(100%, 450px);
    margin: auto auto 30px;
    text-align: center;
    padding: 12px 20px;
    background-color: rgb(255 255 255 / 70%);
    border-radius: 10px;
    border: 1px solid rgba(18, 88, 158, 0.2);
}
.hero-price .colored_price {
    color: var(--secondary-color);
}
.highlight {
    color: var(--secondary-color);
    font-style: italic;
    position: relative;
}
.highlight:before {
    content: "";
    position: absolute;
    width: 120%;
    height: 200%;
    background: #fff;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
}

/* Badge Styles */
.livraison-badge {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: min(calc(1rem + 0.6vw), 24px);
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    row-gap: 10px;

}

.livraison-badge i {
    color: var(--tertiary-color);
    margin-right: 10px;
}

.livraison-highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Rating Styles */
.rating-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.rating-stars {
    color: #FBB825;
    font-size: 1.2rem;
}
.rating-stars i {
    filter: drop-shadow(0 0 0px var(--primary-color));
}
.avatar-group {
    display: flex;
}

.avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--light-color);
    margin-left: 0px;
    background-color: #ccc;
    background-size: cover;
    background-position: center;
}

.avatar:not(:first-of-type) {
    margin-left: -10px;
}

.rating-text {
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Button Styles (Hero-specific) */


/* Feature Cards */
.feature-cards {margin-top: -8%;}

.feature-inner {
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid;
}

.feature-card:nth-child(odd) .feature-inner{
    background-color: #F8FBFF;
    border-color: rgb(18 87 158 / 24%);
}

.feature-card:nth-child(even) .feature-inner{
    background-color: #FFF6EA;
    border-color: #FFE9CC;
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #242424;
    margin-bottom: 5px;
}


.vacation-section {
    background: linear-gradient(360deg, rgba(236, 242, 248, 1) 30%, rgba(255, 255, 255, 1) 30%);
    position: relative;
}
.vacation-section .img-shape-center{
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 30%;
    object-fit: cover;
}
/* .vacation-section:after {
    content: '';
    position: absolute;
    height: 60px;
    width: 100%;
    background-image: url('../img/wave-top.png');
    background-repeat: repeat-x;
    z-index: -1;
    bottom: 0;
    left: 0;
} */

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button-overlay .btn-video {
    width: min(13vw, 130px);
    height: auto;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(30, 30, 30, 0.5);
    color: var(--light-color);
    border: 0;
    padding: 5px !important;
}

.play-button-overlay i {
    font-size: min(calc(1rem + 2vw), 50px);
}
.text-orange{
    font-size: min(calc(1rem + 1.5vw), 40px);
    color: var(--secondary-color);
}
.description-text {
    max-width: 800px;
}
  
.check-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 4px rgb(18 87 158 / 6%);
}
.check-card span{
    font-weight: 500;
}
.check-icon {
    color: var(--primary-color);
    font-size: 24px;
    text-align: center;
}
  
.apartement-image {
    overflow: hidden;
    border-radius: 8px;
}
  
.apartement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
  
.apartement-image:hover img {
    transform: scale(1.05);
}
  
.main-image {
    height: 240px;
}
  
.main-image img {
    height: 100%;
    object-fit: cover;
}

.vie-section{
    background: linear-gradient(180deg,rgba(236, 242, 248, 1) 50%, rgba(255, 255, 255, 1) 50%);
    position: relative;
}
.vie-section .img-shape-center{
    position: absolute;
    z-index: 0;
    left: 0;
    bottom: 43%;
    object-fit: cover;
}
.carousel-container{
    position: relative;
    overflow: hidden;
}
.carousel-container .swiper-container{
    max-width: 740px;
    margin: auto;
}
.carousel-container .swiper-slide img{
    width: 100%;
    border-radius: 15px;
}
.carousel-container .swiper-pagination{
    position: unset !important;
}


/* Add to your style.css file */
.moments-swiper .swiper-wrapper{
    height: auto !important;
}
.moment-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.moment-wrapper {
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
}

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

.moment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: white;
    transition: transform 0.5s ease;
    text-align: center;
    opacity: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    z-index: -1;
}

.moment-card h3 {
    font-size: 24px;
    color: white;
    font-weight: bold;
}
.moment-overlay h3{
    margin-bottom: 0;
}
.moment-card p {
    transition: opacity 0.3s ease;
    font-weight: 500;
    font-size: 15px;
    max-width: 280px;
    line-height: 1.6;
}

.moment-card .title-front {
    position: absolute;
    width: 100%;
    height: 80px;
    bottom: 0;
    left: 0;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0px;
    z-index: 2;
    transition:  all 0.7s ease;
}

.moment-wrapper:before, .moment-wrapper:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150%;
    height: 100px;
    background-repeat: repeat-x;
    transition: all 0.7s ease-in-out;
}

.moment-wrapper:before {
    background-image: url(../img/wave-slide-transparent.png);
    height: 117px;
    z-index: 0;
    transform: translateX(-30%);
}

.moment-wrapper:after {
    background-image: url(../img/wave-slide.png);
    z-index: 1;
    transform: translateX(-10%);
    width: 230%;
}

.moment-card:hover .moment-overlay {
    opacity: 1;
    z-index: 3;
}
.moment-card:hover .title-front {
    opacity: 0;
}

.moment-card:hover .moment-wrapper:before {
    height: 120%;
    transform: translateX(0%);
    background-size: cover;
}

.moment-card:hover .moment-wrapper:after {
    height: 120%;
    transform: translateX(0%);
    background-size: cover;
}
/* Navigation buttons */
.col-nav .swiper-navigation {
    display: flex;
    gap: 40px;
    padding: 10px;
    background-color: rgb(18 87 158 / 12%);
    border-radius: 60px;
}

.col-nav .swiper-navigation button {
    width: 54px !important;
    height: 54px !important;
    font-size: 22px !important;
    border-radius: 50% !important;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: 2px solid var(--primary-color);
    position: unset !important;
    transition: background-color 0.3s ease;
    margin: 0px !important;
}
.col-nav .swiper-navigation button:after{
    display: none !important;
}

.col-nav .swiper-button-prev:hover,
.col-nav .swiper-button-next:hover {
    background-color: transparent !important;
    color: var(--primary-color) !important;
}

.form_contact{
    background-color: var(--light-color);
    padding: min(5vw, 32px);
    border-radius: 16px;
    font-weight: 600;
    color: #666666;
}

.form_visite {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.full_input > label {
    margin-bottom: 12px;
}

.full_input input:not([type=radio]), .full_input select {
    padding: 16px;
    background-color: #F0F8FF;
    border-radius: 8px;
    border: 1px solid rgb(18 87 158 / 15%);
}

.full_input input[type=radio] {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 8px;
    border: 1px solid #cccccc;
    position: unset;
    display: block;
    margin: 0px !important;
}

.error-message {
    display: none;
    color: red;
    font-weight: 400;
    margin-top: 10px;
}
.error-message[style="display: inline;"]{
    display: block !important;
}
.error-form{
    display: none;
}
.error-form[style="display: block;"]{
    display: flex !important;
}

.form-check-inline {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    margin: 0px;
    padding: 8px 12px;
    background-color: rgb(240 248 255 / 50%);;
    border-radius: 4px;
    border: 1px solid rgb(18 87 158 / 25%);
}

.form-check-inline label {
    font-size: 16px;
    font-weight: 500;
}

.input_radio {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.avis-swiper {
    margin-left: calc((100% - 1200px) / 2 + 20px) !important;
    overflow: visible !important;
}
.avis-swiper .swiper-wrapper {
    align-items: stretch;
}
.avis-swiper .swiper-slide {
    height: auto !important;
}
.avis-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
}

.avis-card {
    width: 100%;
    height: 100%;
    background-color: #F8FBFF;
    border: 1px solid rgb(18 87 158 / 24%);
    padding: min(3vw, 42px) 20px;
    border-radius: 1rem;
}

.avis-stars {
    color: #FBB825;
    font-size: 25px;
    display: flex;
    gap: 8px;
}

p.avis-desc {
    margin-bottom: 0px;
    color: black;
}


.thanks-section {
    width: 100vw;
    height: 100vh;
    background-image: url(../img/bg-thankyou.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.title-thanks{
    font-family: 'Roboto Slab';
    font-weight: 900;
    font-size: min(calc(1rem + 5vw), 90px);
    text-transform: uppercase;
}
.txt-thanks{
    font-weight: 600;
    font-size: min(calc(1rem + 2vw), 36px);
    max-width: 840px;
    margin: 0 auto;
}


@media (max-width: 1200px) {
    .avis-swiper {
        margin-left: 0px !important; /* Marge pour les petits écrans */
    }
}
@media (max-width: 900px) {
    .img-shape-bottom, .img-shape-top{
        height: 40px;
        object-fit: cover;
    }
    .feature-cards {margin-top: 0%;}
    .hero-section{min-height: 0;padding-bottom: 50px;}
}
@media (min-width: 521px) {
    .hide-desc{
        display: none;
    }
}
@media (max-width: 600px) {
    .btn{
        padding: 15px;
        font-size: 1rem;
    }
    .check-card{
        padding: 15px;
    }
}
@media (max-width: 520px) {
    .vie-section .img-shape-center{
        display: none;
    }
    .vie-section{
        background: #ECF2F8;
    }
    .hide-desc{
        height: 40px;
        object-fit: cover;
    }
}
@media (max-width: 420px) {
    .hero-buttons a{
        width: 210px;
        max-width: 100%;
    }
}