/*
Theme Name: قالب ساده فارسی
Theme URI: https://example.com/
Author: یدک شاپ
Author URI: https://example.com/
Description: یک قالب ساده وردپرس به زبان فارسی با تم قرمز و مشکی
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simple-theme-fa
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    direction: rtl;
    font-family: 'IRANSans', Tahoma, sans-serif;
    line-height: 1.5;
    
    
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: normal;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #ff4d4d;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff1a1a;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    border: none;
    outline: none;
    background: none;
    color: #fff;
}

button {
    background: #ff4d4d;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #ff1a1a;
}

input,
textarea,
select {
    background: #1a1a1a;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    color: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background: #111;
    color: #fff;
}

table th,
table td {
    border: 1px solid #444;
    padding: 10px;
    text-align: right;
}

table th {
    background: #222;
}




.container {
  display: flex;
    flex-wrap: wrap;

  gap: 20px;
  padding: 20px;
}

/* بخش اصلی */
main {
  flex: 3;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}
.top-slide {
     flex: 0 0 100%; 
     background: #fff;
  padding: 20px;
  border-radius: 10px;
}
/* سایدبار */
.sidebar {
  flex: 1;
  background: #eee;
  padding: 20px;
  border-radius: 10px;
}

/* نسخه موبایل */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    order: 2; /* سایدبار زیر main بیاد */
  }

  main {
    order: 1;
  }
}


/* فوتر اصلی */
footer {
 }

/* ناحیه منوها */
footer .footer-menus {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
    background: #111;
}

/* هر ستون منو */
footer .footer-menus div {
    flex: 1 1 200px;
    padding: 10px;
}

footer .footer-menus h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ff4d4d;
}

footer .footer-menus ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-menus ul li {
    margin-bottom: 5px;
}

footer .footer-menus ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer .footer-menus ul li a:hover {
    color: #ff4d4d;
}

/* ناحیه کپی‌رایت */
footer .footer-bottom {
    text-align: center;
    padding: 10px;
    background: #1a1a1a;
    font-size: 14px;
    color: #999;
}

/* هدر سایت */
.site-header {
    background: #111;
    border-bottom: 2px solid #ff4d4d;
    padding: 10px 0;
    direction: rtl;
}

/* ظرف‌بندی */
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* لوگو */
.site-header .logo img {
    height: 50px;
}

/* منوی دستی */
.site-header .main-menu .nav {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.site-header .main-menu .nav li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
}

.site-header .main-menu .nav li a:hover {
    color: #ff4d4d;
}

.site-header .nav li a i {
    margin-left: 6px;
    color: #ccc;
    transition: color 0.3s ease;
}

.site-header .nav li a:hover i {
    color: #ff4d4d;
}

/* دکمه‌ها در فوتر یا بدنه */
.button,
.btn {
    background: #ff4d4d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    transition: background 0.3s ease;
}

.button:hover,
.btn:hover {
    background: #ff1a1a;
}




.profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 13px;
  background-color: #d50000;
  color: #fff;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.profile-btn i {
  font-size: 14px;
}

.profile-btn:hover {
  background-color: #b71c1c;
}



.no-price {
  color: #d50000;
  font-weight: bold;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.no-price i {
  font-size: 15px;
  color: #d50000;
}








.contact-card {
  max-width: 700px;
  margin: 40px auto 20px;
  padding: 25px 30px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: 'IRANSans', sans-serif;
  direction: rtl;
  color: #333;
  line-height: 1.9;
}

.contact-card h2 {
  font-size: 22px;
  color: #b30000;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-card li {
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-card i {
  color: #b30000;
  min-width: 20px;
  font-size: 18px;
  margin-top: 4px;
}

.social-card {
  max-width: 700px;
  margin: 0 auto 50px;
  padding: 20px 30px;
  background: #f9f9f9;
  border-radius: 16px;
  font-family: 'IRANSans', sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.social-card h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #444;
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 16px;
  border-radius: 12px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a span {
  font-weight: normal;
  opacity: 0.8;
  font-size: 14px;
}

.social-links a.instagram {
  background: #E1306C;
}

.social-links a.instagram:hover {
  background: #c92b60;
}

.social-links a.telegram {
  background: #0088cc;
}

.social-links a.telegram:hover {
  background: #0075b0;
}

.social-links a.whatsapp {
  background: #25D366;
}

.social-links a.whatsapp:hover {
  background: #20b356;
}

.social-links i {
  font-size: 20px;
}

@media (max-width: 600px) {
  .contact-card,
  .social-card {
    padding: 20px;
  }

  .contact-card h2,
  .social-card h3 {
    font-size: 18px;
  }

  .contact-card li,
  .social-links a {
    font-size: 15px;
  }
}