/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Vazirmatn',sans-serif;
}


html{
    scroll-behavior:smooth;
}


body{
    background:#050505;
    color:white;
    line-height:1.8;
}


a{
    color:white;
    text-decoration:none;
}


/* =========================
   HEADER
========================= */


.header{

    height:85px;

    padding:0 8%;

    display:flex;

    align-items:center;

    justify-content:space-between;

    position:sticky;

    top:0;

    z-index:100;

    background:rgba(5,5,5,.85);

    -webkit-backdrop-filter:blur(15px);
    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.08);

}



.logo,
a.logo{

    font-size:40px;

    font-weight:900;

    letter-spacing:5px;

    color:#d4af37 !important;

    text-shadow:
    0 0 20px rgba(212,175,55,.35);

    text-decoration:none;

    display:inline-flex;

    align-items:center;

}



nav{

    display:flex;

    align-items:center;

    gap:30px;

}



nav a{

    transition:.3s;

}



nav a:hover{

    color:#d4af37;

}




.admin-btn,
.button{

    background:#d4af37;

    color:#000!important;

    padding:12px 28px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;

}



.admin-btn:hover,
.button:hover{

    transform:translateY(-4px);

    background:#f5d76e;

}



/* =========================
   HERO
========================= */


.hero{

    min-height:90vh;

    display:flex;

    align-items:center;

    padding:0 8%;


    background:

    linear-gradient(
        90deg,
        rgba(0,0,0,.95),
        rgba(0,0,0,.35)
    ),

    url("https://static.vecteezy.com/system/resources/thumbnails/037/858/045/small_2x/ai-generated-delectable-pizza-on-black-stone-top-view-variety-of-ingredients-empty-space-for-text-photo.jpeg")

    center/cover;

}



.hero-content{

    max-width:650px;

    animation:fadeUp 1s ease;

}



.gold{

    color:#d4af37;

    font-size:22px;

    letter-spacing:4px;

}



.hero h1{

    font-size:75px;

    line-height:1.15;

    margin:25px 0;

    text-shadow:
    0 5px 30px rgba(0,0,0,.8);

}



.hero p{

    color:#ddd;

    font-size:20px;

}



/* =========================
   SECTIONS
========================= */


.about,
.hours,
.menu-page,
.admin-page{

    padding:90px 8%;

}



.about h2,
.hours h2,
.menu-page h1,
.admin-page h1{

    text-align:center;

    font-size:45px;

    margin-bottom:40px;

}



/* =========================
   FEATURES
========================= */


.features{

    padding:50px 8%;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}



.feature{

    background:
    linear-gradient(
        145deg,
        #161616,
        #080808
    );

    border:1px solid #222;

    padding:35px;

    border-radius:30px;

    transition:.3s;

}



.feature:hover{

    transform:translateY(-10px);

    border-color:#d4af37;

}



.feature h3{

    color:#d4af37;

    font-size:25px;

}



/* =========================
   BUTTON
========================= */


button{

    font-family:inherit;

}



/* =========================
   FOOTER BASE
========================= */


footer{

    background:#111;

    padding:50px;

    text-align:center;

    color:#aaa;

}



/* =========================
   ANIMATION
========================= */


@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* =========================
   MOBILE BASE
========================= */


@media(max-width:900px){


    .hero h1{

        font-size:45px;

    }



    .features{

        grid-template-columns:1fr;

    }



    .header{

        padding:0 20px;

    }



    nav{

        gap:15px;

    }

}



@media(max-width:700px){


    .header{

        height:auto;

        padding:20px;

        flex-direction:column;

        gap:20px;

    }



    nav{

        flex-wrap:wrap;

        justify-content:center;

    }



    .hero{

        min-height:90vh;

        padding:40px 20px;

    }



    .hero h1{

        font-size:40px;

    }



    .hero p{

        font-size:16px;

    }



    .about,
    .hours,
    .menu-page,
    .admin-page{

        padding:50px 20px;

    }

}
 
