/* Premium Cafe Menu - Inspired by Ehli Keyf Design */
:root {
    --bg: #f9f6f2;
    --panel: #ffffff;
    --accent: #a89272;
    --accent-dark: #6d5d4a;
    --accent-light: #d4c4aa;
    --accent-soft: rgba(168, 146, 114, 0.08);
    --text: #2d2520;
    --text-secondary: #6d5d4a;
    --subtle: #8b7d6f;
    --border: rgba(109, 93, 74, 0.15);
    --white: #ffffff;
    --success: #6b9f7e;
    --shadow-sm: 0 2px 8px rgba(109, 93, 74, 0.06);
    --shadow-md: 0 8px 24px rgba(109, 93, 74, 0.1);
    --shadow-lg: 0 16px 40px rgba(109, 93, 74, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Accessibility - Skip Link */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--accent);
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    z-index: 1000;
    border-radius: 0 0 8px 0;
    box-shadow: var(--shadow-md);
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.menu-header {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem) clamp(1.25rem, 5vw, 3rem);
    background: linear-gradient(to bottom, rgba(212, 196, 170, 0.08) 0%, rgba(249, 246, 242, 0.95) 100%);
    overflow: hidden;
    border-bottom: 2px solid var(--border);
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 15% 20%, rgba(255, 255, 255, 0.7), transparent 45%),
        radial-gradient(ellipse at 85% 75%, rgba(168, 146, 114, 0.12), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(212, 196, 170, 0.05), transparent 70%);
    pointer-events: none;
    opacity: 0.8;
}

.menu-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.menu-logo {
    width: clamp(80px, 13vw, 120px);
    height: clamp(80px, 13vw, 120px);
    border-radius: 24px;
    background: var(--white);
    padding: clamp(0.6rem, 2vw, 1rem);
    box-shadow: 0 6px 20px rgba(109, 93, 74, 0.12), 0 2px 6px rgba(109, 93, 74, 0.08);
    object-fit: contain;
    flex-shrink: 0;
    border: 1px solid rgba(168, 146, 114, 0.1);
}

.menu-hero h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--accent-dark);
    line-height: 1.15;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
}

.menu-hero .tagline {
    margin: 0.4rem 0 0;
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: var(--text-secondary);
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01em;
}

.menu-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(168, 146, 114, 0.15);
    box-shadow: 0 10px 30px rgba(109, 93, 74, 0.12), 0 2px 8px rgba(109, 93, 74, 0.06);
}

.menu-meta > div {
    display: grid;
    gap: 0.2rem;
}

.meta-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    opacity: 0.8;
}

.meta-value {
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: var(--text);
    line-height: 1.4;
}

.notice-row {
    margin-top: clamp(0.8rem, 2vw, 1.2rem);
    display: grid;
    gap: 0.5rem;
}

.notice-row p {
    margin: 0;
    font-size: clamp(0.9rem, 1.9vw, 1rem);
    font-weight: 500;
    color: var(--accent-dark);
    background: rgba(168, 146, 114, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--accent);
    text-align: center;
    box-shadow: 0 2px 8px rgba(109, 93, 74, 0.05);
}

.menu-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem);
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}0px;
    border: 1px solid var(--border);
    padding: clamp(1.2rem, 2.5vw, 1.8rem);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 1rem;
    z-index: 10;
}

.category-nav h2 {
    margin: 0 0 1.25rem 0;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: var(--accent-dark);
    font-family: Georgia, "Times New Roman", serif;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(109, 93, 74, 0.04);
}

.pill:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: 0 6px 20px rgba(109, 93, 74, 0.15);
    color: var(--accent-dark);
}

.pill:active {
    transform: translateY(0);
}
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    box-shadow: var(--shadow-md);
}

.popular-showcase header {
    margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
    text-align: center;
}

.popular-showcase h2 {
    margin: 0;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--accent-dark);
    font-family: Georgia, "Times New Roman", serif;
    text-transform: uppercase;
}

.popular-showcase header p {
    margin: 0.5rem 0 0;
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    font-weight: 400;
    font-style: italic;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.popular-card {
    padding: clamp(1.1rem, 2.5vw, 1.4rem);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.popular-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(109, 93, 74, 0.18);
    border-color: var(--accent);
}

.popular-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent) 50%, var(--accent-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popular-card:hover::before {
    opacity: 1;
}

.popular-title {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.popular-title h3 {
    margin: 0;
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

.popular-category {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    width: fit-content;
}

.popular-description {
    margin: 0;
    color: var(--subtle);
    font-size: clamp(0.85rem, 1.8vw, 0.92rem);
    line-height: 1.5;
}

.popular-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(139, 98, 57, 0.08);
}

.popular-note {
    font-size: 0.8rem;
    color: var(--subtle);
    font-style: italic;
    flex: 1 1 auto;
}

.popular-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: none;
    background: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(109, 93, 74, 0.2);
}

.popular-link:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(109, 93, 74, 0.3);
}

.menu-shell {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.menu-shell.with-aside {
    grid-template-columns: 1fr;
}

.menu-shell.full-width .menu-stack {
    grid-template-columns: 1fr;
}

.menu-aside {
    display: grid;
    gap: clamp(0.8rem, 2vw, 1rem);
}

.insight-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: clamp(1.25rem, 3vw, 1.6rem);
    box-shadow: 0 3px 12px rgba(109, 93, 74, 0.08);
    display: grid;
    gap: 0.75rem;
}

.insight-card h3,
.insight-card h4 {
    margin: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--accent-dark);
    font-family: Georgia, "Times New Roman", serif;
}

