/* ==========================
   General Styles
========================== */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: #111;
    color: #00ffff;
}

/* ==========================
   Navbar
========================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #222;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo img {
    height: 65px;
    width: auto;
}

.navbar-links {
    display: flex;
    gap: 20px;
}

.navbar-links a {
    color: #00ffff;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s;
}

.navbar-links a:hover {
    background-color: #333;
    border-radius: 5px;
}

/* Hamburger Menu (for mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #00ffff;
    border-radius: 5px;
}

/* ==========================
   Cart Container
========================== */
.cart-container {
    padding: 30px;
    max-width: 900px;
    margin: 40px auto;
    background-color: #1a1a1a;
    color: #00ffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

/* ==========================
   Cart Items
========================== */
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #222;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.cart-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #00ffff;
}

.cart-item-details {
    flex: 1;
    margin-left: 20px;
}

.cart-item-details h4 {
    margin: 0;
    font-size: 18px;
    color: #00ffff;
}

.cart-item-details p {
    margin: 5px 0;
    color: #ccc;
}

/* ==========================
   Quantity Buttons
========================== */
.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.quantity-controls button {
    background-color: #00ffff;
    border: none;
    color: black;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
}

.quantity-controls button:hover {
    background-color: grey;
    color: white;
}

.quantity-controls .quantity {
    font-size: 16px;
    color: #fff;
    min-width: 25px;
    text-align: center;
}

/* ==========================
   Remove / Clear / Checkout Buttons
========================== */
.remove-item,
.clear-cart,
.checkout-btn {
    background-color: #00ffff;
    color: black;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.remove-item:hover,
.clear-cart:hover,
.checkout-btn:hover {
    background-color: grey;
    color: white;
    transform: scale(1.05);
}

.clear-cart {
    display: block;
    margin: 20px 0;
}

/* ==========================
   Total Price Section
========================== */
.cart-total {
    text-align: right;
    font-size: 20px;
    margin-top: 10px;
    color: #00ffff;
    font-weight: bold;
}

/* ==========================
   Checkout Form
========================== */
.checkout-form {
    background-color: #222;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.checkout-form label {
    display: block;
    margin: 15px 0 5px;
    font-size: 16px;
    color: #00ffff;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #00ffff;
    background-color: #333;
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.checkout-form textarea {
    resize: vertical;
}

/* ==========================
   Footer
========================== */
.footer {
    background-color: #222;
    color: #00ffff;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    margin-top: 60px;
}

.footer a {
    color: #00ffff;
    text-decoration: none;
}

.footer a:hover {
    color: #33ffff;
}

/* ==========================
   Responsive Design (Mobile)
========================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .navbar .logo img{
        height: 30px;
        width: auto;
    }


    .navbar-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .navbar-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .cart-container {
        padding: 15px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-item img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .cart-total {
        text-align: left;
        margin-top: 20px;
    }

    .checkout-form {
        padding: 20px;
    }
}
