/* Style général */
@font-face { 
    font-family: 'Rantera'; 
    src: 
        url('../fonts/rantera.otf') format("opentype"),
        url("../fonts/Rantera.woff") format("woff");
    font-weight: normal; 
    font-style: normal; 
  } 

@font-face { 
    font-family: 'Etheral'; 
    src: 
        url("../fonts/Ethereal Whisper.woff") format("woff");
    font-weight: normal; 
    font-style: normal; 
  }

:root {
--primary-color: #FFD700; /* Doré */
--secondary-color: #1e3a8a; /* Bleu foncé */

}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Playfair Display';
}


header {
background-color: #000000;
}

nav {
height: 10vh; /* 10% de la hauteur de la fenêtre */
width: 100vw; /* Prend toute la largeur */
background: #000000; /* Ou autre couleur */
display: flex;
align-items: center; /* Centrer les éléments verticalement */
justify-content: space-between; /* Répartir les éléments */
padding: 0 20px; /* Petit padding sur les côtés */
position: fixed; /* Fixer en haut */
top: 0;
left: 0;
z-index: 1000; /* Toujours au-dessus des autres éléments */
}

body {
padding-top: 10vh; /* Décaler le contenu sous le bandeau */
overflow-x: hidden;
}

/* Logo à gauche */
.logo {
height: 35vh;
padding-top: 10vh;
display: flex;
align-items: center;
}

.logo img {
max-height: 20vh; /* Ajustable selon tes préférences */
width: auto; /* Maintient les proportions */
}

.social-contact {
  height: auto;
  display: flex;
  flex-direction: row; /* Met en colonne */
  gap: clamp(5px, 1vw, 15px); /* Espacement entre icônes et numéro */
}

.social-links {
  display: flex;
  gap: 10px;
  padding-top: 5px;
}


/* Icônes SVG */
.social-links svg {
height: 30px;
width: 30px;
fill: #f8f8f8; /* Couleur des icônes */
transition: fill 0.3s ease;
}

.social-links svg:hover {
fill: var(--primary-color); /* Changement de couleur au survol */
}

.contact-info {
  align-items: center;
  display: flex;
  gap: 10px;
}
.contact-info a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: clamp(0.8rem, 2vw, 1.1rem);
  padding-right: 1vw;
}


/* Style du menu */
.menu {
list-style: none;
display: flex;
gap: 20px;
}

.menu li {
position: relative;
}

/* Style du lien principal */
.menu > li > a {
text-decoration: none;
color: var(--primary-color);
font-size: 1.3rem;
padding: 10px 15px;
}

.menu a.active {
color: var(--primary-color); /* Doré */
font-weight: bold;
border-bottom: 2px solid var(--primary-color); /* Ligne dorée sous l'onglet actif */
padding-bottom: 5px;
}


/* Style du sous-menu */
.submenu {
list-style: none;
position: absolute;
top: 100%;
left: 0;
background: white;
border: 1px solid #ddd;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
display: none;
width: 200px;
z-index: 1000;
}

.submenu li {
padding: 10px;
}

.submenu li a {
text-decoration: none;
color: black;
display: block;
}

/* Affichage du sous-menu au survol */
.dropdown:hover .submenu {
display: block;
}

/* Effet au survol */
.submenu li a:hover {
background: var(--primary-color);
color: white;
}

body {
    background-image: url('../images/marbre.jpeg'); /* Chemin de l’image */
    background-size: 250vh;
    background-position-y: 10vh;
    background-repeat:no-repeat; /* Empêche la répétition */
}

html , body {
margin: 0;
padding: 0;
height:100%;
}

/* Style pour le texte */
h2 {
font-size: 2rem;
color: var(--primary-color); /* Couleur principale */
gap: 10px;
margin-bottom: 50px;
}

h3 {
  margin-top: 50px;
  font-size: 1.4rem;
}


