/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: rgb(248, 247, 245);
    background-size: 100% 100%; /* Stretch to fit full width and height */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 18px;
}






body.order-page {
  background-image: url("img/org logo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

body.order-list-page {
  background-image: url("img/org logo.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/* Header */
header {
    background-color: rgba(246, 58, 6, 0.399);
    color: rgb(235, 225, 225);
    padding: 20px;
    text-align: center;
    font-size: 24px; /* Increase font size for header */
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px; /* Increase spacing between nav items */
}

nav ul li a {
    color: rgb(243, 237, 237);
    text-decoration: none;
    font-size: 20px; /* Increase font size for nav links */
}

h1 {
    margin: 0;
    font-size: 30px; /* Increase font size for h1 */
}

/* Section for Order Form */
section {
    padding: 20px;
    background-color: rgba(9, 6, 6, 0.514);
    border-radius: 8px;
    margin: 30px auto;
    width: 90%;
    max-width: 5000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 30px; /* Larger font size for section content */
}

/* Order Form Styles */
#orderForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: rgba(0, 0, 0, 0);
    padding: 50px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    font-size: 20px; /* Increase font size for form content */
}

/* Adding margin to inputs */
#orderForm label {
    font-weight: bold;
    margin-bottom: 10px; /* Increase space below label */
    font-size: 22px; /* Increase label font size */
}

/* Making inputs align properly */
#orderForm input,
#orderForm select,
#orderForm button {
    padding: 15px;
    font-size: 18px; /* Increase font size for input fields */
    border-radius: 5px;
    border: 1px solid #ffffff;
    background-color: #fff;
    color: #333;
    width: 100%;
}

/* Improving alignment for select dropdowns and quantity fields */
#orderForm .input-group {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Increase gap between input groups */
}

#orderForm select,
#orderForm input[type="number"] {
    width: 100%;
    margin-bottom: 15px; /* Increase margin between fields */
}

/* Order Form Button Styles */
#orderForm button {
    background-color: rgba(203, 75, 16, 0.8);
    color: rgb(226, 217, 217);
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    font-size: 20px; /* Larger font size for buttons */
}

#orderForm button:hover {
    background-color: rgb(7, 7, 7);
}

/* Styling for Adding Another Product */
#addProductButton {
    background-color: rgba(20, 147, 20, 0.8);
    color: white;
    padding: 15px;
    font-size: 20px; /* Larger font size for product button */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

#addProductButton:hover {
    background-color: rgba(20, 147, 20, 1);
}

/* Order Summary Styles */
#orderSummary {
    background-color: rgba(0, 0, 0, 0.7);
    color: rgb(248, 247, 245);
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
    font-size: 22px; /* Larger font size for summary text */
}

footer {
    background-color: rgba(118, 108, 108, 0.612);
    color: rgb(255, 251, 251);
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    margin-top: 30px;
    font-size: 20px; /* Larger font size for footer text */
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        height: auto;
    }

    section {
        width: 90%;
        padding: 15px;
        font-size: 18px; /* Slightly smaller font for small screens */
    }

    #orderForm {
        padding: 15px;
        gap: 20px;
        font-size: 18px;
    }

    #orderForm input,
    #orderForm select,
    #orderForm button {
        padding: 12px;
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    #orderSummary {
        padding: 15px;
        font-size: 18px; /* Adjust font size for smaller screens */
    }
}

/* Product List Styling */
.product-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
}

.product {
    background-color: rgba(241, 7, 7, 0.11);
    border: 1px solid #cc0606;
    padding: 25px;
    text-align: center;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-size: 22px; /* Larger font size for product text */
}

.product h3 {
    margin: 10px 0;
    font-size: 26px; /* Larger product title */
}

.product p {
    margin: 5px 0;
    font-size: 20px; /* Larger product description */
}


/* Styling for the "Remove" button */
.remove-btn {
    background-color: #e74c3c; /* Red color */
    color: rgb(20, 20, 20);
    border: 2px solid #c0392b; /* Add border for definition */
    padding: 10px 20px; /* Adjusted padding for better proportions */
    font-size: 14px; /* Slightly smaller font size for table use */
    border-radius: 8px; /* More rounded corners for a smoother look */
    cursor: pointer;
    transition: all 0.3s ease; /* Smooth transition for all changes */
    text-align: center;
    display: inline-block; /* Ensure the button behaves like a block-level element */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 5px; /* Space around the button for better spacing */
}

/* Hover effect */
.remove-btn:hover {
    background-color: #c0392b; /* Darker red on hover */
    border-color: #e74c3c; /* Darken border when hovered */
    transform: translateY(-2px); /* Add subtle lift effect on hover */
}

/* Active (clicked) state */
.remove-btn:active {
    background-color: #c0392b; /* Darker color when clicked */
    transform: translateY(0); /* Reset lift effect */
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse; /* Ensure borders don't double */
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ccc; /* Light border around table and cells */
}

th, td {
    padding: 15px;
    text-align: center; /* Center-align text inside table cells */
}

th {
    background-color: #191818; /* Light gray background for header */
    font-weight: bold;
}
