:root {
    --theme-color: #222;
    --secondary-color: #555;
    --title-line-color: #e74c3c;
    --title-line-thickness: 2px;
    --base-font-family: 'Montserrat', sans-serif;
    --title-size: 38px;
    --item-size: 15px;
    --price-unit: "₺";
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
    font-family: var(--base-font-family);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Ana Kağıt/Menü Alanı */
.menu-container {
    background-color: white;
    width: 100%;
    max-width: 800px;
    /* Matched from reference */
    padding: 50px 60px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

.menu-container.is-cover-page {
    min-height: 1000px;
    /* Force height for cover pages */
    /* Or use aspect ratio if supported everywhere, but pixels are safe for now */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically if any (like Logo) */
}

/* --- LOGO BÖLÜMÜ --- */
.header-logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-image {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 5px auto;
}

.header-logo h1 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--theme-color);
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    display: inline-block;
    padding-bottom: 2px;
}

.header-logo h1 span {
    font-weight: 500;
}

/* --- KATEGORİ BAŞLIĞI --- */
.category-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom-width: var(--title-line-thickness);
    border-bottom-style: solid;
    border-bottom-color: var(--title-line-color);
    margin-bottom: 30px;
}

.category-header h2 {
    font-size: var(--title-size);
    font-weight: 700;
    color: var(--theme-color);
    margin: 0;
}

.category-header span {
    font-size: calc(var(--title-size) * 0.6);
    font-weight: 300;
    color: var(--secondary-color);
}

/* --- MENÜ LİSTESİ --- */
.menu-item {
    margin-bottom: 25px;
    position: relative;
}

.item-top {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.item-title-tr {
    font-size: 18px;
    font-weight: 500;
    color: var(--theme-color);
}

.item-title-en {
    font-size: 16px;
    font-weight: 300;
    color: #777;
    /* Keep hardcoded light grey for separation or use opacity */
    margin-left: 5px;
}

.icons {
    margin-left: 10px;
    display: flex;
    gap: 4px;
}

.circle-icon {
    width: 12px;
    height: 12px;
    background-color: var(--theme-color);
    border-radius: 50%;
    display: inline-block;
}

/* İçerik ve Fiyat Düzeni */
.item-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.item-desc {
    width: 80%;
    font-size: var(--item-size);
    font-weight: 300;
    color: var(--secondary-color);
    line-height: 1.4;
    white-space: pre-wrap;
}

.item-price {
    font-size: 22px;
    font-weight: 400;
    color: var(--theme-color);
    white-space: nowrap;
}

/* Altındaki noktalı çizgi */
.dotted-line {
    border-bottom: 2px dotted #aaa;
    margin-top: 15px;
    width: 100%;
}

/* --- FİLİGRAN (Watermark) --- */
.watermark {
    position: absolute;
    /* geometric props set via inline style based on DB settings */
    /* bottom, left, transform, width handled in blade */
    opacity: var(--bg-overlay-opacity, 0.1);
    z-index: 0;
    pointer-events: none;
}

/* Print Overrides */
@media print {
    body {
        padding: 0;
        background: white;
    }

    .menu-container {
        box-shadow: none;
        max-width: none;
        width: 100%;
        padding: 0;
        /* Reset padding for print or keep it if needed? 
           Reference uses padding. Usually needed for A4 margins. */
        padding: 10mm;
    }
}