/* Reset and general styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

/* Navigation styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  background-color: rgba(255, 255, 255);
  /*background-color: rgb(92, 92, 92);*/
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

a {
  text-decoration: none;
  color: inherit;
}

.footer-bottom a:hover {
  color: #e74c3c;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 85px; /* Adjust this value to increase the logo size */
  width: auto; /* Maintain aspect ratio */
  max-width: none; /* Allow the image to exceed its container size */
  max-height: none;
}

.nav-group {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  margin-right: 2rem;
}

.nav-links li {
  margin-left: 1.5rem;
}

.nav-links a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #e74c3c;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #2c3e50;
  margin: 5px;
  transition: all 0.3s ease;
}

.reservation-btn {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.reservation-btn:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

@media screen and (max-width: 768px) {
  .reservation-btn {
    display: none; /* Hide on mobile */
  }
}

/* Hero section styles */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)),
    url("../images/restaurant/lamps-interieur.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(65, 65, 65, 0.9); /* Semi-transparent background */
  border-radius: 10px; /* Optional: rounded corners */
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-button {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Menu section styles */
.menu {
  padding: 6rem 5%;
  background-color: #f9f9f9;
}

.menu h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
}

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

.menu-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item h3,
.menu-item p,
.menu-item .price {
  padding: 0.5rem 1rem;
}

.menu-item h3 {
  font-size: 1.2rem;
  color: #2c3e50;
}

.view-full-menu {
  display: inline-block;
  text-align: center;
  margin-top: 3rem;
  padding: 1.8rem 3.0rem;
  background-color: #e74c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size:x-large;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-full-menu:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Add this style to ensure the link is centered */
.menu {
  text-align: center; /* Center all text in the menu section */
}

/* Reservation section styles */
.reservation {
  padding: 6rem 5%;
  background-color: #fff;
}

.reservation h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
}

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

.reservation-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.reservation-item:hover {
  transform: translateY(-5px);
}

.reservation-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.reservation-item h3,
.reservation-item p,
.reservation-item .price {
  padding: 0.5rem 1rem;
}

.reservation-item h3 {
  font-size: 1.2rem;
  color: #2c3e50;
}

.view-full-reservation {
  display: inline-block;
  text-align: center;
  margin-top: 3rem;
  padding: 0.8rem 1.5rem;
  background-color: #e74c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-full-reservation:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Add this style to ensure the link is centered */
.reservation {
  text-align: center; /* Center all text in the reservation section */
}

/* About section styles */
.about {
  display: flex;
  padding: 6rem 5%;
  background-color: #f9f9f9;
}

.about-content,
.about-image {
  flex: 1;
}

.about-content {
  padding-right: 3rem;
}

.about-content h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
}

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

/* Hoi-An images section styles */
.hoian {
  padding: 6rem 5%;
  background-color: #fff;
}

.hoian h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
}

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

.hoian-item {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 800px;
  height: 30rem;
  max-height: 80vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hoian-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 600px) {
  .hoian-item {
    height: 16rem;
    max-width: 100%;
  }
}


.hoian-item h3,
.hoian-item p,
.hoian-item .price {
  padding: 0.5rem 1rem;
}

.hoian-item h3 {
  font-size: 1.2rem;
  color: #2c3e50;
}

.view-full-hoian {
  display: inline-block;
  text-align: center;
  margin-top: 3rem;
  padding: 0.8rem 1.5rem;
  background-color: #e74c3c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-full-hoian:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

/* Add this style to ensure the link is centered */
.hoian {
  text-align: center; /* Center all text in the hoi-an section */
}


/* Contact section styles */
.contact {
  padding: 6rem 5%;
  background-color: #f9f9f9;
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: #2c3e50;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

#contact-form {
  flex: 1;
  margin-right: 3rem;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  resize: vertical;
}

#contact-form button {
  background-color: #e74c3c;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-weight: 600;
}

