/* Import des polices */
body {
  font-family: 'Roboto', sans-serif;
  background: url('images/fond-japonais.png') repeat;
  background-size: 300px;
  color: #333;
  line-height: 1.6;
}

/* HEADER */
header {
  background-color: #0d0d0d;
  color: #fff;
  padding: 30px 0;
  text-align: center;
  border-bottom: 5px solid #e63946;
}

header h1 {
  font-family: 'Bangers', cursive;
  font-size: 3em;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 2px 2px #e63946;
}

/* NAVIGATION */
nav {
  margin-top: 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #e63946;
  text-shadow: 1px 1px #fff;
}

/* MAIN */
main {
  padding: 50px 20px;
  max-width: 1000px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

main h2 {
  font-family: 'Bangers', cursive;
  font-size: 2.5em;
  color: #e63946;
  margin-bottom: 30px;
}

/* GALERIE */
.galerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.galerie img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  border: 3px solid #e63946;
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.galerie img:hover {
  transform: scale(1.08);
}

/* PRODUITS */
.produits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.produit {
  width: 250px;
  background-color: #fff;
  border: 2px solid #e63946;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.produit:hover {
  transform: translateY(-5px);
}

.produit img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* FORMULAIRE */
form {
  max-width: 500px;
  margin: auto;
  text-align: left;
}

form label {
  font-weight: bold;
}

form input, form textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

form button {
  background-color: #e63946;
  color: white;
  border: none;
  padding: 12px 25px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #d62828;
}

/* FOOTER */
footer {
  background-color: #0d0d0d;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  border-top: 5px solid #e63946;
}

/* NAVBAR MODERNE */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d0d0d;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.logo {
  font-family: 'Bangers', cursive;
  font-size: 2em;
  color: #fff;
  text-shadow: 1px 1px #e63946;
}

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.menu li a:hover {
  color: #e63946;
}

/* MENU BURGER POUR MOBILE */
.menu-icon {
  display: none;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    background-color: #0d0d0d;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    display: none;
    padding: 20px;
    border-left: 3px solid #e63946;
  }

  #menu-toggle:checked + .menu-icon + .menu {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

.slogan {
  font-style: italic;
  color: #555;
  margin-top: 10px;
}

.presentation {
  text-align: center;
  margin: 50px 0;
}

.avatar {
  width: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  margin-bottom: 20px;
}

.apercu-galerie {
  margin: 50px 0;
}

.boutique-teaser {
  margin: 50px 0;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #e63946;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #d62828;
}

.article {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #e63946;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: left;
}

.article h3 {
  margin-bottom: 10px;
  color: #e63946;
}

.article a {
  color: #e63946;
  font-weight: bold;
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}

.forum-section {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #e63946;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: left;
}

.forum-section h3 {
  margin-bottom: 10px;
  color: #e63946;
}

.forum-section ul {
  list-style: none;
  padding-left: 0;
}

.forum-section li {
  margin-bottom: 10px;
}

.forum-section a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.forum-section a:hover {
  color: #e63946;
}

.contact-intro {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #e63946;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: left;
  font-size: 1.1em;
  color: #444;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.article {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-left: 5px solid #e63946;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  text-align: left;
}

.article h3 {
  margin-bottom: 10px;
  color: #e63946;
}

.article .excerpt {
  font-style: italic;
  color: #555;
}

.article .full-text {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}


.hidden {
  display: none;
}

.toggle-btn {
  background-color: #e63946;
  color: white;
  border: none;
  padding: 10px 16px;
  font-size: 16px;
  border-radius: 30px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #d62839;
}

.toggle-btn .arrow {
  transition: transform 0.3s ease;
}

.toggle-btn.open .arrow {
  transform: rotate(180deg);
}

.avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
}
.hero-banner {
  text-align: center;
  padding: 20px 10px;
  margin-bottom: 40px;
}

.banner-image {
  width: 100%;
  max-width: 600px; /* plus large qu’avant */
  height: auto;
  aspect-ratio: 3 / 1; /* contrôle la hauteur relative à la largeur */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
}

.banner-title {
  font-family: 'Bangers', cursive;
  font-size: 2em;
  color: #e63946;
  margin-bottom: 8px;
}

.slogan {
  font-style: italic;
  font-size: 1em;
  color: #666;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .banner-image {
    max-width: 100%;
    aspect-ratio: 2.5 / 1;
  }
}

.banner-image {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInBanner 0.8s ease forwards;
}

@keyframes fadeInBanner {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


article.competences {
  background-color: transparent; 
  color: black;
  text-align: center;
}


article.competences h3 {
  text-align: center;
  color: black;
}





















