/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  
  font-family: Arial, sans-serif;
  
  color: #333;
  line-height: 1;
  transition: background 0.3s, color 0.3s;
}

/* HEADER */
.header {
  background: #b52e2e;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 20px 0 20px;
}

.title-logo{
  font-size: 80px;
  font-family: "Akaya Kanadaka", system-ui;
 
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 60px;
  width: 50px;
  
}
.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}
.nav a {
  font-family: "Akaya Kanadaka", system-ui;
  color: white;
  text-decoration: none;
  font-weight: normal;
  font-size: 30px;
  margin-right: 50px;
}
.nav .btn {
  background: #fff;
  color: #b52e2e;
  padding: 6px 12px;
  border-radius: 20px;
}
.dark-btn {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  cursor: pointer;
}

/* BURGER */
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  .burger {
    display: block;
  }
  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #b52e2e;
    flex-direction: column;
    padding: 1rem;
    display: none;
    width: 200px;
  }
  .nav.active {
    display: flex;
  }
}

/* HERO */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
 
  padding: 3rem 2rem;
  /* background: linear-gradient(to right, #fbb040, #f15a29); */
  background-image: url('../images/—Pngtree—japanese-style-gold-pink-wave_1176492.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  color: white;
  flex-wrap: nowrap;
  height: 80vh;
}

.hero-text{
  flex: 1;
  margin: 0 30px 0 30px;
}

.hero-text h1 {
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 400;
  font-style: normal;
  font-size: 7rem;
  margin-bottom: 1rem;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* pousse l’image à droite */
}

.hero-img img {
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

.hero-text p{
  font-size: 25px;
  margin-bottom: 20px;
}

.hero-text .btn {
  background: #FFB941;
  padding: 10px 40px;
  border-radius: 5px;
  border: solid 1px white;
  text-decoration: none;
  color: white;
  
}

/* .hero-img{
  width: 100%;
  height: 100vh;
}
*/
 .hero-img img {
  max-width: 450px;
  border-radius: 10px;
  margin-top: 20px;
} 

/* CREATIONS */
.ramen {
  background: linear-gradient(179deg,rgba(255, 236, 199, 1) 0%, rgba(245, 208, 162, 1) 100%);
  padding: 2rem;
  height: 62vh;
  text-align: center;
}

.ramen h2{
  text-align: start;
  font-size: 30px;
}



.gallery {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 1rem; */
  display: flex;
    gap: 15px;
    margin-top: 1rem;
    flex-direction: row;
    justify-content: space-between;
}
.gallery img {
  width: 22%;
  border-radius: 10px;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* MENU */
.menu {
  padding: 2rem;
  background: linear-gradient(0deg, rgba(255, 236, 199, 1) 100%, rgba(245, 208, 162, 1) 50%);
  text-align: center;

}

#menu{
  display: flex;
  flex-direction: column;
  height: 72vh;
}

.containeretc{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.menu h2{
  text-align: start;
  font-size: 30px;
  margin-left: 100px;
}
.only-menu{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.menu-buttons {
  display: flex;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 45vh;
    margin-left: 100px;
}
.menu-card {
  padding: 1.5rem;
  border: 2px solid #b52e2e;
  border-radius: 10px;
  text-align: center;
 
}

.menu-card .menu-logo {
  width: 60px;    
  height: auto;
  margin-bottom: 10px;
  transition: transform 0.3s ease-in-out;
}

.menu-card:hover .menu-logo {
  animation: jolly 0.6s ease-in-out;
}

@keyframes jolly {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-10deg) scale(1.1); }
  50%  { transform: rotate(10deg) scale(1.1); }
  75%  { transform: rotate(-5deg) scale(1.05); }
  100% { transform: rotate(0deg) scale(1); }
}

.menu-card.highlight {
  background: #ffc267;
  color: white;
  
}
.menu-card .btn {
  display: block;
  margin-top: 10px;
  background: #b52e2e;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
}


.about-contact{
  position: relative;
  background-image: url('../images/chef_cuisinant_avec_passion_2440-1024x683.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
  color: black;
  border-radius: 5px;
}

.about-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);  
  z-index: 0;
}

/* ABOUT */
.about {
  position: relative;
  z-index: 1;
    display: flex;
    align-items: center;
    padding: 2rem;
    text-align: center;
    flex-direction: column;
}

.about h2{
  text-align: center;
  font-size: 30px;
  margin-right: 100px;
}

