@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&family=Poppins:wght@400;600;700&display=swap');

:root 
{
    /*Charte Graphique*/        
    --color-black: black;
    --color-white: white;
}
        
*
{
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}

body 
{
    line-height: 1.5;
    font-size: 16px;
    overflow-x: hidden;
}

/*Menu*/
.container 
{
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

header 
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
    margin-bottom: 20px;
    bottom: 95px;
}

nav
{
    position: absolute;
    margin-left: 500px;
}

.logo img 
{
    width: 300px;
}

nav ul 
{
    display: flex;
    list-style: none;
}

nav ul li 
{
    margin-left: 30px;
}

nav ul li a 
{
    text-decoration: none;
    color: #777;
    font-size: 14px;
    transition: all 0.3s ease;
}

nav ul li a:hover 
{
    color: #333;
    transform: scale(1.05);   
}

nav ul li a#here
{
    border-bottom: 2px solid black;
    color: black;
}

nav ul li a#here:hover
{
    color: #777;
}


/* Menu déroulant User/Login */
.authentification 
{
    align-items: center;
    gap: 15px;
}

.btn-register
{
    display: inline-block;
    padding: 12px 35px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-login
{
    display: inline-block;
    padding: 12px 35px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.btn-register:hover,
.btn-login:hover
{
    transform: scale(1.05);
}

#user-menu 
{
    display: hidden;
    position: absolute;
    align-items: center;
    cursor: pointer;
    right: 170px;
    gap: 10px;
    bottom: 155px;
}

#user_nom 
{
    font-weight: bold;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5px 20px;
    border-radius: 5px;
}

.dropdown 
{
    position: relative;
}

.btn-drop 
{
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    padding: 5px 5px;
    border-radius: 5px;
}

.dropdown-content 
{
    display: none;
    position: absolute;
    right: 0;
    margin-top: 10px;
    background-color: var(--color-white);
    width: 170px;
    height: 100px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.6);
    z-index: 10;
    border-radius: 5px;
    overflow: hidden;
}

.dropdown-content a 
{
    color: var(--color-black);
    padding: 10px;
    display: block;
    margin-top: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-black);
}

.dropdown-content a:hover
{
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 5px;
}
#user-menu:hover .dropdown-content 
{
    display: block;
}


/* Accueil*/
.main-container 
{
    min-height: 200vh;
    background: var(--color-white);
    padding: 30px;
    color: var(--color-black);

}

.section-title 
{
    position: absolute;
    justify-content: center;
    text-align: center;
    top: 200px;
    left: 600px;
}

.section-title h1 
{
    font-family: 'Dancing Script', cursive;
    font-size: 70px;
    display: inline-block;
    padding: 20px;
    justify-content: center;
}

.section-title h1::before,
.section-title h1::after 
{
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
}

.section-title h1::before 
{
    border-bottom: 5px solid var(--color-black);
    border-left: 5px solid var(--color-black);
    bottom: 0;
    left: 0;
}

.section-title h1::after 
{
    border-top: 5px solid var(--color-black);
    border-right: 5px solid var(--color-black) ;
    top: 0;
    right: 0;
}

.home-info 
{
    position: absolute;
    text-align: center;
    top: 450px;
    left: 370px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.home-info p 
{
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
}

.btn-discover 
{
    position: relative;
    left: 600px;
    top: 300px;
    display: inline-block;
    padding: 12px 35px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse 
{
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.05);
    }
    100% {
      transform: scale(1);
    }
  
}

/*Carousel*/
.carousel 
{
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 450px;
    margin-left: 300px;
}

.carousel-inner 
{
    height: 100vh;
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-bottom: 100px;
}

.slide 
{
    min-width: 100%;
}

.slide img 
{
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius : 0px 0px 20px 20px;
}

.carousel-controls 
{
    position: absolute;
    top: 300px;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-controls button 
{
    background: rgba(255, 255, 255, 0.7);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.carousel-controls button:hover 
{
    background: rgba(255, 255, 255, 0.9);
}

.carousel-dots 
{
    position: absolute;
    bottom: 180px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot 
{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.dot.active 
{
    background: var(--color-white);
}

/* Avis */
.avis-content 
{
    position: relative;
    text-align: center;
    background: var(--color-black); 
    color: var(--color-white);
    border-radius: 8px;
    padding: 50px 20px;
    bottom: 50px;
}

.avis h2 
{
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-white);
}

.avis-container 
{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.avis-item 
{
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avis-item:hover 
{
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.client-name 
{
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-black);
    font-size: 1.1rem;
}

.stars 
{
    color: #ffd700;
    margin-bottom: 15px;
}

.stars .bxs-star,
.stars .bxs-star-half,
.stars .bx-star 
{
    font-size: 20px;
}

.avis-comment 
{
    font-size: 1rem;
    color: #333;
    margin-top: 10px;
    font-style: italic;
}

.stars .bxs-star:hover,
.stars .bxs-star-half:hover,
.stars .bxs-star:hover 
{
    color: #ff6347; 
}


/*Footer*/
footer
{  
    background-color: var(--color-white);
    border-top: 1px solid var(--color-black);
    margin-top: 80px;
    padding: 40px 0px;
}

.footer-container
{
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.footer-section h3
{
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--color-black);
}

.footer-section p
{
    color: #000000;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer-section ul
{
    list-style: none;
}

.footer-section ul li
{
    margin-bottom: 10px;
}

.footer-section ul li a
{
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover
{
    color: #007BFF;
}

.logos-sociaux 
{
    position: relative;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    right: 50px;
    top: 10px;
    transition: all 0.3s ease;
}

.logos-sociaux a 
{
    color: black;
    font-size: 25px;
    transition: all 0.3s ease;
}

.logos-sociaux a:hover 
{
    color: #007BFF;
}   

.copyright
{
    text-align: center;
    font-size: 12px;
    color: var(--color-black);
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-black);
}