.insight-card h4 {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.insight-card p {
    margin: 0;
    color: var(--text);
    font-size: clamp(0.85rem, 1.8vw, 0.92rem);
    line-height: 1.6;
}

.insight-card.subtle {
    background: var(--accent-soft);
    border-color: rgba(199, 149, 109, 0.25);
}

.menu-stack {
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

@media (min-width: 900px) {
    .menu-shell.with-aside {
        grid-template-columns: 280px 1fr;
        align-items: start;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .menu-aside {
        position: sticky;
        top: 5.5rem;
    }
}

.insight-card h4 {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
}

.insight-card p {
    margin: 0;
    color: var(--text);
    font-size: clamp(0.85rem, 1.8vw, 0.92rem);
    line-height: 1.6;
}

.insight-card.subtle {
    background: var(--accent-soft);
    border-color: rgba(168, 146, 114, 0.25);
}

.menu-stack {
    display: grid;
    gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 900px) {
    .menu-shell.with-aside {
        grid-template-columns: 280px 1fr;
        align-items: start;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }
    
    .menu-aside {
        position: sticky;
        top: 5.5rem;
    }
}

.highlight {
    background: rgba(168, 146, 114, 0.06);
    border-radius: var(--radius-md);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    text-align: center;
    box-shadow: 0 2px 8px rgba(109, 93, 74, 0.05);
}

.highlight.custom {
    text-align: left;
}

.highlight h2 {
    margin: 0 0 0.6rem 0;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--accent-dark);
}

.menu-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(109, 93, 74, 0.08);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    display: grid;
    gap: 1.25rem;
    scroll-margin-top: 5.5rem;
    position: relative;
    overflow: hidden;
}

.menu-section header {
    padding-bottom: 0.8rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.menu-section header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 999px;
}

.menu-section h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--accent-dark);
    font-family: Georgia, "Times New Roman", serif;
    text-transform: uppercase;
}

.section-description {
    margin: 0.4rem 0 0;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.6;
}

.section-note {
    margin-top: 0.75rem;
    background: var(--accent-soft);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.15rem;
    border-left: 3px solid var(--accent);
}

.section-note p {
    margin: 0;
    font-size: clamp(0.85rem, 1.9vw, 0.92rem);
    line-height: 1.6;
    color: var(--text);
}

.menu-items {
    display: grid;
    gap: clamp(0.6rem, 1.5vw, 0.8rem);
}

.menu-item {
    display: grid;
    gap: 0.5rem;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(0.5rem, 1.5vw, 0.75rem);
    border-bottom: 1px solid rgba(109, 93, 74, 0.1);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.menu-item:hover {
    background: rgba(168, 146, 114, 0.05);
    transform: translateX(4px);
    border-left: 3px solid var(--accent);
    padding-left: calc(clamp(0.5rem, 1.5vw, 0.75rem) - 3px);
}

.menu-item:last-child {
    border-bottom: none;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}

.item-header h3 {
    margin: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
}

.price {
    font-weight: 700;
    color: var(--accent-dark);
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    white-space: nowrap;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 0.01em;
}

.badge {
    margin-right: 0.4rem;
    color: #f4c430;
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(109, 93, 74, 0.2));
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.description {
    color: var(--text-secondary);
    margin: 0;
    font-size: clamp(0.875rem, 1.9vw, 0.95rem);
    line-height: 1.65;
    opacity: 0.9;
}

.item-note {
    font-size: clamp(0.8rem, 1.7vw, 0.87rem);
    font-style: italic;
    color: var(--accent-dark);
    margin: 0;
    opacity: 0.9;
}

.empty-state {
    text-align: center;
    color: var(--subtle);
    font-style: italic;
    padding: 1.5rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.menu-footer {
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 5vw, 2.5rem);
    color: var(--text-secondary);
    background: rgba(168, 146, 114, 0.05);
    border-top: 2px solid var(--border);
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
    position: relative;
}

.menu-footer p {
    margin: 0.3rem 0;
    font-size: clamp(0.8rem, 1.6vw, 0.88rem);
    line-height: 1.6;
}

.admin-login-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(168, 146, 114, 0.1);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.6;
    backdrop-filter: blur(4px);
}

.admin-login-btn:hover {
    opacity: 1;
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 93, 74, 0.15);
}

.admin-login-btn svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 640px) {
    .menu-hero {
        gap: 1.25rem;
    }

    .menu-brand {
        width: 100%;
        flex-direction: column;
        text-align: center;
    }
    
    .menu-meta {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-nav {
        position: static;
        border-radius: var(--radius-md);
    }
    
    .pill {
        font-size: 0.8rem;
        padding: 0.55rem 1rem;
    }
    
    .menu-logo {
        margin: 0 auto;
    }
    
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .popular-link {
        width: 100%;
        text-align: center;
        padding: 0.65rem 1.25rem;
    }
    
    .item-header {
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .menu-item:hover {
        transform: translateX(2px);
        padding-left: calc(clamp(0.5rem, 1.5vw, 0.75rem) - 3px);
    }
    
    .menu-section {
        padding: clamp(1.25rem, 3vw, 1.75rem);
    }
    
    .popular-card {
        padding: clamp(1.15rem, 3vw, 1.5rem);
    }
}

@media (min-width: 641px) and (max-width: 899px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .menu-hero {
        gap: 1.75rem;
    }
    
    .category-nav {
        padding: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .popular-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .menu-content {
        padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 5vw, 3rem);
    }
    
    .menu-section:hover {
        box-shadow: 0 8px 24px rgba(109, 93, 74, 0.12);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .badge {
        animation: none !important;
    }
}
