/* ============================================================
   levante_speisekarte/static/src/css/speisekarte.css
   Levante gold palette: #b89968
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.speisekarte-hero {
    background: #1a1a1a;
    color: #f5f0e8;
    text-align: center;
    padding: 3rem 1rem 2rem;
}

.speisekarte-hero h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #b89968;
    margin-bottom: 0.4rem;
}

.speisekarte-subtitle {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: #c8b99a;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ── Language hint ─────────────────────────────────────────── */
.speisekarte-lang-hint {
    background: #f9f6f1;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e8dfc8;
}

.speisekarte-lang-hint a {
    color: #b89968;
    font-weight: 600;
    text-decoration: none;
    padding: 0 3px;
}

.speisekarte-lang-hint a:hover {
    color: #8a6f3e;
    text-decoration: underline;
}

/* ── Main container ────────────────────────────────────────── */
.speisekarte-container {
    max-width: 900px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

/* ── Canvas area ───────────────────────────────────────────── */
.speisekarte-canvas-wrap {
    position: relative;
    background: #fff;
    border: 1px solid #e0d8c8;
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#speisekarte-canvas {
    display: block;
    width: 100%;
    height: auto;
    cursor: grab;
}

#speisekarte-canvas:active {
    cursor: grabbing;
}

/* ── Loading spinner overlay ───────────────────────────────── */
.speisekarte-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.75);
    z-index: 10;
}

.speisekarte-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.25em;
    color: #b89968 !important;
}

/* ── Navigation controls ───────────────────────────────────── */
.speisekarte-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.btn-speisekarte {
    background: #b89968;
    color: #fff;
    border: none;
    border-radius: 2px;
    padding: 0.55rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: background 0.2s;
    min-width: 120px;
}

.btn-speisekarte:hover:not(:disabled) {
    background: #8a6f3e;
    color: #fff;
}

.btn-speisekarte:disabled {
    background: #d0c8b8;
    color: #fff;
    cursor: not-allowed;
}

.speisekarte-page-info {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    color: #5a4a2e;
    letter-spacing: 0.05em;
    min-width: 90px;
    text-align: center;
}

/* ── Download link ─────────────────────────────────────────── */
.speisekarte-download .btn-outline-secondary {
    border-color: #b89968;
    color: #b89968;
    border-radius: 2px;
}

.speisekarte-download .btn-outline-secondary:hover {
    background: #b89968;
    color: #fff;
    border-color: #b89968;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 576px) {
    .speisekarte-hero {
        padding: 2rem 1rem 1.5rem;
    }
    .speisekarte-controls {
        gap: 0.75rem;
    }
    .btn-speisekarte {
        min-width: 90px;
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }
    .speisekarte-page-info {
        font-size: 1rem;
        min-width: 70px;
    }
}
