* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #0f141c; color: #fff; }

/* Header & Nav */
header { background: #161d2a; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #222d3d; }
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-text h2 {
    font-size: 18px;
    color: #00d2ff;
    letter-spacing: 1px;
    margin: 0;
}

.header-text p {
    font-size: 12px;
    color: #aaa;
    margin: 0;
}
.site-logo {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
    border-color: #00d2ff;
}
nav a { color: #ccc; text-decoration: none; margin-left: 20px; font-weight: 500; transition: 0.3s; }
nav a:hover, nav a.active-link { color: #00d2ff; }
.admin-btn { background: #00d2ff; color: #111; padding: 8px 15px; border-radius: 4px; font-weight: bold; }
.admin-btn:hover { background: #0099cc; color: #fff; }

/* Banner */
.banner { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/logo.png') center/contain no-repeat; padding: 60px 20px; text-align: center; border-bottom: 1px solid #222; }
.banner h2 { font-size: 36px; letter-spacing: 2px; color: #00d2ff; }
.banner p { font-size: 18px; color: #aaa; margin-top: 5px; }

/* Main Section */
.container { width: 90%; max-width: 1200px; margin: 40px auto; min-height: 50vh; }
.section-title { text-align: center; margin-bottom: 25px; font-size: 28px; }

/* Filter Buttons */
.filter-btns { text-align: center; margin-bottom: 35px; }
.filter-btn { background: #1f2937; color: #fff; padding: 10px 22px; text-decoration: none; margin: 0 5px; border-radius: 20px; display: inline-block; border: 1px solid #374151; transition: 0.3s; }
.filter-btn.active, .filter-btn:hover { background: #00d2ff; color: #111; border-color: #00d2ff; font-weight: bold; }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.product-card { background: #161d2a; border: 1px solid #222d3d; border-radius: 10px; padding: 15px; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.img-box { width: 100%; height: 260px; overflow: hidden; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; }
.img-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card h3 { font-size: 16px; margin: 15px 0 10px; color: #e5e7eb; min-height: 40px; }
.price-box { margin-bottom: 15px; }
.original-price { text-decoration: line-through; color: #9ca3af; margin-right: 10px; font-size: 15px; }
.discount-price { color: #22c55e; font-weight: bold; font-size: 20px; }
.buy-btn { background: #22c55e; color: #fff; border: none; padding: 12px; width: 100%; border-radius: 6px; cursor: pointer; font-size: 15px; font-weight: bold; transition: 0.3s; }
.buy-btn:hover { background: #16a34a; }

/* Footer */
footer { background: #0a0d12; padding: 40px 20px 20px; margin-top: 60px; border-top: 1px solid #1f2937; }
.footer-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.footer-left, .footer-right { flex: 1; min-width: 280px; }
.footer-left h3, .footer-right h3 { color: #00d2ff; margin-bottom: 15px; font-size: 20px; }
.footer-left p, .footer-right p { margin: 10px 0; font-size: 16px; color: #d1d5db; }
.whatsapp-icon { color: #25D366; font-size: 20px; margin-right: 8px; }
.phone-icon { color: #00d2ff; font-size: 18px; margin-right: 8px; }
.footer-left a { color: #fff; text-decoration: none; }
.footer-left a:hover { text-decoration: underline; }
.cod-note { color: #ef4444; font-size: 13px; margin-top: 10px; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 15px; border-top: 1px solid #1f2937; color: #6b7280; font-size: 14px; }

/* Login & Admin Styles */
.login-body { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #0f141c; }
.login-box { background: #161d2a; padding: 40px; border-radius: 10px; width: 340px; text-align: center; border: 1px solid #222d3d; }
.login-logo { height: 60px; margin-bottom: 15px; }
.login-box h2 { margin-bottom: 20px; color: #00d2ff; }
.form-group { text-align: left; margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 14px; color: #ccc; }
.form-group input, .admin-form input, .admin-form select { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #374151; background: #0f141c; color: #fff; }
.submit-btn { background: #00d2ff; color: #111; border: none; padding: 12px; width: 100%; border-radius: 5px; font-weight: bold; cursor: pointer; margin-top: 10px; }
.submit-btn:hover { background: #0099cc; color: #fff; }
.back-link { display: inline-block; margin-top: 15px; color: #9ca3af; text-decoration: none; font-size: 14px; }
.error { color: #ef4444; margin-bottom: 15px; font-size: 14px; }

.admin-container { max-width: 1000px; margin: 40px auto; background: #161d2a; padding: 30px; border-radius: 10px; border: 1px solid #222d3d; }
.admin-container h2 { margin: 20px 0; color: #00d2ff; }
.admin-form input, .admin-form select { margin-bottom: 15px; }
.product-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.product-table th, .product-table td { border: 1px solid #222d3d; padding: 12px; text-align: center; font-size: 14px; }
.product-table th { background: #0f141c; color: #00d2ff; }
.tbl-img { width: 50px; height: 50px; object-fit: contain; background: #fff; border-radius: 4px; }
.delete-btn { background: #ef4444; color: #fff; padding: 6px 12px; text-decoration: none; border-radius: 4px; font-size: 12px; }
.logout-btn { background: #ef4444; color: #fff; padding: 6px 12px; border-radius: 4px; }
/* Modal Popup Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1e293b;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.2);
    position: relative;
}

.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover { color: #fff; }

.modal-content h2 {
    color: #00d2ff;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.payment-info {
    background: #0f141c;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
    border-left: 3px solid #00d2ff;
}

.input-group {
    margin-bottom: 12px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #ccc;
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 8px 12px;
    background: #0f141c;
    border: 1px solid #334155;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
}

.submit-btn {
    width: 100%;
    background-color: #25D366;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #1eb855;
}