@font-face {
    font-family: 'Fenix';
    src: url('/fonts/Fenix/Fenix-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --Primary: #763939;
    --Secondary: #951d35;
    --Tertiary: #e4bc99;
    --bg: #f7e9de;
    --texts: #3a1a18;
}

/* GLOBAL */

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: 'Fenix', sans-serif;
    text-decoration: none;
    list-style: none;
    outline: none;
    border: none;
    scroll-behavior: smooth;
}

body {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

section {
    padding: 100px 0px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

h1 {
    font-size: 2.5em;
    letter-spacing: 2px;
    font-weight: 900;
    margin-bottom: 50px;
    color: var(--texts);
    font-family: 'Fenix';
    text-transform: uppercase;
}

h2 {
    font-size: 1.8em;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--texts);
    font-family: 'Fenix';
    text-transform: uppercase;
}

h3 {
    font-size: 1.2em;
    font-weight: 300;
    color: var(--Primary);
    font-family: 'Poppins', sans-serif;
}

h4 {
    font-size: 1.2em;
    font-weight: 200;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    font-family: 'Poppins', sans-serif;
}

a {
    font-family: 'Poppins', sans-serif;
}

.btn {
    display: inline-block;
    width: auto;
    font-size: 1rem;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 400;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    white-space: nowrap;
}

.btn.primary {
    background-color: var(--bg);
    color: var(--texts);
}

.btn.secondary {
    background-color: var(--Secondary);
    color: var(--bg);
    border: 1px solid var(--Secondary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.container {
    padding: 0px 5%;
}

/* NAVBAR */
.logo {
    width: auto;
    height: auto;
    padding-right: 30px;
}

.logo p {
    color: var(--bg);
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

.img-logo {
    width: 40px;
}

.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 5%;
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: var(--Primary);
    opacity: 1;
}

.navbar.navbar-services {
    opacity: 1;
}

.navbar.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar-left {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.nav-links {
    display: flex;
    padding: 0px 20px;
    border-radius: 30px;
}

.nav-links a {
    text-decoration: none;
    padding: 10px 20px;
    color: var(--bg);
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.nav-links a.active {
    font-weight: bold;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

.nav-item {
    position: relative;
    margin-right: 20px;
}

.nav-item>a {
    display: inline-block;
    padding: 10px 20px;
    color: var(--bg);
    font-size: 1.2rem;
    transition: color 0.3s ease-in-out;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg);
    padding: 10px 0;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: var(--bg);
    font-size: 1rem;
    white-space: nowrap;
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item:hover .dropdown {
    display: block;
}

.navbar-CTA {
    display: none;
}

.CTA-mobile {
    padding: 15px 25px;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 30px;
    height: 3px;
    background: var(--bg);
    margin: 5px;
    transition: all 0.3s ease-in-out;
}

/* HERO */
#accueil-hero {
    background-color: var(--bg);
}

.accueil-hero-container {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    width: 100%;
}

.accueil-hero-title h3 {
    margin-bottom: 20px;
}

.accueil-hero-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.accueil-hero-img-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.accueil-hero-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.accueil-hero-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(228, 188, 153, 0.3);
    pointer-events: none;
    z-index: 2;
    border-radius: 10px;
}

.accueil-hero-img-sm,
.accueil-hero-img-md {
    border-radius: 15px;
}

.accueil-hero-img-sm {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.accueil-hero-img-md {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    object-position: 50% 30%;
}

.accueil-hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

/* ABOUT */
#about {
    background-image: url(/images/pexels-rdne-7755653.jpg);
    background-size: cover;
    width: 100%;
    object-fit: cover;
    position: relative;
    background-position: 40% 70%;
}

#about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 2;
    border-radius: 10px;
}

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-container>* {
    z-index: 4;
    margin-bottom: 40px;
}

.about-container div>* {
    z-index: 4;
    margin-bottom: 10px;
}

.about-container h3 {
    font-weight: bold;
    color:var(--Primary);
}

.about-container p {
    color:var(--texts);
}

/* PRESTATIONS */
#prestations {
    background-color: var(--bg);
}

.prestations-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
}

.prestations-col-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.prestations-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1 1 50%;
    min-width: 0;
}

.prestations-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.prestations-block h3 {
    font-weight: bold;
}

.prestations-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    border-radius: 15px;
    border: 1px solid var(--Secondary);
    padding: 20px;
    width: 100%;
    transition: border 0.3s ease;
    cursor: pointer;
}

.prestations-item.active {
    border: 3px solid var(--Secondary);
}

.prestations-item-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.prestations-item-title>* {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 0px;
    font-weight: bold;
}

