@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f7fa;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
}

.header-container {
  background: linear-gradient(135deg, #1e3a5f, #3e6ba5);
  color: white;
  padding: 20px;
  text-align: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
  flex-wrap: wrap;
}

.navbar-logo img {
  height: 120px;
  width: auto;
  object-fit: contain;
  padding: 5px;
}

.navbar-links {
  display: flex;
  list-style: none;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.navbar-links a:hover {
  background-color: #ff9900;
}

.lightbox {
  display: inline-block;
  position: relative;
  text-decoration: none;
}

.lightbox img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.lightbox:hover img {
  transform: scale(1.1);
}

.lightbox:target img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
  border-radius: 8px;
}

.lightbox:target::after {
  content: "✖";
  position: fixed;
  top: 10px;
  right: 20px;
  font-size: 30px;
  color: white;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
}


.hero {
  text-align: center;
  background: linear-gradient(to right, #1e3a5f, #3e6ba5);
  color: white;
  padding: 60px 20px;
  font-size: 1.6em;
}

.category-filters {
  text-align: center;
  padding: 20px;
}

.category-buttons button {
  background-color: #34495e;
  color: white;
  padding: 12px 15px;
  border: none;
  cursor: pointer;
  margin: 5px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.category-buttons button:hover {
  background-color: #e74c3c;
}

.products-container {
  max-width: 1200px;
  margin: auto;
  padding: 25px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 25px;
}

.button-warning {
  background-color: #ffc107;
  color: #333;
}

.button-warning:hover {
  background-color: #e0a800;
}

.button-disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}


.product-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.product-price {
  font-size: 1.3em;
  color: #27ae60;
  font-weight: bold;
}

.product-info {
  font-size: 1em;
  color: #555;
  margin-bottom: 15px;
}

.add-to-basket, .info-button, .checkout-button, .update-btn, .remove-item {
  display: inline-block;
  padding: 12px 15px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
  color: white;
  transition: background-color 0.3s ease;
}

.add-to-basket { background-color: #ff9900; }
.add-to-basket:hover { background-color: #e67e22; }

.info-button { background-color: #2980b9; }
.info-button:hover { background-color: #1e5799; }

.checkout-button { background-color: #1e3a5f; }
.checkout-button:hover { background-color: #163250; }

.basket-container, .checkout-container, .auth-container, .confirmation-container {
  max-width: 800px;
  margin: auto;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.basket-table, .checkout-table {
  width: 100%;
  border-collapse: collapse;
}

.basket-table th, .basket-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

.basket-table th {
  background: #1e3a5f;
  color: white;
}

.update-quantity {
  width: 60px;
  text-align: center;
}

.remove-item {
  background-color: #c0392b;
  color: white;
  padding: 6px 12px;
  border-radius: 5px;
}

.remove-item:hover {
  background-color: #922b21;
}

.total-price {
  font-size: 1.6em;
  font-weight: bold;
  color: #27ae60;
  text-align: right;
}

.about-container, .founder-container, .customer-focus {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.about-content, .founder-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.about-content img, .founder-content img {
  max-width: 350px;
  border-radius: 10px;
}

.orders-container {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.button-primary {
  background-color: #007bff;
}

.button-primary:hover {
  background-color: #0056b3;
}

.button-success {
  background-color: #28a745;
}

.button-success:hover {
  background-color: #218838;
}

.button-danger {
  background-color: #dc3545;
}

.button-danger:hover {
  background-color: #c82333;
}


.order-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.order-card h3 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #1e3a5f;
}

.order-card p {
  font-size: 1rem;
  color: #444;
}

.order-item-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 5px;
  margin-right: 10px;
}

@media (max-width: 768px) {
  .orders-container {
    padding: 20px;
  }
  .order-card {
    padding: 15px;
  }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .navbar-logo img { height: 90px; }
  .about-content, .founder-content { flex-direction: column; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .navbar { flex-direction: column; }
  .hero { padding: 40px 15px; }
  .category-buttons button { width: 100%; }
}
.button, .btn, a.btn {
  display: inline-block;
  padding: 10px 15px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  color: white;
}

.button-primary, .btn-primary, a.btn-primary {
  background-color: #007bff;
}

.button-primary:hover, .btn-primary:hover, a.btn-primary:hover {
  background-color: #0056b3;
}

.button-success, .btn-success, a.btn-success {
  background-color: #28a745;
}

.button-success:hover, .btn-success:hover, a.btn-success:hover {
  background-color: #218838;
}

.button-danger, .btn-danger, a.btn-danger {
  background-color: #dc3545;
}

.button-danger:hover, .btn-danger:hover, a.btn-danger:hover {
  background-color: #c82333;
}

.button-warning, .btn-warning, a.btn-warning {
  background-color: #ffc107;
  color: #333;
}

.button-warning:hover, .btn-warning:hover, a.btn-warning:hover {
  background-color: #e0a800;
}

.button-disabled, .btn-disabled, a.btn-disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

a.btn {
  text-align: center;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
}

.btn-danger {
  display: inline-block;
  text-align: center;
  margin: 10px 0;
}

td a.btn {
  margin: 5px;
  display: inline-block;
}


