﻿/* Reset ساده */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: #121212;
  color: #eee;
  direction: rtl;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* هدر */
header {
  background: #1f1f1f;
  padding: 15px 0;
  border-bottom: 3px solid #e67e22;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo h1 {
  font-weight: 700;
  font-size: 1.8rem;
  color: #e67e22;
}

/* منوی ناوبری */
nav ul.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul.nav-links li a {
  color: #eee;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

nav ul.nav-links li a:hover,
nav ul.nav-links li a:focus {
  color: #e67e22;
  outline: none;
}

/* بخش هرو */
.hero {
  padding: 120px 20px 100px;
  text-align: center;
}

.hero-content h2 {
  font-size: 3.2rem;
  margin-bottom: 15px;
  color: #e67e22;
  text-shadow: 0 0 10px #e67e22aa;
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
  color: #ddd;
}

.btn-primary {
  background-color: #e67e22;
  color: #121212;
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #cf711b;
  outline: none;
}

/* ویژگی‌ها */
.features {
  background: #1f1f1f;
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: #e67e22;
  margin-bottom: 50px;
  font-weight: 700;
}

.feature-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-card {
  background: #292929;
  padding: 30px 25px;
  border-radius: 18px;
  width: 280px;
  box-shadow: 0 4px 12px #e67e22aa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  user-select: none;
}

.feature-card:hover,
.feature-card:focus {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px #e67e22cc;
  outline: none;
}

.feature-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #e67e22;
}

.feature-card h3 {
  font-size: 1.5rem;
  color: #e67e22;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 1rem;
  color: #ccc;
}

/* اخبار */
.news-section {
  padding: 60px 20px;
  background: #121212;
}

.news-cards {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.news-card {
  background: #292929;
  border-radius: 14px;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 3px 10px #e67e22aa;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover,
.news-card:focus {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px #e67e22cc;
  outline: none;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-info {
  padding: 18px 20px;
  color: #eee;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #e67e22;
}

.news-info p {
  flex-grow: 1;
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.5;
}

.btn-link {
  color: #e67e22;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  align-self: flex-start;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.btn-link:hover,
.btn-link:focus {
  border-color: #e67e22;
  outline: none;
}

/* دانلود */
.download-section {
  background: #1f1f1f;
 padding: 70px 20px;
text-align: center;
}

.download-cards {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
}

.download-card {
background: #292929;
padding: 25px 20px;
border-radius: 16px;
width: 260px;
box-shadow: 0 4px 14px #e67e22aa;
display: flex;
flex-direction: column;
align-items: center;
color: #eee;
text-decoration: none;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-card:hover,
.download-card:focus {
transform: translateY(-6px);
box-shadow: 0 10px 30px #e67e22cc;
outline: none;
}

.download-card img {
width: 90px;
margin-bottom: 18px;
}

.download-card h3 {
font-size: 1.3rem;
margin-bottom: 15px;
color: #e67e22;
font-weight: 700;
}

.download-card .btn-primary {
padding: 10px 30px;
font-size: 1rem;
border-radius: 30px;
}

/* فوتر */
footer {
background: #121212;
color: #aaa;
padding: 30px 20px;
border-top: 3px solid #e67e22;
}

.footer-container {
display: flex;
justify-content: space-between;
gap: 30px;
flex-wrap: wrap;
}

footer h3 {
color: #e67e22;
margin-bottom: 12px;
font-weight: 700;
}

footer ul {
list-style: none;
}

footer ul li {
margin-bottom: 8px;
}

footer ul li a {
color: #aaa;
text-decoration: none;
transition: color 0.3s ease;
}

footer ul li a:hover,
footer ul li a:focus {
color: #e67e22;
outline: none;
}

footer p {
line-height: 1.5;
font-size: 0.9rem;
}

/* ریسپانسیو */
@media (max-width: 768px) {
.header-container {
flex-direction: column;
gap: 15px;
}
nav ul.nav-links {
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.feature-cards,
.news-cards,
.download-cards,
.footer-container {
flex-direction: column;
align-items: center;
}
.feature-card,
.news-card,
.download-card {
width: 100%;
max-width: 350px;
}
}