.prestations-item-title h4 {
    font-size: x-large;
    font-weight: bold;
}

.prestations-item-text {
    display: none;
}

.prestations-item.active .prestations-item-text {
    display: block;
}

.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 0;
    overflow: hidden;
}

.carousel-container {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.carousel-card {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    color: white;
    font-size: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 100%;
    gap: 1rem;
}

.carousel-btn {
    background-color: rgba(200, 200, 200, 0.15);
    color: var(--Primary);
    border: none;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    position: absolute;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.img-team {
    border-radius: 15px;
    max-height: 800px;
    width: auto;
    max-width: 330px;
}

/* CTA VERS GALERIE */
#CTA-galerie {
    background-color: var(--Primary);
    color: var(--bg);
}

.container-cta-galerie {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.container-cta-galerie>* {
    color: var(--bg);

}

/*AVIS*/
#avis {
    background-color: var(--bg);
}

.container-avis {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.avis-row-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    width: 100%;
}

.avis-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 100%;
    align-items: flex-start;
}

.avis-item {
    flex: 1 1 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    justify-content: center;
    text-align: center;
    gap: 1rem;
    border: 1px solid var(--Secondary);
    border-radius: 15px;
    padding: 20px 10px;
    transition: border 0.3s ease;
    cursor: pointer;
    width: 100%;
    overflow: hidden;
}

.avis-item:not(.active) {
    height: auto;
}

.avis-item.active {
    border: 3px solid var(--Secondary);
    height: auto; 
}

.avis-header p {
    font-size: large;
    font-weight: bold;
}

.avis-content {
    display: none;
}

.avis-item.active .avis-content {
    display: block;
}

/* CTA VERS contact */
#CTA-contact-accueil {
    background-color: var(--Primary);
    color: var(--bg);
}

.container-cta-contact-accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.container-cta-contact-accueil>* {
    color: var(--bg);

}

/*FOOTER*/
footer {
    background-color: var(--bg);
    padding: 20px 0px;
}

.container-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

footer * {
    color: var(--texts);
}

.footer-column .logo p {
    color: var(--texts);
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 0.4rem;
    width: 100%;
    padding: 0px 10px;
}

.footer-title {
    font-weight: bolder;
    font-size: 1.2em;
    text-transform: uppercase;
}

.footer-subtitle {
    font-weight: bolder;
    font-size: 1.0em;
    text-transform: uppercase;
}

.reseaux {
    padding: 10px 0px;
}

/* GALERIE */
#galerie {
    background-color: var(--bg);
}

.galerie-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.container-galerie h1 {
    font-size: 3em;
}

.container-galerie p {
    font-size: 1.4em;
    line-height: 1.2em;
}



.galerie-dynamic-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.galerie-row {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.galerie-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

@media (min-width: 1024px) {
    .galerie-img {
        height: 300px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .galerie-img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .galerie-dynamic-container {
        grid-template-columns: 1fr;
    }
}

.galerie-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 30px;
    border: 2px solid var(--Secondary);
    background-color: transparent;
    color: var(--Secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--Secondary);
    color: var(--bg);
}

.filter-btn.active {
    background-color: var(--Secondary);
    color: var(--bg);
    border-width: 3px;
}



/* MEDIA QUERIES */

@media screen and (max-width: 1023px) {

    /* NAVIGATION */
    .logo {
        width: auto;
        height: auto;
    }

    .nav-links {
        position: absolute;
        right: 0;
        top: 0;
        background: var(--bg);
        color: var(--Primary);
        width: 100%;
        height: 100vh;
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        justify-content: flex-start;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
        overflow-y: auto;
        border-radius: 0;
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        color: var(--Primary);
        padding: 12px 0;
        font-size: 1.2rem;
    }

    .nav-links .CTA-mobile {
        padding: 15px 25px;
    }

    .burger {
        display: block;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: var(--Secondary);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background: var(--Secondary);
    }

    .dropdown {
        display: block !important;
        position: static;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
        min-width: auto;
    }

    .dropdown a {
        padding-left: 30px;
        font-size: 1rem;
        white-space: normal;
    }

    .nav-item:hover .dropdown {
        display: block;
    }

    .btn.primary.CTA-mobile {
        background-color: var(--Secondary);
        color: var(--bg);
    }
}


@media screen and (min-width: 425px) {

    /* GENERAL */
    h1 {
        font-size: 2.6em;
    }

    h2 {
        font-size: 1.8em;
    }

    /* NAVIGATION */
    
}

@media screen and (min-width: 768px) {

    /* GENERAL */
    .img-logo {
        width: 60px;
    }
    h1 {
        font-size: 5em;
    }

    h2 {
        font-size: 2.2em;
    }

    .container {
        padding: 0px 6%;
    }

    /* NAVIGATION */
    .navbar {
        padding: 20px 6%;
    }

    /* HERO */
    .accueil-hero-img-container {
        flex-direction: row;
    }

    #accueil-hero {
        padding-top: 150px;
    }

    /* ABOUT */
    .about-container>* {
        padding: 0px 50px;
    }

    /* PRESTATIONS */
    .prestations-col-container {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    /* AVIS */
    .avis-item {
        flex: 1 1 45%;
    }

    /* GALERIE */

    #galerie {
        padding-top: 120px;
    }
}

