html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #2a2a2e 0%, #35353a 50%, #303034 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

header h1 {
    text-align: center;
    margin: 40px auto 30px auto;
    padding: 20px 40px;
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
    background: linear-gradient(135deg, rgba(35, 35, 38, 0.95) 0%, rgba(45, 45, 48, 0.9) 100%);
    border-radius: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-block;
    width: auto;
}

header {
    text-align: center;
}

.bulle-message {
    max-width: 800px;
    margin: 30px auto;
    padding: 35px;
    background: linear-gradient(145deg, #2a2a2e 0%, #35353a 100%);
    border: 1px solid #444448;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    text-align: justify;
    font-size: 16px;
    color: #e0e0e0;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bulle-message:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: #555559;
}

.bulle-message input[type="text"],
.bulle-message input[type="email"],
.bulle-message textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: 2px solid #444448;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #1e1e22;
    color: #e0e0e0;
}

.bulle-message input[type="text"]:focus,
.bulle-message input[type="email"]:focus,
.bulle-message textarea:focus {
    outline: none;
    border-color: #4fc3f7;
    background-color: #252529;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
}

.bulle-message button[type="submit"] {
    padding: 12px 35px;
    background: linear-gradient(135deg, #4a4a4e 0%, #5d5d62 100%);
    color: white;
    border: 1px solid #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.bulle-message button[type="submit"]:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5d5d62 0%, #707075 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: #4fc3f7;
}

.bulle-message label {
    font-weight: 600;
    color: #e0e0e0;
    display: block;
    margin-bottom: 8px;
}

footer {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, rgba(25, 25, 28, 0.95) 0%, rgba(35, 35, 38, 0.9) 100%);
    color: #b0b0b0;
    font-size: 14px;
    margin-top: auto;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    background: linear-gradient(135deg, rgba(35, 35, 38, 0.95) 0%, rgba(45, 45, 48, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 0 20px 20px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li {
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 0;
    background: transparent;
    color: white;
    list-style: none;
    border-radius: 10px;
    margin: 5px;
}

nav ul li:hover {
    background: linear-gradient(135deg, rgba(55, 55, 58, 0.8) 0%, rgba(65, 65, 68, 0.7) 100%);
}

.menu-bar {
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    padding: 18px 20px;
    width: 100%;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.menu-bar:hover {
    transform: translateY(-3px);
}

.bulle-message img {
    width: 180px;
    height: auto;
    margin: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.bulle-message img:hover {
    transform: scale(1.05);
}

.bulle-message h2 {
    color: #4fc3f7;
    font-size: 24px;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.bulle-message ul {
    margin: 15px 0;
    padding-left: 25px;
}

.bulle-message li {
    margin-bottom: 12px;
}

.bulle-message strong {
    color: #64b5f6;
}

.nom-principal {
    text-align: center;
    color: #4fc3f7;
    font-size: 36px;
    margin: 20px 0;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 50px;
    right: 30px;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}
@media screen and (max-width: 1024px) {
    .bulle-message {
        max-width: 90%;
        padding: 30px;
    }
    
    nav ul li {
        min-width: 120px;
    }
}


@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        margin: 0;
        border-radius: 0;
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
        overflow-y: auto;
    }
    
    nav.open {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
    }
    
    nav ul li {
        min-width: 100%;
        margin: 5px 0;
    }
    
    .menu-bar {
        padding: 15px;
        font-size: 14px;
    }
    
    header h1 {
        font-size: 32px;
        padding: 15px 30px;
        margin: 30px auto 20px auto;
    }
    
    .nom-principal {
        font-size: 28px;
        margin: 15px 0;
    }
    
    .bulle-message {
        max-width: 95%;
        padding: 25px 20px;
        font-size: 15px;
    }
    
    .bulle-message h2 {
        font-size: 20px;
        margin-top: 20px;
    }
    
    .bulle-message img {
        width: 45%;
        max-width: 200px;
        margin: 10px 5px;
        display: inline-block;
    }
    
    .bulle-message input[type="text"],
    .bulle-message input[type="email"],
    .bulle-message textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .bulle-message button[type="submit"] {
        padding: 10px 25px;
        font-size: 15px;
        width: 100%;
    }
    
    footer {
        padding: 20px 15px;
        font-size: 13px;
    }
}