body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f0;
    color: #333;
    overflow-x: hidden;
    animation: fadeInPage 1.5s ease forwards;
}
hr{
    width: 25%;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
}
.custom-select {
    background: none;
    border: none;
    font-size: 14px;
    margin-left: 10px;
    cursor: pointer;
    appearance: none;
    padding: 5px;
    font-weight: bold;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}

.logo img {
    width: 30px;
    margin-right: 10px;
}

/* Navigation de base */
nav {
    display: flex;
    justify-content: center; /* Centrage du menu */
    align-items: center;
    gap: 20px;
    padding: 15px;
    
}

/* Liens de navigation */
nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 15px;
}

/* Menu desktop */
.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px;
}

/* Menu burger caché par défaut */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #e8e4d9, #f5eee5);
    text-align: center;
    color: #101010;
    padding-top: 80px;
    animation: fadeIn 2s ease forwards;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: zoomIn 1.5s ease forwards;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 10px;
    animation: fadeUp 1.5s ease forwards;
}

.platform-annotation {
    font-size: 1.2rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    animation: fadeUp 1.5s ease forwards;
}

.platform-annotation img {
    width: 20px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.hero-buttons a {
    padding: 12px 30px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIn 1.5s ease forwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background-color: #1d1d1f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #d9d9d9;
    color: #1d1d1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-primary img, .btn-secondary img {
    width: 20px;
    margin-right: 10px;
}

spline-viewer {
    width: 100%;
    height: 80vh;
    margin: 0;
    border: none;
    display: block;
    animation: fadeIn 2s ease forwards;
}

.section {
    padding: 100px 60px;
    text-align: center;
    animation: fadeUp 1.5s ease forwards;
}

.section h2 {
    font-size: 2.5rem;
    color: #101010;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.cookie-banner {
    position: fixed;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px;
    text-align: center;
    display: none;
    border-radius: 8px;
}

.cookie-banner button {
    background: #fff;
    color: black;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}



footer p {
    margin: 5px 0;
    font-size: 1rem;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

/* Mode sombre */
.dark-mode {
    background-color: #1a1a1a;
    color: white;
}

/* Header en mode sombre */
.dark-mode header {
    background-color: #000;
    color: white;
}
.dark-mode .dark-mode-select {
    background: black;
    color: white;
    border: none;
    outline: none;
    box-shadow: none;
}

.dark-mode .dark-mode-select option {
    background: #2a2a2a;
    color: white;
}
.dark-mode .logo {
    color: white;
}

.dark-mode .nav-menu a {
    color: white;
}

/* Bouton de menu burger */
.dark-mode .menu-toggle {
    color: white;
}

/* Section features en mode sombre */
.dark-mode .feature-item {
    background: #2a2a2a;
    color: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.dark-mode .feature-item h3,
.dark-mode .feature-item p {
    color: white;
}

/* Hero Section en mode sombre */
.dark-mode .hero-section {
    background: linear-gradient(135deg, #101010, #222222);
    color: white;
}

.dark-mode .hero-text h1,
.dark-mode .hero-text p,
.dark-mode .hero-buttons a,
.dark-mode .platform-annotation {
    color: white !important;
}

.dark-mode .btn-primary {
    background-color: #333;
    color: white;
}

.dark-mode .btn-secondary {
    background-color: #555;
    color: white;
}

.dark-mode .platform-annotation img {
    filter: invert(1);
}

/* Mode sombre pour les sections */
.dark-mode .section,
.dark-mode .section-features,
.dark-mode .section-music,
.dark-mode .section-how-it-works,
.dark-mode .section-download {
    background-color: #1a1a1a;
    color: white;
}

.dark-mode .section h2,
.dark-mode .section p,
.dark-mode .section-features h2,
.dark-mode .section-music h2,
.dark-mode .section-how-it-works h2,
.dark-mode .section-download h2,
.dark-mode .section-download p {
    color: white !important;
}

/* Mode sombre pour How It Works */
.dark-mode .section-how-it-works {
    background-color: black;
    color: white;
}

.dark-mode .section-how-it-works h2,
.dark-mode .section-how-it-works p {
    color: white !important;
}
/* Mode sombre pour le bouton menu toggle */
.dark-mode .menu-toggle {
    background: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Effet visuel lorsqu'il est actif */
.dark-mode .menu-toggle.active {
    color: #00bcd4; /* Bleu cyan pour un effet visible */
}

/* Menu déroulant en mode sombre */
.dark-mode .nav-menu {
    background: black;
    color: white;
}

/* Styles des liens du menu */
.dark-mode .nav-menu a {
    color: white;
}

.dark-mode .nav-menu a:hover {
    color: #00bcd4; /* Effet au survol */
}
/* Bouton de dark mode transparent sans bordure */
#theme-toggle {
    background: transparent;
    color: white;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    top: 15px;
    right: 20px;
    z-index: 100;
    border: none;
}

#theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}
/* Animations */
@keyframes fadeInPage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Features Section */
.section-features {
padding: 100px 60px;
text-align: center;
}

.section-features h2 {
font-size: 2.5rem;
color: #101010;
margin-bottom: 20px;
}

.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 20px;
margin-top: 40px;
}

.feature-item {
background: #fff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
text-align: center;
}

.feature-item img {
width: 60px;
margin-bottom: 10px;
}

.feature-item h3 {
font-size: 1.2rem;
margin: 10px 0;
}

/* Music Gallery Section */
.section-music {
padding: 100px 60px;
text-align: center;
}

.section-music h2 {
font-size: 2.5rem;
color: #101010;
margin-bottom: 20px;
}

.image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
justify-content: center;
align-items: center;
}

.image-item {
position: relative;
overflow: hidden;
border-radius: 12px;
}

.image-item img {
width: 100%;
height: 250px;
object-fit: cover;
border-radius: 12px;
}

.music-button {
position: absolute;
top: 10px;
right: 10px;
background-color: rgba(0, 0, 0, 0.6);
color: white;
border: none;
border-radius: 50%;
padding: 10px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.music-button:hover {
background-color: rgba(0, 0, 0, 0.8);
}

/* How It Works Section */
.section-how-it-works {
padding: 100px 60px;
text-align: center;
}

.section-how-it-works h2 {
font-size: 2.5rem;
color: #101010;
margin-bottom: 20px;
}

.section-how-it-works p {
font-size: 1.2rem;
color: #555;
margin-bottom: 30px;
}

spline-viewer {
width: 100%;
height: 600px;
max-width: 1200px;
margin: auto;
display: block;
}

/* Download Section */
.section-download {
padding: 100px 60px;
text-align: center;
}

.section-download h2 {
font-size: 2.5rem;
color: #101010;
margin-bottom: 20px;
}

.section-download p {
font-size: 1.2rem;
color: #555;
margin-bottom: 30px;
}

.hero-buttons {
display: flex;
justify-content: center;
gap: 20px;
}

/* Footer Section */
footer {
background-color: #1d1d1f;
color: #fff;
padding: 40px 20px;
text-align: center;
}

footer p {
margin: 5px 0;
font-size: 1rem;
}

footer a {
color: #fff;
text-decoration: underline;
}

.hero-buttons {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 20px;
}



/* Responsive  */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Apparition du menu burger */
        padding-right: 30px;
    }

    .nav-menu {
        display: none; /* Caché par défaut */
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 60px;
        right: 0;
        background: #fff;
        width: 100%;
        text-align: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

    .nav-menu a {
        display: block;
        padding: 10px;
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    /* Afficher le menu lorsqu'on clique sur le bouton burger */
    .nav-menu.show {
        display: flex;
    }
}

@media (max-width: 768px) {
.hero-buttons {
flex-direction: column;
}
}
@media (max-width: 768px) {


}
@media (max-width: 768px) {
footer {
padding: 30px 15px;
}
footer p {
font-size: 0.9rem;
}
}

@media (max-width: 480px) {
footer {
padding: 25px 10px;
}
footer p {
font-size: 0.85rem;
}
}@media (max-width: 1024px) {
.section-how-it-works, .section-download {
padding: 80px 40px;
}
.section-how-it-works h2, .section-download h2 {
font-size: 2.2rem;
}
spline-viewer {
height: 500px;
}
}

@media (max-width: 768px) {
.section-how-it-works, .section-download {
padding: 60px 20px;
}
.section-how-it-works h2, .section-download h2 {
font-size: 2rem;
}
.section-how-it-works p, .section-download p {
font-size: 1rem;
}
spline-viewer {
height: 400px;
}
.hero-buttons {
flex-direction: column;
gap: 10px;
}
}

@media (max-width: 480px) {
.section-how-it-works h2, .section-download h2 {
font-size: 1.8rem;
}
.section-how-it-works p, .section-download p {
font-size: 0.9rem;
}
spline-viewer {
height: 300px;
}
}
@media (max-width: 1024px) {
.section-music {
padding: 80px 40px;
}
.section-music h2 {
font-size: 2.2rem;
}
.image-grid {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}

@media (max-width: 768px) {
.section-music {
padding: 60px 20px;
}
.section-music h2 {
font-size: 2rem;
}
.image-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.image-item img {
height: 200px;
}
}

@media (max-width: 480px) {
.section-music h2 {
font-size: 1.8rem;
}
.image-grid {
grid-template-columns: 1fr;
}
.image-item img {
height: 180px;
}
.music-button {
padding: 8px;
}
}
@media (max-width: 1024px) {
.section-features {
padding: 80px 40px;
}
.section-features h2 {
font-size: 2.2rem;
}
.features-grid {
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
}

@media (max-width: 768px) {
.section-features {
padding: 60px 20px;
}
.section-features h2 {
font-size: 2rem;
}
.features-grid {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.feature-item img {
width: 50px;
}
.feature-item h3 {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.section-features h2 {
font-size: 1.8rem;
}
.features-grid {
grid-template-columns: 1fr;
}
.feature-item {
padding: 15px;
}
.feature-item img {
width: 45px;
}
.feature-item h3 {
font-size: 0.9rem;
}
}

@media (max-width: 1024px) {
.section {
padding: 80px 40px;
}
.section h2 {
font-size: 2.2rem;
}
.section p {
font-size: 1.1rem;
}
}

@media (max-width: 768px) {
.section {
padding: 60px 20px;
}
.section h2 {
font-size: 2rem;
}
.section p {
font-size: 1rem;
}
.section ul {
font-size: 1rem;
}
}

@media (max-width: 480px) {
.section h2 {
font-size: 1.8rem;
}
.section p {
font-size: 0.9rem;
}
.section ul {
font-size: 0.9rem;
}
}

@media (max-width: 768px) {
spline-viewer {
height: 400px;
}
}
@media (max-width: 480px) {
spline-viewer {
height: 300px;
}
}