@media screen and (min-width: 1024px) {

    /* GENERAL */
    h1 {
        font-size: 5em;
    }

    h2 {
        font-size: 2.3em;
    }

    h3 {
        font-size: 1.8em;
    }

    .container {
        padding: 0px 6%;
    }

    /* NAVIGATION */
    .CTA-mobile {
        display: none;
    }

    .navbar-CTA {
        display: block;
    }

    .dropdown {
        background-color: var(--Primary);
    }

    .navbar {
        padding: 20px 6%;
    }

    /* HERO */
    .accueil-hero-container {
        flex-direction: row;
        gap: 3rem;
    }

    .accueil-hero-img-sm {
        max-height: none;
        height: 300px;
        width: 100%;
        object-fit: cover;
        object-position: 50% 30%;
    }

    .accueil-hero-img-md {
        max-height: none;
        height: 270px;
        width: 100%;
        object-fit: cover;
        object-position: 50% 30%;
    }

    /* ABOUT */
    .about-container>* {
        padding: 0px 80px;
    }

    .about-container div {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .about-container div p {
        width: 70%;
    }

    /* PRESTATIONS */

    /*FOOTER*/
    .container-footer {
        flex-direction: row;
    }

    /* AVIS */
    .avis-item {
        flex: 1 1 30%;
    }

    /* GALERIE */
    #galerie {
        padding-top: 150px;
    }

    .img-team {
    border-radius: 15px;
    max-height: 800px;
    width: auto;
    max-width: 400px;
}
}

@media screen and (min-width: 1440px) {

    /* GENERAL */
    h1 {
        font-size: 6em;
    }

    h2 {
        font-size: 2.5em;
    }

    .container {
        padding: 0px 8%;
    }

    .navbar {
        padding: 20px 8%;
    }

    /*HERO*/
    #accueil-hero {
        padding-top: 200px;
    }

    .accueil-hero-container {
        gap: 5rem;
    }

    .accueil-hero-img-sm {
        height: 320px;
    }

    .accueil-hero-img-md {
        height: 380px;
    }

    /* ABOUT */
    .about-container>* {
        padding: 0px 120px;
    }

    /* PRESTATIONS */
    /* AVIS */
    .avis-item {
        flex: 1 1 20%;
    }

    /* GALERIE */
    #galerie {
        padding-top: 170px;
    }

    .img-team {
    border-radius: 15px;
    max-height: 800px;
    width: auto;
    max-width: 500px;
}
}

/* MENTIONS LEGALES */
#mentions-legales {
    background-color: var(--bg);
    min-height: 100vh;
}

.mentions-container {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 120px;
}

.mentions-container h1 {
    text-align: center;
    margin-bottom: 50px;
}

.mentions-section {
    margin-bottom: 40px;
}

.mentions-section h2 {
    color: var(--Primary);
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--Secondary);
    padding-bottom: 10px;
}

.mentions-section h3 {
    color: var(--Secondary);
    font-size: 1.2em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.mentions-section p,
.mentions-section ul {
    line-height: 1.8;
    margin-bottom: 15px;
}

.mentions-section ul {
    padding-left: 30px;
}

.mentions-section li {
    margin-bottom: 8px;
}

.mentions-section a {
    color: var(--Secondary);
    text-decoration: underline;
}

.mentions-section a:hover {
    color: var(--Primary);
}

.highlight-box {
    background-color: #fff;
    border-left: 4px solid var(--Secondary);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .mentions-container {
        padding-top: 100px;
    }
    
    .mentions-section h2 {
        font-size: 1.3em;
    }
    
    .mentions-section p,
    .mentions-section ul {
        font-size: 1em;
    }
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--bg);
}

.footer-bottom p {
    color: var(--Primary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    color: var(--Secondary);
}

.footer-bottom a:hover {
    color: var(--Primary);
}