/* general look */
body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #f5f5f5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

/* jello layout container */
#page-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

#allcontent {
  width: 80%;
  max-width: 1100px;
  min-width: 700px;
  margin: 40px auto;
  background-color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.2);
  padding: 30px;
}

/* header + nav */
header {
  text-align: center;
  border-bottom: 2px solid #444;
  padding-bottom: 20px;
}

h1 {
  color: gold;
  font-size: 2.8em;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #ccc;
  font-weight: bold;
  transition: color 0.3s;
}
nav a:hover { color: gold; }

/* hero */
.hero {
  position: relative;
  margin-top: 30px;
}
.hero-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlay h2 {
  color: gold;
  font-size: 2.2em;
  text-shadow: 0 0 10px black;
}

/* intro */
.intro {
  text-align: center;
  margin-top: 40px;
}
.intro h2 {
  color: gold;
  margin-bottom: 15px;
}

/* collections */
.collections {
  text-align: center;
  margin-top: 60px;
}
.collection-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}
.collection {
  flex: 1;
  min-width: 250px;
  background-color: #222;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
  transition: transform 0.3s;
}
.collection:hover { transform: scale(1.05); }
.collection img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* philosophy section */
.philosophy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 60px;
}
.philosophy .text {
  flex: 1;
}
.philosophy .image {
  flex: 1;
}
.philosophy img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

/* newsletter */
.newsletter {
  text-align: center;
  margin: 70px 0;
}
.newsletter input {
  padding: 10px;
  width: 250px;
  border: none;
  border-radius: 5px;
  margin-right: 10px;
}
.newsletter button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: gold;
  color: black;
  font-weight: bold;
  cursor: pointer;
}
.newsletter button:hover {
  background-color: #f2d35b;
}

.product-grid {
  display: flex;
  flex-wrap: nowrap; /* prevents wrapping */
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  overflow-x: auto; /* allows scrolling horizontally if screen is small */
}
.product {
  width: 260px;
  background-color: #222;
  border-radius: 10px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.15);
  transition: transform 0.3s;
}
.product:hover {
  transform: scale(1.05);
}
.product img {
  width: 90%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* footer */
footer {
  text-align: center;
  border-top: 2px solid #444;
  padding-top: 20px;
  margin-top: 30px;
  color: #aaa;
}
