/*All Site*/
*{
    font-family:Georgia, 'Times New Roman', Times, serif;
}

/*Style du menu*/

.navbar {
    filter: drop-shadow(0 0 0.75rem BLAck);
    background-color: rgba(255, 255, 255, 0.45);
    height: 80px;
}

.navbar-brand, .nav-link {
    font-size: 18px;
    font-weight: bold;
    font-family:Georgia, 'Times New Roman', Times, serif;
    letter-spacing: 1px;
    color: rgba(0 0 0) !important;
}

.container{
    display:inline-block;
    justify-content: center;
    align-items: center;
}

.nav-link:hover{
    color: royalblue !important;
}

.carousel-item img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: 50% 50%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/*Style du Body*/

body{
    font-family: 'Lora', cursive;
    background-color: #f4f4f4;
    font-size: 18px;
    text-align: justify;
}

h1{
    /*font-family: 'Playfair Display', serif;*/
    font-size: 50px;
    margin: 20px 20px;
}

h2{
    /*font-family: 'Playfair Display', serif;*/
    font-size: 30px;
    margin: 20px 20px;
}

h3{
    /*font-family: 'Playfair Display', serif;*/
    font-size: 30px;
    margin: 20px 20px;
}

h4{
    /*font-family: 'Playfair Display', serif;*/
    font-size: 20px;
    margin: 20px 20px;
}

h5 {
    font-weight: bold;
}

h6{
    font-weight: bold;
    text-decoration: underline;
}

/*Style du Header*/

