:root {
  --primary-color: #007BFF;
  --accent-color: #FFC107;
  --text-color: #333;
  --bg-color: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazir','Roboto', sans-serif;
  text-decoration: none;
  color: var(--text-color);
}

body {
  background: var(--bg-color);
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.header {
  background: white;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

.logo {
  padding: 5px;
  background: rgb(239, 239, 240);
  text-align: center;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu a {
  color: var(--text-color);
  transition: color 0.3s;
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.menu a:hover,
.menu a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  background: url('../images/hero.jpg') center/cover no-repeat;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.btn {
  background: var(--accent-color);
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  display: inline-block;
  margin-top: 1rem;
}

.features-preview {
  padding: 30px 0;
}

.features-preview h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}

.footer {
  background: #222;
  color: white;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;
}


@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 30px;
    left: 0;
    background: white;
    width: 100%;
    display: none;
    flex-direction: column;
    padding: 1rem 0;
  }
  .menu.show {
    display: block;
  }
  .menu ul {
    flex-direction: column;
    align-items: right;
    padding-right: 2rem;
  }
  .hamburger {
    display: block;
  }
  .images {
        max-width: 100%;
        height: auto;
    }
}