:root {
  --font-primary: 'Open Sans', sans-serif;
  --font-secondary: 'Inknut Antiqua', serif;
  --color-dark: #1a1a1a;
  --color-light: #f9f9f9;
  --color-accent: #D4AF37;
  --color-muted: #666;
  --color-bg: #ffffff;
  --color-border: #ddd;
  --color-text: #111111;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
.burger:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


ul {
  list-style: none;
  padding: 0;
}

header {
  background: var(--color-light);
  padding: 2rem 1rem;
  text-align: center;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--color-bg);
  color: var(--color-text);
  
}

nav.dark{
  background-color: var(--color-dark);
}

#logo img {
  height: 40px;
}

#nav-list {
   list-style: none;
  display: flex;
  gap: 1.5rem;
}

#nav-list a {
  font-weight: bold;
  padding: 0.5rem;
  text-decoration: none;
  color: var(--color-text);
}

@media (max-width: 768px) {
  #nav-list {
    position: absolute;
    top: 60px;
    right: 2rem;
    flex-direction: column;
    background-color: var(--color-bgbg);
    padding: 1rem;
    display: none;
  }

  #nav-list.active {
    display: flex;
  }
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  
}


.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;

}

.burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active div:nth-child(2) {
  opacity: 0;
}
.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media screen and (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 2rem;
    flex-direction: column;
    background-color: var(--color-bg);
    padding: 1rem;
    display: none;
  }

  .nav-list.active {
    display: flex;
  }
}


.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #333;
}

input:checked + .slider:before {
  transform: translateX(20px);
}



body.dark {
  --color-bg: #111111;
  --color-text: #eeeeee;
  --color-light: #1a1a1a;
  --color-border: #333333;
  --color-muted: #aaaaaa;

  background-color: var(--color-bg);
  color: var(--color-text);
}

body.dark .decouvrir,
body.dark .info,
body.dark .contact-section,
body.dark header {
  background-color: var(--color-bg);
  color: var(--color-text);
}
main {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
  
}

.intro{
  padding-top: 100px;
}
.video video {
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.video video:hover {
  transform: translateY(-6px);
  filter: brightness(1.05);
  box-shadow: 0 8px 15px rgba(247, 188, 12, 0.25);
  border-radius: 8px;
  z-index: 5;
  position: relative;
}
h1{
  font-size: 5rem;
}
h2{
  text-align: center;
  font-size: 2rem;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
  margin-bottom: 2rem;
  color: var(--color-accent);
  text-align: center;
}

h3{
  text-align: left;
}
h4 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

h6{
  font-size: 1rem;
}
.sous-titre{
  font-size: 1.5rem;
}
section {
  margin-bottom: 3rem;
}

.video video {
  width: 100%;
  border-radius: 8px;
  margin-top: 1rem;
}



.presentation p {
  margin-bottom: 1rem;
}



.galerie .photos {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.galerie .photos img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.galerie .photos img:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 10px 20px rgba(247, 194, 22, 0.15);
  position: relative;
  z-index: 2;
}

.decouvrir {
  background-color: var(--color-light);
  padding: 1.5rem;
  border-left: 4px solid var(--color-accent);
  margin-bottom: 2rem;
  font-style: italic;
}

.description {
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

.les-resto,
.les-bars,
.les-lieux {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--color-accent);
}

.les-resto img,
.les-bars img,
.les-lieux img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px;
}

.les-resto img:hover,
.les-bars img:hover,
.les-lieux img:hover
 {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 10px 20px rgba(240, 185, 4, 0.3); 
  z-index: 5;
  position: relative;
  
}

.info {
  background: var(--color-light);
  padding: 1rem;
  /* border-left: 4px solid var(--color-accent); */
  border-radius: 6px;
}

.detailes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.adresse,
.horaire {
  font-weight: bold;
}

.horaire{
  margin-right: 200px;
}
.separateur{
  color: var(--color-accent);
}

#contact{
  margin-top: 100px;
}

.contact-section {
  background: var(--color-light);
  padding: 2rem;
  border-radius: 8px;
}

#contact h3{
  text-align: center;
  font-size: 2rem;
}

#contact p{
  margin-right: 60px;
}
#message{
  height: 13vh;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.input-container {
  flex: 1;
  position: relative;
}

.input-container input {
  width: 100%;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 5px;
}

.input-container label {
  position: absolute;
  left: 10px;
  top: 10px;
  color: var(--color-muted);
  transition: 0.2s ease;
  background: var(--color-bg);
  padding: 0 5px;
  pointer-events: none;
  margin-top: 5px;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.75rem;
  color: var(--color-accent);
}

button {
  margin-top: 1rem;
  background: var(--color-accent);
  color: white;
  border: none;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  width: 30%;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  background: #725e1d;
}

.carte iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid var(--color-accent);
}

footer {
  background-color: #d4af37;
  color: black;
  font-weight: bold;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

#partenaires{
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100px;
    
}


.partenaire{
  display: flex;
  align-items: center;
  
}
.partenaire img{
  width: 50%;
  
}
/* Responsive */

@media (min-width: 768px) {
  .les-resto,
  .les-bars,
  .les-lieux {
    flex-direction: row;
  }

  .les-resto img,
  .les-bars img,
  .les-lieux img {
    flex: 1;
    max-width: 300px;
  }

  .info {
    flex: 2;
  }

  .contact-section {
    max-width: 600px;
    margin: auto;
  }
}