#contact-form button:hover {
  background-color: #c0392b;
  transform: translateY(-3px);
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info i {
  margin-right: 0.5rem;
  color: #e74c3c;
}

.map-container {
  margin-top: 3rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive design for map */
@media screen and (max-width: 768px) {
  .map-container {
    height: 300px;
  }

  .map-container iframe {
    height: 100%;
  }
}

.map-container iframe {
  display: block;
  margin-bottom: -4px;
}

/* Footer styles */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-section {
  flex: 1;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #e74c3c;
}

.social-icons a {
  color: #ecf0f1;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #e74c3c;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #34495e;
}

.mobile {
  display: none;
}

/* Responsive design */
/* New styles for mobile menu */
@media screen and (max-width: 768px) {
  .nav-group {
    position: fixed;
    right: -100%;
    top: 70px; /* Adjust based on your header height */
    width: 100%;
    height: calc(100vh - 70px);
    background-color: #fff;
    display: flex;
    align-items: center;
    transition: right 0.5s ease;
  }

  .nav-active {
    right: 0;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    width: 100%;
    padding: 0;
  }

  .nav-links li {
    margin: 1rem 0;
    opacity: 0;
  }

  .burger {
    display: block;
    cursor: pointer;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .mobile {
    display: block;
  }

  .about {
    flex-direction: column;
  }

  .about-content {
    padding-right: 0;
    margin-bottom: 2rem;
    order: 1; /* Ensure content comes first on mobile */
  }

  .about-image {
    order: 2; /* Image comes after content on mobile */
  }

  .logo img {
    height: 60px; /* Adjust for mobile devices if needed */
  }
}

/* Burger menu icon styles */
.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px;
  transition: all 0.3s ease;
}

/* Burger menu animation */
.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Animation for nav links */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.phone-link {
  color: inherit;         /* Inherit text color from parent */
  text-decoration: none;  /* Remove underline */
  cursor: pointer;        /* Optional: show pointer on hover */
  font-weight: normal;    /* Optional: adjust font weight */
}

.phone-link:visited,
.phone-link:active,
.phone-link:hover {
  color: inherit;         /* Prevent color change on hover/active/visited */
  text-decoration: none;
}

.email-link {
  color: inherit;         /* Inherit text color */
  text-decoration: none;  /* Remove underline */
  cursor: pointer;        /* Optional: pointer cursor on hover */
}

.email-link:hover,
.email-link:active,
.email-link:visited {
  color: inherit;         /* Keep color consistent */
  text-decoration: none;
}

/* Additional animations */
.menu-item,
.cta-button,
#contact-form button {
  transition: all 0.3s ease;
}

.menu-item:hover,
.cta-button:hover,
#contact-form button:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Slider Pictures */
* {box-sizing:border-box}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}


/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

html {
  scroll-behavior: smooth;
}

 /* impressum styles */
 #impressum {
  padding: 6rem 5%;
  background-color: #f9f9f9;
}

#impressum p {
  margin-bottom: 3rem;
  font-size: 1.5rem;
  color: #2c3e50;
}

.impressum h1 {
  font-size: 2.5rem;
  margin-bottom: 6rem;
  font-weight: 700;
}

/* datenschutz styles */
#datenschutz {
  padding: 6rem 5%;
  background-color: #f9f9f9;
}

#datenschutz p {
  margin-bottom: 3rem;
  font-size: 1.5rem;
  color: #2c3e50;
}

.datenschutz h1 {
  font-size: 2.5rem;
  margin-bottom: 6rem;
  font-weight: 700;
}


.creator-btn {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
  padding: 0.8rem 2.2rem;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.15);
  text-decoration: none;
  text-align: center;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  letter-spacing: 0.03em;
  margin: 1rem 0;
}

.creator-btn:hover,
.creator-btn:focus {
  background: linear-gradient(90deg, #c0392b 0%, #e74c3c 100%);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(231, 76, 60, 0.22);
  color: #fff;
  outline: none;
}
