/* ===== General Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

header nav a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #00f0ff;
}

/* ===== Collections Section ===== */
#collections {
  text-align: center;
  padding: 40px 20px;
}

#collections h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

#collections p {
  color: #555;
  margin-bottom: 30px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
  transition: transform 0.3s ease;
}

.card h3 {
  font-size: 16px;
  font-weight: 600;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
}

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

/* ===== Developer Glow Animation ===== */
.developer img {
  border-radius: 12px;
  animation: color-glow 3s infinite alternate; /* Auto glow with color change */
  transition: transform 0.3s ease;
}

.developer img:hover {
  transform: scale(1.08);
}

/* ===== Footer ===== */
.social-footer {
  background: #111;
  text-align: center;
  padding: 20px;
  color: #fff;
  margin-top: 50px;
}

.social-icons {
  margin-bottom: 10px;
}

.social-icons img {
  width: 40px;
  margin: 0 10px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  animation: color-glow 3s infinite alternate; /* Auto glow with color change */
}

.social-icons img:hover {
  transform: scale(1.1);
}

/* Multi-color changing glow */
@keyframes color-glow {
  0% {
    box-shadow: 0 0 15px #00f0ff, 0 0 30px #00f0ff;
  }
  25% {
    box-shadow: 0 0 15px #ff00ff, 0 0 30px #ff00ff;
  }
  50% {
    box-shadow: 0 0 15px #ff9900, 0 0 30px #ff9900;
  }
  75% {
    box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00;
  }
  100% {
    box-shadow: 0 0 15px #ff0000, 0 0 30px #ff0000;
  }
}

.social-footer p {
  font-size: 14px;
  color: #ccc;
}
