@font-face {
  font-family: estedad;
  src: url(../fonts/Estedad.woff2);
}

:root {
  --color1: #C7B299;
  --color2: #a9957d;
  --color3: #675640;
  --color4: #A68B5B;
  --color5: #483507;
  --color6: #F5EFE7;
  --color7: #ebe5dd;
  --color8: #c2bdb5;
  --color9: #4D4D4D;
  --color10: #797979;
}
* {
  box-sizing: border-box;
}

html, body {
  scroll-behavior: smooth;
}

html {
  font-size: 17px;
}

body {
  font-family: estedad, tahoma;
  background-color: var(--color7);
}

::selection {
  background-color: var(--color4);
  color: white;
}
a {
  text-decoration: none;
  color: var(--color9);
}

a:hover {
  color: var(--color5);
}
h1, h2, h3, h4 {
  color: var(--color3);
  text-shadow: 1px 1px 4px rgba(139, 69, 19, 0.2);
  padding: 10px;
  margin: 10px 0;
  border-radius: 30px;
}

p {
  line-height: 1.6rem;
}
main{
	width:950px;
	min-height:1000px;
	margin:0 auto;
	display: grid;
	grid-template-columns: 200px auto;
	grid-template-rows: 241px auto auto;
	grid-template-areas: 
	'header header'
	'aside article'
	'footer footer'
	;
	gap: 10px;
	background-color: transparent;
	padding:10px;
}

/* header */
/*.header {
  background-color: var(--bg-color, #f4ecdf);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  direction: rtl;
}*/
.header {
  background-color: var(--bg-color, #f4ecdf);
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  direction: rtl;
  flex-wrap: wrap; /* رسپانسیو */
  gap: 10px;
  border-radius: 12px;
}

.logo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 500px;
  padding: 10px 40px;
}

.logo {
  width: 90px;
  height: auto;
  border-radius: 50%;
}

.brand {
  text-align: center;
  margin-left: auto;
}

.brand h1 {
  font-size: 1.8rem;
  color: #5b4636;
  margin: 0;
  font-weight: 700;
}

.brand p {
  font-size: 1.05rem;
  color: #7b6652;
  margin: 0;
  white-space: nowrap;
}
aside {
  grid-area: aside;
  background-color: var(--color7);
  border: none;
  width:230px;
  box-shadow: none;
  padding: 15px;
  margin-top: 40px;
  border-radius: 10px;
}
article {
  grid-area: article;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 15px 20px;
  text-align: justify;
  line-height: 2;
  margin-top: 0;
  color: #4a3a26;
  font-size: 1.05rem;}
.video-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-items: right;
  padding: 20px;
  background-color: transparent;
  border-radius: 20px;
  margin: 20px auto;
  width: 90%;
}
article h2, article h3 {
 color: #3c2f1b;
 border-bottom: 2px solid #e0c9a6;
 padding-bottom: 5px;
 margin-bottom: 15px; }

article img {
  display: block;
  margin: 20px auto;
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.footer-clean {
  grid-area: footer;
  background-color: transparent;
  color: var(--color5);
  font-family: estedad, Tahoma, sans-serif;
  text-align: center;
  padding: 25px 10px;
  letter-spacing: 4px;
  border: none !important;
  box-shadow: none !important;
}

.footer-clean .back-to-top {
  display: inline-block;
  font-size: 20px;
  color: var(--color4);
  text-decoration: none;
  margin-bottom: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-clean .back-to-top:hover {
  transform: translateY(-5px);
  color: var(--color5);
}

.footer-clean p {
  margin: 0;
  line-height: 1.8;
  font-size: 14px;
  letter-spacing: 2px;
}
.btn-primary {
  transition: 0.3s;
  background-color: var(--color1);
  color: var(--color6);
  border-radius: 6px;
}

.btn-primary:hover {
  background-color: var(--color2);
  box-shadow: 0 4px 12px var(--color3);
}
.search-box {
    width: 150px;
    font-size: 14px;
    padding: 4px 6px;
  }
 .search-btn {
    padding: 2px 6px;
    font-size: 10px;
  }
.card {
  background-color: var(--color1);
  font-family: 'Estedad', Tahoma, sans-serif;
  border-radius: 12px;
  padding: 20px;
  margin: 10px auto;
  max-width: 500px;
  line-height: 1.9;
  text-align: right;
  transition: transform 0.3s ease;
  border: none !important;
  box-shadow: none !important;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  height: auto;
}

.card-title {
  color: var(--color5);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card-text {
  font-size: 15px;
  color: black;
  line-height: 1.9;
}

.read-more {
  margin-right: 11px;
  color: var(--color5);
  font-weight: bold;
}

.read-more:hover {
  color: var(--color3);
  text-decoration: underline;
}
#gallery {
  text-align: center;
}

#gallery img {
  border: 7px solid var(--color6);
  box-shadow: 0px 0px 5px silver;
}

#gallery img:hover {
  transform: translate(-5px, -5px);
}
.logo {
  width: 200px;
  animation: pop 1s ease;
}

@keyframes pop {
  from { opacity: 0; transform: scale(0.5) rotate(-15deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
.mt-6 { margin-top: 4rem !important; }

@media (max-width: 992px) {
  .logo-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .logo {
    width: 100px;
  }

  .brand h1 {
    font-size: 1.5rem;
  }

  .brand p {
    font-size: 0.95rem;
  }

  main {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
      'header'
      'article'
      'aside'
      'footer';
  }

  aside {
    margin-top: 20px;
  }
}

@media screen and (max-width: 500px) {
  main {
    grid-template-columns: auto;
    grid-template-rows: repeat(4, auto);
    grid-template-areas:
      'header'
      'article'
      'aside'
      'footer';
    gap: 5px;
  }

  .header {
    padding: 10px 20px;
  }

  aside, article {
    margin-top: 5px !important;
  }

  .logo-box {
    gap: 20px !important;
  }
}

.title {
  background-color: var(--color5);
  color: var(--color6);
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 15px 30px;
  border-radius: 12px;
  width: 100%;
  margin: 30px auto;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: default;
}

.title:hover {
  background-color: var(--color4);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
}
.main-section {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr; /* article و aside */
  gap: 20px;
  align-items: start;
}

.content {
  position: relative;
  background-color: #f9f6ef;
  padding: 20px;
  border-radius: 12px;
}

.sidebar {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
}
.btn-brown {
  background-color: #4e3b07;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  border: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-brown:hover {
  background-color: var(--color4);
  color:white;
  transform: translateY(-2px);
}
.video-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  justify-items: center;
  margin: 40px auto;
  max-width: 900px;
}

.video-gallery video {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.video-gallery video:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .video-gallery {
    grid-template-columns: 1fr;
  }
}
/* حذف کامل نقطه‌های اضافی لیست‌ها */
aside ul {
  list-style-type: none !important;
  margin: 0;
  padding: 0;
}

aside li {
  list-style-type: none !important;
  position: relative;
  padding-right: 10px;
}
aside > ul > li:first-child::before {
  content: "•";
  color: #4e3b07;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
}
aside ul ul li::before {
  content: none !important;
}
@media (max-width: 768px) {
  aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    width: 90%;
  }

  aside .btn,
  aside .card,
  aside ul {
    width: 100%;
    max-width: 400px;
  }
}
 .footer-links {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
  }

  .footer-links a {
    text-decoration: none;
    color: #5a4632;
    margin: 0 8px;
  }

  .footer-links a:hover {
    text-decoration: underline;
    color: #3e2d1c;
  }