:root{
    --bg:#120b08;
    --bg-soft:#1a110d;
    --panel:#1b120e;
    --panel-2:#221713;
    --text:#f6eee7;
    --muted:#cdbfb3;
    --gold:#d4a95f;
    --gold-soft:#edd7a8;
    --line:rgba(255,255,255,.08);
    --shadow:0 20px 60px rgba(0,0,0,.35);
    --shadow-soft:0 12px 36px rgba(0,0,0,.28);
    --radius:24px;
    --container:1180px;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:'Inter',sans-serif;
    background:
            radial-gradient(circle at top, rgba(212,169,95,.08), transparent 32%),
            linear-gradient(180deg, #140c09 0%, #0f0806 100%);
    color:var(--text);
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
    text-decoration:none;
}

.container{
    width:min(var(--container), calc(100% - 40px));
    margin:0 auto;
}

.page-section{
    padding:70px 0 90px;
}

.narrow{
    max-width:820px;
}

.page-hero{
    margin-bottom:38px;
}

.page-title{
    margin:0 0 14px;
    font-size:64px;
    line-height:1.05;
    font-family:'Cormorant Garamond',serif;
    color:var(--gold-soft);
}

.page-lead{
    max-width:760px;
    color:var(--muted);
    font-size:18px;
    line-height:1.75;
}

.section-kicker{
    display:inline-block;
    margin-bottom:12px;
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:12px;
    font-weight:800;
    color:var(--gold);
}

/* HEADER */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    backdrop-filter:blur(14px);
    background:rgba(12,7,5,.72);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.nav-wrap{
    min-height:78px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}

.brand{
    font-family:'Cormorant Garamond',serif;
    font-size:34px;
    font-weight:700;
    color:var(--gold-soft);
    letter-spacing:.02em;
}

.brand span{
    color:#fff;
    font-weight:600;
}

.nav{
    display:flex;
    align-items:center;
    gap:24px;
}

.nav a{
    color:#f8f1eb;
    font-weight:600;
    font-size:15px;
    transition:.2s ease;
}

.nav a:hover{
    color:var(--gold);
}

.lang-switch{
    display:flex;
    align-items:center;
    gap:10px;
}

.lang{
    min-width:38px;
    height:38px;
    padding:0 12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
    font-size:13px;
    font-weight:800;
    color:#fff;
    transition:.2s ease;
}

.lang:hover{
    border-color:rgba(212,169,95,.5);
    color:var(--gold);
}

/* PAGE GRID */
.page-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.menu-top{
    margin-bottom:56px;
}

.menu-top-image{
    border-radius:28px;
    overflow:hidden;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    background:var(--panel);
    margin-bottom:28px;
}

.menu-top-image img{
    width:100%;
    height:420px;
    object-fit:cover;
    object-position:center;
}

.menu-top-content{
    max-width:760px;
    margin:0 auto;
    text-align:center;
}

.menu-top-content .page-title,
.menu-top-content .page-lead{
    max-width:100%;
}

.page-media{
    border-radius:28px;
    overflow:hidden;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    background:var(--panel);
}

.page-media img{
    width:100%;
    height:520px;
    object-fit:cover;
    object-position:center;
}

.page-content{
    width:100%;
}

/* MENU PAGE */
.menu-category-block{
    margin-bottom:68px;
}

.category-head{
    margin-bottom:22px;
}

.menu-category-block h2{
    margin:0 0 10px;
    font-size:42px;
    line-height:1.1;
    font-family:'Cormorant Garamond',serif;
    color:var(--gold);
}

.menu-category-block > .category-head > p,
.menu-category-block > div > .category-head > p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
    max-width:760px;
}

.subcategory-head{
    margin-top:8px;
    margin-bottom:18px;
}

.subcategory-head h2{
    font-size:30px;
    color:var(--gold-soft);
    margin-bottom:0;
}

.menu-grid{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:32px;
    align-items:stretch;
}

.menu-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    height:100%;
    background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
    border:1px solid rgba(255,255,255,.08);
    border-radius:28px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.menu-card:hover{
    transform:translateY(-6px);
    box-shadow:0 25px 70px rgba(0,0,0,.55);
    border-color:rgba(212,169,95,.35);
}

.menu-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    background:#1a100c;
    transition:transform .45s ease;
}

.menu-card:hover img{
    transform:scale(1.04);
}

.menu-card-content{
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
}

.menu-card-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
}

