
/* menu.css */

/* ===== GENERAL RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #fefcf9;
  color: #333;
}

/* ===== HERO ===== */
.hero {
  height: 400px;
  background: linear-gradient(rgba(15, 81, 50, 0.6), rgba(15, 81, 50, 0.6)), url('https://images.pexels.com/photos/461198/pexels-photo-461198.jpeg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 20px;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* ===== MENU SECTION ===== */
.menu-section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.menu-section h2 {
  font-size: 40px;
  color: #0f5132;
  margin-bottom: 50px;
  position: relative;
}

.menu-section h2::after {
  content: '';
  width: 80px;
  height: 4px;
  background-color: #2d6a4f;
  display: block;
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ===== MENU GRID ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== MENU CARD ===== */
.menu-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  height: 350px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  cursor: pointer;
}

.menu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
  border-radius: 20px;
  transition: background 0.5s ease;
}

.menu-card h3, .menu-card p, .menu-card span {
  position: relative;
  z-index: 1;
}

.menu-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  font-weight: bold;
}

.menu-card p {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.menu-card span {
  font-size: 18px;
  font-weight: 600;
}

/* ===== HOVER EFFECT ===== */
.menu-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.menu-card:hover::before {
  background: linear-gradient(to top, rgba(15,81,50,0.6), rgba(15,81,50,0.2));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .menu-card {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .menu-section h2 {
    font-size: 30px;
  }

  .menu-card h3 {
    font-size: 20px;
  }

  .menu-card p {
    font-size: 14px;
  }

  .menu-card span {
    font-size: 16px;
  }
}