.order-form {
    width: 50%;
    margin: 10vh auto;
    padding: 20px;
    background: #f8f8f8;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.order-form h2, .order-form h3 {
    text-align: center;
    color: black;
}

.order-form label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.order-form textarea,
.order-form input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.order-form label {
  font-size : 1.4rem;    
}

.order-form textarea {
    height: 15vh;
}
.order-form .info-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 5px;
    margin-bottom: 10px;
}

.info-text p {
  margin-bottom: 10px;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 60vw;
  margin-bottom: 5vh;
}

/* on cache les vrais boutons */
.delivery-options .option input[type="radio"] {
  display: none;
}

/* label positionné pour ses pseudo-éléments */
.delivery-options .option label {
  position: relative;
  padding-left: 1.8em;
  cursor: pointer;
  line-height: 1.2;
  font-size: 1rem;
  user-select: none;
}

/* 1) le cercle vide en ::before */
.delivery-options .option label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #444;
  border-radius: 50%;
  box-sizing: border-box;
}

/* 2) le point interne en ::after, par défaut transparent */
.delivery-options .option label::after {
  content: "";
  position: absolute;
  width: 0.6em;      /* diamètre du point */
  height: 0.6em;
  border-radius: 50%;
  background-color: transparent;
  left: 0.3em;       /* (1.2em - 0.6em)/2 */
  top: 0.4em;        /* 0.1em + (1.2em - 0.6em)/2 */
  transition: background-color 0.2s;
}

.delivery-options .option input[type="radio"]:checked + label::after {
  background-color: #444;
}


/* révélation du contenu associé */
.delivery-options .option .option-content {
  display: none;
  margin-top: 0.5em;
}

.delivery-options .option input[type="radio"]:checked + label + .option-content {
  display: block;
}

/* styles des champs */
.delivery-options textarea,
.delivery-options input[type="text"] {
  width: 100%;
  padding: 0.5em;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 60vw;
}

/* on cache la checkbox native */
.checkbox-options input[type="checkbox"] {
  display: none;
}

/* label pour positionner la case */
.checkbox-options .option label {
  position: relative;
  padding-left: 1.8em;  /* espace pour la case */
  cursor: pointer;
  line-height: 1.2;
  font-size: 1rem;
  user-select: none;
}

/* carré vide */
.checkbox-options .option label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #444;
  border-radius: 3px;
  box-sizing: border-box;
}

/* coche en « ✓ » */
.checkbox-options .option input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  left: 0.35em;   /* centrage horizontal */
  top: 0.3em;     /* centrage vertical */
  width: 0.3em;
  height: 0.6em;
  border: solid #444;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}




button {
    width: 100%;
    padding: 10px;
    background-color: gray;
    color: white;
    font-size: 1.4rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

button:hover {
    background-color: lightgray;
}

#confirmationMessage {
    text-align: center;
    color: green;
    font-weight: bold;
    margin-top: 15px;
}
/* Style de la popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Contenu de la popup */
.popup-content {
    background: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

/* Bouton Accepter */
.popup-content button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #1e3a8a;
    color: white;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
}

.popup-content button:hover {
    background-color: #dae106;
}

/* Cache la popup par défaut */
.hidden {
    display: none;
}


/* Footer */
/* Footer */
.footer {
  background-color: #000; /* Fond noir */
  color: var(--primary-color);
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 10px 5vw;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-maps {
  margin-top: 3vh;
  margin-right: 9vw;
}

.footer-slogan {
  display: flex;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* Logo à gauche */
.footer-logo img {
  height: 30vh; /* Ajuste la taille du logo */
}
.footer-logo p {
  font-size:1.2rem;
}

/* Informations de contact */
.footer-contact p {
  margin: 3px 0;
  font-size:1.2rem;
}

/* Numéro de téléphone cliquable */
.footer-contact a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Mentions légales en bas */
.footer-legal {
  text-align: center;
  font-size: 1rem;
  margin-top: 10px;
}

.footer-legal a {
  color: white;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}