:root {
  --primary-color: #f7af68;
  --secondary-color: #465C88;
  --Background: #fff8f0;
  --text: #10375C;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--Background);
  margin: 0;
  padding: 0;
  direction: rtl;
  color: #10375C;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  background-color: #f7af68;
  padding: 10px;
  padding-right: 4%;
}

.logo .main-page{
  text-decoration: none;
  font-weight: bold;
  font-size: 1.6em;
  color: var(--text);
}

.logo a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  position: relative;
  display: inline-block;
}
.logo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--text); 
  transition: width 0.3s ease;
}

.logo a:hover::after {
  width: 100%;
}
.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 10px;
  background-color: #fff;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.header-image {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 20px;
}

h1 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 10px;
}

.meta {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 20px;
}

p {
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 20px;
}

.quote {
  background-color: #fff7ec;
  border-right: 4px solid var(--primary-color);
  padding: 15px 20px;
  font-weight: bold;
  margin: 30px 0;
  border-radius: 8px;
}

h2 {
  font-size: 20px;
  margin-top: 30px;
  color: var(--text);
}

.gallery {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.gallery img {
  width: calc(33.333% - 10px);
  border-radius: 6px;
  object-fit: cover;
}

.cta-button {
  display: inline-block;
  margin-top: 40px;
  background-color: var(--primary-color);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--primary-color);
  transform: scale(1.05);
}
/*---------------- فوتر -----------------*/
.footer-section {
  background-color: var(--text);
  color: #fff;
  padding: 40px 20px;
  font-family: 'Vazir', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
}

.footer-column h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.footer-column p,
.footer-column li {
  font-size: 15px;
  line-height: 1.8;
}

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

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffa500;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  border-top: 1px solid #555;
  padding-top: 20px;
  color: #ccc;
}
@media (max-width: 600px) {
  .logo {
    flex-direction: row;
    align-items: flex-start;
    padding: 12px;
  }

  .logo .main-page {
    font-size: 1.2em;
  }

  .logo a {
    font-size: 0.9em;
  }

  .container {
    margin: 20px auto;
    padding: 15px;
  }

  h1 {
    font-size: 22px;
  }

  p {
    font-size: 14px;
    line-height: 1.7;
  }

  h2 {
    font-size: 18px;
  }

  .gallery {
    flex-direction: row;
    gap: 10px;
  }

  .gallery img {
    width: 30%;
  }

  .cta-button {
    width: 100%;
    text-align: center;
    padding: 10px;
    font-size: 0.95em;
  }
  /* فوتر */
  .footer-container { flex-direction: row; gap: 5px;  }
  .footer-column { padding: 0 10px; }
  .footer-column h3 { font-size: 12px; }
  .footer-column p, .footer-column li ,a { font-size: 10px; line-height: 1.6; }
  .footer-bottom { font-size: 13px; padding-top: 15px; }
}

