﻿/* 🌐 تنظیمات پایه فارسی */
HTML, body {
  font-family:  'Vazirmatn', sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  padding: 0;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
  height: 100%
}

/* 🟢 سربرگ با آرم متحرک از چپ به راست */
header {
  position: relative;
  height: 100px;
  background-color: #416a32;
  color: white;
  overflow: hidden;
  padding-top: 20px;
}

.warpper {
    display: flex;
    flex-direction: column;
    min-height : 100VH;
}

main {
    flex: 1;
}

.logo-container {
  position: absolute;
  top: 15px;
  right: 20px; /* جای‌گیری گوشه راست */
  display: flex;
  align-items: center;
  gap: 15px;
  animation: fromLeftToRight 1.5s ease-out forwards;
  z-index: 10; /* جلوتر از nav */
}

.logo-container img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: rotate(-5deg) scale(1.05);
}

.logo-container h1 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  white-space: nowrap;  
  font-family: "Vazir", Tahoma, sans-serif;
}

/* 🌀 انیمیشن ورود آرم از سمت چپ */
@keyframes fromLeftToRight {
  0% {
    transform: translateX(-100vw);
    opacity: 0;
  }
  60% {
    transform: translateX(20px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

/* 📋 منوی ناوبری کشویی فارسی */
nav {
  background-color: #333;
  direction: rtl;
  text-align: right;
  padding:0 20px;
  z-index: 1;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  /*flex-direction: row-reverse;  ترتیب راست به چپ */
  justify-content: flex-start; /* نمایش از سمت راست */
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  color: white;
  padding: 14px 20px;
  text-decoration: none;
}


.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  color: white;
  padding: 14px 20px;
  text-decoration: none;
}

.nav-menu li a:hover {
  background-color: #416a32;
}


.nav-menu a.active {
  background-color: #416a32;
  color:white;
  font-weight : bold;
  /*border-bottom : 3px solid #fff;*/
  border-bottom : 3px solid #416a32;
} 

.dropdown-menu {
  display: none;
  list-style: none;  /* ⛔ حذف نقطه پیش‌فرض لیست */
  padding: 0;
  margin: 0;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #444;
  min-width: 180px;
  z-index: 5;
}

.dropdown-menu li a {
  padding: 12px 16px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* 📱 واکنش‌گرایی برای موبایل */
@media (max-width: 600px) {
  .logo-container h1 {
    font-size: 1.2rem;
  }

  .logo-container img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;       /* پس‌زمینه سفید */
  padding: 5px;                  /* فضای داخلی برای زیبایی */
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

  .nav-menu {
    flex-direction: column;
    align-items: flex-end;
  }
}
.nav-icon {
  width: 18px;
  height: 18px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 🔄 چرخش نرم و دائمی آیکون گردونه */
.spinning-icon {
  animation: spinWheel 3s linear infinite;
  transform-origin: center center;
}

@keyframes spinWheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@font-face {
  font-family: "Vazir";
  src: url("fonts/Vazir.woff2") format("woff2");
}

h1 {
  font-family: "Vazir", Tahoma, sans-serif;
}

.text-gardone2-light
{
	color: #bccfa0 !important;
}

footer {
  background-color: #416a32;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.95rem;
  position: relative;
}

.social-links {
  margin-top: 10px;
}

.social-links a {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.instagram-icon:hover {
  transform: scale(1.2) rotate(-5deg);
}



.wb-bg-banner
{
    height: 60vh;
    background: #0c3e06 ;
    /*
    background: -webkit-linear-gradient( 
        to right
        #2c5364,
        #204353,
        #0f2355 );
    background:linear-gradient(
        to right
        #2c5364,
        #204353,
        #0f2355 );*/
}

.wb-mt-section
{
    padding-top:58px !important;
}


.text-gardone-dark
{
	color: #5e930a !important;
}

.text-gardone2-dark
{
	color: #2b4403 !important;
}

.text-gardone-light
{
	color: #739b37 !important;
}

.text-gardone2-light
{
	color: #bccfa0 !important;
}

.bg-gardone1
{
	background:#5e930a !important;
}


.bg-gardone2
{
	background:#f59c17 !important;
}

.bg-gardone-dark
{
	background:#0c3e06 !important;
}

.btn-outline-gardone-dark
{
	color: #2b4403 !important; 
	border-color: #2b4403 !important; 
}


.Section_Lab {
padding: 10px 20px 10px 20px
}
.UseSection {
padding: 8px 20px 20px 20px
}