@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;600;800&display=swap');


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Vazirmatn,sans-serif;
}


html{
    scroll-behavior:smooth;
}


body{

    background:#080604;
    color:white;
    overflow-x:hidden;

}


/* =================
   Loading
================= */


.loader{

    position:fixed;
    inset:0;
    background:#080604;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    z-index:9999;

    animation:hideLoader 4s forwards;

}


.cup{

    font-size:90px;

    animation:
    coffeeMove 2s infinite;

}


.loader h2{

    color:#d4af37;
    margin-top:20px;

}


.loader p{

    color:#aaa;
}



@keyframes coffeeMove{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-20px);
    }

    100%{
        transform:translateY(0);
    }

}


@keyframes hideLoader{

    0%,80%{
        opacity:1;
        visibility:visible;
    }

    100%{

        opacity:0;
        visibility:hidden;

    }

}





/* =================
 Navbar
================= */


header{

    position:fixed;
    top:20px;
    left:50%;

    transform:translateX(-50%);

    width:90%;

    padding:18px 30px;

    display:flex;
    justify-content:space-between;
    align-items:center;


    background:
    rgba(255,255,255,0.08);


    backdrop-filter:blur(20px);


    border:
    1px solid rgba(212,175,55,.3);


    border-radius:30px;


    z-index:1000;

}




.logo{

    font-size:24px;
    font-weight:800;

    color:#d4af37;

}





nav a{

    color:white;
    text-decoration:none;

    margin:0 12px;

    transition:.3s;

}


nav a:hover{

    color:#d4af37;

}




/* =================
 Hero
================= */


.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:50px;

    padding:120px 10%;


}



.hero-text{

    max-width:600px;

}



.hero-text h1{

    font-size:55px;

    color:#d4af37;

}


.hero-text p{

    margin:25px 0;

    color:#ddd;

    line-height:2;

    font-size:18px;

}



.hero button,
.card button{


    border:none;

    padding:14px 30px;

    border-radius:30px;

    background:#d4af37;

    color:#000;

    font-weight:bold;

    cursor:pointer;

    transition:.3s;

}



.hero button:hover,
.card button:hover{

    transform:scale(1.08);

}





.hero-image img{

    width:420px;

    height:420px;

    object-fit:cover;

    border-radius:50%;


    border:
    5px solid #d4af37;


    box-shadow:
    0 0 50px #d4af37;


}





/* =================
 Menu
================= */


section{

    padding:100px 10%;

}



section h2{

    text-align:center;

    font-size:40px;

    color:#d4af37;

    margin-bottom:50px;

}





.cards{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));


    gap:30px;

}





.card{

    background:
    rgba(255,255,255,.08);


    border:
    1px solid rgba(212,175,55,.3);


    backdrop-filter:blur(20px);


    border-radius:25px;

    padding:20px;

    text-align:center;


    transition:.4s;

}



.card:hover{

    transform:
    translateY(-15px);


    box-shadow:
    0 20px 50px rgba(212,175,55,.3);

}




.card img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:20px;

}



.card h3{

    margin:20px 0;

    color:#d4af37;

}



.card p{

    color:#ccc;

}


.card span{

    display:block;

    margin:20px;

    font-size:20px;

    color:#fff;

}





/* =================
 About Contact
================= */


#about,
#contact{

    text-align:center;

    background:
    rgba(255,255,255,.03);

}


#about p,
#contact p{

    color:#ddd;

    line-height:2.5;

}





/* Mobile */


@media(max-width:800px){


header{

    flex-direction:column;

}


nav{

    margin-top:15px;

}


.hero{

    flex-direction:column;

    text-align:center;

}



.hero-text h1{

    font-size:35px;

}


.hero-image img{

    width:280px;
    height:280px;

}


}
/* ======================
 Admin Panel
====================== */


.admin{

    min-height:100vh;

    padding:80px 10%;

    background:#080604;

}



.admin h1{

    text-align:center;

    color:#d4af37;

    margin-bottom:50px;

}



.order-box{


    max-width:600px;

    margin:auto;


    background:
    rgba(255,255,255,.08);


    backdrop-filter:blur(20px);


    padding:30px;


    border-radius:25px;


    border:
    1px solid #d4af37;

}



.order{


    margin-top:30px;


    padding:25px;


    background:
    rgba(0,0,0,.4);


    border-radius:20px;


}



.order p{

    color:#ddd;

    line-height:2;

}



.waiting{

    color:#ffc107;

}



.order button{


    margin-top:20px;


    padding:12px 25px;


    border:none;


    border-radius:30px;


    background:#d4af37;


    cursor:pointer;


    font-weight:bold;

}
.order-section{

text-align:center;

}


.order-form{

max-width:500px;

margin:auto;

display:flex;

flex-direction:column;

gap:20px;

}