.about p{
  text-align: center;
  padding: 20px;
  font-size: 20px;
  width: 50%;
  color: black;
}


/* CONTACT */
/* CONTACT SECTION */
.contact-section {
  background: #fff6e6;
  padding: 3rem 2rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-family: "Akaya Kanadaka", system-ui;
}

.contact-container {
  display: flex;
  justify-content: center;  
  align-items: center;      
  min-height: 60vh;         
}

.contact-form {
  flex: 0 1 400px;          
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff6e6;      
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form button {
  background: #b52e2e;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #8e2222;
}

.map {
  flex: 1 1 400px;
  border-radius: 10px;
  overflow: hidden;
}


.reseaux{
  display: flex;
  align-items: center;
  flex-direction: column;
}

.reseaux p{
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 600;   
  text-align: center; 
  color: #b52e2e;
  font-size: 25px;
  margin-bottom: 10px;
}

.reseaux ul{
  margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    width: 20%;
    
}

.reseaux ul li i {
    font-size: 25px; 
    color: #141414; 
    cursor: pointer; 
    transition: color 0.3s ease;
}

.reseaux ul li i:hover {
    color: #b52e2e;  
}

/* FOOTER */
.footer {
  background: linear-gradient(0deg,rgba(238, 48, 36, 1) 2%, rgba(255, 236, 199, 1) 100%, rgba(245, 208, 162, 1) 50%);
  color: #141414;
  text-align: center;
  font-size: 20px;
  width: 100%;
}

.footer p{
  text-align: center;
  
}


h2, h3, h4, h5, h6 {
  font-family: "Akaya Kanadaka", system-ui;
  font-weight: 400;   
  text-align: center; 
  margin-bottom: 1rem;
  color: #b52e2e;     
}

/* DARK MODE */
body.dark {
  background: #121212;
  color: #eee;
}
body.dark .header,
body.dark .nav,
body.dark .footer {
  background: #1e1e1e;
  color: white;
}
body.dark .nav a {
  color: #eee;
}
body.dark .nav .btn,
body.dark .dark-btn {
  background: #b52e2e;
  color: white;
}
body.dark .hero {
  background: linear-gradient(to right, #333, #444);
}
body.dark .menu {
  background: #222;
}
body.dark .reseaux ul li i{
  background: #222;
  color: white;
}

body.dark .creations {
  background: #222;
  color: white;
}



/* --- TABLETTE --- */
@media (max-width: 768px) {

  /* HEADER */
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
  }

  .title-logo {
    font-size: 50px;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #b52e2e;
    display: none;
    padding: 10px 0;
  }

  .nav a {
    font-size: 24px;
    margin: 10px 0;
    text-align: center;
  }

  .nav .btn {
    margin: 10px auto;
  }

  /* HERO */
  .hero {
    flex-direction: column;
    text-align: center;
    height: auto;
    padding: 2rem 1rem;
  }

  .hero-text h1 {
    font-size: 4rem;
  }

  .hero-text p {
    font-size: 18px;
  }

  .hero-img {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-img img {
    max-width: 300px;
  }

  /* CREATIONS */
  .gallery {
    flex-direction: column;
    gap: 15px;
  }

  .gallery img {
    width: 100%;
  }

  /* MENU */
  #menu {
    height: auto;
    flex-direction: column;
  }

  .containeretc {
    flex-direction: column;
    gap: 20px;
  }

  .menu h2 {
    margin-left: 0;
    text-align: center;
  }

  .menu-buttons {
    flex-direction: column;
    align-items: center;
    margin-left: 0;
    height: auto;
  }

  .menu-card {
    width: 80%;
    margin-bottom: 20px;
  }

  /* ABOUT */
  .about p {
    width: 90%;
    padding: 10px;
  }

  /* ABOUT-CONTACT */
  .about-contact {
    width: 90%;
    margin-bottom: 20px;
  }

  /* CONTACT */
  .contact-container {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form {
    width: 90%;
  }

  .map {
    width: 90%;
    height: 300px;
  }

  /* RESEAUX */
  .reseaux ul {
    width: 50%;
    justify-content: space-around;
  }
}

/* --- MOBILE --- */
@media (max-width: 480px) {

  .title-logo {
    font-size: 35px;
  }

  .nav a {
    font-size: 20px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-img img {
    max-width: 200px;
  }

  .menu-buttons {
    gap: 15px;
  }

  .menu-card {
    width: 100%;
  }

  .about p {
    font-size: 16px;
  }

  .contact-form {
    padding: 1rem;
  }
}
