/* ===============================
   فونت و تنظیمات پایه
================================*/
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: #f5f5f5;
    color: #111;
}

h1, h2, h3 {
    font-weight: 700;
}

.section {
    padding: 60px 20px;
    text-align: center;
}

.btn-gold, .btn-purple {
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: 0.3s;
}

/* ===============================
   رنگ‌ها
================================*/
:root {
    --purple: #260a3b;
    --purple-dark: #3b0065;
    --gold: #fac400d8;
    --gold-light: #400505;
}

/* ===============================
   هدر و لوگو
=============================== */
header {
  width: 100%;
  position: relative;
  background-color: #FFD700; /* پس‌زمینه زرد */
  padding-bottom: 12px;
  box-sizing: border-box;
}

/* اسم شرکت سمت چپ بالا */
.header-top {
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
}

.company-name {
  font-family: 'Vazir', sans-serif; /* فونت ایرانی وزیر */
  font-size: 16px;
  font-weight: bold;
  color: #5c0464; /* رنگ متن شرکت */
  text-align: left;
}

/* لوگو تصویر وسط هدر */
.header-center {
  width: 100%;
  display: flex;
  justify-content: center; /* وسط افقی */
  align-items: center;     /* وسط عمودی */
  margin-top:12px;
}

.logo-img {
  max-width: 150px; /* اندازه لوگو */
  height: auto;
}

/* ================= ریسپانسیو ================= */
@media (max-width: 768px) {
  .company-name {
    font-size: 16px;
  }

  .logo-img {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .company-name {
    font-size: 14px;
  }

  .logo-img {
    max-width: 90px;
  }
}

/* ===============================
   منوی مخفی
================================*/
.menu-toggle {
    position: fixed;
    right: 20px;
    top: 20px;
    background: var(--gold);
    color: rgb(207, 7, 7);
    padding: 12px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
}

.sidebar {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: var(--purple);
    color: white;
    padding-top: 50px;
    transition: 0.4s;
    z-index: 9999;
}

.sidebar.active {
    right: 0;
}

.sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 26px;
    cursor: pointer;
    color: white;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 15px 0;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.sidebar ul li a:hover {
    color: var(--gold-light);
}

/* ===============================
   صفحه اصلی (Hero Section)
================================*/
.hero {
    background: url('images/bg-home.jpg') center/cover no-repeat;
    height: 550px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(40, 0, 60, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.btn-gold {
    background: var(--gold);
    color: black;
}

.btn-gold:hover {
    background: var(--gold-light);
}

/* ===============================
   خدمات
================================*/
.services h2 {
    color: var(--purple);
}

.services-box {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-item {
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0 10px #0002;
    font-size: 22px;
}

/* ===============================
   پکیج‌ها
================================*/
.packages {
    background: #fff;
}

.packages-container {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 15px #0002;
    transition: 0.3s;
}

.package-card img {
    width: 120px;
    height: auto;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0,0,0,0.25);
}

.btn-purple {
    background: var(--purple);
    color: white;
    margin-top: 15px;
}

.btn-purple:hover {
    background: var(--purple-dark);
}

/* ===============================
   مقالات
================================*/
.articles {
    background: url('images/bg-articles.jpg') center/cover no-repeat fixed;
    color: white;
}

.article-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 30px;
    gap: 20px;
}

.article-item {
    background: rgba(0,0,0,0.45);
    padding: 25px;
    border-radius: 12px;
}
/* ===============================
   درباره ما
================================*/
.about {
    background: #fafafa;
    padding: 40px;
}

/* ===============================
   تماس با ما
================================*/
.contact {
    background: var(--purple);
    color: white;
}

.contact-box {
    margin-top: 25px;
    line-height: 2.1;
    font-size: 18px;
}

/* ===============================
   فوتر
================================*/
footer {
    text-align: center;
    padding: 20px;
    background: #222;
    color: white;
}

/* ===============================
   ریسپانسیو
================================*/
@media (max-width: 600px) {
    .hero {
        height: 420px;
    }
    .logo {
        width: 130px;
    }
}
