/* Base Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1e1e2e; /* Dark background */
    color: #cfcfcf; /* Light text color */
    line-height: 1.6;
}

header {
    background-color: #5865F2;
    color: #fff;
    padding: 15px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    font-size: 1.1em;
}

nav ul li a:hover {
    color: #d4d4f7;
}

main {
    padding: 20px;
    max-width: 1000px;
    margin: 80px auto 20px; /* Adjusted for fixed header */
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    background-color: #7289DA;
    color: #fff;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products {
    text-align: center;
}

.products h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-item {
    background: #2e2e3e;
    padding: 20px;
    border-radius: 8px;
    width: 200px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    max-width: 100%;
    border-radius: 8px;
}

.product-item h2 {
    font-size: 1.5em;
    margin: 10px 0;
}

.product-item p {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.product-item span {
    display: block;
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 10px;
}

.product-item a {
    background-color: #5865F2;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.product-item a:hover {
    background-color: #4752c4;
}

/* Contact Form */
.contact {
    max-width: 600px;
    margin: 0 auto;
}

form {
    display: flex;
    flex-direction: column;
    background: #2e2e3e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

form label {
    margin-bottom: 5px;
    font-weight: bold;
}

form input, form textarea, form button {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form input, form textarea {
    background: #1e1e2e;
    color: #cfcfcf;
}

form button {
    background-color: #5865F2;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #4752c4;
}

/* Checkout Section */
.checkout {
    background: #2e2e3e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    margin-top: 20px;
}

.checkout h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #1e1e2e;
    color: #cfcfcf;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #5865F2;
}

.paypal-container {
    margin-top: 20px;
    text-align: center;
}

/* Button Styling */
.btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #5865F2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #4752c4;
}

/* Cart Section */
#cart-items {
    background: #2e2e3e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#cart-items p {
    text-align: center;
    font-size: 1.2em;
}

#cart-items .cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

#cart-items .cart-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

#cart-items .cart-item h3 {
    margin: 0;
    font-size: 1.1em;
}

#cart-items .cart-item p {
    margin: 5px 0;
}

#cart-items .cart-item span {
    color: #fff;
    font-weight: bold;
}

#cart-items .cart-item button {
    background-color: #ff4d4d;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#cart-items .cart-item button:hover {
    background-color: #cc0000;
}

button.proceed-checkout {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #5865F2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.proceed-checkout:hover {
    background-color: #4752c4;
}

/* Responsive Design */
@media (max-width: 600px) {
    main {
        padding: 10px;
    }

    .form-group input {
        padding: 8px;
    }

    .btn-primary {
        padding: 10px;
    }

    nav ul li {
        margin: 0 10px;
    }
}
