/* 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;
}




.categories-section {
  height: 100vh;  /* La section entière fait bien 90% de la hauteur de l'écran */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background-color: black;
}

.categories-container {
  height: 20vh; /* Partie haute */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category {
  width: 14vh;
  height: 14vh;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.3s ease;
  text-decoration: none;
  margin: 0 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}

.category:hover span {
  opacity: 1;
}


.category:hover {
  transform: scale(1.3);
}

/* Mise en avant du cercle actif */
.category.active {
  transform: scale(1.2);
  border: 3px solid var(--primary-color);
}

/* Image pleine page */
.full-image {
  height: 90vh;
  width: 100%;
}

.full-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* L’image prend tout l’espace sans déformation */
}


.badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}



.category-section {
  text-align: center;
  padding: 15vh 10vw;
}

.category-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 3vh;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-content: center;
}

.product-item {
  background: white;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  display: block; /* Important pour que le lien prenne toute la taille de l'élément */
  text-decoration: none; /* Enlève le souligné du lien */
  color: inherit; /* Garde la couleur du texte inchangée */
  align-items: center;
  width: 29vw;
}

.product-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-item img {
  width: 29vw;
  height: auto;
}

.product-item h3 {
  font-size: 1.5rem;
  margin: 10px 0;
  font-weight: bold;
}

.product-item p {
  font-size: 1.3rem;
  font-style: normal;
  color: black;
}

/* 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;
}