/* Variables globales */
:root {
  --primary-color: #E67E22;
  --secondary-color: #D35400;
  --dark-color: #2C3E50;
  --light-color: #F9F9F9;
  --text-color: #333;
  --transition-speed: 0.3s;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.5rem;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--primary-color);
}

/* Topbar */
.topbar {
  background-color: var(--secondary-color);
  color: white;
  font-size: 14px;
  padding: 10px 0;
  position: relative;
  z-index: 1050;
}

.social-icons a , .social-links a{
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: all var(--transition-speed) ease;
}
  
.social-icons a:hover, .social-links a:hover{
  transform: translateY(-3px);
}

.tripadvisor{
  border-radius: 50%;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: background-color var(--transition-speed);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color var(--transition-speed);
  color: var(--dark-color);
  position: relative;
}

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

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

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

/* Buttons */
.btn {
  padding: 10px 25px;
  font-weight: 500;
  transition: all var(--transition-speed);
  border-radius: 0;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  border-radius: 0;
}

.btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary{
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.btn-outline-primary:hover{
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero_bg_default.jpeg') no-repeat center center;
  background-size: cover;
  color: white;
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  padding: 2rem 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
}

/* Titres de section */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  font-weight: 700;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Sections */
section {
  padding: 100px 0;
}

.menu-section {
  background-color: var(--light-color);
}

/* Menu Items */
.menu-item-details {
  padding: 20px;
  background-color: white;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
}

.menu-item-price {
  color: white;
  background-color: var(--primary-color);
  min-width: 60px;
  text-align: center;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
}

/* Ajout pour la section menu dans la page d'accueil */
#menu .menu-item-price {
  max-width: 80px;
}

/* Ajout pour la vue liste dans la page de menu */
.menu-list .menu-item-price {
  display: inline-block;
  position: relative;
  left: 13vw;
}

/* Testimonials */
.testimonial-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0') no-repeat center center;
  background-size: cover;
  color: white;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin: 10px;
  backdrop-filter: blur(5px);
  height: 100%;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.rating {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Contact & Reservation */
.reservation-form {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-info {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 10px;
  height: 100%;
}

.contact-info-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
}

.contact-info-item i {
  font-size: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-info a {
  color: white;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-heading {
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 0;
}

.footer-link {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
  transition: color var(--transition-speed);
  text-decoration: none;
}

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

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 14px;
}

/* Bouton Retour en haut */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn i {
  font-size: 20px;
}

/* Responsive pour le bouton */
@media (max-width: 767.98px) {
  .back-to-top-btn {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top-btn i {
    font-size: 16px;
  }
}

/* Tabs */
.nav-pills .nav-link {
  margin: 0 5px;
  border-radius: 0;
  color: var(--dark-color);
  transition: all 0.3s;
  padding: 10px 20px;
}

.nav-pills .nav-link.active {
  background-color: var(--primary-color);
  color: white;
}

/* Accessibility */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-nav {
    margin-top: 1rem;
  }
  
  .nav-link {
    padding: 0.5rem 0;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: auto;
    padding: 100px 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .menu-item-img {
    height: 180px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .about-section .row {
    flex-direction: column-reverse;
  }
}




.category-favicon{
  color: var(--primary-color);
}