/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { direction: rtl; }
body {
  font-family: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, Arial, sans-serif;
  background: #ffffff;
  color: #1f1f1f;
  line-height: 1.8;
}

/* Layout */
.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

main .container { padding:  25px 0 25px ; }
.page { padding: 56px 0; }
.page-head { padding: 40px 0 26px; }
.page-head h1 { font-size: 34px; margin-bottom: 8px; }
.page-head p { color: #555; }

/* Header */
.transparent-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 10;
}
.solid-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  gap: 18px;
}

.brand { text-align: left; color: #fff; }
.brand.dark { color: #111; }
.brand-title { font-weight: 800; letter-spacing: 2px; font-size: 18px; }
.brand-sub { font-size: 12px; opacity: 0.9; }

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.95;
  transition: .2s;
}
.nav.dark a { color: #111; opacity: 0.9; }
.nav a:hover { opacity: 0.7; }
.nav a.active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

/* Hero Banner */
.hero-banner {
  height: 55vh;
  min-height: 320px;

  background-image: url("../images/banner-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;

  background-color: #ffffff; /* pure white */

  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.hero-actions {
  position: relative;
  z-index: 2;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 14px 28px;
  background: #ff6a00;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s;
}
.btn-primary:hover { filter: brightness(1.06); }

/* Home sections */
.intro {
  padding: 40px 0 15px ;
  text-align: center;
}
.intro h2 { font-size: 30px; margin-bottom: 12px; }
.intro p { max-width: 860px; margin: 0 auto; color: #444; direction: rtl;text-align: right;}

.features {
  padding: 25px 0 56px ;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature {
  background: #FFE5CC;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px;position: relative; padding-right: 28px; color: #cc4e00; }
.feature p { color: #555; }
.feature h3::before {
  content: "✔";
  position: absolute;
  right: 0;
  top: 2px;

  color: #ff6a00; /* same orange as button */
  font-weight: bold;
  font-size: 18px;
}
/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 56px;
}
.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  overflow: hidden;
}
.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.card h3 { padding: 14px 16px 6px; font-size: 18px; }
.card p { padding: 0 16px 16px; color: #555; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-bottom: 56px;
}
.contact-card {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
}
.contact-form {
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  outline: none;
  font-family: inherit;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form button { border: none; cursor: pointer; }

/* Footer */
footer {
  background: #111;
  color: #fff;
  padding: 18px 0;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0.95;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.footer-links a:hover { opacity: 1; }
.dot { padding: 0 10px; opacity: 0.6; }

/* Responsive */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .hero-banner { height: 40vh; padding-bottom: 36px; min-height: 250px;}
}
