/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #fff;
}

/* =========================
   HEADER
========================= */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  height: 70px;
}

/* Instagram icon */
.social a {
  font-size: 26px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Instagram gradient */
.social a i {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.social a:hover i {
  transform: scale(1.15);
}

/* =========================
   HERO
========================= */
.hero {
  height: 90vh;
  background: url("./images/aagamika-logo.png") center 60% no-repeat;
  background-size: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 80px;
}

.hero-tagline {
  font-size: 22px;
  opacity: 0.95;
  text-align: center;
}

/* =========================
   SEO TEXT
========================= */
.seo-text {
  padding: 50px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 15px;
  opacity: 0.75;
}

/* =========================
   COLLECTIONS (HOME)
========================= */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  padding: 60px 40px;
}

.product-card {
  background: #111;
  padding: 25px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.6);
}

.product-card img {
  width: 100%;
  height: 240px;              /* consistent card height */
  object-fit: contain;        /* 🔑 prevents zoom & blur */
  object-position: center;
  background: #000;           /* luxury frame for smaller images */
  border-radius: 12px;
  margin-bottom: 14px;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
}

/* =========================
   COLLECTION PAGES (PRODUCT GRID)
========================= */
.collection-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 60px 40px;
}

.collection-card {
  background: #111;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.collection-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
}

/* Fixed image height (DESKTOP) */
/* Product image container – consistent size */
.collection-image {
  height: 240px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

/* Image behavior – prevents over-zoom */
.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;      /* 🔑 KEY CHANGE */
  object-position: center;
  transition: transform 0.4s ease;
}

/* Luxury zoom */
.collection-card:hover img {
  transform: scale(1.03);
}

.collection-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.collection-card .item-code {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 14px;
}

/* WhatsApp button aligned */
.collection-card .wa-btn {
  margin-top: auto;
  display: inline-block;
  padding: 10px 26px;
  background: #c9a24d;
  color: #000;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.collection-card .wa-btn:hover {
  background: #ddb35f;
}

/* =========================
   ABOUT
========================= */
.about {
  padding: 100px 20px;
  max-width: 900px;
  margin: 80px auto 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  margin-bottom: 24px;
}

.about p {
  font-size: 16px;
  opacity: 0.8;
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 30px;
  text-align: center;
  opacity: 0.6;
}

/* =========================
   FLOATING WHATSAPP
========================= */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #000;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
}

/* =========================
   LARGE SCREENS – 5 IN A ROW
========================= */
@media (min-width: 1200px) {
  .products {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 10px;
  }

  .logo {
    height: 60px;
  }

  .hero {
    background-size: 360px;
    background-position: center 22%;
    padding-bottom: 80px;
  }

  .hero-tagline {
    font-size: 16px;
  }

  .collection-products {
    padding: 40px 20px;
    gap: 28px;
  }

  .collection-image {
    height: 240px;
  }
}
