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

html {
  scroll-behavior: smooth;
}

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

ul {
  list-style: none;
}

body {
  background-color: #e5e5f7;
  background-image: radial-gradient(#444cf7 0.65px, #e5e5f7 0.65px);
  background-size: 13px 13px;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/*  NAVBAR  */
nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.5rem 2rem;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease-in-out;
}

.logo {
  font-family: "Grechen Fuemen", cursive;
  font-size: 2rem;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.logo:hover {
  opacity: 0.6;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: "Grechen Fuemen", cursive;
}

.nav-links li a {
  color: #fff;
  font-weight: 600;
  position: relative;
  padding: 0 0.2rem;
  transition: all 0.2s ease-in-out;
}

.nav-links li a:hover {
  opacity: 0.6;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  opacity: 0.6;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/*  HERO / LANDING  */
.landing {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.landing-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: slideshow 25s infinite;
}

.bg-img-1 { animation-delay: 0s; }
.bg-img-2 { animation-delay: 5s; }
.bg-img-3 { animation-delay: 10s; }
.bg-img-4 { animation-delay: 15s; }
.bg-img-5 { animation-delay: 20s; }

@keyframes slideshow {
  0%   { opacity: 0; transform: scale(1); }
  4%   { opacity: 1; }
  20%  { opacity: 1; }
  24%  { opacity: 0; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1); }
}

.landing-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.landing-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 700px;
  padding: 0 1rem;
}

.landing-content h3 {
  font-family: "Grechen Fuemen", cursive;
  font-size: 1.6rem;
  color: #bb9356;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.landing-content h1 {
  font-family: "Abril Fatface", cursive;
  font-size: 3rem;
  color: #dfdfdf;
  font-weight: 500;
  margin-bottom: 1rem;
}

.landing-content p {
  font-family: "Grechen Fuemen", cursive;
  font-size: 1.3rem;
  color: #bfbdbd;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background-color: #bb9356;
  color: #000;
  font-family: "Salsa", cursive;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 0.3rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #a07a42;
  transform: translateY(-2px);
}

/* Carousel indicators */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  animation: dot-pulse 25s infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 5s; }
.dot:nth-child(3) { animation-delay: 10s; }
.dot:nth-child(4) { animation-delay: 15s; }
.dot:nth-child(5) { animation-delay: 20s; }

@keyframes dot-pulse {
  0%   { background-color: rgba(255, 255, 255, 0.5); transform: scale(1); }
  4%   { background-color: #bb9356; transform: scale(1.5); }
  20%  { background-color: #bb9356; transform: scale(1.5); }
  24%  { background-color: rgba(255, 255, 255, 0.5); transform: scale(1); }
  100% { background-color: rgba(255, 255, 255, 0.5); transform: scale(1); }
}

/*  MENU SECTION  */
.menu-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5rem 0 3rem;
  min-height: 100vh;
}

.menu-subtitle {
  font-family: "Grechen Fuemen", cursive;
  font-size: 1.6rem;
  color: #bb9356;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.5rem;
}

.highlight {
  color: #bb9356;
  font-weight: 600;
}

.menu-title {
  font-family: "Abril Fatface", cursive;
  font-size: 2.8rem;
  color: #000;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 700px;
}

/* Menu item info card */
.menu-item-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 1.5rem;
  background-color: #ffffff;
  position: relative;
  min-height: 280px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.menu-item-info::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px dashed #000;
  height: calc(100% - 1rem);
  width: calc(100% - 1rem);
  pointer-events: none;
}

.menu-item-info h3 {
  font-family: "Grechen Fuemen", cursive;
  font-size: 1.4rem;
  color: #bb9356;
  margin-bottom: 0.3rem;
}

.menu-item-info h2 {
  font-family: "Abril Fatface", cursive;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.menu-item-info .star {
  color: #bb9356;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.menu-item-info p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  max-width: 260px;
}

.menu-item-info:hover {
  background-color: #f8f4ef;
}

/* Menu item image */
.menu-item-image {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  cursor: pointer;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.menu-item-image:hover img {
  transform: scale(1.05);
}

.menu-item-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
}

.menu-item-image:hover::after {
  background-color: rgba(0, 0, 0, 0.2);
}
.popup-toggle {
  display: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup-toggle:checked + .popup-overlay {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  position: relative;
  width: 90vmin;
  max-width: 400px;
  height: 70vh;
  max-height: 600px;
  border-radius: 0.5rem;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-toggle:checked + .popup-overlay .popup-card {
  transform: scale(1);
}

.popup-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
  z-index: 0;
}

.popup-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  color: #dfdfdf;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 5;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #bb9356;
}

.popup-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem;
  background-color: #dfdfdf;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.popup-headings {
  position: relative;
  top: -3rem;
  margin-bottom: -2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-headings h3 {
  font-family: "Grechen Fuemen", cursive;
  font-size: 1.4rem;
  color: #bb9356;
}

.popup-headings h2 {
  font-family: "Abril Fatface", cursive;
  font-weight: 400;
  font-size: 1.5rem;
  color: #ffffff;
}

.popup-bottom p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
  max-width: 320px;
}

.popup-btn {
  display: inline-block;
  padding: 0.6rem 1.8rem;
  background-color: #bb9356;
  color: #000;
  font-family: "Salsa", cursive;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.3rem;
}

.popup-btn:hover {
  background-color: #a07a42;
  transform: translateY(-2px);
}
.menu-item-info label,
.menu-item-image label {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

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

/*  FOOTER */
footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  padding: 1rem;
  font-family: "Salsa", cursive;
  font-weight: 300;
  font-size: 0.95rem;
}

footer a {
  color: inherit;
  text-decoration: underline;
}

footer a:hover {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-links img {
  width: 22px;
  height: 22px;
  transition: opacity 0.2s ease;
}

.footer-links img:hover {
  opacity: 0.6;
}

@media (min-width: 600px) {
  nav.navbar {
    padding: 0.2rem 2rem;
  }

  .nav-links {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 2.4rem;
  }

  .landing-content h3,
  .menu-subtitle {
    font-size: 2rem;
  }

  .landing-content h1 {
    font-size: 2.8rem;
  }

  .menu-title {
    font-size: 2.8rem;
  }

  .landing-content p {
    font-size: 1.6rem;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .menu-item-image,
  .menu-item-info {
    min-height: 300px;
  }
}

@media (min-width: 900px) {
  nav.navbar {
    padding: 0.2rem 6rem;
  }

  .landing-content h1 {
    font-size: 3.4rem;
  }

  .landing-content p {
    font-size: 2rem;
  }

  .menu-item-image,
  .menu-item-info {
    min-height: 300px;
  }
}

@media (min-width: 1300px) {
  nav.navbar {
    padding: 0.5rem 12rem;
  }

  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
  }

  .menu-item-image,
  .menu-item-info {
    min-height: 300px;
  }
}

@media (max-width: 599px) {
  nav.navbar {
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 1rem;
  }

  .landing-content h1 {
    font-size: 2rem;
  }

  .landing-content h3,
  .menu-subtitle {
    font-size: 1.2rem;
  }

  .landing-content p {
    font-size: 1rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .menu-item-image,
  .menu-item-info {
    min-height: 250px;
  }
}