.order-form input,
.order-form textarea{


padding:15px;

border-radius:15px;

border:none;

background:
rgba(255,255,255,.1);

color:white;

font-size:16px;


}


.order-form button{

padding:15px;

border:none;

border-radius:30px;

background:#d4af37;

cursor:pointer;

font-weight:bold;

}
.order{

margin-top:25px;

padding:25px;

border-radius:20px;

background:#1b1b1b;

border:1px solid #d4af37;

transition:.3s;

}

.order:hover{

transform:translateY(-5px);

box-shadow:0 0 20px rgba(212,175,55,.3);

}

.order h3{

color:#d4af37;

margin-bottom:15px;

}

.order ul{

margin:20px 0;

padding-right:20px;

}

.order li{

margin:8px 0;

color:#ddd;

}

.order button{

margin-top:20px;

padding:12px 25px;

background:#d4af37;

border:none;

border-radius:30px;

cursor:pointer;

font-weight:bold;

}
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #00ff88;
    color: black;
    padding: 15px 25px;
    border-radius: 15px;
    z-index: 9999;
    font-weight: bold;
    box-shadow: 0 0 20px #00ff88;
}
/* =====================
   Menu Cards Pro
===================== */


#menu{
    padding:80px 20px;
}


#menu h2{

    text-align:center;

    font-size:40px;

    margin-bottom:40px;

}





.menu-image{

    display:block;

    width:80%;

    max-width:700px;

    height:300px;

    object-fit:cover;

    margin:20px auto 50px;

    border-radius:30px;

    box-shadow:0 0 30px rgba(255,200,0,.25);

}





.cards{

    display:grid;

    grid-template-columns:

    repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}





.card{

    background:

    rgba(255,255,255,.08);


    backdrop-filter:blur(15px);


    border:

    1px solid rgba(255,255,255,.15);


    border-radius:25px;


    padding:20px;


    text-align:center;


    transition:.4s;


    overflow:hidden;

}




.card:hover{

    transform:translateY(-12px) scale(1.03);


    box-shadow:

    0 0 30px

    rgba(255,190,0,.35);

}




.card h3{

    font-size:24px;

    margin:15px 0;

}




.card p{

    opacity:.8;

}





.card span{

    display:block;

    color:#ffc400;


    font-size:20px;


    font-weight:bold;


    margin:15px;

}





.card button{

    background:

    linear-gradient(45deg,#ff9800,#ffd54f);


    border:none;


    padding:12px 25px;


    border-radius:30px;


    cursor:pointer;


    font-size:16px;


    transition:.3s;

}




.card button:hover{

    transform:scale(1.1);

}
.product-image{

width:100%;

height:180px;

object-fit:cover;

border-radius:20px;

margin-bottom:15px;

}
.cart-box{

display:none;

position:fixed;

top:100px;

right:50%;

transform:translateX(50%);

width:350px;

background:#111;

color:white;

padding:25px;

border-radius:20px;

z-index:9999;

box-shadow:0 0 30px #00ff88;

}



.cart-item{

display:flex;

justify-content:space-between;

align-items:center;

border-bottom:1px solid #333;

padding:10px;

}



.cart-item button{

background:#ff4444;

color:white;

border:none;

padding:8px 15px;

border-radius:10px;

cursor:pointer;

}
.admin-panel{

padding:120px 30px;

}



.stats{

display:flex;

gap:20px;

justify-content:center;

}



.stat{

background:rgba(255,255,255,.08);

padding:25px;

border-radius:20px;

text-align:center;

}



.admin-card{

background:rgba(255,255,255,.08);

margin:25px auto;

padding:25px;

border-radius:20px;

max-width:600px;

}



.admin-card button{

background:#00ff88;

border:none;

padding:12px 25px;

border-radius:15px;

cursor:pointer;

}
/* ==========================
   Mobile Design
========================== */


@media(max-width:768px){



body{

overflow-x:hidden;

}



/* Header */

header{

flex-direction:column;

padding:15px;

gap:15px;

}



nav{

display:flex;

flex-wrap:wrap;

justify-content:center;

gap:10px;

}



nav a{

font-size:14px;

padding:8px;

}





/* Hero */

.hero{

flex-direction:column;

text-align:center;

padding:120px 20px 40px;

}



.hero-text h1{

font-size:32px;

}



.hero-text p{

font-size:16px;

}



.hero-image img{

width:100%;

margin-top:30px;

}





/* Menu */

.cards{

grid-template-columns:1fr;

padding:20px;

}



.card{

width:100%;

}





/* Category Buttons */


.categories{

display:flex;

overflow-x:auto;

gap:10px;

padding:10px;

}



.categories button{

white-space:nowrap;

}





/* Order */

.order-form{

width:90%;

margin:auto;

}



.order-form input,
.order-form textarea{

width:100%;

font-size:16px;

}





/* Cart */

.cart-box{

width:90%;

}





}
