:root {
    --primary-color: #000000;
    --secondary-color: #D4AF37; /* Or */
    --text-color: #FFFFFF;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

.header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
}

.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?q=80&w=2832&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.gold {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #b89a2d;
}

.features-section, .explore-section, .legal-section, .faq-section {
    padding: 4rem 5%;
    text-align: center;
}

.legal-section, .faq-section {
    padding-top: 8rem; /* Espace pour le header fixe */
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.features-section h2, .explore-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #1a1a1a;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Styles pour le contenu légal & FAQ */
.legal-section h2, .faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
}

.legal-section h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-section p, .legal-section li {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.legal-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.legal-section a:hover {
    text-decoration: underline;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.faq-answer {
    line-height: 1.8;
}


.photo-scroller {
    display: flex;
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.photo-scroller .scroller-inner {
    display: flex;
    animation: scroll 40s linear infinite;
}

.photo-scroller img {
    height: 200px;
    width: auto;
    margin: 0 1rem;
    border-radius: 10px;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.footer {
    background-color: #1a1a1a;
    padding: 3rem 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

@media(max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        flex-direction: column;
        background-color: #000;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }
}

/* Styles pour le sélecteur de langue */
.language-switcher {
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-left: 2rem;
}

.language-switcher a, .language-switcher span {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    padding: 0 0.5rem;
    transition: color 0.3s ease;
}

.language-switcher a:hover {
    color: var(--secondary-color);
}

.language-switcher a.active {
    color: var(--secondary-color);
    cursor: default;
}

@media(max-width: 768px) {
    .language-switcher {
        order: -1; /* Place le sélecteur avant le logo */
        margin-left: 0;
        padding-left: 0;
        margin-right: auto;
    }
}
