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

html{
    scroll-behavior:smooth;
}

body{
    font-family:"Vazirmatn",sans-serif;
    background:#f8f8f8;
    color:#222;
    line-height:1.8;
}

img{
    max-width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    top:0;
    right:0;
    width:100%;
    padding:18px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(20,20,20,.45);
    backdrop-filter:blur(15px);
    -webkit-backdrop-filter:blur(15px);

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

    z-index:999;
}

.logo{
    color:#fff;
    font-size:34px;
    font-weight:800;
    transition:.3s;
}

.logo:hover{
    color:#ff8a00;
}

.nav-links{
    display:flex;
    align-items:center;
    gap:45px;
}

.nav-links a{
    color:#fff;
    font-size:18px;
    font-weight:600;
    position:relative;
    transition:.3s;
}

.nav-links a:hover{
    color:#ff9800;
}

.nav-links a::after{

    content:"";

    position:absolute;

    bottom:-8px;
    right:0;

    width:100%;
    height:3px;

    background:#ff9800;

    border-radius:50px;

    transform:scaleX(0);

    transition:.3s;
}

.nav-links a:hover::after{

    transform:scaleX(1);

}

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

.hero{

    height:100vh;

    background:url("../images/hero.png") center/cover no-repeat;

}

.overlay{

    width:100%;
    height:100%;

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

    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;

    text-align:center;

    color:#fff;

    padding:20px;

}

.overlay h1{

    font-size:72px;

    margin-bottom:20px;

    font-weight:800;

    text-shadow:0 8px 25px rgba(0,0,0,.7);

}

.overlay p{

    font-size:24px;

    margin-bottom:45px;

    max-width:850px;

}

.buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

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

