* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.page {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page.fade {
  opacity: 0;
}

.navbar {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 160px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: top 0.4s ease, opacity 0.4s ease;
  z-index: 900;
}

.navbar nav {
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
  padding: 6px 0;
}

.navbar a:hover {
  color: #ed7bab;
}

.navbar a.active {
  color: #ed7bab;
  border-bottom: 2px solid #ed7bab;
}


.logo {
  position: fixed;
  top: 50px;
  width: 84px;
  height: auto;
  transition: top 0.4s ease, opacity 0.4s ease, transform 0.5s ease;
  z-index: 1001;
}

.logo-left {
  left: 40px;
  top: 45px;
}

.logo-right {
  right: 40px;
}

.logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.navbar.hide,
.logo.hide {
  top: -100px;
  opacity: 0;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 48px;
  color: #333;
  transition: transform 0.3s ease;
}

.hero h1:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  line-height: 1.6;
}

.shop-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #fff6f9;
}

.shop-section h2 {
  font-size: 42px;
  color: #333;
  margin-bottom: 16px;
}

.shop-section p {
  font-size: 18px;
  color: #666;
  max-width: 600px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

 .shop-area {
      position: relative;
      width: 100%;
      max-width: 300px;
      margin: 0 auto;
      height: 400px;
    }

  .shop-area img {
      position: absolute;
      width: 100px;
      user-select: none;
      cursor: grab;
    }

  .shop-shelf {
      width: 100%;
      max-width: 300px;
      left: 50%;
      transform: translateX(-50%);
      bottom: 130;
    }

.product {
  position: absolute;
  cursor: grab;
  transition: transform 0.2s ease;
}

.product[alt="Tomato"],
.product[alt="Pudding"], 
.product[alt="Apple"],
.product[alt="Star"],
.product[alt="Fishcake"],
.product[alt="Flower"] {
  width: 80px;
}

.draggable-area {
  position: relative;
  height: 500px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border: 2px dashed #ed7bab50;
  border-radius: 20px;
  background-color: #fff;
  overflow: hidden;
}

.draggable {
  position: absolute;
  cursor: grab;
  transition: transform 0.2s ease;
}

.draggable:active {
  cursor: grabbing;
  transform: scale(1.05);
}

.draggable:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.projects-section {
  padding: 80px 10%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project {
  display: flex;
  align-items: center;
  gap: 40px;
}

.project-left {
  flex-direction: row;
}

.project-right {
  flex-direction: row-reverse;
}

.project img {
  width: 50%;
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.project-text {
  width: 50%;
}

.project-text h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #333;
}

.project-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
}

.projects-section img {
  width: 250px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}


.see-more {
  display: inline-block;
  padding: 10px 24px;
  background-color: #ed7bab;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
  text-decoration: none;
}

.see-more:hover{
  background-color: #d56697;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); 
}

footer {
  background-color: #ed7bab;
  color: #f9f9f9;
  padding: 30px 24px;
  text-align: center;
  font-size: 14px;
}


@media (max-width: 768px) {
  .logo {
    width: 50px;
  }

  .navbar {
    padding: 12px 100px;
  }

  .navbar nav {
    gap: 24px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .projects-section {
    padding: 40px 5%;
    gap: 60px;
  }

  .project {
    flex-direction: column !important;
  }

  .project img,
  .project-text {
    width: 100%;
  }

  .project-text h2 {
    font-size: 22px;
  }

  .project-text p {
    font-size: 14px;
  }

  .see-more {
    font-size: 12px;
    padding: 8px 20px;
  }
}