.menu-card h3{
    margin:0;
    font-size:28px;
    line-height:1.15;
    font-family:'Cormorant Garamond',serif;
    color:#fff7ee;
}

.menu-card p{
    margin:0;
    color:var(--muted);
    line-height:1.65;
    font-size:14px;
}

.price{
    flex-shrink:0;
    white-space:nowrap;
    font-size:17px;
    font-weight:800;
    color:var(--gold);
    background:rgba(212,169,95,.08);
    padding:7px 11px;
    border-radius:10px;
}

.admin-empty{
    padding:28px;
    border:1px solid var(--line);
    border-radius:24px;
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    box-shadow:var(--shadow);
}

.admin-empty p{
    margin:0;
    color:var(--muted);
    line-height:1.7;
}

/* ABOUT / CONTACT */
.contact-card{
    background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:28px;
    box-shadow:var(--shadow);
}

.contact-card p{
    color:var(--muted);
    line-height:1.8;
}

.contact-card strong{
    color:var(--text);
}

/* FOOTER */
.site-footer{
    padding:30px 0;
    border-top:1px solid rgba(255,255,255,.08);
    background:#100906;
}

.footer-inner{
    display:grid;
    grid-template-columns:1fr auto auto;
    gap:24px;
    align-items:center;
}

.footer-inner h3{
    margin:0 0 8px;
    color:var(--gold-soft);
    font-family:'Cormorant Garamond',serif;
    font-size:28px;
}

.footer-inner p{
    margin:0;
    color:var(--muted);
}

.footer-links{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}

.footer-links a{
    color:#fff;
    transition:.2s ease;
}

.footer-links a:hover{
    color:var(--gold);
}

.menu-shortcuts{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:26px 0 42px;
    justify-content:center;
}

.menu-shortcuts a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.03);
    color:#fff;
    font-weight:700;
    transition:.2s ease;
}

.menu-shortcuts a:hover,
.menu-shortcuts a.active{
    border-color:rgba(212,169,95,.5);
    color:var(--gold);
    transform:translateY(-1px);
    background:rgba(212,169,95,.08);
}

#menu-results{
    scroll-margin-top:110px;
}

/* RESPONSIVE */
@media (max-width: 1024px){
    .page-grid{
        grid-template-columns:1fr;
        gap:28px;
    }

    .page-media img{
        height:380px;
    }

    .menu-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px){
    .nav{
        display:none;
    }

    .page-title{
        font-size:46px;
    }

    .footer-inner{
        grid-template-columns:1fr;
    }
}

@media (max-width: 640px){
    .container{
        width:min(var(--container), calc(100% - 24px));
    }

    .page-section{
        padding:48px 0 70px;
    }

    .brand{
        font-size:28px;
    }

    .page-title{
        font-size:38px;
    }

    .menu-category-block h2{
        font-size:34px;
    }

    .subcategory-head h2{
        font-size:25px;
    }

    .menu-grid{
        grid-template-columns:1fr;
        gap:22px;
    }

    .menu-card img{
        height:220px;
    }

    .menu-card-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-card{
        padding:22px;
    }

    .page-media img{
        height:280px;
    }
}
.menu-search{
    margin:26px auto 18px;
    max-width:720px;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
}

.menu-search input{
    flex:1 1 320px;
    min-height:48px;
    padding:0 16px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
    color:#fff;
    outline:none;
    font-size:15px;
}

.menu-search input::placeholder{
    color:rgba(255,255,255,.45);
}

.menu-search input:focus{
    border-color:rgba(212,169,95,.45);
    box-shadow:0 0 0 3px rgba(212,169,95,.10);
}

.menu-search button,
.menu-search-reset{
    min-height:48px;
    padding:0 18px;
    border:none;
    border-radius:14px;
    background:rgba(212,169,95,.12);
    color:var(--gold-soft);
    font-weight:700;
    cursor:pointer;
    transition:.2s ease;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.menu-search button:hover,
.menu-search-reset:hover{
    background:rgba(212,169,95,.20);
    color:#fff;
}

.menu-card-gallery{
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:1fr 1fr;
    gap:4px;
    height:220px;
    overflow:hidden;
}

.menu-card-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.menu-card-gallery img:first-child{
    grid-row:1 / 3;
}

/* ===== PREMIUM GALLERY ===== */

.menu-card-gallery{
    display:grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:1fr 1fr;
    gap:6px;
    height:240px;
    overflow:hidden;
    border-bottom:1px solid rgba(255,255,255,.06);
}

/* imagine mare */
.menu-card-gallery img:first-child{
    grid-row:1 / 3;
}

/* toate imaginile */
.menu-card-gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease, filter .3s ease;
}