.btn{

    background:linear-gradient(135deg,#ff6a00,#ff3d00);

    color:#fff;

    padding:18px 42px;

    border-radius:60px;

    font-size:18px;

    font-weight:700;

    transition:.35s;

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

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 20px 40px rgba(255,90,0,.45);

}

.btn-outline{

    background:transparent;

    border:2px solid #fff;

}

.btn-outline:hover{

    background:#fff;

    color:#ff5a00;

}

/* =========================
   MENU PAGE
========================= */

.menu-page{

    padding:90px 60px 65px;

    background:#f8f8f8;

    min-height:auto;

}

.menu-page h1{
    text-align:center;
    font-size:48px;
    color:#222;
    margin-bottom:15px;
    font-weight:800;
}

.menu-text{
    text-align:center;
    color:#777;
    font-size:20px;
    margin-bottom:60px;
}

/* =========================
   CATEGORY GRID
========================= */

.category-grid{

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

    gap:30px;

    align-items:start;

}

/* =========================
   CATEGORY CARD
========================= */

.category-card{

    background:#fff;

    border-radius:22px;

    padding:45px 20px;

    text-align:center;

    color:#222;

    transition:.35s;

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

    border:2px solid transparent;

}

.category-card:hover{

    transform:translateY(-10px);

    border-color:#ff6a00;

    box-shadow:0 18px 45px rgba(255,106,0,.20);

}

.category-icon{

    font-size:62px;

    display:block;

    margin-bottom:20px;

}

.category-card h2{

    color:#ff5a00;

    font-size:30px;

    margin-bottom:10px;

}

.category-card p{

    color:#777;

    font-size:16px;

}

/* =========================
   PRODUCT PAGE
========================= */

.products-page{

    padding:130px 40px 80px;

}

.products-title{

    text-align:center;

    font-size:48px;

    color:#ff5a00;

    margin-bottom:15px;

    font-weight:800;

}

.products-subtitle{

    text-align:center;

    color:#777;

    margin-bottom:60px;

}

/* =========================
   PRODUCT GRID
========================= */

.products-grid{

    max-width:1200px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

/* =========================
   PRODUCT CARD
========================= */

.product-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    transition:.35s;

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

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:0 22px 45px rgba(255,106,0,.18);

}

.product-card img{

    width:100%;

    height:240px;

    object-fit:cover;

    transition:.4s;

}

.product-card:hover img{

    transform:scale(1.05);

}

.product-info{

    padding:25px;

}

.product-info h2{

    color:#ff5a00;

    margin-bottom:12px;

    font-size:28px;

}

.product-info p{

    color:#666;

    font-size:17px;

    margin-bottom:18px;

    line-height:1.8;

}

.price{

    display:inline-block;

    background:linear-gradient(135deg,#ff6a00,#ff3d00);

    color:#fff;

    padding:12px 22px;

    border-radius:50px;

    font-weight:700;

    font-size:18px;

}

/* =========================
   CONTACT SECTION
========================= */

.contact-section{
    background:#fff;
    padding:90px 20px;
}

.contact-section h2{
    text-align:center;
    font-size:46px;
    color:#222;
    margin-bottom:60px;
    font-weight:800;
}

.contact-container{

    max-width:1100px;

    margin:auto;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.contact-card{

    background:#fafafa;

    border-radius:25px;

    padding:45px;

    text-align:center;

    transition:.35s;

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

    border:2px solid transparent;

}

.contact-card:hover{

    transform:translateY(-10px);

    border-color:#ff6a00;

    box-shadow:0 20px 45px rgba(255,106,0,.20);

}

.icon{

    font-size:55px;

    margin-bottom:20px;

}

.contact-card h3{

    color:#ff5a00;

    font-size:30px;

    margin-bottom:15px;

}

.contact-card p{

    color:#666;

    font-size:18px;

    margin-bottom:25px;

}

.contact-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    margin-top:25px;

    padding:14px 28px;

    background:#ff6b00;
    color:#fff;

    font-family:"Vazirmatn",sans-serif;
    font-size:16px;
    font-weight:700;

    border:none;
    outline:none;

    border-radius:12px;

    cursor:pointer;

    transition:.3s;
}

.contact-btn:hover{
    background:#e85d00;
    transform:translateY(-2px);
}

.contact-btn:focus{
    outline:none;
    box-shadow:none;
}

.contact-btn:hover{

    transform:scale(1.05);

    box-shadow:0 15px 35px rgba(255,90,0,.35);

}


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

.footer{

    background:#1f1f1f;

    color:#fff;

    text-align:center;

    padding:30px 20px;

    margin-top:80px;

}

.footer p{

    margin:0;

    font-size:16px;

    color:#ddd;

}

/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero,
.category-card,
.product-card,
.contact-card{

    animation:fadeUp .8s ease;

}

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

@media(max-width:992px){

    .navbar{

        padding:18px 30px;

    }

    .logo{

        font-size:28px;

    }

    .nav-links{

        gap:25px;

    }

    .overlay h1{

        font-size:52px;

    }

    .overlay p{

        font-size:20px;

    }

}

@media(max-width:768px){

    .navbar{

        flex-direction:column;

        gap:15px;

        padding:18px;

    }

    .nav-links{

        gap:18px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .overlay h1{

        font-size:38px;

    }

    .overlay p{

        font-size:18px;

    }

    .buttons{

        flex-direction:column;

        width:100%;

    }

    .btn{

        width:100%;

        text-align:center;

    }

    .menu-page,
    .products-page{

        padding:150px 20px 60px;

    }

    .menu-page h1,
    .products-title{

        font-size:36px;

    }

    .contact-section h2{

        font-size:36px;

    }

}

@media(max-width:480px){

    .overlay h1{

        font-size:30px;

    }

    .overlay p{

        font-size:16px;

    }

    .category-icon{

        font-size:48px;

    }

    .product-info h2{

        font-size:24px;

    }

    .contact-card{

        padding:30px 20px;

    }

}

/* =========================
   GLASS EFFECTS
========================= */

.glass{

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

    backdrop-filter:blur(18px);

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

    border:1px solid rgba(255,255,255,.2);

}

/* =========================
   SMOOTH TRANSITIONS
========================= */

*{

    transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;

}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}

::-webkit-scrollbar-thumb{

    background:linear-gradient(#ff6a00,#ff3d00);

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#ff6a00;

}

/* =========================
   SELECTION
========================= */

::selection{

    background:#ff6a00;

    color:#fff;

}

/* =========================
   CARD GLOW
========================= */

.category-card,
.product-card,
.contact-card{

    position:relative;

    overflow:hidden;

}

.category-card::after,
.product-card::after,
.contact-card::after{

    content:"";

    position:absolute;

    top:-120%;

    left:-40%;

    width:60%;

    height:320%;

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

    transform:rotate(25deg);

    transition:.8s;

}

.category-card:hover::after,
.product-card:hover::after,
.contact-card:hover::after{

    left:140%;

}

/* =========================
   TITLE STYLE
========================= */

.section-title{

    text-align:center;

    color:#ff5a00;

    font-size:40px;

    font-weight:800;

    margin-bottom:35px;

}

/* =========================
   IMAGE ZOOM
========================= */

.product-card img{

    cursor:pointer;

}

.product-card:hover img{

    filter:brightness(1.05);

}

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

.btn,
.contact-btn{

    position:relative;

    overflow:hidden;

}

.btn::before,
.contact-btn::before{

    content:"";

    position:absolute;

    top:0;

    left:-100%;

    width:100%;

    height:100%;

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

    transition:.5s;

}

.btn:hover::before,
.contact-btn:hover::before{

    left:100%;

}

/* =========================
   SHADOWS
========================= */

.category-card:hover{

    box-shadow:0 20px 45px rgba(255,106,0,.18);

}

.product-card:hover{

    box-shadow:0 22px 50px rgba(255,106,0,.20);

}

.contact-card:hover{

    box-shadow:0 20px 45px rgba(255,106,0,.18);

}

/* =========================
   BACK TO TOP (آماده برای آینده)
========================= */

.to-top{

    position:fixed;

    bottom:25px;

    left:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#ff5a00;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    box-shadow:0 10px 25px rgba(255,90,0,.3);

    opacity:0;

    pointer-events:none;

}
/* ===== پنجره نمایش غذا ===== */

.modal{
    display:none;
    position:fixed;
    top:0;
    right:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-content{
    background:#fff;
    width:90%;
    max-width:500px;
    border-radius:25px;
    padding:30px;
    text-align:center;
    position:relative;
    animation:popup .3s;
}

.modal-content img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:18px;
    margin-bottom:20px;
}

.close{
    position:absolute;
    top:15px;
    left:20px;
    font-size:35px;
    cursor:pointer;
    color:#444;
}

.close:hover{
    color:#ff5a00;
}

@keyframes popup{

    from{
        transform:scale(.8);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }

}
/* ===== دسته بندی ===== */
.category-grid{
    max-width:1000px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.category-card:hover{
    transform:translateY(-8px);
    border:2px solid #ff6a00;
}

.category-icon{
    font-size:50px;
}

/* ===== modal ===== */
.modal{
    display:none;
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(0,0,0,.7);
    justify-content:center;
    align-items:center;
}

.modal-content{
    background:#fff;
    padding:30px;
    border-radius:20px;
    width:90%;
    max-width:400px;
    text-align:center;
    position:relative;
}

.modal-content img{
    width:100%;
    border-radius:15px;
    margin-bottom:15px;
}

.close{
    position:absolute;
    top:10px;
    left:15px;
    font-size:28px;
    cursor:pointer;
}

.cart-btn{
    display:inline-block;
    margin-top:25px;
    padding:14px 28px;
    background:#ff6b00;
    color:#fff;
    border:none;
    border-radius:12px;
    font-family:"Vazirmatn",sans-serif;
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.cart-btn:hover{
    background:#ff7f1f;
}

/* دکمه افزودن به سبد خرید */

.modal-content .contact-btn{
    display:block;
    width:100%;
    margin-top:25px;
    padding:15px;
    border:none !important;
    outline:none !important;
    box-shadow:none !important;

    background:#ff6b00;
    color:#fff;

    font-family:"Vazirmatn",sans-serif;
    font-size:18px;
    font-weight:700;

    border-radius:12px;
    cursor:pointer;

    transition:.3s;
}

.modal-content .contact-btn:hover{
    background:#e65f00;
}
/* ===========================
   CART PAGE
=========================== */

.cart-container{

    width:90%;
    max-width:1000px;

    margin:40px auto;

    display:flex;
    flex-direction:column;

    gap:20px;

}

.cart-item{

    background:#fff;

    border-radius:18px;

    padding:20px;

    display:flex;

    align-items:center;

    justify-content:space-between;

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

}

.cart-image{

    width:90px;

    height:90px;

    border-radius:15px;

    object-fit:cover;

}

.cart-info{

    flex:1;

    margin-right:20px;

}

.cart-info h3{

    margin-bottom:10px;

    font-size:22px;

}

.cart-info p{

    color:#ff5a00;

    font-weight:700;

}

.cart-count{

    display:flex;

    align-items:center;

    gap:12px;

}

.cart-count button{

    width:38px;

    height:38px;

    border:none;

    border-radius:10px;

    background:#ff6b00;

    color:#fff;

    font-size:20px;

    cursor:pointer;

}

.cart-count span{

    font-size:20px;

    font-weight:700;

}

.delete-btn{

    background:#ff2b2b;

    color:#fff;

    border:none;

    width:45px;

    height:45px;

    border-radius:12px;

    cursor:pointer;

}

.cart-summary{

    width:90%;

    max-width:1000px;

    margin:30px auto;

    background:#fff;

    padding:25px;

    border-radius:18px;

    text-align:center;

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

}

.cart-summary h2{

    font-size:34px;

    color:#222;

}

.cart-buttons{

    width:90%;

    max-width:1000px;

    margin:25px auto;

    display:flex;

    gap:20px;

    justify-content:center;

}

.cart-buttons button{

    min-width:220px;

}

.order-form{

    width:90%;

    max-width:1000px;

    margin:40px auto;

    background:#fff;

    border-radius:18px;

    padding:35px;

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

}

.order-form h2{

    margin-bottom:25px;

}

.order-form input,

.order-form textarea{

    width:100%;

    margin-bottom:18px;

    padding:16px;

    border:1px solid #ddd;

    border-radius:12px;

    font-family:Vazirmatn;

    font-size:16px;

}

.order-form textarea{

    resize:none;

    height:120px;

}

.empty-cart{

    text-align:center;

    font-size:28px;

    color:#777;

    padding:70px;

}
.search-box{

width:100%;

max-width:500px;

display:block;

margin:25px auto;

padding:15px 20px;

font-family:"Vazirmatn",sans-serif;

font-size:17px;

border:none;

outline:none;

border-radius:15px;

background:#fff;

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

transition:.3s;

}

.search-box:focus{

box-shadow:0 15px 35px rgba(255,90,0,.25);

transform:scale(1.02);

}
.pizza-size{

    color:#ff6b00;

    font-weight:700;

    margin:6px 0;

    font-size:15px;

}
/* ================= دسته بندی اصلی ================= */

/* ================= صفحه انتخاب منو ================= */

.menu-page{

    background:#f8f8f8;

    padding:40px 20px 20px;

    text-align:center;

}

.menu-page h1{

    font-size:42px;

    color:#ff6b00;

    margin-bottom:10px;

}

.menu-text{

    font-size:18px;

    color:#666;

    margin-bottom:30px;

}



/* ================= دو کارت اصلی ================= */

.main-category{

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:40px;

    max-width:900px;

    margin:20px auto 60px;

    padding:0 20px;

}



.big-category{

    width:320px;

    min-height:250px;

    background:#fff;

    border-radius:20px;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    text-decoration:none;

    color:#333;

    transition:.3s;

    padding:25px;

}



.big-category:hover{

    transform:translateY(-8px);

    box-shadow:0 15px 35px rgba(0,0,0,.18);

}



.big-category{

    font-size:70px;

}



.big-category h2{

    font-size:30px;

    color:#ff6b00;

    margin:15px 0 10px;

}



.big-category p{

    font-size:16px;

    color:#777;

    line-height:1.8;

}



/* ================= موبایل ================= */

@media(max-width:768px){

.main-category{

    flex-direction:column;

}

.big-category{

    width:100%;

    max-width:340px;

}

}

/* ================= سبد خرید ================= */

.cart-count button,
.delete-btn{

    width:35px;

    height:35px;

    padding:0;

    border-radius:8px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

    cursor:pointer;

}


.delete-btn{

    background:#e74c3c;

    color:white;

    border:none;

}


.cart-count button{

    background:#ff6b00;

    color:white;

    border:none;

}


.cart-count{

    display:flex;

    align-items:center;

    gap:10px;

}


.cart-count span{

    min-width:25px;

    text-align:center;

    font-weight:bold;

}
.cart-item{

    display:flex;

    align-items:center;

    gap:20px;

}


.delete-btn{

    margin-right:15px;

}


.cart-count{

    margin-right:10px;

}
/* ===== دکمه های نقشه ===== */

.map-links{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:15px;

    margin-top:20px;

}

.map-btn{

    width:110px;

    height:90px;

    background:white;

    border-radius:15px;

    border:2px solid #ff6b00;

    text-decoration:none;

    color:#333;

    font-weight:bold;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    transition:.3s;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

}

.map-btn:hover{

    background:#ff6b00;

    color:white;

    transform:translateY(-5px);

}
.orders-grid{

display:grid;

grid-template-columns:repeat(auto-fill,minmax(340px,1fr));

gap:25px;

padding:30px;

}

.order-card{

background:#fff;

border-radius:20px;

padding:20px;

box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.order-header{

font-size:22px;

font-weight:800;

margin-bottom:15px;

color:#ff6b00;

}

.customer{

line-height:2;

margin-bottom:15px;

}

.order-card ul{

padding-right:20px;

line-height:2;

}

.price{

margin-top:15px;

font-size:20px;

font-weight:700;

color:#ffffff;

}

.status{

margin-top:15px;

padding:10px;

border-radius:12px;

background:#fff3cd;

text-align:center;

font-weight:700;

}

.order-buttons{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-top:20px;

}

.order-buttons button{

flex:1;

padding:12px;

border:none;

border-radius:12px;

cursor:pointer;

font-family:Vazirmatn;

font-size:14px;

font-weight:700;

background:#ff6b00;

color:white;

transition:.3s;

}

.order-buttons button:hover{

transform:scale(1.04);

background:#e65c00;

}

.new-order{

animation:blink 1s infinite;

border:3px solid #ff6b00;

}

@keyframes blink{

0%{

box-shadow:0 0 0 rgba(255,107,0,.1);

}

50%{

box-shadow:0 0 30px rgba(255,107,0,.7);

}

100%{

box-shadow:0 0 0 rgba(255,107,0,.1);

}

}
.delivery-options{

display:grid;

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

gap:20px;

margin:25px 0;

}

.delivery-card{

position:relative;

padding:25px;

background:#fff;

border:2px solid #ddd;

border-radius:18px;

text-align:center;

cursor:pointer;

transition:.3s;

}

.delivery-card input{

display:none;

}

.delivery-card:hover{

border-color:#ff6b00;

transform:translateY(-4px);

}

.delivery-card:has(input:checked){

background:#ff6b00;

color:#fff;

border-color:#ff6b00;

}

.delivery-card h4{

margin:12px 0 8px;

}

.delivery-card p{

font-size:13px;

line-height:1.7;

}

.category-card.no-image{

    padding:15px !important;

    height:auto !important;

    min-height:unset !important;

}
/* ===== قیمت غذا (کارت‌ها و سبد خرید) ===== */

.food-price{
    color:#ff5a00;
    font-weight:700;
    font-size:16px;
    margin-top:8px;
}

/* ===== قیمت سفارش در پنل آشپزخونه ===== */

.order-price{
    margin-top:15px;
    font-size:20px;
    font-weight:700;
    color:#ff6b00;
}