@import url("fontawesome.css");
/********************* General Settings *********************/

html {
    scroll-behavior: smooth;
    padding: 0;

}

* {
    font-family: 'Raleway', sans-serif;
}

:root {
    --main-color: #0065FC;
    --main-bg-color: #F2F2F2;
    --filter-bg-color: #DEEBFF;
}

.fa-solid {
    color: var(--main-color);
}

body {
    display: flex;
    justify-content: center;
    margin-top: 0px;
    padding: 0;
    margin-bottom: 0;
    margin-left: 5px;
    margin-right: 5px;
}

.main-container {
    width: 100%;
    padding: 0 50px;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}

.section-title {
    margin: 0;
    font-size: 22px;
}

.card {
    background-color: white;
    border-radius: 20px;
    padding: 5px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
}

.card img {
    object-fit: cover;
}

.card-title {
    font-size: 16px;
}

.euro {
    font-weight: 700;
}

.neutral-star {
    color: var(--main-bg-color)
}

/****************************** Header ******************************/
/****** Barre de navigation ***********/
.logo {
    width: 75px;
    padding-top: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    border-top: 2px solid transparent;
    padding-top: 21px;
    transition: border-color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    border-top-color: #007BFF;
    color: #007BFF;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 40px;
}


/*********** Barre de recherche ***********/
.search-wrapper {
    display: flex;
    align-items: center;
    width: 29%;
    height: 48px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #eee;
    color: #000;
}

/* Icône Maps */
.left-box {
    background: #f2f2f2;
    height: 100%;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-box i {
    font-size: 18px;
    color: black;
}

/* Texte dans la barre de recherche */
.search-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    padding-left: 25px;
    font-size: 19px;
    font-weight: 600;
    background: white;
    color: #000;
    width: 200px;
}

.search-wrapper input::placeholder {
    color: black;
    opacity: 1;
}

/* Bouton Rechercher */
.search-wrapper button {
    background: #0076ff;
    color: white;
    border: none;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    height: 100%;
}

.search-wrapper button:hover {
    background: #0060d9;
}


/*********** Filtres ***********/

.filters {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.filters-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    transition: 0.3s ease;
}

/* Icônes bleues */
.filter i {
    color: #2d74ff;
    font-size: 18px;
}

.filter:hover {
    background: #DEEBFF;
}

/** INFORMATIONS LISTE **/
.fa-solid.fa-info {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 2px solid #D9D9D9;
    border-radius: 50%;
    color: #2d74ff;
    font-size: 17px;
    margin: 10px;
}



/****** Hebergements And Populaires ***********/
.hebergements-and-populaires {
    display: flex;
    justify-content: space-between;
}

.hebergements-and-populaires section {
    background-color: var(--main-bg-color);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
}

/* Hébergements */
#hebergements {
    width: 65%;
}

