/* Base Styles */
:root {
  --primary-color: #7e272c;
  --secondary-color: #555;
  --light-gray: #f7f7f7;
  --dark-gray: #333;
  --white: #ffffff;
  --black: #000000;
  --overlay-color: rgba(0, 0, 0, 0.6);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-gray);
  background-image: url("raw.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-color);
}

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

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

.section-title.white {
  color: var(--white);
}

.section-title.white::after {
  background-color: var(--white);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 120px;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Offset all anchor-linked sections by 20px */
#about,
#menu,
#terrasse,
#reservation {
  scroll-margin-top: 120px;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url('images/terrassejours.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 10px;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 300;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.hero-btn:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--primary-color);
  font-weight: 500;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Menu Section */
.menu-section {
  background-color: var(--light-gray);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  gap: 10px;
}

.menu-tab {
  padding: 10px 25px;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-tab:hover {
  background-color: rgba(126, 39, 44, 0.1);
}

.menu-tab.active {
  background-color: var(--primary-color);
  color: var(--white);
}

.menu-content {
  display: none;
}

.menu-content.active {
  display: block;
}

.menu-viewer {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.menu-nav-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-nav-btn:hover {
  background-color: var(--secondary-color);
}

.menu-page-indicator {
  font-weight: 500;
  min-width: 80px;
  text-align: center;
}

.menu-pages {
  position: relative;
  min-height: 500px;
}

.menu-page {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
  transition: transform 0.3s ease;
  display: none;
}

.menu-page.active {
  display: block;
}

.menu-page:hover {
  transform: translateY(-5px);
}

.menu-single {
  background-color: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.menu-single img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}

/* Terrasse Section */
.terrasse-section {
  position: relative;
  background-image: url('images/terrassesoir2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
}

.terrasse-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-color);
}

.terrasse-section .container {
  position: relative;
  z-index: 1;
}

.terrasse-description {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
  line-height: 1.8;
}

.virtual-tour-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: transparent;
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--white);
}

.virtual-tour-btn:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Contact Section */
/* Contact Section */
.contact-section {
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.hours-container {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hours-day {
  font-weight: 500;
  color: var(--dark-gray);
  padding: 10px;
}

.hours-time {
  font-weight: 500;
  color: var(--secondary-color);
  padding: 10px;
  text-align: right;
}

.hours-time.fermé {
  color: var(--primary-color);
  font-weight: bold;
}

.contact-map-container {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
  margin-bottom: 30px;
}

.address, .phone {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.map {
  width: 100%;
  height: 300px;
  border-radius: 5px;
  margin-bottom: 15px;
}

.map-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.map-link:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hours-grid {
    grid-template-columns: 1fr;
  }
  
  .hours-day, .hours-time {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #eee;
  }
  
  .hours-time {
    text-align: right;
  }
}

/* Footer */
.main-footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
}


.copyright {
  margin-bottom: 10px;
  font-size: 1rem;
}

.footer-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-text a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text, .about-image {
    flex: none;
    width: 100%;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 5px 15px; /* Réduction du padding interne */
    align-items: flex-start; /* Aligner en haut */
  }

  .logo {
    height: 120px; /* Réduire la taille du logo */
    margin-top: 10px; /* Ajuster la marge */
  }

  .nav-links {
    position: fixed;
    top: 100px; /* Commencer sous le header complet */
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999; /* S'assurer qu'il est au-dessus */
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .mobile-menu-btn {
    display: block;
    margin-top: 20px; /* Augmenté pour descendre l'icône */
    padding: 5px; /* Meilleur espacement tactile */
    font-size: 1.8rem; /* Taille légèrement plus grande */
  }
    .main-nav {
    padding: 5px 0; /* Ajout de padding en haut/en bas */
  }
}


@media (max-width: 768px) {
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .menu-tabs {
    flex-wrap: wrap;
  }
  
  .menu-viewer, .menu-single {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-btn, .virtual-tour-btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .menu-tab {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .day-block {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
}
/* Reservation Section */
.reservation-section {
  background-color: var(--white);
}

.reservation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.reservation-text {
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.reservation-text p {
  margin-bottom: 15px;
}
/* Ajoutez ceci à votre fichier CSS */
.messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background-color: #0084FF; /* Bleu Messenger */
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.messenger-btn:hover {
  background-color: #0066CC;
}

.messenger-btn i {
  font-size: 1.2em;
}
.reservation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25), 0 6px 6px rgba(0, 0, 0, 0.22);
}

.reservation-btn:hover {
  background-color: #5b1d21;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 10px rgba(0, 0, 0, 0.22);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .reservation-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Video Modal Styles */
/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.video-modal-content {
  position: relative;
  width: 80%; /* Reduced from 90% */
  max-width: 1200px; /* Increased from 1000px */
  margin: auto;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal video {
  width: 100%;
  max-height: 80vh; /* Added to limit height */
  border-radius: 8px;
  outline: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: contain; /* Ensures video maintains aspect ratio */
}

.video-close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.video-close-btn:hover {
  color: #bbb;
}

.virtual-tour-btn i {
  margin-right: 10px;
}

/* Loading spinner */
.video-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
  }
  
  .video-close-btn {
    top: -30px;
    font-size: 30px;
  }
}
.main-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #4a5b6d 100%);
  padding: 40px 0 20px;
  color: rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), #e74c3c, var(--primary-color));
  background-size: 200% 200%;
  animation: gradientFlow 3s ease infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 120px;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none; /* Removes underline */
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.copyright {
  font-size: 0.9rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 300;
}

.footer-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

.separator {
    margin: 0 0.5em;
    opacity: 0.6;
}

.credit-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.credit-link:hover {
  color: var(--primary-color);
}

.footer-credits i {
  color: var(--primary-color);
  margin: 0 5px;
}
.map-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px; /* Espacement augmenté */
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0,0,0,0.1); /* Ligne de séparation discrète */
}

.map-link {
  display: flex;
  align-items: center;
  gap: 8px; /* Espacement icône/texte */
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.map-link:hover {
  background-color: rgba(126, 39, 44, 0.1); /* Couleur primaire avec transparence */
  transform: translateY(-2px);
}

.link-separator {
  color: rgba(0,0,0,0.2);
  font-weight: 300;
  margin: 0 -5px; /* Ajustement de l'espace autour du séparateur */
}

/* Version mobile */
@media (max-width: 768px) {
  .map-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .link-separator {
    display: none; /* On cache le séparateur en mode mobile */
  }
}