/* =========================
   MENU
========================= */


.menu-page{

    min-height:100vh;

    padding:90px 7%;

}



.menu-heading{

    text-align:center;

    margin-bottom:55px;

}



.menu-heading h1{

    font-size:55px;

    margin-bottom:10px;

}



.menu-heading p{

    color:#999;

}



/* =========================
   CATEGORY BUTTONS
========================= */


/* .category-menu{

    display:flex;

    justify-content:center;

    gap:12px;

    flex-wrap:wrap;

    margin-bottom:55px;

}



.category-menu button{

    background:#111;

    color:#ddd;

    border:1px solid #333;

    padding:12px 25px;

    border-radius:50px;

    cursor:pointer;

    transition:.3s;

}



.category-menu button:hover{

    color:#d4af37;

    border-color:#d4af37;

}



.category-menu button.active{

    background:#d4af37;

    color:#050505;

    border-color:#d4af37;

    font-weight:700;

} */

.category-menu{

    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:50px;
    direction:rtl;

}


.category-menu button{
    color:rgb(0, 0, 0);
    padding:12px 30px;
    cursor:pointer;
    background:transparent;
    border:none;
    font-size:16px;
    font-weight:bold;
}

.category-menu button:hover{
    color:black;
}

.menu-btn.active{

    color:#000;
    background-image:url("../images/category-bg.png");
    background-size:100% 100%;
    background-repeat:no-repeat;
    background-position:center;

}


.menu-btn:not(.active){

    background-image:none;
    background-color:transparent;
    border:none;

}


/* =========================
   PRODUCTS GRID
========================= */


.products{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}



/* =========================
   FOOD CARD
========================= */


.food-card{

    background:#111;

    border:1px solid #252525;

    border-radius:25px;

    overflow:hidden;

    cursor:pointer;

    transition:.35s;

}



.food-card:hover{

    transform:translateY(-8px);

    border-color:#d4af37;

    box-shadow:
    0 25px 60px rgba(212,175,55,.12);

}



/* =========================
   IMAGE HOVER
========================= */


.food-image-hover{

    width:100%;

    height:320px;

    position:relative;

    overflow:hidden;

}



.food-image-hover img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.5s;

}



.food-card:hover .food-image-hover img{

    transform:scale(1.08);

}



/* =========================
   OVERLAY
========================= */


.food-overlay{

    position:absolute;

    inset:0;

    background:
    rgba(0,0,0,.55);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;


    opacity:0;

    transition:.4s;

}



.food-card:hover .food-overlay{

    opacity:1;

}



.food-overlay h2{

    font-size:26px;

    margin-bottom:12px;

}



.food-overlay p{

    color:#d4af37;

    font-size:22px;

    font-weight:900;

}



/* =========================
   FOOD INFO
========================= */


.food-info{

    padding:25px;

}



.food-title{

    display:flex;

    justify-content:space-between;

    gap:10px;

}



.food-title h2{

    font-size:22px;

}



.food-category{

    color:#d4af37;

    font-size:13px;

}



.food-description{

    color:#999;

    font-size:14px;

    margin:15px 0;

}



/* =========================
   PRICE
========================= */


.single-price{

    color:#d4af37;

    font-size:22px;

    font-weight:900;

}



.single-price span{

    font-size:13px;

}



/* =========================
   PIZZA SIZE
========================= */


.pizza-sizes{

    border-top:1px solid #292929;

    margin-top:15px;

}



.pizza-size{

    display:flex;

    justify-content:space-between;

    padding:10px 0;

    border-bottom:1px solid #222;

}



.pizza-size span{

    color:#aaa;

}



.pizza-size strong{

    color:#d4af37;

}



/* =========================
   DETAIL BUTTON
========================= */


