:root {
  --bg: #fff7f1;
  --orange: #ff7a18;
  --dark: #2b2b2b;
}

body {
  background: var(--bg);
  color: var(--dark);
}


/* HERO */
.menu-hero {
  height: 90vh;
  background: url("../../images/coffee-cup.jpg") center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-text {
  position: relative;
  text-align: center;
  color: #fff;
}

.hero-text h1 {
  font-size: clamp(48px, 6vw, 72px);
}

.hero-text h1 span {
  color: var(--orange);
}

/* MENU */
.menu-wrapper {
  padding: 100px 10%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 60px;
}

.menu-section h2 {
  color: var(--orange);
  margin-bottom: 25px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed #ccc;
  transition: 0.3s;
}

.menu-item:hover {
  transform: translateX(6px);
  color: var(--orange);
}



/* RESPONSIVE */
@media(max-width: 768px) {
  
  .menu-hero {
    height: 70vh;
  }
}

/* category */
.cat-hero {
  margin-top: 90px;
}

/* TABS */
.cat-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 80px 0 40px;
}

.tab {
  padding: 10px 26px;
  border-radius: 30px;
  border: 1px solid var(--orange);
  background: transparent;
  color: var(--orange);
  cursor: pointer;
  transition: 0.3s;
}

.tab.active,
.tab:hover {
  background: var(--orange);
  color: #fff;
}

/* cat SECTIONS */
.cat-section {
  display: none;
  animation: fade 0.5s ease;
}

.cat-section.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 30px;
}

/* CARD */
.cat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.cat-card:hover {
  transform: translateY(-8px);
}

.cat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.cat-card div {
  padding: 16px;
  display: flex;
  justify-content: space-between;
}

/* ANIMATION */
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
  }
}
