.hero {
    background-image: url("fondpresentation.jpg");
    background-repeat: no-repeat;
    padding: 0px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* 🔥 important */
    border-bottom:1px solid black;
}


.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    height: 600px;
    object-fit: contain;
    margin-right: 60px;
}

#contactme{
    background-color: black;
    color: white;
    margin: 25px;
    margin-left: 250px;
    height: 75px;
    padding: 15px;
    border-radius: 5px;
    font-size: medium;
    width: 250px;
}

#contactme:hover{
    background-color: white;
    color: black;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 50px;
    flex-wrap: wrap; /* responsive */
}

.card {
    background: black;
    width: 300px;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 150px;
    height: 150px;
}

.card h3 {
    margin: 15px 0 10px;
    color: white;
}

.card p {
    padding: 0 15px 20px;
    color: white;
}

.reveal {
    opacity: 0;
    transform: translateY(0px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.moim {
    background-color: #121212;
    color: white;
}
.moim p {
    margin: 50px;
}

.moim h1 {
    margin: 30px;
    margin-top: 30px;
    margin-left: 50px;
}

.about {
    padding: 60px 10%;
    background-color: black;
    color: white;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* TEXTE */
.text {
    flex: 1;
}

.text h2 {
    font-size: 28px;
    margin-bottom: 30px;
    border-left: 4px solid #00aaff;
    padding-left: 10px;
}

.info p {
    margin: 15px 0;
    font-size: 16px;
    line-height: 1.5;
}

.info span {
    color: #00aaff;
    font-weight: bold;
}

/* IMAGE */
.image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.image img:hover {
    transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .image img {
        width: 220px;
        height: 220px;
    }
}