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

:root {
    --font-color: #0f0f0f;
    --bg-color: #f0f0f0;
}

[data-theme="dark"] {
    --font-color: #fefefe;
    --bg-color: #121212;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--font-color);
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
header {
    background: url('../images/fondindex.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 40px; /* Increased padding */
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 2.5em;
}
header p {
    margin: 10px 0 0;
    font-size: 1.2em;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1a1a2e; /* Darker blue */
}
.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    gap: 20px;
}
nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 15px;
}
nav a:hover {
    background-color: #16213e; /* Dark blue */
    border-radius: 5px;
}
nav .logo-container {
    margin-left: auto;
}
nav .logo {
    height: 40px;
    transition: transform 0.3s;
}
nav .logo:hover {
    animation: jump 0.5s infinite alternate;
    color: inherit; /* Assurez-vous que le logo ne change pas de couleur lorsqu'il est survolé */
}
@keyframes jump {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}
section {
    padding: 40px;
    text-align: center;
    flex: 1;
}
h2, h3, h4 {
    color: #1a1a2e; /* Darker blue */
}
.service-block {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}
.service {
    background: url('../images/fondindex.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
}
.process-block {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}
.process-step {
    background: url('../images/fondindex.png') no-repeat center center;
    background-size: cover;
    padding: 20px;
    border-radius: 10px;
    width: 22%;
    text-align: center;
}
.step-number {
    background-color: #000000; /* Black circle */
    color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}
.cta {
    background: url('../images/fondindex.png') no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 600px;
}
.cta a {
    display: inline-block;
    margin-top: 10px;
    background-color: #0083f0;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
}
.cta a:hover {
    background-color: #015eea;
}
footer {
    background-color: #1a1a2e; /* Darker blue */
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
footer a {
    color: #ffffff;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}
footer a:hover {
    text-decoration: underline;
}
#hero p, #services h3, #process h3 {
    color: #1a1a2e; /* Darker blue */
}
.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
}
.slide {
    display: none;
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
}
