:root {
    --primary:#b30000;
    --dark:#0d0d0d;
    --card:#1a1a1a;
}

* {
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body {
    margin:0;
    font-family:'Segoe UI',sans-serif;
    background:var(--dark);
    color:white;
}

/* NAVBAR */
.navbar {
    position:sticky;
    top:0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    background:rgba(0,0,0,0.8);
    backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(255,0,0,0.3);
    z-index:100;
}

.logo {
    font-size:24px;
    font-weight:bold;
}

.logo span {
    color:var(--primary);
}

nav a {
    margin:0 15px;
    color:white;
    text-decoration:none;
    transition:.3s;
}

nav a:hover {
    color:var(--primary);
}

.cart-btn {
    background:var(--primary);
    border:none;
    padding:8px 15px;
    border-radius:30px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.cart-btn:hover {
    background:red;
    transform:scale(1.05);
}

/* HERO */
.hero {
    text-align:center;
    padding:120px 20px;
    background:linear-gradient(-45deg,#300000,#000000,#4d0000,#000000);
    background-size:400% 400%;
    animation:gradientMove 8s infinite alternate;
}

.hero h1 {
    font-size:48px;
    margin-bottom:20px;
}

.hero-locations {
    margin-top:20px;
    color:#ff4d4d;
}

@keyframes gradientMove {
    0%{background-position:0% 50%;}
    100%{background-position:100% 50%;}
}

/* SECTIONS */
.category {
    padding:80px 40px;
}

.category h2 {
    font-size:32px;
    margin-bottom:40px;
    border-left:5px solid var(--primary);
    padding-left:15px;
}

.grid {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

/* CARDS */
.card {
    background:rgba(255,255,255,0.05);
    backdrop-filter:blur(8px);
    border-radius:20px;
    padding:25px;
    transition:.4s;
    border:1px solid rgba(255,0,0,0.2);
}

.card:hover {
    transform:translateY(-10px);
    box-shadow:0 0 25px rgba(255,0,0,0.5);
}

.price {
    font-size:22px;
    color:var(--primary);
    margin:15px 0;
}

.card button {
    background:var(--primary);
    border:none;
    padding:8px 15px;
    border-radius:20px;
    cursor:pointer;
    margin-top:10px;
}

.card button:hover {
    background:red;
}

/* FOOTER */
footer {
    background:#000;
    padding:40px;
    text-align:center;
    border-top:1px solid rgba(255,0,0,0.3);
}

/* INPUT STYLING */
input, textarea {
    width:100%;
    padding:12px;
    margin:10px 0;
    border-radius:12px;
    border:1px solid rgba(255,0,0,0.3);
    background:rgba(255,255,255,0.05);
    color:white;
    font-size:14px;
    outline:none;
    transition:.3s;
}

input:focus, textarea:focus {
    border-color:#ff0000;
    box-shadow:0 0 10px rgba(255,0,0,0.6);
}

textarea {
    min-height:120px;
    resize:vertical;
}

.discount-row {
    display:flex;
    gap:10px;
}

.summary-box {
    background:rgba(255,0,0,0.05);
    padding:20px;
    border-radius:15px;
    margin-top:20px;
    border:1px solid rgba(255,0,0,0.2);
}

.total-line {
    display:flex;
    justify-content:space-between;
    margin:5px 0;
}

.payment-notice {
    background:#300000;
    padding:15px;
    border-radius:12px;
    margin-top:20px;
    border:1px solid red;
    font-weight:bold;
    color:#ff4d4d;
}

/* DISCOUNT POPUP */

.popup {
    position:fixed;
    top:20px;
    right:20px;
    background:#b30000;
    color:white;
    padding:15px 25px;
    border-radius:12px;
    font-weight:bold;
    box-shadow:0 0 20px rgba(255,0,0,0.6);
    transform:translateX(400px);
    opacity:0;
    transition:0.5s;
    z-index:9999;
}

.popup.show {
    transform:translateX(0);
    opacity:1;
}

.popup.error {
    background:#444;
    box-shadow:0 0 20px rgba(255,255,255,0.2);
}