body {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
  background-color: #fffaf3;
}

main {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  background-color: pink;
  padding: 15px 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  box-sizing: border-box;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: black;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}

nav button {
  padding: 8px 15px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

nav button:hover,
nav a:hover {
  opacity: 0.8;
}

.cart-icon {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ff69b4;
  color: white;
  padding: 10px 15px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  z-index: 2000;
}

/* ------------------ New Cake Section Styles ------------------ */
.cake-section {
  padding: 40px 20px;
  text-align: center;
  width: 100%;
}

.cake-section h2 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.filter-container {
  margin-bottom: 20px;
}

.filter-container input,
.filter-container button {
  padding: 5px;
  font-size: 16px;
  margin: 5px;
}

.cake-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cake-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 250px;
  text-align: center;
  transition: transform 0.3s ease;
}

.cake-card:hover {
  transform: scale(1.03);
}

.cake-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.cake-card h3 {
  font-size: 20px;
  color: #444;
  margin-bottom: 10px;
}

.cake-card p {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}

.cake-card button {
  padding: 8px 16px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.cake-card button:hover {
  background-color: #ff489a;
}

/* ------------------ Login & Register Pages Custom Styles ------------------ */
.form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
}

.form-container h2 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input {
  display: block;
  margin: 10px 0;
  padding: 10px;
  width: 280px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
}

form input:focus {
  outline: none;
  border-color: #ff69b4;
}

form button {
  padding: 12px 20px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 280px;
  margin-top: 10px;
}

.cart-button{
  padding: 12px 20px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  width: 280px;
  margin-top: 10px;
  text-decoration: none;
}

.cart-button-order{
  padding: 12px 20px;
  background-color: #ff69b4;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
  width: 150px;
  margin-top: 10px;
  text-decoration: none;
}
form button:hover {
  background-color: #ff489a;
}

.order-list{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.cart-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.cart-page main {
  flex: 1;
}

.cart-page footer {
  margin-top: auto;
}

/* ------------------ Responsive Enhancements ------------------ */
@media screen and (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 10px;
  }

  .cake-list {
    flex-direction: column;
    align-items: center;
  }

  .cake-card {
    width: 90%;
  }

  .form-container h2 {
    font-size: 28px;
  }

  form input,
  form button {
    width: 90%;
  }
}

footer {
  background-color: pink;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 300px;
  text-align: center;
  margin: 10px 0;
}

.footer-center a {
  margin: 0 10px;
  color: #333;
  font-size: 24px;
  text-decoration: none;
}

.footer-center a:hover {
  color: #ff69b4;
}

.message-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #ff69b4;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}

.message-btn:hover {
  background-color: #ff85c1;
}
