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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #eee;
    margin: 0;
    font-size: 14px;
    overflow-x: hidden;
}

header {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 100%);
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 700; 
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); 
    transition: 0.3s;
}

header nav a:hover {
    color: #f1683a; 
}

.carousel {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

.carousel .list .item {
    position: absolute;
    inset: 0;
}

.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .list .item .content {
    position: absolute;
    top: 25%;
    left: 10%;
    width: 500px;
    padding: 20px; 
    background-color: rgba(0, 0, 0, 0.6); 
    border-left: 5px solid #f1683a; 
    border-radius: 10px;
    backdrop-filter: blur(5px); 
}

.carousel .list .item .title {
    font-size: 4em;
    font-weight: bold;
    color: #f1683a;
    line-height: 1.2em;
}

.carousel .list .item .des {
    margin: 20px 0;
}

.carousel .list .item .copyright a {
    color: #aaa;
    font-size: 0.8em;
}

.thumbnail {
    position: absolute;
    bottom: 50px;
    left: 55%;
    display: flex;
    gap: 20px;
    z-index: 100;
}

.thumbnail .item {
    width: 150px;
    height: 220px;
    position: relative;
}

.thumbnail .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
}

.arrows {
    position: absolute;
    bottom: 50px;
    left: 10%;
    display: flex;
    gap: 10px;
}

.arrows button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee4;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.arrows button:hover {
    background-color: #f1683a;
}

.container, footer {
    padding: 50px;
    background: #111;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    padding: 100px;
}

.modal-zoom {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-zoom img {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 3px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close-zoom {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption-zoom {
    margin: auto;
    display: block;
    width: 80%;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 20px;
}

.thumbnail .item img.zoomable {
    cursor: zoom-in;
    transition: 0.3s;
}

.thumbnail .item img.zoomable:hover {
    filter: brightness(1.2);
    border-color: #f1683a;
}
#contrib-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 20px auto;
    gap: 15px; 
    background: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

#contrib-form input, 
#contrib-form textarea {
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    color: white;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: 0.3s;
}

#contrib-form input:focus, 
#contrib-form textarea:focus {
    border-color: #f1683a; 
    box-shadow: 0 0 10px rgba(241, 104, 58, 0.2);
}

#contrib-form button {
    padding: 15px;
    background-color: #f1683a;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

#contrib-form button:hover {
    background-color: #ff8c61;
    transform: translateY(-2px);
}

.modal-content h2 {
    color: #f1683a; 
    border-bottom: 2px solid #f1683a;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

header {
    position: fixed; 
    top: 20px;
    left: 50%;
    transform: translateX(-50%); 
    width: auto;
    background: rgba(10, 10, 10, 0.7); 
    backdrop-filter: blur(15px); 
    padding: 10px 30px;
    border-radius: 50px; 
    border: 1px solid rgba(241, 104, 58, 0.3); 
    display: flex;
    gap: 30px;
    z-index: 1000;
}

header nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

header nav a {
    color: #fff;
    font-size: 12px;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.4s;
}

header nav a:hover {
    color: #f1683a;
}

#modal-legal {
    display: none; 
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(10px); 
    z-index: 3000;
}

.modal-content {
    background: #111;
    color: #fff;
    width: 90%;
    max-width: 500px;
    margin: 10% auto;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #f1683a; 
    box-shadow: 0 0 30px rgba(0,0,0,1);
    position: relative;
}
#backToTop {
    display: none; 
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background-color: #f1683a; 
    color: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#backToTop:hover {
    background-color: #ff8c61;
    transform: scale(1.1);
}
/* Style du Footer */
footer {
    background: #0a0a0a;
    padding: 40px 20px;
    border-top: 1px solid rgba(241, 104, 58, 0.2);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-content p {
    color: #888;
    font-size: 0.9em;
    margin: 0;
}

.footer-nav a {
    color: #f1683a; 
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    opacity: 0.7;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background-color: #f1683a; 
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    line-height: 0;
    padding-bottom: 4px; 
}

.close:hover {
    transform: rotate(90deg);
    background-color: #fff;
    color: #f1683a;
}

#modal-legal .modal-content {
    max-height: 80vh;    
    overflow-y: auto;    
    margin-top: 5vh;     
}

#modal-legal .modal-content::-webkit-scrollbar {
    width: 6px;
}

#modal-legal .modal-content::-webkit-scrollbar-thumb {
    background: #f1683a;
    border-radius: 10px;
}