/* hover pe card → zoom */
.menu-card:hover .menu-card-gallery img{
    transform:scale(1.06);
}

/* dark overlay subtle */
.menu-card-gallery::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35));
    pointer-events:none;
}

/* fix pentru poziționare */
.menu-card{
    position:relative;
}

.menu-card img{
    transition:transform .45s ease;
}

.menu-card:hover img{
    transform:scale(1.04);
}

/* ===== MOBILE SAFE PREMIUM ===== */
@media (max-width: 640px){

    .container{
        width:calc(100% - 28px);
    }

    .nav-wrap{
        min-height:68px;
        gap:10px;
    }

    .brand{
        font-size:25px;
        white-space:nowrap;
    }

    .lang-switch{
        gap:6px;
    }

    .lang{
        min-width:34px;
        height:34px;
        padding:0 9px;
        font-size:12px;
    }

    .page-section{
        padding:34px 0 56px;
    }

    .menu-top{
        margin-bottom:34px;
    }

    .menu-top-image{
        border-radius:20px;
        margin-bottom:20px;
    }

    .menu-top-image img{
        height:230px;
    }

    .page-title{
        font-size:36px;
    }

    .page-lead{
        font-size:15px;
        line-height:1.6;
    }

    .menu-search{
        margin:22px 0 16px;
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .menu-search input,
    .menu-search button,
    .menu-search-reset{
        width:100%;
        min-height:48px;
    }

    .menu-shortcuts{
        justify-content:flex-start;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:10px;
        margin:20px -14px 34px;
        padding:0 14px 8px;
        scrollbar-width:none;
    }

    .menu-shortcuts::-webkit-scrollbar{
        display:none;
    }

    .menu-shortcuts a{
        flex:0 0 auto;
        min-height:40px;
        padding:0 15px;
        font-size:14px;
        white-space:nowrap;
    }

    .menu-category-block{
        margin-bottom:46px;
    }

    .menu-category-block h2{
        font-size:31px;
    }

    .subcategory-head h2{
        font-size:24px;
    }

    .menu-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .menu-card{
        border-radius:22px;
    }

    .menu-card > img{
        height:230px;
        border-bottom:1px solid rgba(255,255,255,.06);
    }

    .menu-card-gallery{
        height:230px;
        grid-template-columns:1.7fr 1fr;
        grid-template-rows:1fr 1fr;
        gap:5px;
    }

    .menu-card-gallery img{
        height:100%;
        min-height:0;
    }

    .menu-card-gallery img:first-child{
        grid-column:auto;
        grid-row:1 / 3;
    }

    .menu-card-content{
        padding:18px;
    }

    .menu-card-head{
        flex-direction:row;
        align-items:flex-start;
    }

    .menu-card h3{
        font-size:24px;
    }

    .menu-card p{
        font-size:14px;
        line-height:1.6;
    }

    .price{
        font-size:14px;
        padding:6px 9px;
    }

    .footer-inner{
        grid-template-columns:1fr;
        gap:14px;
    }
}

.product-slider{
    position:relative;
    height:240px;
    overflow:hidden;
    background:#1a100c;
}

.product-slider-track,
.product-slider-track img{
    width:100%;
    height:100%;
}

.product-slider-track img{
    display:none;
    object-fit:cover;
}

.product-slider-track img.active{
    display:block;
}

/* Slider la menu */

.slider-arrow{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:1px solid rgba(255,255,255,.75);
    border-radius:50%;
    background:rgba(0,0,0,.55);
    color:#fff;
    font-size:30px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:1;
    z-index:5;
    box-shadow:0 6px 18px rgba(0,0,0,.45);
    transition:.2s ease;
}

.slider-arrow:hover{
    background:rgba(0,0,0,.75);
    border-color:#fff;
    transform:translateY(-50%) scale(1.06);
}

.slider-prev{left:12px;}
.slider-next{right:12px;}

@media (max-width:640px){
    .product-slider{
        height:230px;
    }

    .slider-arrow{
        width:40px;
        height:40px;
        font-size:28px;
        opacity:1;
        background:rgba(0,0,0,.6);
        border-color:rgba(255,255,255,.85);
    }

    .slider-prev{left:10px;}
    .slider-next{right:10px;}
}