/* تنظیمات پایه */
body {
  background-color: #f0f0f0;
  font-family: 'Tahoma', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  direction: rtl;
  font-size: 16px;
}

h1, h2, h3 {
  color: #222;
  text-align: center;
}

p, a {
  color: #333;
  font-size: 1rem;
  text-align: justify;
  line-height: 1.8;
}

a {
  color: #007acc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* سربرگ */
header {
  background-color: #fff;
  padding: 20px 10px;
  border-bottom: 2px solid #ccc;
}

.header-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 100px;
  height: auto;
  border-radius: 8px;
}

/* بخش‌ها */
section {
  background-color: #fff;
  margin: 20px auto;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  max-width: 900px;
}

/* گالری‌ها */
.gallery,
.gallery-bafteh,
.gallery-rang {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 15px;
}

.gallery img,
.gallery-bafteh img,
.gallery-rang img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* فوتر */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.95rem;
  margin-top: 30px;
}

footer a {
  color: #fff;
  margin: 0 5px;
}

footer a:hover {
  text-decoration: underline;
}

/* بنر کوکی */
#cookie-banner {
  font-size: 0.95rem;
  background-color: #222;
  color: white;
  padding: 12px;
  text-align: center;
  z-index: 9999;
  position: fixed;
  bottom: 0;
  width: 100%;
}

#cookie-banner button {
  background-color: #007acc;
  color: white;
  border: none;
  padding: 6px 15px;
  cursor: pointer;
  border-radius: 5px;
}

#cookie-banner button:hover {
  background-color: #005fa3;
}

/* ریسپانسیو */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.4rem;
  }

  .logo {
    width: 70px;
  }

  section {
    padding: 15px;
    margin: 10px;
  }

  p, a {
    font-size: 0.95rem;
  }

  .gallery,
  .gallery-bafteh,
  .gallery-rang {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}
