html,
body {
  height: 100%;
  margin: 0;
  overflow: clip;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #333;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* BASE CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  flex: 1 0 auto;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1000;
}

.logo {
  width: 80px;
}

.logo img {
  width: 100%;
  object-fit: cover;
}

.shop-btn {
  padding: 8px 12px;
  background-color: #00b050;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 10px;
  transition: transform 0.3s;
}

.shop-btn:hover {
  transform: scale(1.05);
}

/* MAIN CONTENT */
main {
  animation: fadeIn 1s ease-in-out;
  flex: 1 0 auto;
}

.tagline {
  color: #00b050;
  font-size: 14px;
  margin-bottom: 10px;
  display: block;
}

.title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.highlight {
  color: #00b050;
}

.desc {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: bold;
  color: #00b050;
  margin-bottom: 30px;
}

/* LOADING TEXT */
.loading {
  margin-top: 30px;
  font-size: 24px;
  color: #00b050;
  font-weight: bold;
  height: 30px;
}

/* PRODUCT IMAGES SECTION */
.products {
  position: absolute;
  bottom: 100%; /* sits exactly on top of the footer */
  left: 50%;
  transform: translateX(-50%) translateY(-1px); /* small upward push if needed */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  animation: fadeInUp 1.5s ease-in-out forwards;
  z-index: -200;
}

/* Make the images scale fluidly */
.products img {
  height: auto;
  border-radius: 15px;
  transition: all 0.3s ease;
  max-width: 300px;
  width: 100%;
}

/* Product positions (mobile default) */
.product-1 {
  transform: translateX(25%) translateY(15px) scale(0.95) rotate(-3deg);
}
.product-2 {
  transform: translateY(5px) scale(1.1);
}
.product-3 {
  transform: translateX(-35%) translateY(15px) scale(0.95) rotate(3deg);
}

.product-1,
.product-2,
.product-3 {
  width: 40vw;
  max-width: 200px;
}

.products img:hover {
  transform: scale(1.1);
  z-index: 15;
}

/* FOOTER */
footer {
  width: 100%;
  height: 180px;
  background-color: #012d12;
  flex-shrink: 0;
  position: relative;
}

/* RESPONSIVE DESIGN */
/* Medium Screens - Tablets */
@media (min-width: 768px) {
  header {
    padding: 20px 20px;
  }

  .logo {
    width: 100px;
  }

  .shop-btn {
    padding: 10px 15px;
    margin-left: 20px;
  }

  .product-1 {
    transform: translateX(30%) translateY(15px) scale(0.94) rotate(-3deg);
  }

  .product-2 {
    transform: scale(1.07);
  }

  .product-3 {
    transform: translateX(-40%) translateY(15px) scale(0.94) rotate(3deg);
  }

  footer {
    height: 120px;
  }
}

/* Large Screens - Desktop */
@media (min-width: 1024px) {
  .product-1 {
    transform: translateX(30%) translateY(15px) scale(0.95) rotate(-3deg);
  }

  .product-2 {
    transform: scale(1.1);
  }

  .product-3 {
    transform: translateX(-40%) translateY(15px) scale(0.95) rotate(3deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* @keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
} */
