
/* === Reset and Base Styles === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* === Header === */
header {
  background-color: #ffffff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  flex-wrap: wrap;
}

header h1, header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #27ae60;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  font-weight: 500;
  color: #333;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #27ae60;
  border-bottom: 2px solid #27ae60;
}

/* === Hero Section === */
.hero {
  background: url('homeImagePic.png') center/cover no-repeat;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  max-width: 90%;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #111;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #333;
}

/* === Section Layout === */
.section {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1e293b;
  position: relative;
}

.section h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #27ae60;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

/* === Products Grid === */
.products-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 1rem;
}

.product-info h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #1e293b;
}

.product-info p {
  font-size: 0.95rem;
  color: #555;
}

.product-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
}

.product-buttons a {
  flex: 1;
  padding: 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  color: white;
}

.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn:hover {
  background: #1ebe57;
}

.call-btn {
  background: #3b82f6;
}

.call-btn:hover {
  background: #2563eb;
}

.tag {
  display: inline-block;
  background: #facc15;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* === Footer === */
footer {
  background-color: #1e293b;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
}

/* === Scroll Animation === */
.scroll-animate {
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Sticky WhatsApp Button === */
@media (max-width: 768px) {
  .sticky-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .sticky-whatsapp svg {
    width: 28px;
    height: 28px;
  }
  .sticky-whatsapp {
  text-decoration: none;
  font-size: 0;
}
}

/* === Responsive Nav === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }
}
nav a.active {
  color: #27ae60;
  font-weight: 700;
}