/* =====================
   Definition
=======================*/
@font-face {
  font-family: 'Roboto';
  src: url('/fonts/roboto.woff2');
}

@font-face {
  font-family: 'Courgette';
  src: url('/fonts/courgette.woff2');
}

@font-face {
  font-family: 'Patua One';
  src: url('/fonts/patua_one.woff2');
}

/* ── ANIMATIONS D'ENTRÉE DEPUIS DIFFÉRENTES POSITIONS ── */
@keyframes fromLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fromRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fromTop {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fromBottom {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fromTopLeft {
  from {
    opacity: 0;
    transform: translate(-50px, -50px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes fromBottomRight {
  from {
    opacity: 0;
    transform: translate(50px, 50px);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@keyframes VisibleToInvisible {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

:root {
  --light: #f7f4ef;
  --dark: #262121;
  --yellow: #e4e228;
  --yellow_bord: rgba(228, 226, 40, 0.5);
  --brown: rgba(235, 126, 15, 0.15);
  --brown_bord: rgba(235, 126, 15, 0.5);
}

/* =====================
   RESET & BASE
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--dark)
}

body {
  font-family: "Roboto", Arial, Tahoma, sans-serif;
  font-size: 13px;
  line-height: 21px;
  background-color: transparent;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;

  background-image: url('/images/backgrounds/background_rotistreet.jpg');
  background-size: cover;
  background-position: center;

  filter: blur(8px);
  transform: scale(1.05);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.55);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Courgette", Arial, Tahoma, sans-serif;
}

h2 {
  font-size: 37px;
  line-height: 37px;
  font-weight: 300;
}

h3 {
  font-size: 25px;
  line-height: 27px;
  font-weight: 300;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

#Header_wrapper,
#Top_bar,
#Top_bar_sticky,
#section-slogan,
#Footer,
.categorie-header:hover,
#Content {
  background-color: transparent;
}

/* =====================
   TOP BAR & NAV & HAMBURGER
===================== */
.menu_wrapper {
  position: relative;
  z-index: 10002;

}

#Top_bar {
  position: sticky;
  z-index: 10000;
  width: 100%;
}

#Top_bar .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 150px;
}

#Top_bar .logo img {
  max-height: 180px;
  width: auto;
}

nav#menu ul {
  display: flex;
  gap: 10px;
}

nav#menu ul li a {
  font-family: "Courgette", Arial, Tahoma, sans-serif;
  font-size: 18px;
  color: var(--light);
  padding: 10px 12px;
  display: block;
  border-radius: 5px;
  transition: background 0.2s;
}

nav#menu ul li a.active {
  background-color: var(--yellow);
  color: var(--dark);
}

nav#menu ul li a:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

.hamb_text h3 {
  position: absolute;
  display: none;
  font-family: 'Patua one', serif;
  z-index: 10003;
  right: 30%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light);
}

#Top_bar_sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10001;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  padding: 0 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);

  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.3s, transform 0.3s;
}

#Top_bar_sticky .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

#Top_bar_sticky .logo img {
  max-height: 100px;
  width: auto;
}

#Top_bar_sticky.visible {
  opacity: 1;
  transform: translateY(0);
}

nav#menu-sticky ul {
  display: flex;
  gap: 10px;
}

nav#menu-sticky ul li a {
  font-family: "Courgette", Arial, Tahoma, sans-serif;
  font-size: 18px;
  color: var(--light);
  padding: 10px 12px;
  display: block;
  border-radius: 5px;
  transition: background 0.2s;
}

nav#menu-sticky ul li a.active {
  background-color: var(--yellow);
  color: var(--dark);
}

nav#menu-sticky ul li a:hover {
  background-color: var(--yellow);
  color: var(--dark);
}

.hamburger {
  display: none;
  /* caché sur desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 9999;
}

/* =====================
   SECTION SLOGAN (slogan)
===================== */
#section-slogan {
  background: rgba(0, 0, 0, 0.2);
  padding: 30px 0 60px;
  text-align: center;
}

#section-slogan img {
  margin: 0 auto;
  max-width: 300px;
}

#section-slogan h3 {
  color: var(--light);
  margin-top: 20px;
}

#section-slogan h2 {
  color: var(--light);
  margin-top: 20px;
}

#section-slogan p {
  color: var(--light);
  margin-top: 10px;
  font-size: 15px;
}

/* =====================
   FOOTER
===================== */
#Footer {
  background: rgba(0, 0, 0, 0.3);
}

#Footer .footer_copy {
  padding: 20px 0;
}

#Footer .footer_copy .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

#Footer .copyright {
  color: var(--light);
  font-size: 13px;
}

#Footer .social {
  display: flex;
  gap: 12px;
}

#Footer .social li a {
  color: var(--light);
  font-size: 18px;
  transition: color 0.2s;
}

#Footer .social li a:hover {
  color: var(--yellow);
}

#back_to_top {
  color: var(--light);
  font-size: 20px;
  transition: color 0.2s;
}

#back_to_top:hover {
  color: var(--yellow);
}