/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #eaeaed; /* Dark background for sophistication */
    color: #ECF0F1; /* Light font color for contrast */
}
/* Modal Styles */
#address-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensures modal is on top */
}

.modal-content {
    background-color: #0f7c4b; /* Deep green for a professional look */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: #ffffff; /* Ensure text is readable on dark background */
    font-family: Arial, sans-serif;
}

.modal-content h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.modal-content p {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.5;
    color: #e5e5e5; /* Slightly muted text for balance */
}

/* Buttons */
button {
    background-color: #4CAF50; /* Green color for primary action */
    color: white;
    padding: 12px 24px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049; /* Slightly darker green on hover */
    transform: scale(1.05); /* Subtle zoom effect */
}

button:active {
    background-color: #3e8e41; /* Even darker green on click */
    transform: scale(0.95); /* Shrink on click */
}

/* QR Code Container */
#qr-container {
    display: none;
    text-align: center;
    margin-top: 20px;
}

#qr-container img {
    max-width: 150px;
    margin: 0 auto;
    display: block;
}

#qr-container p {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555; /* Subtle text color */
}



/* Order Success Message */
#order-success {
    display: none;
    text-align: center;
    margin-top: 20px;
    color: #2d8b45; /* Bright green for success */
    font-size: 1.2em;
    font-weight: bold;
}

#order-success span {
    font-size: 1.5em;
    color: #0a662a; /* Darker green for emphasis */
}

/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background for contrast */
}

.container {
    padding: 20px;
    text-align: center;
}

input {
    width: calc(100% - 40px);
    max-width: 400px;
    margin: 10px auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}


#cart-items{
    list-style-type: none;
    text-align: left;

}
#cart-items li{
    margin-bottom: 10px;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #e58e31;
    color: #fff;
    z-index: 1000;
    height: 80px; /* Match the logo height */
    padding: 0 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.allcontect {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align logo and links vertically */
    margin-right: 30%;
}

.logo {
    padding-left: 10px; /* Optional: Adds space around the logo */
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px; /* Adjust size */
    width: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Optional: Circular logo */
    display: block; /* Prevent extra inline spacing */
}

.logo span {
    font-size: 1.2rem; /* Adjust the text size */
    font-weight: bold; /* Make the text bold */
    color: white; /* Match the navbar text color */
    width: 20%;
}

.cont-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.cont-links li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    transition: color 0.3s;
}

.cont-links li a:hover {
    color: #baad1a;
}

/* Products */
#products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.product-card {
    background-color: #f4eaea; /* Dark background for product cards */
    border: 1px solid #ebe3e3; /* Subtle border */
    padding: 20px;
    
    width: 240px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
    margin-top: 5%;
}

.product-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
}

.product-card h3 {
    font-size: 22px;
    color: #413d37; /* Warm gold accent */
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    color: #2c2e30; /* Soft contrast color */
}

.product-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.add-to-cart {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}

.add-to-cart:hover {
    background-color: #45a049;
}

/* Cart */
#cart {
    margin-top: 40px;
    background-color: #222;
    padding: 17px;
    text-align: center;
    border-radius: 10px;
}

#checkout-container {
    margin-top: 5%;
    padding: 20px;
    background: linear-gradient(to bottom, rgb(236, 237, 240), rgb(239, 164, 15)); /* Gradient from white to green */
    text-align: center;
    border-radius: 10px;
    color: #1e201f; /* Dark text for contrast */
    height: 89vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}










input[type="text"] {
    padding: 10px;
    margin-top: 20px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #BDC3C7;
    background-color: #f0f2f5;
    color: rgb(0, 0, 0);
    font-size: 16px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #F39C12; /* Gold border on focus */
}

/* Checkout Button */
#checkout {
    position: fixed; /* Fixes the button to the page */
    top: 20px;       /* 20px from the top of the page */
    right: 20px;     /* 20px from the right edge of the page */
    background-color: #74da0f; /* Gold button for premium feel */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 9px 20px; /* Adjust padding for better appearance */
    font-size: 90%;
    
    z-index: 1000; /* Ensures the button is always on top */
}

#checkout:hover {
    background-color: #E67E22; /* Darker gold for hover effect */
}

/* Checkout Images */
.checkout-image {
    width: 50px;   /* Adjust the size of the image */
    height: 50px;  /* Adjust the size of the image */
    margin-right: 2%; /* Space between the image and text */
    vertical-align: middle; /* Align the image with the text */
    
}

.remove-from-checkout {
    background-color: #E74C3C; /* Red button for removing items */
    color: white;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    float: right;
    
}

.remove-from-checkout:hover {
    background-color: #C0392B; /* Darker red on hover */
}

/* Payment Methods */
#payment-methods button {
    background-color: #4acb80;
    color: white;
    padding: 12px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    width: 80%;
    margin-top: 10%;
}

#payment-methods button:hover {
    background-color: #25b862;
}

/* QR Code */
#qr-container {
    display: none;
    text-align: center;
    margin-top: 10%;
    padding: 20px;
    background-color: #600285;
    border-radius: 10px;
    width: 50%;
}

#qr-container p {
    font-size: 18px;
    color: #BDC3C7;
    margin-bottom: 20px;
}

#qr-container .success-message {
    font-size: 16px;
    color: #BDC3C7;
    margin-top: 10px;
}

/* Order Success */
#order-success {
    text-align: center;
    margin-top: 10%;
    padding: 20px;
    background-color: #2ECC71; /* Success green */
    color: white;
    border-radius: 10px;
}










