/* ===========================
   RED MANGO — RESTAURANT.CSS
   =========================== */

/* ===== INTRO ===== */

.rest-intro {
  background: var(--white);
  padding: 80px 40px 60px;
  text-align: center;
}

.rest-intro-inner {
  max-width: 760px;
  margin: 0 auto;
}

.rest-intro .section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}

.rest-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 400;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.rest-intro-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.95;
  color: #000000;
  margin-bottom: 24px;
}

.rest-order-note {
  font-size: 15px;
  font-weight: 500;
  color: #444;
  background: #faf5f0;
  border-left: 3px solid var(--red);
  padding: 12px 20px;
  text-align: left;
  display: inline-block;
  width: 100%;
}

.rest-order-note a {
  color: var(--red);
  text-decoration: none;
  font-weight: 700;
}

/* ===== FOOD PHOTO GRID ===== */

.rest-gallery {
  background: #f5f0eb;
  padding: 60px 40px;
}

.rest-gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.rest-photo {
  position: relative;
  overflow: hidden;
  background: #ddd;
}

.rest-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  min-height: 260px;
}

.rest-photo:hover img {
  transform: scale(1.04);
}

.rest-photo-large {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}

.rest-photo-wide {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.rest-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 24px 16px 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rest-photo:hover .rest-photo-caption {
  opacity: 1;
}

/* ===== MENU SECTION ===== */

.rest-menu-section {
  background: var(--white);
  padding: 80px 40px;
}

.rest-menu-inner {
  max-width: 860px;
  margin: 0 auto;
}

.rest-menu-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 12px;
}

.rest-menu-subtitle {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-bottom: 36px;
}

/* Download button */
.rest-menu-download {
  text-align: center;
  margin-bottom: 44px;
}

.btn-download-menu {
  display: inline-block;
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-download-menu:hover {
  background: var(--red);
  color: var(--white);
}

/* Tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 36px;
  border-bottom: 2px solid #e8e8e8;
  padding-bottom: 0;
}

.menu-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tab:hover {
  color: #333;
}

.menu-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Panels */
.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-panel-note {
  font-size: 15px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 28px;
  line-height: 1.7;
  text-align: center;
}

.menu-section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 800;
  color: #222;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* Menu Items */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  gap: 20px;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.menu-item-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #222;
}

.menu-item-code {
  font-weight: 400;
  font-size: 11px;
  color: #aaa;
}

.menu-item-desc {
  font-size: 14px;
  color: #777;
  font-weight: 500;
  line-height: 1.6;
}

.menu-item-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
  padding-top: 1px;
}

/* 2-column menu items for drinks */
.menu-items-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

/* Accompaniment tags */
.menu-accompaniments-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #aaa;
  margin: 28px 0 12px;
}

.menu-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.menu-tags-grid span {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  background: #f5f5f5;
  padding: 6px 14px;
  border-radius: 0;
  border: 1px solid #e8e8e8;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .rest-intro {
    padding: 60px 24px 40px;
  }

  .rest-gallery {
    padding: 40px 20px;
  }

  .rest-gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .rest-photo-large {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .rest-photo-wide {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .rest-menu-section {
    padding: 60px 20px;
  }

  .menu-tabs {
    gap: 0;
  }

  .menu-tab {
    padding: 10px 12px;
    font-size: 9px;
  }

  .menu-items-2col {
    grid-template-columns: 1fr;
  }
}
