/* Menu page specific styles */

.menu-container {
    grid-template-areas:
      "ad header header"
      "ad menu menu"
      "ad specials specials";
    grid-template-columns: 1fr 2fr 2fr;
    gap: 1.5rem;
  }
  
  .menu-header {
    grid-area: header;
    text-align: center;
    background-color: var(--color-accent);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
  }
  
  .menu-header h2 {
    margin-top: 0;
    font-size: 1.8rem;
  }
  
  .coffee-menu {
    grid-area: menu;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .menu-specials {
    grid-area: specials;
  }
  
  .coffee-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .coffee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .coffee-card {
    padding: 0;
  }
  
  .coffee-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  
  .coffee-info {
    padding: 1rem;
    text-align: center;
  }
  
  .coffee-info h3 {
    margin-top: 0;
    color: var(--color-accent);
  }
  
  .price {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  
  .nutrition-details {
    margin-top: 0.5rem;
  }
  
  .nutrition-details summary {
    background-color: var(--color-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    font-weight: normal;
    outline: none;
  }
  
  .nutrition-details summary:hover {
    background-color: #5a4242;
  }
  
  .nutrition-details[open] summary {
    margin-bottom: 0.5rem;
  }
  
  .ingredients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
  }
  
  .ingredients-table caption {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
  }
  
  .ingredients-table th, 
  .ingredients-table td {
    padding: 0.5rem;
    text-align: left;
    border-bottom: 1px solid #eee;
  }
  
  .ingredients-table th {
    background-color: #f5f5f5;
    color: var(--color-accent);
  }
  
  /* High contrast mode adjustments for menu */
  body.high-contrast .coffee-item {
    background-color: #222;
    border: 1px solid #0ff;
  }
  
  body.high-contrast .coffee-info h3,
  body.high-contrast .price {
    color: #0ff;
  }
  
  body.high-contrast .nutrition-details summary {
    background-color: #000;
    color: #0ff;
    border: 1px solid #0ff;
  }
  
  body.high-contrast .ingredients-table caption {
    color: #0ff;
  }
  
  body.high-contrast .ingredients-table th {
    background-color: #333;
    color: #0ff;
  }
  
  body.high-contrast .ingredients-table td {
    border-color: #444;
  }

  body.high-contrast .menu-header {
    background-color: #333;
    color: #0ff;
  }
  
  /* Tablet view - 701px-1050px */
  @media (min-width: 701px) and (max-width: 1050px) {
    .menu-container {
      grid-template-areas:
        "header header"
        "menu menu"
        "specials ad";
      grid-template-columns: 1fr 1fr;
    }
    
    .coffee-menu {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Mobile view - 700px and below */
  @media (max-width: 700px) {
    .menu-container {
      grid-template-areas:
        "header"
        "menu"
        "specials"
        "ad";
      grid-template-columns: 1fr;
    }
    
    .coffee-menu {
      grid-template-columns: 1fr;
    }
    
    .coffee-image {
      height: 100%;
    }
  }