/* assets/css/style.css */

/* Général */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

/* Couleurs principales */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #f9f9f9;
    --light-bg: #e9ecef;
}

/* Typographie */
h1, h2, h3 {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Conteneur */
.container {
    width: 85%;
    margin: auto;
    overflow: hidden;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn:hover {
    opacity: 0.8;
}

/* Header et Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    width: 85%;
    margin: auto;
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.auth-buttons a {
    margin-left: 1rem;
}

/* Style du menu burger */
.burger {
    display: none; /* Caché par défaut sur les grands écrans */
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 0;
    margin-top: 80px;
    background-color: var(--light-bg);
}

.hero-content {
    flex: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    padding: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Features Section */
#features {
    padding: 4rem 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 2rem;
    width: 85%;
    margin: auto;
}

.feature {
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* CTA Section */
#cta {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

#cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

#cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 85%;
    margin: auto;
}

.footer-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-left: 1.5rem;
}

.footer-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: var(--primary-color);
}

/* Media Queries pour la Responsivité */
@media (max-width: 992px) { /* Correspond à la taille lg de Bootstrap */
    .container {
        width: 95%;
    }

    /* Navigation */
    nav {
        padding: 1rem;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--light-bg);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        margin-left: 0;
        margin-top: 2rem;
    }

    .burger {
        display: block; /* Affiche le menu burger */
    }

    /* Hero Section */
    #hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        width: 100%;
        padding: 1rem;
    }

    .hero-image {
        width: 100%;
        padding: 1rem;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 1rem;
    }
}

/* Animation du menu burger */
.nav-active {
    transform: translateX(0%);
}

/* Style pour l'animation des lignes du burger */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Ajoutez ici vos styles spécifiques qui ne sont pas couverts par Bootstrap */
.navbar-brand img {
    height: 60px; /* Gardez cette ligne si vous voulez personnaliser la hauteur du logo */
} 