.food-details{

    display:block;

    width:100%;

    margin-top:20px;

    padding:12px;

    text-align:center;

    background:#151515;

    color:white;

    border:1px solid #333;

    border-radius:15px;

    cursor:pointer;

    transition:.3s;

}



.food-details:hover{

    background:#d4af37;

    color:#000;

    border-color:#d4af37;

}



/* =========================
   FOOD DETAILS PAGE
========================= */


.food-details-page{

    min-height:100vh;

    padding:90px 7%;

}



.food-detail-card{

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:1fr 1fr;

    background:#111;

    border:1px solid #292929;

    border-radius:30px;

    overflow:hidden;

}



.food-detail-image{

    min-height:500px;

}



.food-detail-image img{

    width:100%;

    height:100%;

    object-fit:cover;

}



.food-detail-info{

    padding:55px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}



.food-detail-info h1{

    font-size:45px;

    margin:15px 0;

}



.food-detail-info p{

    color:#999;

    line-height:2;

}



/* detail sizes */


.detail-sizes{

    margin:30px 0;

}



.detail-size{

    display:flex;

    justify-content:space-between;

    padding:15px;

    background:#191919;

    border-radius:12px;

    margin-bottom:10px;

}



.detail-size strong{

    color:#d4af37;

}



.detail-price{

    color:#d4af37;

    font-size:30px;

    font-weight:900;

    margin:25px 0;

}



/* EMPTY */

.empty-menu{

    grid-column:1/-1;

    text-align:center;

    padding:80px;

    color:#777;

}



/* =========================
   RESPONSIVE MENU
========================= */


@media(max-width:1000px){

    .products{

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:700px){


    .products{

        grid-template-columns:1fr;

    }


    .food-image-hover{

        height:240px;

    }


    .food-overlay{

        opacity:1;

        background:rgba(0,0,0,.35);

    }


    .food-detail-card{

        grid-template-columns:1fr;

    }


    .food-detail-image{

        min-height:300px;

    }


    .food-detail-info{

        padding:30px;

    }


    .food-detail-info h1{

        font-size:32px;

    }

}
 
/* =========================
   ADMIN
========================= */


.admin-container{

    padding:40px 8%;

}



.admin-title{

    text-align:center;

    font-size:45px;

    color:#d4af37;

    margin-bottom:40px;

}



.admin-form{

    max-width:550px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:18px;

}



input,
textarea,
select{


    background:#111;

    color:white;

    border:1px solid #333;

    padding:16px;

    border-radius:18px;

    outline:none;

    font-size:15px;

}



input:focus,
textarea:focus,
select:focus{

    border-color:#d4af37;

}



textarea{

    resize:none;

    min-height:120px;

}



.admin-form button{

    background:#d4af37;

    color:#000;

    border:none;

    padding:16px;

    border-radius:18px;

    font-weight:900;

    cursor:pointer;

    transition:.3s;

}



.admin-form button:hover{

    transform:translateY(-3px);

    background:#f5d76e;

}



/* =========================
   LOGIN
========================= */


.login-box{

    width:540px;

    max-width:calc(100% - 48px);

    margin:90px auto;

    padding:60px 52px 48px;

    text-align:center;

    background:

    linear-gradient(
        145deg,
        #171717,
        #090909
    );

    border:1px solid #292929;

    border-radius:35px;

    box-shadow:
    0 30px 80px rgba(0,0,0,.5);

}



.login-logo{

    font-size:68px;

    font-weight:900;

    color:#d4af37;

    letter-spacing:5px;

}



.login-box h1{

    margin:20px 0 10px;

}



.login-box p{

    color:#888;

    margin-bottom:30px;

}



.login-box button{

    width:100%;

    margin-top:20px;

    padding:16px;

    border:none;

    border-radius:15px;

    background:#d4af37;

    font-weight:900;

    cursor:pointer;

}



.login-footer{

    margin-top:35px;

    color:#555;

    letter-spacing:3px;

}



/* =========================
   ADMIN FOOD LIST
========================= */


#foodList{

    margin-top:40px;

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(300px,1fr));

    gap:25px;

}



