/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #1f1f1f;
  color: #fff;
}
nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
}
nav a:hover {
  color: #ff4081;
}

/* Hero */
.hero {
  background: url('https://img.freepik.com/free-photo/anime-moon-landscape_23-2151645903.jpg?uid=R154664640&semt=ais_hybrid&w=740') center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
  align-items: center;
  justify-content: center;
  height: 700px;
}
.hero .btn {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 20px;
  background: #ff4081;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

/* Slider */
.slider {
  margin: 10px auto;
  display: flex;
  overflow: hidden;
  height: 600px;
  width: 40%;
  position: relative;
}
.slide {
  width: 100%;
  display: none;
}
.slide.active {
  display: block;
}

/* Featured Products */
.featured {
  padding: 40px 20px;
  text-align: center;
}


.product-grid {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-items: center;
  gap: 20px;
  margin-top: 20px;
}
.product-card {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.product-card img {
  max-width: 100%;
  height: fit-content;
  border-radius: 5px;
}

/* Footer */
footer {
  background: #1f1f1f;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}
/* Products page stylings  */
.products-page {
  padding: 40px 20px;
  text-align: center;
}
.products-page h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.btn-buy {
  background: #ff4081;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
}
.btn-buy:hover {
  background: #e73370;
}

/* about page stylings */
.about-page {
  padding: 40px 20px;
  text-align: center;
}
.about-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.about-intro p {
  max-width: 800px;
  margin: 10px auto;
  line-height: 1.6;
  color: #555;
}

/* Team Section */
.team-section {
  margin-top: 40px;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}
.team-member {
  width: 600px;
}
.team-member img {
  width: 400px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}
.team-member h3 {
  margin: 10px 0 5px;
}
.team-member p {
  color: #777;
}

/* Contact Page */
.contact-page {
  padding: 40px 20px;
  text-align: center;
}
.contact-page h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.contact-footer {
  margin-top: 20%;
}
form {
  max-width: 800px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
form input,
form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
form button {
  background: #ff4081;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}
form button:hover {
  background: #e73370;
}
.form-msg {
  margin-top: 15px;
  font-weight: bold;
  color: green;
}

.collection{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.productstuff{
    display: grid;
    grid-template-columns: 400px 400px 400px;
    grid-template-rows: 500px 500px;
    grid-template-areas:
        "product1 product2 product3"
        "product4 product5 product6"
        "product7 product8 product9";
    gap: 20px;
}

.product1 {
    grid-area: product1;
}
.product2 {
    grid-area: product2;
}
.product3 {
    grid-area: product3;
}
.product4 {
    grid-area: product4;
}
.product5 {
    grid-area: product5;
}
.product6 {
    grid-area: product6;
}
.product7 {
    grid-area: product7;
}
.product8 {
    grid-area: product8;
}
.product9 {
    grid-area: product9;
}