﻿﻿html, body {
  overflow-x: hidden;
}


.hero.hero-image {
  position: relative;
  overflow: hidden;
}

.hero.hero-image .hero-img {
  width: 90%;
  height: 100%;
  object-fit: cover;       /* 👈 cover hero area */
  object-position: center;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}

/* Slight overlay for contrast if needed */
.hero.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,15,26,0.2),
    rgba(10,15,26,0.6)
  );
  pointer-events: none;
}

@media (max-width: 600px) {
  .hero.hero-image {
    height: 260px;   /* better mobile hero height */
  }

  .hero.hero-image .hero-img {
    object-position: center top; /* keeps logo visible */
  }
}


/* ================= FILTERS ================= */
.filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.4s;
  transform-style: preserve-3d;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand);
  color: var(--black);
  transform: translateY(-5px) translateZ(10px);
  box-shadow: 0 12px 30px rgba(255,107,0,0.45);
}

/* ================= PRODUCTS ================= */
.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr)); /* 👈 max 4 */
  gap: 24px;
  padding: 0 24px 60px;
}


/* ================= CARD (WEIRD SHAPE + 3D) ================= */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
              var(--dark-soft);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 4px 12px rgba(243, 114, 59, 0.35),
    0 0 10px rgba(255, 107, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.card .content {
  padding: 16px 16px 18px;  /* ✅ better spacing */
  display: flex;
  flex-direction: column;
  gap: 8px;
}


.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 18px 40px rgba(255,107,0,0.35),
    0 0 30px rgba(255,107,0,0.18);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.card:hover img {
  transform: scale(1.05);
}



.logo:hover{
 transform:rotate(4deg);
}
#email{
  color:var(--brand);
}

.content h3 {
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 10px;
}
#link{
  color:var(--brand);
}
.content p {
  opacity: 0.8;
  line-height: 1.6;
  flex: 1;
}

.price {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 12px 0;
}
.whatsapp-link {
  color: var(--brand);
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-link i {
  font-size: 24px;
}

.whatsapp-link:hover {
  color: var(--brand);
}
.map-link {
  color: #ff6b00;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.map-link:hover {
  text-decoration: underline;
}
.add-cart {
  padding: 14px;
  background: var(--brand);
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
}

.add-cart:hover {
  background: #ff944d;
  transform: scale(1.1) translateZ(10px);
  box-shadow: 0 12px 30px rgba(255,107,0,0.5);
}


/* Social Links */
    .social-section {
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid hsla(220, 15%, 20%, 0.5);
    }

    .social-title {
      font-size: 0.875rem;
      font-weight: 500;
      color: hsl(var(--text-mutedd));
      margin-bottom: 1rem;
    }

    .social-links {
      display: flex;
      gap: 0.75rem;
    }

    .social-link {
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 0.5rem;
      background: hsl(var(--brand));
      display: flex;
      align-items: center;
      justify-content: center;
      color: hsl(var(--text-mutedd));
      transition: background 0.2s, color 0.2s;
    }

    .social-link:hover {
      background: hsl(var(--brand));
      color: hsl(var(--brand));
    }

    .social-link svg {
      width: 1.25rem;
      height: 1.25rem;
    }

/* ================= ANIMATIONS ================= */
@keyframes cardIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================= RESPONSIVE ================= */


@media (max-width: 1024px) {
  .products {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 40px 70px;
  }
}

@media (max-width: 768px) {
  .products {
    grid-template-columns: 1fr;
  }

  .hero-3d-text span {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .hero-3d-text span {
    font-size: 2.3rem;
  }

  .card {
    min-height: 380px;
    clip-path: polygon(
      0% 6%, 6% 0%, 94% 0%, 100% 6%, 100% 94%, 94% 100%, 6% 100%, 0% 94%
    );

  }

    .filters {
    gap: 10px;
    padding: 0 12px;
  }

  .filter-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}
@media (max-width: 600px) {
  .hero {
    height: 300px;   /* ✅ show products faster */
  }
    .hero::before {
    width: 280px;
    height: 280px;
    top: -120px;
    left: -120px;
  }
}



/* === FIX: Prevent Products page from breaking fixed navbar on mobile === */
.hero,
.hero::before,
.hero-3d-text,
.filters {
  transform: none !important;
  transform-style: flat !important;
  perspective: none !important;
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(20, 25, 40, 0.95);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
  font-size: 0.9rem;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}
