/* General Styles */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
}

/* Text Fonts */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color:#FF7F50
}

.restaurant-h2 {
  position: relative; /* H2 Überschrift wird über alle andere Elemente angezeigt*/
  z-index:10;
  font-size: 1.5rem;
  padding-top: 60px; 
  
}


/*------------------------------NAV-BAR----------------------------------*/

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 500;
  margin: 0; 
}

.nav-left img { 
  margin-right: 20px;
  width: 80px;
  height: 60px;
  display: block; 
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 25px;
}

nav a {
  color: black;
  text-decoration: none;
  padding: 10px 15px;
  text-transform: uppercase;
  font-size: 16px;
  margin-left: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 25px;
  align-items: center; /* Vertikale Zentrierung */
  margin-left: auto; /* Automatischer Abstand auf der linken Seite */
  margin-right: 25px; /* Abstand zur rechten Seite */
}

nav a:hover {
  background-color: #FF7F50;
  color: white;
}

/* Hamburger button styling */
.nav-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.logo-link {
  display: inline-block; 
  padding: 0; 
  margin: 0; 
}
.logo-link:hover{
 background-color: white;
}

/*----------------------------RESPONSIVE DESIGN-------------------------*/

@media (max-width: 768px) {
  /* Adjust logo size on tablets and smaller screens */
  .nav-left img {
    width: 60px;
    height: 45px;
    margin-right: 0px;
  }

  @media (max-width: 768px) {
    .nav-right {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: white;
      position: absolute;
      top: 100%; /* Positions it right under the navbar */
      left: 0;
      padding: 10px 0;
      margin: 0; /* Ensure no extra margin */
    }
  }

  /* Show hamburger button */
  .nav-toggle {
    display: block;
  }

  /* Show links when nav-open class is added */
  .nav-open .nav-right {
    display: flex;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 8px 15px;
  }
  nav a {
    font-size: 20px;
    padding: 8px 12px;
  }
  .nav-left img {
    width: 50px;
    height: 40px;
    margin-right: 8px;
  }
}

@media (max-width: 320px) {
  nav {
    padding: 5px 10px;
  }
  nav a {
    font-size: 20px;
    padding: 5px 10px;
  }
}

