/* =========================================
   VARIABLES & BASE SETUP
   ========================================= */
:root {
  --bg-page: #f5f5f7;
  --bg-content: rgba(255, 255, 255, 0.75); /* Main glass panel */
  --bg-card: rgba(255, 255, 255, 0.75);    /* Subcategory boxes inside the panel */
  
  --title: #52c3c2;      /* Teal */
  --separator: #f6afb7;  /* Pink */
  --text: #353635;       /* Dark Grey */
  --footer-bg: rgba(255, 255, 255, 0.75);

  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 36px;
  --radius: 8px; 
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  font-family: 'Inter Tight', -apple-system, sans-serif; 
  font-weight: 400;
  background-image: url('../assets/images/bg.svg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--text);
}

h2, h3, p { margin-block-start: 0; margin-block-end: 0; }

.menu-page {
  padding-bottom: 80px; 
  margin: 0;
  min-height: 100vh;
}

/* =========================================
   HEADER & LOGO
   ========================================= */
.menu-header {
  text-align: center;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.menu-logo {
  max-width: 220px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.8)); 
}

#site-title {
    letter-spacing: 10px;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text);
}

/* =========================================
   MAIN CONTENT AREA (SMART CSS GRID)
   ========================================= */
.menu-content {
  max-width: 1200px; 
  margin: 0 auto;
}

.menu-category {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: var(--space-md);
  align-items: start; 
  width: 100%;
}

.subcategory-card {
  width: 100%; 
  background: var(--bg-content);
  border-radius: var(--radius);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-subcategory-title {
  color: var(--title);
  font-size: 1.4rem;
  font-weight: 700;
  border-bottom: 2px solid var(--separator);
  padding-bottom: 8px;
  margin-bottom: 3px;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* =========================================
   MENU ITEMS
   ========================================= */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(79, 79, 79, 0.3);
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
}

.menu-item-name {
  color: var(--text);
  flex: 1;
  font-size: 1.05rem;
}

.menu-item-price {
  font-weight: 600;
  min-width: 60px;
  text-align: right;
  color: var(--text);
  font-size: 1.1rem;
}

.menu-item-desc {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.7;
  margin-top: 4px;
  line-height: 1.4;
}

/* =========================================
   SKELETON PRELOADER (SHIMMER)
   ========================================= */
.skeleton {
  background: #eee;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  border-radius: 4px;
  background-size: 200% 100%;
  animation: shimmer 1.5s linear infinite;
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 100%;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

/* =========================================
   STICKY BOTTOM TABS
   ========================================= */
.menu-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  overflow-x: auto;
  scrollbar-width: none;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 -4px 30px 10px rgb(0 0 0 / 20%);
}

.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tabs-inner {
  display: flex;
  gap: var(--space-sm);
  padding: 15px var(--space-md);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.category-buttons { display: flex; gap: var(--space-sm); }

.menu-tab {
  background: transparent;
  border: 1px solid rgba(53, 54, 53, 0.2);
  color: var(--text);
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.menu-tab:hover { background: rgba(0, 0, 0, 0.05); }

.menu-tab.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.menu-lang-switcher {
  display: flex;
  gap: 8px;
  margin-left: auto;
  padding-right: 15px;
}

.menu-tab.lang-tab {
  padding: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  opacity: 0.5;
}

.menu-tab.lang-tab.active {
  opacity: 1;
  border-color: var(--title);
}

.menu-tab.lang-tab img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================================
   FOOTER & DISCLAIMERS
   ========================================= */
.site-footer {
  max-width: 1200px;
  margin: var(--space-lg) auto;
  background: var(--footer-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-contact-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}

.contact-link:hover { opacity: 0.6; }

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
  justify-content: center;
}

.social-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  background: rgba(0,0,0,0.05);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.social-link:hover { background: rgba(0,0,0,0.1); }

section.disclaimer {
    padding: var(--space-lg) var(--space-md);
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.75;
}

section.disclaimer p:first-child {
    font-weight: 600;
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* Mobile (1 στήλη) */
@media (max-width: 767px) {
  .menu-category { 
    grid-template-columns: 1fr; 
    padding: 0 var(--space-sm); 
  }
  .menu-content { margin: 0 0 30px 0; padding: 0; }
  .site-footer { margin: var(--space-sm); padding: var(--space-lg); }
  .menu-subcategory-title { font-size: 1.4rem; }
}

/* Tablet (2 στήλες) */
@media (min-width: 768px) and (max-width: 1024px) {
  .menu-content, .site-footer { margin: 0 20px 40px 20px; }
  .menu-category {
    grid-template-columns: repeat(2, 1fr); 
  }
}