/* Base styles & animation fade-in */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  font-family: 'Montserrat', sans-serif;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #111;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #007BFF;
}

.hero {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: slideInDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: slideInUp 1s ease-out;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #007BFF;
  transform: translateY(-3px);
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.products {
  padding: 80px 10%;
  text-align: center;
}

.products h2 {
  margin-bottom: 50px;
  font-size: 2.2rem;
  font-family: 'Montserrat', sans-serif;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.product-card {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 10px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-card img {
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.product-card img:hover {
  transform: scale(1.05);
}

.product-card h3 {
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

footer {
  text-align: center;
  padding: 30px 10%;
  background: #f8f8f8;
  margin-top: 60px;
  font-size: 0.9rem;
}
.buy-btn {
  margin-top: 15px;
  width: 100%;
  text-align: center;
}
