/* ==========================
   GOOGLE FONT & RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fffaf4;
    color:#333;
    line-height:1.6;
}

/* ==========================
   HEADER
========================== */

header{
    width:100%;
    background:#8B0000;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 3px 10px rgba(0,0,0,.2);
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#FFD700;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav ul li a:hover{
    color:#FFD700;
}

.btn-nav{
    background:#FFD700;
    color:#8B0000 !important;
    padding:8px 18px;
    border-radius:25px;
    font-weight:bold;
}

.btn-nav:hover{
    background:white;
}

/* ==========================
   HERO SECTION
========================== */

.hero{
    height:90vh;
    background:url("https://images.unsplash.com/photo-1563379091339-03246963d96c?w=1600") center/cover;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    position:relative;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:60px;
    margin-bottom:15px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

.hero-btn{
    background:#FFD700;
    color:#8B0000;
    text-decoration:none;
    padding:15px 35px;
    border-radius:40px;
    font-size:18px;
    font-weight:bold;
    transition:.3s;
}

.hero-btn:hover{
    background:white;
    transform:scale(1.05);
}

/* ==========================
   SECTION TITLES
========================== */

section{
    padding:70px 8%;
}

section h2{
    text-align:center;
    font-size:38px;
    margin-bottom:40px;
    color:#8B0000;
}

/* ==========================
   MENU
========================== */

.menu-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.35s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.card h3{
    padding:15px;
    color:#8B0000;
}

.card p{
    padding:0 15px;
    color:#555;
}

.card span{
    display:block;
    padding:15px;
    font-size:24px;
    font-weight:bold;
    color:#ff6600;
}

.card button{
    width:90%;
    margin:0 auto 20px;
    display:block;
    border:none;
    padding:14px;
    background:#8B0000;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.card button:hover{
    background:#ff6600;
}

/* ==========================
   ABOUT
========================== */

.about{
    background:#fff3d6;
    text-align:center;
}

.about p{
    max-width:900px;
    margin:auto;
    font-size:18px;
}

/* ==========================
   CONTACT
========================== */

.contact{
    text-align:center;
}

.contact p{
    margin:10px 0;
    font-size:18px;
}

/* ==========================
   FOOTER
========================== */

footer{
    background:#8B0000;
    color:white;
    text-align:center;
    padding:25px;
}

/* ==========================
   LOGIN & SIGNUP
========================== */

.form-container{
    width:400px;
    max-width:90%;
    background:white;
    margin:60px auto;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

.form-container h2{
    text-align:center;
    color:#8B0000;
    margin-bottom:25px;
}

.form-container input{
    width:100%;
    padding:14px;
    margin:10px 0;
    border:1px solid #ccc;
    border-radius:8px;
}

.form-container button{
    width:100%;
    padding:14px;
    border:none;
    background:#8B0000;
    color:white;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}

.form-container button:hover{
    background:#ff6600;
}

/* ==========================
   CART
========================== */

.cart-box{
    max-width:900px;
    margin:auto;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 20px rgba(0,0,0,.15);
}

.cart-item{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
    border-bottom:1px solid #ddd;
    padding-bottom:10px;
}

.total{
    font-size:28px;
    font-weight:bold;
    color:#8B0000;
    text-align:right;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:900px){

header{
    flex-direction:column;
    gap:15px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

.hero h1{
    font-size:42px;
}

.hero p{
    font-size:18px;
}

}

@media(max-width:600px){

.hero{
    height:70vh;
}

.hero h1{
    font-size:32px;
}

.hero p{
    font-size:16px;
}

.logo{
    font-size:22px;
}

nav ul{
    gap:12px;
}

.card img{
    height:180px;
}

section{
    padding:50px 20px;
}

}