/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  padding: 20px;
}

/* ========================================
   ✅ WORKING: Title Division (ID Selector)
   This demonstrates the ID selector (#)
   ======================================== */
#title {
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#title h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

#title p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ========================================
   ✅ WORKING: Dining Table (Class Selector & Flexbox)
   This demonstrates class selector (.) and Flexbox layout
   ======================================== */
.dining-table {
  background-color: #8b4513;
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ========================================
   ✅ WORKING: Plate Styling (Circular Containers)
   Red and Yellow plates are complete examples
   ======================================== */

/* Common plate styling */
.red-plate,
.yellow-plate,
.green-plate,
.blue-plate,
.teal-plate,
.gold-plate
{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.red-plate:hover,
.yellow-plate:hover,
.green-plate:hover,
.blue-plate:hover,
.teal-plate:hover,
.gold-plate:hover {
  transform: translateY(-10px);
}

/* Individual plate colors */
.red-plate {
  background-color: #e74c3c;
}

.yellow-plate {
  background-color: #f1c40f;
}

.green-plate {
  background-color: #2ecc71;
}

.blue-plate {
  background-color: #3498db;
}

.teal-plate {
  background-color: #1abc9c;
}

.gold-plate {
  background-color: #FFD700;
}

/* ========================================
   ✅ WORKING: Plate Content Styling
   Centers the emoji and label inside plates
   ======================================== */
.plate-content {
  text-align: center;
  color: white;
}

.food-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.food-label {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.gold-plate img {
  width: 80%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

/* TODO 2: Add color rules for the three new plate classes you create in row two. */
/* Verify: each plate is a distinct color and inherits the circular shape + hover lift. */

/* TODO 3: Add a rule that styles your <img> replacement so it stays circular and fits inside the plate. */
/* Verify: image is round, doesn't distort, and sits inside the plate boundary. */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .dining-table {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #title h1 {
    font-size: 2rem;
  }

  #title p {
    font-size: 1rem;
  }
}
