:root {
  --primary-color: #A3238e;
  --primary-dark: #7a0e70;
  --primary-light: #d428c5;
  --text-dark: #2d2d2d;
  --text-light: #666;
  --bg-light: #fcfcfc;
  --border-light: #eeeeee;
}

@font-face {
  font-family: peyda;
  src: url("font/Peyda-Medium.ttf") format("truetype");
}

body {
  font-family: 'peyda', sans-serif;
}

.vista-footer {
  background: radial-gradient(
    circle at top right,
    rgba(175, 6, 164, 0.02),
    transparent 32%
  ),
  linear-gradient(180deg, #fcfafc 0%, #f9f6f9 100%);
  border-top: 4px solid var(--primary-color);
  padding: 50px 0 20px 0;
  direction: rtl;
  color: var(--text-dark);
  margin-top: 60px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 0 20px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.footer-brand .footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

.footer-brand p {
  line-height: 1.8;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 20px;
  text-align: justify;
}

/* لینک‌های اجتماعی */
.social-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.social-icona {
  color: var(--primary-color);
  border: 1.5px solid var(--primary-color);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  font-weight: 500;
}

.social-icona:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(175, 6, 164, 0.2);
  i{
    color: #fff;
    transition: 0.4s ease;
  }
}

.social-icona i{
  font-size: 14px;
  color: var(--primary-color);
  margin-left: 8px;
}

/* بخش لینک‌ها */
.footer-links {
  margin-top: 20px;
}

.footer-links h4, .footer-contact h4 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 18px;
  position: relative;
  font-weight: 600;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 45px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  text-decoration: none;
  color: var(--text-dark);
  transition: all 0.5s ease;
  font-size: 14px;
  display: inline-block;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-right: 8px;
  transform: translateX(-3px);
}

/* بخش تماس */
.footer-contact {
  margin-top: 20px;
}

.footer-contact p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  color: var(--primary-color);
  width: 20px;
  font-size: 12px;
}

.phone {
  text-align: right;
}

.highlight a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.highlight a:hover {
  color: var(--primary-dark);
}

.time-phone{
  color: #7a0e70;
  font-size: 11px;
  margin-right: 5px;
}

/* کپی رایت */
.footer-copy {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
}

.dev-name {
  color: var(--primary-color);
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  margin-right: 3px;
}

.dev-name:hover {
  color: var(--primary-dark);
}


@media (max-width: 992px) {
  .footer-container {
    gap: 30px;
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .footer-brand p {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }
  
  .footer-links h4::after, 
  .footer-contact h4::after {
    right: 50%;
    transform: translateX(50%);
  }
  
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .phone {
    text-align: center;
    direction: rtl;
    justify-content: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-links ul li a:hover {
    padding-right: 0;
    transform: translateX(0);
  }
}

@media (max-width: 480px) {
  .vista-footer {
    padding: 35px 0 15px 0;
  }
  
  .footer-brand .footer-logo {
    width: 100px;
  }
  
  .social-icona {
    padding: 4px 10px;
    font-size: 11px;
  }
  
  .footer-links h4, .footer-contact h4 {
    font-size: 16px;
  }
}