.admin-food-card{

    background:#111;

    border:1px solid #252525;

    border-radius:25px;

    padding:20px;

    transition:.3s;

}



.admin-food-card:hover{

    transform:translateY(-5px);

    border-color:#d4af37;

}



.admin-food-card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:20px;

}



.admin-food-card h3{

    margin-top:15px;

}



.admin-food-card p{

    color:#999;

}



.admin-food-card button{

    margin-top:15px;

    padding:10px 20px;

    border:none;

    border-radius:12px;

    cursor:pointer;

}



.admin-actions{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

}



.admin-food-card button[data-edit],
.admin-food-card button[data-cat-edit]{

    background:#d4af37;

    color:#000;

}



.admin-food-card button[data-delete],
.admin-food-card button[data-cat-delete]{

    background:#ef4444;

    color:white;

}



/* =========================
   RESTAURANT SETTINGS
========================= */


.restaurant-settings{

    margin-top:40px;

    padding:30px;

    background:#111;

    border:1px solid #222;

    border-radius:25px;

}



.restaurant-settings h2{

    color:#d4af37;

    margin-bottom:20px;

}



/* =========================
   LOGOUT
========================= */


.logout-btn{

    background:#ef4444;

    color:white;

    border:none;

    padding:12px 25px;

    border-radius:15px;

    cursor:pointer;

    font-weight:700;

}



.logout-btn:hover{

    opacity:.8;

}
/* =========================
   MAIN FOOTER
========================= */

.main-footer{

    background:#171717;

    color:white;

    padding:80px 20px 40px;

    text-align:center;

    position:relative;

    overflow:hidden;

}


/* نویز خطی پس زمینه */

.main-footer::before{

    content:"";

    position:absolute;

    inset:0;

    background:
    repeating-linear-gradient(
        45deg,
        transparent 0px,
        transparent 8px,
        rgba(255,255,255,.06) 9px,
        transparent 11px
    );

    pointer-events:none;

}



.footer-content{

    position:relative;

    z-index:2;

    max-width:800px;

    margin:auto;

}


/* لوگو */

.footer-brand h2{

    font-size:60px;

    font-weight:900;

    letter-spacing:12px;

    color:#d4af37;

    margin-bottom:10px;

}



.footer-brand span{

    color:#aaa;

    letter-spacing:5px;

    font-size:14px;

}



/* متن */

.footer-text{

    margin:35px 0;

    color:#ccc;

    font-size:18px;

}



/* اطلاعات تماس */

.footer-contact{

    margin:50px 0;

}



.contact-item{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin:25px 0;

}



.contact-item p{

    color:#ddd;

    font-size:18px;

}



.icon{

    color:#d4af37;

    font-size:32px;

}



/* خط جداکننده */

.footer-line{

    height:1px;

    background:#333;

    margin:50px auto;

    max-width:700px;

}



/* ساعت کاری */

.working-hours h3{

    font-size:30px;

    margin-bottom:35px;

    color:#fff;

}



.hours-row{

    display:flex;

    align-items:center;

    max-width:600px;

    margin:20px auto;

    color:#ddd;

}



.hours-row span{

    min-width:100px;

}



.hours-row i{

    flex:1;

    border-bottom:2px dotted #666;

    margin:0 20px;

}



.hours-row strong{

    color:#d4af37;

}



/* شبکه اجتماعی */

.social{

    display:flex;

    justify-content:center;

    gap:35px;

    margin-top:35px;

}



.social a{

    color:#d4af37;

    font-size:30px;

}



/* عکس های اینستا */

.instagram-images{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:30px;

}



.instagram-images img{

    width:150px;

    height:110px;

    object-fit:cover;

    border-radius:20px;

}



/* کپی رایت */

.copyright{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid #333;

    color:#888;

    font-size:15px;

}



