/* ========================================
TABLE OF CONTENTS
========================================
1.  VARIABLES & RESET
2.  TYPOGRAPHY & BASE STYLES
3.  HEADER & LOGO
4.  STICKY NAVIGATION (HORIZONTAL SCROLL)
5.  MENU SECTIONS & ITEMS
6.  SCROLL SPY STATES
7.  FOOTER
========================================
*/

/* 1. VARIABLES & RESET */
:root {
    --primary-color: #004381;    /* Navy Blue από Logo */
    --secondary-color: #808285;  /* Grey από Logo */
    --accent-color: #C5A059;     /* Gold Accent */
    --bg-color: #f9f9f9;
    --surface-color: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #666666;
    --nav-height: 60px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* 3. HEADER & LOGO */
.main-header {
    background: var(--surface-color);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    height: 60px; /* Προσαρμογή ανάλογα με το αρχείο */
    width: auto;
}

/* 4. STICKY NAVIGATION */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.nav-scroll-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 10px;
    gap: 10px;
    scrollbar-width: none; /* Firefox */
}

.nav-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 25px;
    background: #efefef;
    transition: var(--transition);
}

/* 6. SCROLL SPY STATES (Active Tag) */
.nav-item.active {
    background: var(--primary-color);
    color: white;
}

/* 5. MENU SECTIONS & ITEMS */
.menu-container {
    padding: 20px 15px;
    max-width: 600px; /* Για καλύτερο view σε μεγάλα κινητά */
    margin: 0 auto;
}

.menu-section {
    margin-bottom: 40px;
    scroll-margin-top: 80px; /* offset για το sticky nav */
}

.section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 12px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--surface-color);
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.item-info {
    flex: 1;
    padding-right: 15px;
}

.item-name {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    white-space: nowrap;
}

/* ==========================================
   BACK TO TOP BUTTON
========================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Να είναι πάντα πάνω από όλα */
    
    /* Αρχική κατάσταση (κρυμμένο) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Κατάσταση εμφάνισης */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Αλλαγή χρώματος όταν το πατάς */
.back-to-top:active {
    background-color: var(--accent-color);
    transform: scale(0.95);
}

/* 7. FOOTER */
.menu-footer {
    text-align: center;
    padding: 40px 20px 30px;
    border-top: 1px solid #eee; /* Απαλή γραμμή διαχωρισμού */
}

.menu-footer a {
    text-decoration: none;
    color: var(--secondary-color); /* Το γκρι (#808285) του Θεατράκι */
    font-size: 0.85rem;
}

.menu-footer a span {
    font-weight: 700;
    color: var(--primary-color); /* Το navy blue (#004381) του Θεατράκι */
}