.headerBar{
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.headerBar .overlay{
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design2{
    background-image: url("/img/appareil.webp");
}

.design3{
    background-image: url("/img/porfolio.jpg");
    background-position: top;
}

.design4{
    background-image: url("/img/photographe.jpg");
}

.design5{
    background-image: url("/img/contact.avif");
}

.design6{
    background-image: url("/img/client.jpg");
    background-position: center;
}

.design7 {
    background-image: url("/img/contrat.jpg");
    background-position: center;
}

/*Titre principal de la page*/

.principalTitle{
    text-align: center;
    padding: 20px 20px;
    background-color: #333;
    color: white;
}

/*Contenu de la page d'accueil*/
/*Section 1*/

.aPropos {
    background-color: #f9f9f9;
    text-align: center;
    padding-bottom: 20px;
}

.aPropos p {
    margin: 0 auto;
    line-height: 1.6;
}

/*Section 2*/

.prestations .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.prestations {
    text-align: center;
    transition: transform 0.3s;
}

.prestations img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.prestation:hover {
    transform: translateY(-5px);
}


/*Contenu de la page Qui suis-je ?*/
.sectionDescription {
    background-color: #fdfdfd;
}


/*Contenu de la page Portfolio*/

galerie {
    max-width: 1000px;
    margin: 0 auto;
}

.galerie img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/*Contenu de la page Prestations*/

/*Titre de la prestation*/

.sectionItem h2{
    margin-bottom: 20px;
    margin-top: 20px;
}

.sectionItem p{
    margin: 0 auto;
    color: rgba(3, 3, 3, 0.5)
}


/* Section des prestations */

.prestationSection {
    text-align:center;
    margin-bottom: 10px;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.prestationSection:hover {
    transform: translateY(-10px);
}

.prestationSection img {
    width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.prestationSection h3{
    margin-top: 20px;
    color: #333;
}

.prestationSection p{
    color: #666;
    margin-top: 20px;
    margin-left: 8px;
    margin-right: 8px;
}

.prestationSection ul{
    text-align: justify;
}

.cta-button {
    display: inline-block;
    background-color: #ff8c00;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

.cta-button:hover {
    background-color: #e07b00;
}


/*Détail prestations*/
.sectionNB {
    background-color: #f9f9f9;
    font-size: 1rem;
    line-height: 1.6;
}

.sectionNB-title {
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: underline;
    margin-bottom: 1rem;
}

.sectionNB-list {
    list-style: none;
    padding-left: 0;
}

.sectionNB-list li {
    margin-bottom: 0.75rem;
}

.sectionNB-list li::before {
    content: "✦";
    color: #6c757d;
    margin-right: 0.5rem;
}


/*Contenu de la page Contact*/
.contact-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* permet le passage en colonne sur mobile */
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.contact-form{

}
.contact-map {
    flex: 1 1 100%; /* prend toute la largeur sur mobile */
    min-width: 300px;
}
/* Formulaire inputs / textarea / boutons */
.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}

.contact-form fieldset {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.contact-form legend {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.contact-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.btn-gwen {
    background-color: #ff8c00;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}
.btn-gwen:hover {
    background-color: #e07b00;
}
/* Mobile / tablette */
@media(max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 0 10px;
    }
    .contact-form fieldset {
        padding: 10px;
    }
    .contact-form legend {
        font-size: 16px;
        margin-bottom: 8px;
    }
}

/* Ecran > 768 */
@media(min-width: 769px){
    .contact-form,
    .contact-map {
        flex: 1 1 45%; /* côte à côte sur grand écran */
    }
}


/*Grille tarifaire*/
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.pricing-table thead {
    background-color: #222;
    color: #fff;
}
.pricing-table th,
.pricing-table td {
    padding: 16px;
    text-align: center;
}
.pricing-table tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}
.pricing-table tbody tr:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}
@media (max-width: 600px) {
    .pricing-table thead {
        display: none;
    }
    .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td {
        display: block;
        width: 100%;
    }
    .pricing-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
    }
    .pricing-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    .pricing-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-left: 10px;
        font-weight: bold;
        text-align: left;


/* Section des mentions légales */
.mentions {
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 50px;
}
.mentions h3 {
    padding-bottom: 20px;
}


/* Section des CGV */
.conditions {
    margin-left: 5px;
    margin-right: 5px;
    padding-top: 50px;
}
.conditions h3 {
    padding-bottom: 20px;
}
.conditions p{
    font-family: "Playfair Display", serif;
}


/*Footer*/

.footer{
    font-size: smaller;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #666666;
}

/* Responsive mobile et tablette */
/* Général : empêche le débordement horizontal */
body {
    overflow-x: hidden;
}

/* Images et vidéos */
img, video, .carousel-item img {
    max-width: 100%;
    height: auto;
}

/* Bandeau / Header */
@media (max-width: 768px) {
    .headerBar {
        height: 300px; /* réduit la hauteur pour mobile */
    }
    .headerBar .overlay {
        padding: 0 15px; /* marge intérieure pour le texte */
        flex-direction: column;
    }
    .navbar {
        height: auto;
        padding: 10px 15px;
    }
    .navbar-brand, .nav-link {
        font-size: 16px;
    }
    .container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }
}

/* Menu en colonne sur mobile */
.navbar .nav-link {
    display: block;
    margin: 5px 0;
}

/* Grille tarifaire / Pricing Table */
@media (max-width: 600px) {
    .pricing-table thead {
        display: none;
    }
    .pricing-table,
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
        width: 100%;
    }
    .pricing-table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        background-color: #fff;
    }
    .pricing-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    .pricing-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 45%;
        padding-left: 10px;
    }
}

/*contact*/
.contact-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}
.contact-form{
    margin-top: 60px;!important
    padding-top: 20px;
}
.contact-map {
      flex: 1 1 100%;
    min-width: 300px;
}
.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
}
.contact-form fieldset {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
.contact-form legend {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.contact-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.btn-gwen {
    background-color: #ff8c00;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}
.btn-gwen:hover {
    background-color: #e07b00;
}
@media(max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 0 10px;
    }
    .contactForm {
        margin-top: 30px;
        padding-top: 15px;
    .contact-form fieldset {
        padding: 10px;
    }
}
 .contact-form legend {
     font-size: 16px;
     margin-bottom: 8px;
 }
@media(min-width: 769px){
    .contact-form,
    .contact-map {
        flex: 1 1 45%;
    }
}