/* موبایل */

@media(max-width:700px){

    .footer-brand h2{

        font-size:40px;

        letter-spacing:7px;

    }


    .contact-item{

        flex-direction:column;

        gap:10px;

    }


    .instagram-images{

        flex-wrap:wrap;

    }


    .instagram-images img{

        width:130px;

        height:100px;

    }


    .hours-row{

        font-size:14px;

    }

}



/* =========================
   MOBILE FINAL
========================= */


@media(max-width:700px){


    .login-box{

        width:calc(100% - 40px);

        margin:60px auto;

        padding:30px 20px;

    }



    .admin-container{

        padding:20px;

    }



    .admin-title{

        font-size:30px;

    }



    .admin-food-card img{

        height:200px;

    }



    .footer-title{

        font-size:35px;

    }



    .footer-item{

        flex-direction:column;

    }



}
.detail-sizes,
.detail-price{

    margin-top:30px;

}


.detail-size{

    min-height:55px;

    display:flex;

    align-items:center;

}


.food-detail-info{

    min-height:500px;

}
.food-card{
    cursor:pointer;
}
/* =========================
   LIGHT THEME
========================= */


body{
    background:#ffffff;
    color:#111;
}



a{
    color:#111;
}



/* HEADER */

.header{

    background:rgba(255,255,255,.85);

    border-bottom:1px solid #eee;

}



nav a{

    color:#222;

}



/* HERO */

.hero{

    background:
    linear-gradient(
        90deg,
        rgba(255,255,255,.9),
        rgba(255,255,255,.35)
    ),
    url("https://static.vecteezy.com/system/resources/thumbnails/037/858/045/small_2x/ai-generated-delectable-pizza-on-black-stone-top-view-variety-of-ingredients-empty-space-for-text-photo.jpeg")
    center/cover;

}


.hero h1{

    color:#111;

}


.hero p{

    color:#555;

}



/* SECTION */

.about,
.hours,
.menu-page,
.admin-page{

    background:#fff;

}



/* FEATURE */

.feature{

    background:#fafafa;

    border:1px solid #e5e5e5;

}



/* CATEGORY */

.categories button{

    background:#fff;

    color:#333;

    border:1px solid #ddd;

}



/* FOOD CARD */

.food-card{

    background:#fff;

    border:1px solid #e5e5e5;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}



/* overlay هاور غذا دست نخورده میمونه */


/* FOOD INFO */

.food-description{

    color:#666;

}



.pizza-size span{

    color:#777;

}



/* DETAIL PAGE */

.food-detail-card{

    background:#fff;

    border:1px solid #e5e5e5;

}


.food-detail-info p{

    color:#666;

}


.detail-size{

    background:#f7f7f7;

}



/* ADMIN */

input,
textarea,
select{

    background:#fff;

    color:#111;

    border:1px solid #ddd;

}



/* LOGIN */

.login-box{

    background:#fff;

    border:1px solid #eee;

    box-shadow:0 20px 60px rgba(0,0,0,.1);

}


.login-box p{

    color:#777;

}



/* FOOTER همون دارک لوکس بمونه */

.main-footer{

    background:#171717;

}
.header{

    background:rgba(5,5,5,.85);

    border-bottom:1px solid rgba(255,255,255,.08);

}


nav a{

    color:white;

}
.food-overlay h2{

    color:white;

}


.food-overlay p{

    color:#d4af37;

}
/* =========================
   DARK HERO FIX
========================= */

.hero{

    background:

    linear-gradient(
        90deg,
        rgba(0,0,0,.95),
        rgba(0,0,0,.45)
    ),

    url("https://static.vecteezy.com/system/resources/thumbnails/037/858/045/small_2x/ai-generated-delectable-pizza-on-black-stone-top-view-variety-of-ingredients-empty-space-for-text-photo.jpeg")

    center/cover;

}



/* متن های هیرو */

.hero h1{

    color:white;

    text-shadow:
    0 5px 30px rgba(0,0,0,.9);

}


.hero p{

    color:#ddd;

}



/* فاصله دکمه از متن */

.hero .button{

    margin-top:35px;

}
.hero a{

    margin-top:35px;

    display:inline-block;

}

.login-box form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.login-box input,
.login-box button{
    width:100%;
    min-height:56px;
    font-size:16px;
    padding:18px 20px;
}

.login-box h1{
    font-size:34px;
}

.admin-tabs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:30px;
}

