/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Body */
body { font-family: Arial, sans-serif; background-color: #f7f7f7; min-height: 100vh; display: flex; flex-direction: column; }

/* Container */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header */
.main-header { background-color: #003366; padding: 16px 0; color: #fff; }
.header-container { display: flex; margin-left: 20px; margin-right: 20px; align-items: center; justify-content: space-between; }

.logo img { width: 40px; margin-left: 1px; margin-right: 5px; }
.logo { display: flex; align-items: center; text-decoration: none; color: #fff; font-size: 24px; font-weight: bold; }

/* Navigation */
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 20px; }
.main-nav ul li a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 5px; }
.main-nav ul li a:hover,
.main-nav ul li a.active { background-color: #0055aa; }

/* Welcome Section */
.welcome-section { padding: 20px; flex: 1; }

/* Suppliers Section */
.suppliers-section { padding: 20px; flex: 1; }

/* Hamburger Menu */
.hamburger { display: none; font-size: 26px; background: none; border: none; color: white; cursor: pointer; }

/* Shop Page */
.shop-main { display: flex; flex-wrap: wrap; padding: 20px; gap: 20px; }
.shop-sidebar { width: 200px; background: #ffffff; padding: 15px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.shop-sidebar h2 { margin-bottom: 15px; }
.shop-sidebar ul { list-style: none; }
.shop-sidebar ul li { margin: 10px 0; cursor: pointer; }
.shop-sidebar.large-screen { display: block; }
.shop-sidebar.small-screen { display: none; }
@media (max-width: 768px) { .shop-sidebar.large-screen { display: none; }
                            .shop-sidebar.small-screen { display: block; margin: 20px 0; } }
.shop-sidebar.small-screen select { width: 100%; padding: 10px; font-size: 16px; }

.product-list { display: flex; flex-wrap: wrap; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.product-item { background: #fff; padding: 15px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); text-align: center; }
.product-item img { width: 100%; height: 100px; object-fit: contain; margin-bottom: 8px; }
.product-item button { background-color: #003366; color: white; padding: 8px 12px; border: none; border-radius: 5px; cursor: pointer; }
.product-item button:hover { background-color: #0055aa; }

/* Cart */
.cart-icon { position: relative; }
.cart-icon span { background-color: red; color: white; font-size: 12px; border-radius: 50%; padding: 2px 6px; position: absolute; top: -10px; right: -10px; }
.cart-main { padding: 20px; flex: 1; }
#cart-items { margin-bottom: 20px; }
.cart-item { display: flex; justify-content: space-between; background: white; padding: 15px; margin-bottom: 10px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
.cart-item button { background-color: red; color: white; border: none; padding: 5px 10px; cursor: pointer; border-radius: 5px; }

/* Footer */
.footer { display: flex; flex-wrap: wrap; justify-content: space-around; background-color: #003366; color: white; padding: 14px; line-height: 1.3em; }
.footer-container { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-around; }
.footer-section { flex: 1 1 200px; margin: 8px; line-height: 1.25em; }
.footer-col { flex: 1 1 200px; }
.footer-col h4 { margin-bottom: 10px; }
.ft-time-row { font-size: 12px; display:flex; justify-content:space-between line-height: 1.25em; }
.ft-time-col1 { flex-direction: column; width: 76px }
.ft-time-col2 { flex-direction: column; width: 120px }


/* Responsive */
@media (max-width: 768px) {
  .main-nav ul { display: none; flex-direction: column; background-color: #003366; position: absolute; top: 60px; right: 10px; padding: 20px; border-radius: 8px; }
  .main-nav ul.show { display: flex; }
  .hamburger { display: block; }
  .shop-main { flex-direction: column; }
  .shop-sidebar { width: 20px; }
  .shop-sidebar ul { display: none; flex-direction: column; background-color: #003366; position: absolute; top: 60px; right: 10px; padding: 20px; border-radius: 8px; }
  .shop-sidebar ul.show { display: flex; }
  .product-list { grid-template-columns: 1fr 1fr; }
}


#services {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.service-block {
  margin-bottom: 40px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.service-block h3 {
  color: #2a4d7f;
}

.service-block ul {
  margin-left: 20px;
}

/* The alert message box */
.alert {
  padding: 20px;
  background-color: #f44336; /* Red */
  color: white;
  margin-bottom: 15px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.checkout-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  background: #f8f8f8;
  border-radius: 8px;
}

.checkout-section {
  margin-bottom: 25px;
}

.checkout-section h2 {
  margin-bottom: 10px;
  color: #003366;
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  box-sizing: border-box;
}

.btn-submit {
  background-color: #003366;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  border-radius: 5px;
}

.btn-submit:hover {
  background-color: #0055aa;
}

.confirmation-message {
  font-size: 20px;
  text-align: center;
  color: green;
  margin-top: 30px;
}