.hebergements-cards {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.hebergements-cards img {
    width: 100%;
    height: 136px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.card-2 {
    background-color: white;
    border-radius: 25px;
    padding: 5px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
    width: 249px;
    margin: 2px;

}

.card-title-2 {
    font-size: 16px;
    margin-bottom: 2px;
}

.card-txt {
    margin: 0;
}

.card-txt-hebergements {
    margin-left: 10px;
    margin-bottom: 5px;
}

.card-rating-2 {
    margin-left: 10px;
    margin-bottom: 10px;
}

.card-subtitle-hebergements {
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 0;
}

.afficher-plus {
    margin: 15px;
}


/* Populaires */

.fa-solid.fa-chart-line {
    padding-left: 135px;
}

.populaires {
    width: 32%;
}

.populaires-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.populaires-cards .card {
    display: flex;
    margin-top: 33px;
}

.populaires-cards img {
    width: 33%;
    height: 136px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.populaires-cards .card-content {
    width: 67%;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.populaires-cards .card-title {
    margin-top: 10px;
    margin-bottom: 4px;
}

.populaires-cards .card-subtitle {
    margin: 0;
}

.populaires-cards .card-rating {
    margin-bottom: 5px;
}

/** ACTIVITES A MARSEILLE **/

.section-title-2 {
    margin-bottom: 20px;
}

#activities-at-marseille {
    padding-top: 30px;
    padding-bottom: 35px;
}


.activities {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.activities-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block;
}

.card-3 {
    background-color: white;
    border-radius: 20px;
    filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
    width: 275px;
    height: 400px;
    /**margin: 15px;**/

}

.card-title-3 {
    font-size: 16px;
    margin: 15px;
}

/** FOOTER **/
.footer-title {
    font-weight: 600;
    font-size: 18px;
}

ul {
    margin: 0;
    padding: 0;
    margin-top: 20px;
}

.footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20%;
    align-content: space-between;
    padding-left: 30px;
    background-color: #F2F2F2;
}

li {
    list-style: none;
    margin-bottom: 13px;

}


/*********************  PARTIE RESPONSIVE DESIGN *********************/

/**** LARGE DESKTOP ****/
@media only screen and (min-width: 1800px) {

    body {
        margin-left: 190px !important;
        margin-right: 190px !important;
    }

    .hebergements-cards {
        gap: 25px;
    }

    .card-2 {
        width: 258px;
        margin: 2px;
    }

    .search-wrapper {
        width: 28%;
    }

    .search-wrapper input {
        font-size: 21px;
    }

    .footer {
        width: 97%;
    }


}

/** Pour les tablettes **/

@media (max-width: 1024px) {

    .main-container {
        padding: 0 25px;
    }

    .logo {
        width: 30%;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 5px;
    }

    p {
        font-size: 13px;
        margin-top: 0;
    }

    .navbar {
        padding: 0px 55px 0px 0px;
    }

    .nav-links a {
        font-weight: 300;
        font-size: 14px;
    }

    .filters-title {
        font-size: 17px;
    }

    .filters {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .fa-solid.fa-info {
        width: 25px;
        height: 25px;
        font-size: 12px;
        border: 1.5px solid #D9D9D9;
    }


    .search-wrapper {
        width: 46%;
        display: flex;
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 0;
        overflow: visible;
        border-radius: 15px;

    }

    /** BOUTON RECHERCHER **/
    .search-wrapper button {
        background: #0076ff;
        color: white;
        border: none;
        padding: 0 22px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        height: 100%;
        border-top-right-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .left-box {
        border-top-left-radius: 15px;
        border-bottom-left-radius: 15px;
        width: 50px;
    }

    .search-wrapper input {
        width: 150.983px;
        font-size: 16px;
        padding-left: 12px;
    }

    /** FILTRE **/

    .filter {
        font-size: 15px;
    }

    .filter.nos-pepites {
        background-color: #DEEBFF !important;
        font-size: 15px;

    }


    /** HEBERGEMENTS ET POPULAIRES**/

    .hebergements-and-populaires {
        flex-direction: column;
    }

    /** HEBERGEMENTS **/
    #hebergements {
        width: 95%;
    }

    .hebergements-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .card-2 {
        width: 95%;
        margin: 0;
    }

    .hebergements-cards img {
        object-fit: cover;
        height: 98px;
    }

    .card-title-2 {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .card-subtitle-hebergements {
        font-size: 14px;
        margin-top: 1px;
        margin-bottom: 5px;
    }


    .card-txt {
        margin: 0;
        margin-bottom: 2px;
    }

    .card-rating-2 {
        margin-left: 10px;
        margin-top: 0;
    }




    /** POPULAIRE **/

    .fa-solid.fa-chart-line {
        padding-left: 625px;
    }

    .card {
        border-radius: 25px;
    }

    .populaires-cards .card {
        display: flex;
        margin-top: 20px;
        width: 265px;
        height: 115px;
    }

    .populaires-cards img {
        object-fit: cover;
        height: 115px;
    }

    .populaires {
        width: 95%;
        margin-top: 50px;
    }

    .populaires-cards {
        display: flex;
        flex-direction: row;
        gap: 35px;
    }

    .populaires-cards a {
        width: 30%;
    }

    .populaires-cards .card-title {
        font-size: 12px;
    }

    .populaires-cards .card-subtitle {
        font-size: 11px;
    }

    .card-content {
        width: 67px;
    }

    /** ACTIVITES **/
    .activities {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 60px;
    }

    .card-3 {
        margin: 0;
        height: 242px;
        width: 180px;
    }

    .card-title-3 {
        font-size: 12px;
        margin-left: 10px;
        margin-bottom: 10px;
    }

    .activities-card img {
        height: 185px;
        object-fit: cover;
    }

    /**************** FOOTER *******************/
    .footer-title {
        font-size: 15px;
    }

    ul {
        padding-left: 1px;
        margin-top: 20px;
    }

    .footer {
        width: 93%;
        gap: 15%;
        padding-bottom: 10px;
        padding-left: 15px;

    }

    .A-propos {
        width: 25%;
    }

    .Nos-hebergements {
        margin-left: -12px;
    }

    li {
        font-size: 13px;
    }
}

/** Pour les mobiles  **/

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
    body {
        margin: 0;
        padding: 0;
    }


    .main-container {
        padding: 0;
    }

    .section-title {
        font-size: 18px;
    }

    .hero {
        width: 100%;
        margin: 10px;
    }

    h2 {
        font-size: 18px;
        margin: 10px;
    }

    .hero-text {
        font-size: 17px;
        margin-left: 10px;
        margin-bottom: 30px;
    }

    .search-wrapper {
        width: 85%;
        display: flex;
        padding: 0;
        margin-left: 11px;
        position: relative;
        z-index: 0;
        overflow: visible;

    }


    .search-wrapper input {
        flex: 1;
        font-size: 18px;
        padding-left: 10px;
    }

    .btn-rechercher {
        font-size: 0 !important;
        color: transparent !important;
        overflow: visible !important;
        position: relative !important;
        width: 50px;
        height: 50px;
        padding: 0 !important;
        border-radius: 15px;
        box-shadow: 0px 7px 8px rgba(0, 0, 0, 0.45);
        z-index: 1;
    }



    .btn-rechercher::before {
        content: "\f002";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 20px;
        color: white;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .navbar {
        padding: 10px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .logo {
        width: 25%;
    }

    .logo-section {
        width: 75%;
        display: flex;
        justify-content: center;
        margin: 15px;
    }

    .nav-links {
        width: 100%;
        display: flex;
        justify-content: space-around;
        margin-top: 15px;
        border-bottom: 3px solid #F9F9F9;
        position: relative;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding-bottom: 15px;
        font-size: 18px;
        font-weight: 100;
        color: #000000;

    }

    .boutton-hebergement {
        color: #0065FC !important;
        border-bottom: 3px solid #0065FC;
        position: relative;
        top: 3px;
        z-index: 2;
    }

    .nav-links a:hover {
        border-top-color: white !important;
        color: #007BFF;
    }

    /** FILTRES **/

    .filters {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .filters-title {
        margin-bottom: 5px;
        margin-left: 15px;
        font-size: 20px;
    }

    .filters-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 90%;
        margin: 10px;
    }

    .filters-list .filter {
        width: 100%;
        padding: 10px;
        background: #fff;
        border: 2px solid #ddd;
        border-radius: 30px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 45px;
        font-size: 14px;
    }

    .filter.familial {
        justify-content: flex-start;
        padding-left: 35px;
    }

    .filter.romantique {
        background-color: #DEEBFF;
    }

    .filter.filter.nos-pepites {
        background-color: white !important;
    }



    .filter:hover {
        background: #DEEBFF;
    }

    /** INFORMATIONS **/

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

    .informations-list p {
        display: flex;
        align-items: center;
        gap: 3px;
        font-size: 16px;
    }

    .fa-solid.fa-info {
        width: 35px;
    }

    /** SECTIONS HEBERGEMENTS ET POPULAIRES **/
    .hebergements-and-populaires section {
        display: flex;
        flex-direction: column;
        border-radius: 0;
        background-color: white;
        padding: 17px;

    }

    .card {
        width: 300px;
    }

    /** POPULAIRES - Small devices **/

    .fa-solid.fa-chart-line {
        padding-left: 100px;
    }

    .populaires {
        order: 1;
        margin-top: 0;
        background-color: #F2F2F2 !important;

    }

    .populaires-cards .card-title {
        font-size: 14px;
    }

    .populaires-cards .card-subtitle {
        font-size: 14px;
    }

    .populaires-cards {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .populaires-cards .card {
        width: 270px;
        height: 145px;
    }

    .populaires-cards img {
        height: 145px;
    }



    /** HEBERGEMENTS - Small devices **/

    .Nos-hebergements {
        margin-left: 0;
    }

    .section-title {
        margin-bottom: 15px;
    }

    .hebergements-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .hebergements-cards a {
        width: 100%;
    }

    .card-2 {
        width: 100%;
    }

    #hebergements {
        order: 2;
        background-color: white;
        padding-left: 20px;
        padding-right: 30px;
        padding-top: 25px;
    }

    .hebergements-cards img {
        height: 115px;
        object-fit: cover;
    }

    .card-subtitle {
        margin: 0px;
    }

    .card-title-2 {
        font-size: 17px;
        margin-top: 8px;
    }

    .card-subtitle-hebergements {
        font-size: 15px;
    }



    .afficher-plus {
        display: flex;
        flex-direction: column;
        order: 3;
        font-size: 18px;
    }

    /** ACTIVITES A MARSEILLE - Small devices **/
    .section-title-2 {
        margin-left: 30px;
    }

    .card-3 {
        width: 285px;
        height: 190px;
        margin-left: 15px;
    }

    .activities-card img {
        width: 100%;
        height: 135px;
        object-fit: cover;
    }

    .card-title-3 {
        font-size: 15px;
        margin: 17px;
    }

    #activities-at-marseille {
        padding-top: 30px;
        padding-bottom: 55px;
    }

    /** FOOTER **/

    ul {
        padding-left: 10px;
        margin-bottom: 35px;
    }

    .footer {
        display: flex;
        flex-direction: column;
        padding-left: 25px;
        padding-top: 25px;
    }

    .A-propos {
        width: 70%;
        font-size: 18px;
    }

    li {
        font-size: 17px;
        font-weight: 100;
    }
}