﻿/* CSS Document */
/* Définition de la variable */
:root {
  --color_dore: #9D0759; /* dark fushia */
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    
}

h4 {
  color: #9b0067; /* Dark fuchsia pour les titres */
  border-bottom: 2px solid #9b0067;
  padding-bottom: 5px;
  margin-bottom: 15px;
}

h5 {
  color: #9b0067; /* Dark fuchsia pour les sous-titres */
}

#formules_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Style pour les box_formule */
#box_formule {
  background-color: #ffffff; /* Fond blanc pour chaque box */
  border: 1px solid #cccccc; /* Bordure légère */
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1); /* Ombre douce à droite et en bas */
  padding: 20px;
  margin: 20px;
  width: 45%;
  box-sizing: border-box; /* Inclure la marge dans la largeur totale */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Style pour les tarifs */
.tarif {
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 10px;
}

.tarif .label {
  color: #555555;
}

.tarif .price {
  color: #e74c3c; /* Rouge pour les prix */
}


.contenu_banniere {
	z-index:1;
	background-color:#FFFFFF;
    width: 100%;
    float: left;
	
	height: 100px;
	
	border-bottom: 6px solid var(--color_dore);
	
	box-shadow: 4px 4px 10px #555;
	margin-bottom: 12px;
	
	display: grid;
	align-items: center;
    place-items: center;
	position: fixed;
}

.box_contenu {
	z-index:-1;
	margin-top: 100px;
    width: 89%;
    float: left;
	
	min-height: calc(100vh - 320px);*/
	
	font-family: "Playfair Display", serif;
	font-style: normal;
	margin-left:2%;
	margin-right:2%;
	margin-bottom: 8px;
	
	padding: 2%;
	
	
	/*border: 2px solid var(--color_dore);*/
	
	/*border-radius: 10px 10px 10px 10px;*/
	
	/*box-shadow: 6px 6px 12px #555;*/
}

.bloc_contenu_center_colonne
{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

.pied {
	z-index:-1;
    width: 93%;
    float: left;
	display: flex;
    justify-content: space-between;
	align-items: center;
	text-align: center;
	
	min-height: 120px;
	
	margin-left:2%;
	margin-right:2%;
	
	border-top: 2px solid var(--color_dore);
	
	/*border: 2px solid var(--color_dore);*/
	/*border-radius: 10px;
	box-shadow: 6px 6px 12px #555;*/
}

.error{
	text-align: center;
	border:#FF0000 thin solid;
	border-radius: 5px;
	margin: 2%;
	padding: 1%;
}

#p_gauche, #p_droit {
    width: 25%; /* Pour que chaque boîte prenne 25% de la largeur */
}

.p_center {
    width: 50%; /* Pour que la boîte centrale prenne 50% de la largeur */
}


/* Pour la bannière */
.banniere_titre {
    text-align: center; /* Centrer le contenu de la bannière */
}

.banniere_titre h1 {
	font-family: 'Great Vibes', cursive;
	font-style: normal;
    font-size: 3em; /* Taille de police pour les titres */
    margin-bottom: 10px; /* Marge basse pour séparer les titres */
	margin: 0;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.box_contenu h3 {
    font-family: "Playfair Display", serif;
    font-style: normal;
    font-size: 1.8em; /* Taille de police pour les sous-titres */
    margin-top: 0; /* Supprimer la marge supérieure pour les sous-titres */
    margin-bottom: 20px; /* Marge basse pour séparer les sous-titres */
    border-bottom: 2px solid var(--color_dore); /* Ajouter une ligne dorée sous le titre */
}

#logo
{
	float: left;
}

.img_logo{
	width: 5em;
	height: 5em;
}

#p_image{
 float:left;
 width: 30%;
 margin: 1.3%;
}

#p_image img{
 width: 100%;
 border-radius: 5px;
 box-shadow: 6px 6px 12px #555;
}

#module_presentation{
	float: left;
	width: 100%;
}

.img_pre_in img {
    border-radius: 5px;
    box-shadow: 6px 6px 12px #555;
    width: 16em;
    height: 10em;
    transition: box-shadow 0.3s ease, filter 0.3s ease; /* Ajout de transition pour une animation fluide */
}

.img_pre_in img:hover,
.img_pre_in img:active {
    box-shadow: 3px 3px 6px #555; /* Réduire l'ombre lors du survol ou clic */
	filter: blur(3px);
}

.img_pre_in{
	margin-left:1%;
	margin-right:1%;
}

.img_pre{
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

#img_viewer{
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	width:40vw;
}

#menu_page{
	margin-top:1%;
	margin-bottom:1%;
}

#description_img{
	padding: 1%;
}

#image_img img{
	width:100%;
}

#img_menuPageAndViewer{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 100%;
}

.card_contact{
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	width:28vw;
	padding: 2%;
}

.center_button {
        display: block;
        margin: 0 auto;
		margin-top: 1%;
    }
	
.form-container {
  display: flex;
  justify-content: center;
 }
 
 .option_box {
 	display: flex;
	width: 100%;
	flex-wrap: wrap;
 }
 
 .option {
 	flex-grow: 1;
 	min-width: 15em;
	border:thin #000000;
 	box-shadow: 6px 6px 12px #555;
	padding: 1%;
	margin: 1%;
	border-radius: 5px;
 }
 
 .table_live {
	width: 100%;
	text-align:center;
	border-collapse: collapse;
 }
 
 .table_live tr{
 	border-bottom:#FF9933 thin solid;
 }
 
 .simple-admin-table {
 	border-collapse: collapse;
	width: 100%;
	text-align:center;
}

