@import url('../css/dessign.css');
@import url('../css/miniReset.css');

*{
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--blan-pur); 
}
/* Style pour le div avec image de fond */
.contact-section {
    width: 100%;
    height: auto;
    min-height: 240px; /* Hauteur minimale */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* Filtre noir semi-transparent */
        url('../Source/IMG/picQalite3.jpg'); /* Remplacer par l'URL de l'image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    color: white;
    text-align: center;
}
.contact-section h1 {
    font-size: 35px;
    position: relative;
    right: 410px;
    font-family: 'Oswald';
    color: white;
}
.contact-section h1:hover{
    font-size: 37px;
    transition: 0.5s ease;
}
.contact-section p {
    font-size: 16px;
    position: relative;
    right: 200px;
    color: white;
    width: 600px;
    text-align: left;
}
/* Ajustements pour mobile */
@media (max-width: 768px) {
    .contact-section h1 {
        font-size: 2rem;
        position: relative;
        left: -10px;
        padding-top: 41px;
    }
    .contact-section p {
        font-size: 1.2rem;
        right: inherit;
        width: inherit;
        text-align: center;
    }
    .contact-section{
        padding: 5px 0px;
    }
}
@media (max-width: 920px) and (min-width: 768px){
    .contact-section h1 {
        font-size: 2rem;
        position: relative;
        left: -10px;
    }
    .contact-section p {
        font-size: 1.2rem;
        position: relative;
        left: -9px;
    }
}
/* Section Nous somme a votre evoute */
.sommeEcoute {
    width: 100%;
    height: auto;
    min-height: 150px;
    background-color: white;
    padding: 20px 10px;
}
.croisiere {
    width: auto;
    height: 350px;
    margin-top: 70px;
    margin-left: 130px;
    object-fit: cover;
}
.sommeEcoute_info {
    background-color: white;
    width: 700px;
    height: auto;
    padding: 20px 15px;
    position: absolute;
    bottom: 45px;
    left: 500px;
}
.sommeEcoute_info h1 {
    font-family: 'Oswald';
    font-size: 40px;
    font-weight: bold;
    color: var(--bleu-marine);
}
.sommeEcoute_info p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: grey;
    line-height: 15px;
}
/* Section Nous somme a votre evoute */ 
/* Pour les tablettes (écran de 768px à 1024px) */
@media  (min-width: 769px) and (max-width: 1024px) {
    .sommeEcoute{
        /*background-color: red;*/
        margin-bottom: -7px;
        padding: 10px 10px;
    }
    .croisiere {
        width: 100%;
        height: auto;
        margin-top: 20px;
        margin-left: 0;
    }
    .sommeEcoute_info {
        width: 100%;
        left: 0;
        bottom: 10px;
        padding: 10px;
        text-align: center; /* Centrer le texte */
        position: inherit;
        height: 160px;
    }
    .sommeEcoute_info h1 {
        font-size: 28px;
    }
    .sommeEcoute_info p {
        font-size: 23px;
        line-height: 27px;
    }
}
/* Pour les mobiles (écran inférieur à 768px) */
@media only screen and (max-width: 768px) {
    .sommeEcoute{
        /*background-color: red;*/
        margin-bottom: -66px; /* 7px */
        padding: 10px 10px;
        
    }
    .croisiere {
        width: 100%;
        height: auto;
        margin-top: 20px;
        margin-left: 0;
    }
    .sommeEcoute_info {
        width: 100%;
        left: 0;
        bottom: 10px;
        padding: 10px;
        text-align: center; /* Centrer le texte */
        position: inherit;
    }
    .sommeEcoute_info h1 {
        font-size: 28px;
    }
    .sommeEcoute_info p {
        font-size: 15px;
        line-height: 19px;
    }
}

