/* Single Dish Page Styles */
.dish-header {
  background: #f8f9fa;
  padding: 2rem 0;
}
.dish-content {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
.dish-main {
  flex: 3;
}
.dish-sidebar {
  flex: 1;
}
.related-dishes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
@media (max-width: 768px) {
  .dish-content {
    flex-direction: column;
  }
  .related-dishes {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Dish Hero Section */
.dish-hero {
  background: var(--surface, #151024);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.dish-hero.has-image {
  min-height: 400px;
}

.dish-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.dish-hero .hero-content {
  position: relative;
  z-index: 1;
}

.dish-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Dish Featured Image */
.dish-featured-image {
  margin: 1.5rem 0;
  text-align: center;
}

.dish-hero-image {
  max-width: 100%;
  width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Korean Name */
.dish-hero .korean-name {
  font-size: 1.5rem;
  color: var(--secondary, #ebb2ff);
  margin-bottom: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Title */
.dish-hero h1 {
  color: var(--on-surface, #e8defb);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

/* Category Badges */
.dish-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.dish-categories .category-badge,
.dish-categories .category-tag {
  background: var(--primary-container, #371f48);
  color: var(--on-surface, #e8defb);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dish-categories .category-badge:hover,
.dish-categories .category-tag:hover {
  background: var(--primary, #ff4a90);
  color: white;
}

/* Pronunciation */
.pronunciation {
  color: var(--on-surface, #e8defb);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.pronunciation-label {
  color: var(--secondary, #ebb2ff);
  font-weight: 600;
}

.pronunciation-text {
  color: var(--on-surface, #e8defb);
}

/* Quick Info */
.dish-quick-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quick-info-item .info-label {
  color: var(--secondary, #ebb2ff);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-info-item .info-value {
  color: var(--on-surface, #e8defb);
  font-weight: 500;
}

/* Content Sections */
.dish-content .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dish-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

@media (max-width: 992px) {
  .dish-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Content Sections */
.content-section {
  background: var(--surface-variant, #1e152e);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.content-section h2 {
  color: var(--primary, #ff4a90);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dish-description,
.ingredients-list,
.history-section,
.variations-section,
.serving-section,
.fun-facts-section {
  color: var(--on-surface, #e8defb);
  line-height: 1.7;
}

.dish-description p,
.ingredients-list p,
.history-section p,
.variations-section p,
.serving-section p,
.fun-facts-section p {
  margin-bottom: 1rem;
}

/* Sidebar */
.dish-sidebar .sidebar-card {
  background: var(--surface-variant, #1e152e);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.dish-sidebar h3 {
  color: var(--primary, #ff4a90);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dish-sidebar .info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dish-sidebar .info-label {
  color: var(--secondary, #ebb2ff);
  font-weight: 500;
}

.dish-sidebar .info-value {
  color: var(--on-surface, #e8defb);
}

/* Related Dishes */
.related-dishes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.related-dish {
  display: block;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-dish:hover {
  background: rgba(255, 74, 144, 0.1);
}

.related-dish h4 {
  color: var(--on-surface, #e8defb);
  font-size: 1rem;
  margin: 0 0 0.25rem 0;
}

.related-korean {
  color: var(--secondary, #ebb2ff);
  font-size: 0.875rem;
}

/* Category Tags in Sidebar */
.dish-proteins,
.dish-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.protein-tag,
.method-tag {
  background: rgba(255, 74, 144, 0.2);
  color: var(--on-surface, #e8defb);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.protein-tag:hover,
.method-tag:hover {
  background: var(--primary, #ff4a90);
  color: white;
}