/* فونت فارسی */
@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');

body {
  font-family: 'Vazir', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  background: linear-gradient(45deg, #ff6f61, #ffcc00, #00bcd4);
  animation: colorChange 5s infinite linear;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

@keyframes colorChange {
  0% { background: #ff6f61; }
  33% { background: #ffcc00; }
  66% { background: #00bcd4; }
  100% { background: #ff6f61; }
}

.contact-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: bold;
}

.contact-strip a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

.contact-strip img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

nav {
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ff6f61;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background: url('../images/salt-banner.jpg') center/cover no-repeat;
  color: white;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
}

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.category {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.category:hover {
  transform: translateY(-5px);
}

.category img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
}

.category h3 {
  margin-top: 10px;
  font-size: 1.2em;
}

footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}