* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3 {
  margin-bottom: 0.5em;
}

section {
  padding: 2em 1em;
}

.section {
  text-align: center;
  background-color: #fff;
}

.section-alt {
  background-color: #f7f7f7;
  position: relative;
  overflow: hidden;
}

.section-alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.section-alt::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 35px;
background: linear-gradient(to bottom, transparent, black);
z-index: 1;
}

.section-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #666;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px; /* Adjust based on your logo's aspect ratio */
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex; /* Changed from 'none' to 'flex' to show by default */
  font-size: 1.5em;
  color: white;
}

.nav-links a {
  margin-left: 1.5em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #d97706;
}

.mobile-button {
  display: none; /* Hide hamburger by default */
  flex-direction: column;
  cursor: pointer;
  color: White;
}

.bar {
  width: 24px;
  height: 2px;
  background: #facc15;
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.3s;
}

.bar.open:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.bar.open:nth-child(2) {
  opacity: 0;
}

.bar.open:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

.mobile-menu {
  display: none;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding-bottom: 1em;
  backdrop-filter: blur(2px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.5em 0;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to bottom, transparent, black);
  z-index: 1;
}

.hero::before {
  height: 100%;
  width: 100%;
  content: "";
  position: absolute;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center center;
  animation: bg-animation 25s ease-in-out infinite;
  transform: scale(1.5);
  z-index: -1;
}

@keyframes bg-animation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
  100% {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.button {
  display: inline-block;
  background: #facc15;
  color: #fff;
  padding: 0.75em 1.5em;
  border-radius: 999px;
  transition: background 0.3s;
}

.button:hover {
  background: #d97706;
}

/* Form */
.form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1em;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 0.3em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2em 1em;
}

.footer-info {
  font-size: 0.9em;
  margin-top: 0.5em;
}

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
  position: relative;
  z-index: 1;
}

.menu-intro {
  max-width: 700px;
  margin: 0 auto 2em;
  color: #666;
}

.menu-section {
  font-family: "Cabin Sketch", sans-serif;
  margin-bottom: 0.2em;
}

.section-title {
  font-size: 1.8em;
  color: #d97706;
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #ddd;
}

.menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
}

.menu-item {
  width: 90%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 0.5em;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.item-image {
  width: 70%;
  height: 200px;
  object-fit: cover;
}

.item-details {
  padding: 1.5em;
}

.item-name {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 0.5em;
  display: flex;
  justify-content: space-between;
}

.item-price {
  color: #d97706;
  font-weight: bold;
}

.item-description {
  color: #666;
  margin-bottom: 1em;
  font-size: 0.95em;
}

.item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.tag {
  background: #facc15;
  color: #333;
  padding: 0.2em 0.5em;
  border-radius: 0.3em;
  font-size: 0.7em;
  text-transform: uppercase;
  font-weight: bold;
}

.tag.vegetarian {
  background: #66bb6a;
  color: #fff;
}

.tag.spicy {
  background: #ef5350;
  color: #fff;
}

.tag.gluten-free {
  background: #42a5f5;
  color: #fff;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 100%;
  max-width: 600px;
  border: black;
  box-shadow: 0px 0px 15px rgb(0, 0, 0);
  border-style: solid;
  padding-bottom: 2em;
  color: rgb(220, 220, 220);
  text-align: center;
}

.banner-text h2, .banner-text h3 {
  margin: 5px 0;
  padding: 0.5em 0;
  color: white;
}

.table {
  table-layout: auto;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  color: white;
}

.t-center{
  text-align:center;
  vertical-align:center;
  font-weight: bold
}

.t-left{
  text-align:left;
  vertical-align:center;
  line-height: 30px;
  font-weight: bold
}


/* ------------------------------------------------------ */ /* Responsive */ /* ------------------------------------------------------ */

/* For screens up to 1024px */
@media (max-width: 1024px) {
  .menu-items {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .banner-text {
    max-width: 80%;
  }
  
  .table {
    width: 80%;
  }
  
  .hero::before {
    animation: none;
    transform: scale(1.2);
  }
}

/* For screens up to 768px */
@media (max-width: 768px) {
  .logo {
    height: 40px; /* Slightly smaller for mobile */
  }
  .menu-items { 
    grid-template-columns: 2 fr;
  }
  
  .banner-text {
    font-size: 0.9rem; /* Further reduce the font size on smaller phones */
    top: 55%;
    padding: 10px;
    min-width: 400px;
    max-width: 60%;
}

.banner-text h2 {
    font-size: 0.9rem; /* Further decrease for phones */
}

.banner-text h3, .banner-text h4, .banner-text p {
    font-size: 0.8rem; /* Smaller text on phones */
}
  
  .table {
    width: 90%;      
}

.t-center{
    font-size: 0.8rem;
}

.t-left{
    line-height: 12px;
    font-size: 0.8rem;
}
  
  .section-title {
    font-size: 1.5em;
  }
  
  .menu-intro {
    font-size: 0.95em;
  }
  
  .item-name {
    font-size: 1.1em;
  }
  
  .item-description {
    font-size: 0.9em;
  }
  
  .hero {
    height: 60vh;
  }
  
  .hero::before {
    transform: scale(1.5);
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-button {
    display: flex;
  }
}

/* For screens up to 480px */
@media (max-width: 480px) {
  .logo {
    height: 30px; /* Even smaller for very small screens */
  }
  .banner-text {
    top: 45%;
    padding: 5px;
    min-width: 200px;
    max-width: 350px;
}

  .banner-text h2 {
    font-size: 1em;
    padding: 0.1em;;
  }
  
  .banner-text h3 {
    font-size: 1em;
    padding: 0.1em;;
  }
  
  .table {
    font-size: 0.8em;
  }

.t-center{
    font-size: 0.7rem;
}

.t-left{
    line-height: 10px;
    font-size: 0.7rem;
}

  .menu-items {
    grid-template-columns: repeat(1, 1fr);
  }

  .item-image {
    height: 150px;
  }
  
  .hero {
    height: 60vh;
  }
  
  .logo {
    font-size: 1.2em;
  }
}