.simple-admin-table th, .simple-admin-table {
	border: 1px solid black;
	padding: 8px;
}

.simple-admin-table th {
            background-color: #f2f2f2;
        }

/* CSS du menu hamburger */

/* Styles pour le menu hamburger */
        #menu__toggle {
            opacity: 0; /* Rend l'input checkbox invisible */
        }
        #menu__toggle:checked + .menu__btn > span {
            transform: rotate(45deg); /* Animation de rotation pour la barre du milieu */
        }
        #menu__toggle:checked + .menu__btn > span::before {
            top: 0; /* Animation de translation pour la barre du haut */
            transform: rotate(0deg);
        }
        #menu__toggle:checked + .menu__btn > span::after {
            top: 0; /* Animation de translation pour la barre du bas */
            transform: rotate(90deg);
        }
        #menu__toggle:checked ~ .menu__box {
            left: 0; /* Fait apparaitre le menu lorsque la case est cochée */
        }
        .menu__btn {
            position: fixed;
            top: 3em;
            left: 3em;
            width: 80px;/*26*/
            height: 80px;/*26*/
            cursor: pointer;
            z-index: 1;
        }
        .menu__btn > span,
        .menu__btn > span::before,
        .menu__btn > span::after {
            display: block;
            position: absolute;
            width: 100%;
            height: 6px;
            background-color: #616161; /* Couleur des barres */
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__btn > span::before {
            content: '';
            top: -16px;
        }
        .menu__btn > span::after {
            content: '';
            top: 16px;
        }
        .menu__box {
            display: block;
            position: fixed;
            top: 0;
            left: -100%; /* Cache le menu par défaut */
            width: 20em;
            height: 100%;
            margin: 0;
            padding: 100px 0;
            list-style: none;
            background-color: #ECEFF1; /* Couleur de fond du menu */
            box-shadow: 2px 2px 6px rgba(0, 0, 0, .4); /* Ombre */
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__item {
            display: block;
            padding: 12px 24px;
            color: #333; /* Couleur du texte du menu */
            font-family: 'Roboto', sans-serif;
            font-size: 20px;
            font-weight: 600;
            text-decoration: none;
            transition-duration: .25s; /* Animation de transition */
        }
        .menu__item:hover {
            background-color: #CFD8DC; /* Couleur de fond au survol */
        }

.color-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            border: 1px solid black; /* Ajoute une bordure noire */
            margin-left: 5px;
            margin-right: 5px;
        }
        .green {
            background-color: green;
        }
        .yellow {
            background-color: yellow;
        }
		
		.menu__logo img {
    max-width: 100%;
    height: auto;
    padding: 20px 0; /* Ajoute un peu d'espace autour du logo */
	border-radius: 20%;
}
.menu__logo {
    text-align: center; /* Centre le logo dans le menu */
    margin-bottom: 20px; /* Espace entre le logo et les liens du menu */
}

/* fin du css du menu hamburger*/


/*gallery*/
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Affiche 3 colonnes */
    gap: 20px;
    padding: 20px;
}

/* Style des éléments de la galerie */
.gallery-item {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style des images */
.gallery-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

/* Effet au survol de l'image */
.gallery-image:hover {
    transform: scale(1.05);
}

/* Style de la description */
.description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    color: white;
    padding: 10px;
    text-align: center;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Pour les écrans de taille inférieure ou égale à 800px (par exemple, les téléphones) */
@media only screen and (orientation: portrait){
	.gallery {
        grid-template-columns: 1fr; /* Une seule colonne */
    }


    .banniere_titre h1 {
        font-size: 2em;
    }
    .banniere_titre h3 {
        font-size: 1em;
    }
	
	.contenu_banniere {
		height: 80px;
	}
	
	.pied {
		height: 80px;
	}
	
	#p_gauche, #p_droit {
	display: none;
	}
	
	.p_center {
    width: 100%; /* Pour que la boîte centrale prenne 50% de la largeur */
	}
	
	.img_logo{
	display: none;
	}
	
	/*hamburger*/
	.menu__btn {
			top: 2em;
            left: 1em;
            width: 3.5em;
            height: 3.5em;
        }
        .menu__btn > span,
        .menu__btn > span::before,
        .menu__btn > span::after {
            height: 0.4em;
        }
        .menu__btn > span::before {
            content: '';
            top: -1.0em;
        }
        .menu__btn > span::after {
            content: '';
            top: 1.0em;
        }
		
		.menu__box {
            width: 14em;
		}
	/* fin hambuger*/
	
	.p_img_hidden{
		display: none;
	}
	
	#p_image{
		width: 96%;
 		
	}
	
	.box_contenu {
	
	margin-top: 86px;
	}
	
	.img_pre_in2 img {
	width: 8em;
    height: 5em;
	}
	
	#img_viewer{
		width:90vw;
	}
	
	.card_contact{
	
	width:80vw;
	}
	
	#formules_container {
    flex-direction: column;
  }

  #box_formule {
    width: 100%; /* Chaque box prend toute la largeur */
  }
}