/* Define CSS variables for a refined color palette and typography */
:root {
  --primary-color: #b8a99e;      /* Light refined color for headings/text */
  --secondary-color: #5b4636;    /* Deep, classic tone for body text */
  --bg-color: #f8f1e4;           /* Soft, elegant background */
  --overlay-color: rgba(0, 0, 0, 0.5);
  --nav-bg-color: rgba(0, 0, 0, 0.85);
  --accent-color: #f0c040;       /* Accent for hovers and details */
}

/* Smooth scrolling remains */
html {
  scroll-behavior: smooth;
}

/* Navbar Container with refined transition effects */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: var(--nav-bg-color);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

/* Navbar Links with subtle movement on hover */
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  font-size: 1.1em;
  padding: 5px 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nav-links a:hover {
  color: var(--accent-color);
  transform: translateY(-2px);
}

/* Language Switcher and Flag Icon Sizing */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.flag-icon {
  width: 30px;
  height: auto;
}

/* Responsive adjustments for the Navbar */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }
  .nav-links {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
  }
  .language-switcher {
    flex-shrink: 0;
  }
}

/* Carousel Section with full viewport height and refined typography */
.carousel {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding-top: 40px;
}

/* Intro container with overlay and animated text */
.carousel .intro {
  margin-top: 20px;
  position: relative;
  z-index: 10;
  text-transform: uppercase;
  background-color: var(--overlay-color);
  padding: 20px;
  border-radius: 10px;
}
.carousel .intro h1 {
  font-family: 'EB Garamond', serif;
  font-size: 4em;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0.5em 0;
  /* Fade-in-up animation */
  animation: fadeInUp 1s ease-out forwards;
}
.carousel .intro p {
  font-family: 'EB Garamond', serif;
  font-size: 1.5em;
  color: var(--primary-color);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin: 0.5em 0;
  /* Fade-in-up animation with slight delay */
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Define keyframes for fadeInUp animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content Sections: start hidden and animate into view when scrolled */
.content-section {
  padding: 100px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.content-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Ensure deep-linked sections (e.g. #menu from QR) are visible immediately */
.content-section:target {
  opacity: 1;
  transform: none;
}


/* Classy background for content sections */
.classy-bg {
  background: linear-gradient(135deg, var(--bg-color), #e6dacb);
  color: var(--secondary-color);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}
.classy-bg h2,
.classy-bg h3 {
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
}

/* Menu Categories styling remains similar, using refined typography */
.menu-category {
  width: 100%;
  max-width: 800px;
  margin: 30px 0;
  text-align: left;
}
.menu-category h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.menu-category ol {
  padding-left: 20px;
}
.menu-category li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

