@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Sour+Gummy:ital,wght@0,100..900;1,100..900&display=swap');

*{
    font-family:'Open Sans';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Header principal */
.main-header {
    background: url("../Arrière_plan_haut/pexels-padrinan-255377.jpg");
    background-size: cover;
    background-position: center;
    padding: 30px 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 120px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Menu de navigation */
nav.nav {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    gap: 40px;
}

nav.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    transition: color 0.3s ease;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

nav.nav a:hover {
    color: #B2FEFA;
}

/* Ajustement pour la section top-page1 */
.top-page1 {
    margin-top: 120px;
}

/* Ajustement pour la première section après le header */
.nom {
    margin-top: 120px;
    width: 100%;
    display: flex;
    justify-content: center;
}

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

/* En-tête*/
.big-title {
    color: white;
    font-size: 80px;
    font-family: 'Sour Gummy', cursive;
    font-weight: 100;
    text-align: center;
}

h2 {
    font-size: 30px;
}

p {
    font-size: 20px;
}

a {
    text-decoration: none;
    color: white;
}

/* Style pour le footer */
footer.footer {
    background: url("../Arrière_plan_haut/pexels-dana-tentis-118658-370799.jpg");
    background-size: cover;
    height: 80px;
    padding: 25px;
}

/* Style pour les icônes sociales dans le footer */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.social-icons a {
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #B2FEFA;
    transform: translateY(-5px);
}

/* Media Queries pour la responsivité */
@media screen and (max-width: 1200px) {
    .big-title {
        font-size: 2.5em;
    }
    .nav {
        padding: 0 20px;
    }
}

@media screen and (max-width: 992px) {
    .big-title {
        font-size: 2em;
    }
    .nav {
        padding: 0 15px;
    }
    .nav a {
        font-size: 0.9em;
    }
}

@media screen and (max-width: 768px) {
    .big-title {
        font-size: 1.8em;
    }
    .nav {
        flex-direction: column;
        padding: 10px;
    }
    .nav li {
        margin: 5px 0;
    }
    .nav a {
        font-size: 1em;
    }
    .social-icons {
        margin-top: 15px;
    }
}

@media screen and (max-width: 576px) {
    .big-title {
        font-size: 1.5em;
    }
    .nav {
        padding: 5px;
    }
    .nav a {
        font-size: 0.9em;
    }
    .social-icons a {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 320px) {
    .big-title {
        font-size: 1.2em;
    }
    .nav a {
        font-size: 0.8em;
    }
    .social-icons a {
        font-size: 1em;
    }
}

/* Nouveau style du bouton palette de peinture */
.scrolltop-palette {
    position: fixed;
    bottom: 100px;
    right: 50px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}
.scrolltop-palette img {
    width: 44px;
    height: 44px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: contain;
    background: none;
    border-radius: 0;
    padding: 0;
}
.scrolltop-palette:hover img {
    transform: rotate(-15deg) scale(1.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
@media (max-width: 768px) {
    .scrolltop-palette {
        bottom: 70px;
        right: 20px;
    }
    .scrolltop-palette img {
        width: 32px;
        height: 32px;
    }
}