* {
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

body {
 
 background: url("background.png") no-repeat center center fixed;
background-size: cover;
  background-position: center;


  color: #fff;
}

.overlay {
  background: rgba(0, 0, 0, 0.65);
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* ---- هدر و لوگو ---- */
header {
  padding: 10px 0 0 0;
  width: 100%;
}

.logo {
  display: flex;
  justify-content: flex-start; /* لوگو سمت چپ */
  align-items: center;
}

/* نوار تیره زیر لوگو */
.header-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---- متن اصلی ---- */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: #FFD700;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.9);
  margin: 0;
  text-align: center;
}

.hero p {
  font-size: 1.3rem;
  color: #ddd;
  margin-top: 15px;
  text-align: center;
}

/* ---- فوتر ---- */
footer {
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  .hero p {
    font-size: 1rem;
  }
  footer {
    font-size: 0.8rem;
    text-align: center;
  }
}