.admin-tab{
    background:#111;
    color:#fff;
    border:1px solid #333;
    padding:12px 24px;
    border-radius:15px;
    cursor:pointer;
    font-weight:700;
}

.admin-tab.active{
    background:#d4af37;
    color:#000;
    border-color:#d4af37;
}

.admin-section{
    display:none;
}

.admin-section.active{
    display:block;
}

.admin-lead{
    text-align:center;
    max-width:640px;
    margin:-20px auto 30px;
    color:#555;
}

.admin-hint{
    color:#777;
    font-size:14px;
    line-height:1.8;
    margin:0;
}

.field{
    display:flex;
    flex-direction:column;
    gap:6px;
    text-align:right;
}

.field span{
    font-weight:700;
    color:#222;
}

.field small{
    color:#888;
    font-size:13px;
}

.admin-message{
    max-width:550px;
    margin:0 auto 25px;
    padding:14px 18px;
    border-radius:16px;
    background:#f3f8ee;
    color:#166534;
    text-align:center;
}

.admin-message.error{
    background:#fef2f2;
    color:#991b1b;
}

.check-line{
    display:flex;
    align-items:center;
    gap:10px;
    color:#333;
}

.size-row{
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:10px;
    margin-bottom:10px;
}

.ghost-btn{
    background:#eee !important;
    color:#111 !important;
    border:none;
    padding:12px 18px;
    border-radius:14px;
    cursor:pointer;
    font-weight:700;
}

.image-preview{
    width:100%;
    max-height:220px;
    object-fit:cover;
    border-radius:18px;
}

.status-pill{
    color:#d4af37 !important;
    font-weight:700;
}

.admin-food-card.is-hidden{
    opacity:.55;
}

#categoryList{
    margin-top:40px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
}

.restaurant-settings h3{
    color:#d4af37;
    margin:10px 0 0;
}

.admin-actions button{
    background:#eee;
    color:#111;
}

input[type="checkbox"]{
    width:auto;
    height:18px;
    padding:0;
    accent-color:#d4af37;
}

.about p{
    max-width:720px;
    margin:0 auto;
    text-align:center;
    color:#555;
    font-size:18px;
}

.home-specials{
    min-height:auto;
}

.section-cta{
    text-align:center;
    margin-top:40px;
}

.contact-intro{
    text-align:center;
    color:#666;
    margin:-20px auto 40px;
    max-width:640px;
}

.contact-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-bottom:50px;
}

.contact-grid .feature{
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.contact-grid .feature p{
    margin:8px 0 0;
}

.contact-grid .button{
    display:inline-block;
    margin-top:28px;
}

.contact-hours,
.hours-panel{
    max-width:700px;
    margin:0 auto 50px;
}

.hours-panel .hours-row{
    color:#333;
}

.hours-panel .hours-row i{
    border-bottom-color:#ccc;
}

.contact-map-wrap h2,
.hours-panel h2{
    text-align:center;
    font-size:32px;
    margin-bottom:30px;
}

.contact-map{
    border-radius:25px;
    overflow:hidden;
    border:1px solid #e5e5e5;
    min-height:360px;
}

.contact-map iframe{
    width:100%;
    height:360px;
    border:0;
    display:block;
}

.follow a{
    color:#d4af37;
}

@media(max-width:900px){
    .contact-grid{
        grid-template-columns:1fr;
    }
}