/* ========================================
1.  VARIABLES & RESET
======================================== */
:root {
    --primary-color: #0c3b5e;    
    --accent-color: #d1a84f;     
    --surface-color: rgba(255, 255, 255, 0.65);
    --surface-border: rgba(255, 255, 255, 0.4);
    --text-main: #1d252d;
    --text-muted: #4a5568;
    --nav-height: 70px;
    --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: 'Montserrat', sans-serif;
    /* Soft oceanic gradient background to make the glass stand out */
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
}

/* Language Toggle CSS */
body.lang-en .lang-el { display: none !important; }
body:not(.lang-en) .lang-en { display: none !important; }

/* ========================================
2. GLASSMORPHISM UTILITIES
======================================== */
.glass {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

.glass-item {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--surface-border);
    box-shadow: 0 4px 16px rgba(12, 59, 94, 0.05);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-item:hover {
    background: rgba(255, 255, 255, 0.75);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 59, 94, 0.1);
}

/* ========================================
3. HEADER & LOGO
======================================== */
.main-header {
    padding: 25px 20px;
    text-align: center;
    position: relative;
}

.logo-container {
    text-align: center;
}

.text-logo {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color); 
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 8px;
    font-weight: 600;
}

/* Language Switcher */
.lang-switcher {
    margin-top: 20px;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    overflow: hidden;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}
.lang-btn {
    background: none;
    border: none;
    padding: 8px 18px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 25px;
    transition: var(--transition);
}
.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(12, 59, 94, 0.3);
}

/* ========================================
4. STICKY NAVIGATION (HORIZONTAL SCROLL)
======================================== */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

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

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.nav-item.active { 
    background: var(--primary-color); 
    color: white; 
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(12, 59, 94, 0.25);
}

/* ========================================
5. MENU SECTIONS & ITEMS
======================================== */
.menu-container {
    padding: 30px 20px;
    max-width: 900px; 
    margin: 0 auto;
}

.menu-section {
    margin-bottom: 50px;
    scroll-margin-top: 90px; 
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-style: italic;
    font-size: 0.95rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.item-info { flex: 1; padding-right: 15px; }
.item-name { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--primary-color);
    margin-bottom: 4px; 
}
.item-desc { 
    font-size: 0.9rem; 
    color: var(--text-muted); 
    margin-top: 6px;
    line-height: 1.4;
}
.item-price { 
    font-weight: 700; 
    color: var(--primary-color); 
    font-size: 1.15rem; 
    white-space: nowrap; 
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

/* ========================================
6. BACK TO TOP BUTTON & FOOTER
======================================== */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px;
    background-color: var(--primary-color); color: #ffffff; border: none;
    border-radius: 50%; box-shadow: 0 6px 16px rgba(12, 59, 94, 0.3); cursor: pointer;
    display: flex; align-items: center; justify-content: center; z-index: 9999; 
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--transition);
}
.back-to-top svg { width: 24px; height: 24px; }
.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-footer { 
    text-align: center; 
    padding: 40px 20px 30px; 
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
