﻿/* کانتینر اصلی */
.luxbox-container {
  width: 100%;
  max-width: 800px; /* حداکثر عرض */
  margin: 20px auto;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  direction: rtl;
  padding: 0 10px;
  box-sizing: border-box;
}

/* دکمه باز/بسته */
.luxbox-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff8e1;
  border: 2px dashed goldenrod;
  border-radius: 16px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}
.luxbox-toggle:hover {
  background-color: #fff2b0;
}

/* آیکون و متن */
.luxbox-icon {
  font-size: 36px;
  color: goldenrod;
  margin-bottom: 5px;
}
.luxbox-text {
  font-size: 16px;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* لیست آیتم‌ها */
.luxbox-list {
  margin-top: 15px;
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: luxboxFadeIn 0.5s ease forwards;
  width: 100%;
}

/* آیتم‌ها */
.luxbox-item {
  width: 100%;
  text-align: center;
  background-color: #007acc;
  border: 2px solid black;
  border-radius: 10px;
  padding: 15px;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
  box-sizing: border-box;
}
.luxbox-item:hover {
  transform: translateY(-3px);
}
.luxbox-item a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
  display: inline-block;
}

/* انیمیشن */
@keyframes luxboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ریسپانسیو */
@media (min-width: 768px) {
  .luxbox-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .luxbox-item {
    flex: 1 1 calc(50% - 12px);
  }
}
@media (min-width: 1200px) {
  .luxbox-item {
    flex: 1 1 calc(33.33% - 12px);
  }
}


body {
  font-family: sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 20px;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.box:hover {
  transform: translateY(-5px);
}

.icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #555;
}

h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

svg {
  width: 40px;
  height: 40px;
  fill: #555;
}
body {
  font-family: "Tahoma", sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.pretty-box {
  background: #fff;
  border: 3px solid purple;       /* خط ارغوانی */
  border-radius: 25px;            /* گوشه‌های بیضوی */
  padding: 25px;
  width: 100%;                    /* پر کردن عرض صفحه */
  box-sizing: border-box;         /* محاسبه padding در عرض */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25); /* سایه واضح */
}

.pretty-box h2 {
  color: purple;
  font-size: 22px;
  margin-bottom: 15px;
  text-align: center;
}

.pretty-box p {
  font-size: 15px;
  color: #333;
  text-align: justify;
  margin-bottom: 12px;
}
