:root {
  --primary: #047857;
  --secondary: #D1D5DB;
  --accent: #FBBF24;
  --bg: #ffffff;
  --text: #333333;
  --font: 'Vazirmatn', sans-serif;
}



body {
  margin-top: 75px;
  padding: 0;
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  direction: rtl;
}

/* کانتینر اصلی */
.container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
/* لوگو */
#logo {
  background-color: var(--bg);
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* هدر */
#header {
  background-color: var(--primary);
  color: var(--bg);
  height: 550px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 450%;;
}

/* درباره */
#about {
  background-color: #E6F4F1; /* کمرنگ‌شده‌ی primary */
  color: var(--text);
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  text-align: center;
}


#note {
  height: 300px;
  width: 100%;
  position: relative;
  background-color: var(--bg); /* پس‌زمینه اصلی */
  overflow: hidden;
}
/* لایه پس‌زمینه */
#note .background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #E6F4F1;
  z-index: 0;
}
/* نوار مورب داخل note */
#rol {
  height: 300px;
  width: 100%;
  background-color: var(--primary);
  color: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  /* clip-path: polygon(100% 0, 100% 50%, 0 100%, 0 50%); */
  /*
1-  از بالا راست میشه عدد اول و به صورت عقربه های ساعت
2-از چپ به راست می شه صفر تا صد
3-از بالا به پایین می شه صفر تا صد

  *//*
  clip-path: polygon(100% 20%, 100% 40%, 0 30%, 0 50%); */
  clip-path: polygon(100% 20%, 100% 50%, 0 65%, 0 35%);

}


/* clip-path :  path("M10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80") ;  */
/* سرویس */
#slide {
  height: 250px;
  background-image: url('store.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* افکت پارالاکس */
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--bg); /* متن سفید یا رنگ دلخواه */
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.5); /* خوانایی بیشتر روی تصویر */
  text-align: center;
}

/* آیکون‌ها */
#icon {
  background-color: var(--bg);
  height: 250px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
}

#icon img {
  height: 75px;
  filter: invert(25%) sepia(90%) saturate(500%) hue-rotate(120deg); /* رنگ آیکون به primary */
}


.icon-wrapper {
  position: relative;
  width: 260px;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* زمینه‌ی مورب پشت آیکون */
.icon-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #E6F4F1;
  clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
  z-index: 0;
}

/* آیکون اصلی */
.icon-wrapper img {
  position: relative;
  width: 130px;
  height: 130px;
  z-index: 1;
  filter: invert(25%) sepia(90%) saturate(500%) hue-rotate(120deg); /* رنگ به primary */
}
@media screen and (max-width: 768px) {
.icon-wrapper {
  width: 160px;
  height:100px;
}
/* آیکون اصلی */
.icon-wrapper img {
  width: 70px;
  height: 50px;
}
}

/* خدمات */
#service {
  background-color: var(--primary);
  color: var(--secondary);
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

#service blockquote {
  font-family: 'Vazirmatn' !important;
  font-style: italic;
  border-right: 3px solid var(--accent);
  padding-right: 10px;
  font-size: 75%;
}

#service li{
 font-size: 125%;   
}

/* تماس */
#contact {
  background-color: var(--bg);
  padding:50px 0px;
  text-align: center;
  height: 500px;
}

#contact h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

a[href^="tel:"] {
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
}

.form-container{
    margin-top: 50px;
    padding: 0 10px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input, textarea {
  padding: 10px;
  border: 1px solid var(--secondary);
  border-radius: 5px;
  font-family: var(--font);
}

button {
  background-color: var(--primary);
  color: var(--bg);
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-family: var(--font);
}

.form-label {
    font-size: 200%;
}

input::placeholder,
textarea::placeholder {
  text-align: right;
}


#captcha {
  margin: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

#captcha span {
  font-weight: bold;
  color: var(--primary);
}

#formMessage {
  margin-top: 10px;
  color: var(--primary);
  font-weight: bold;
}

#div-footer{
  height: 75px;
  background-color: #fff;
  width: 100%;
}

@media screen and (max-width: 768px) {
  #div-footer{
  height: 65px;
  }
}

/* فوتر */
#footer {
  background-color: var(--primary);
  color: var(--secondary);
  /* height: 175px; */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* margin-bottom: 100px; */
}

#footer-menu {
  position: sticky;
  bottom: 0;
  height: 80px;
  width: 100%;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-top: 5px solid var(--accent); /* ✅ خط بالای منو */
  padding: 0 10px;

}

@media screen and (max-width: 768px) {
#footer-menu {
  height: 50px;
  padding: 0 7px;
  gap: 0px;
}
}

#footer-menu.show {
  opacity: 1;
  pointer-events: auto;
}


/* لینک‌ها */
#footer-menu a {
  width: 150px;
  text-align: center;
  color: var(--secondary);
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font);
  padding: 10px 0;
  transition: background-color 0.3s ease;
}


/* افکت هاور */
#footer-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

#footer-menu img{
  height: 50%;
}



#scrollTopBtn {
  position: fixed;
  bottom: 100px; /* بالای منو */
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  color: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  opacity: 0.3;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
}

#scrollTopBtn:hover {
  opacity: 0.8;
  transform: scale(1.1);
}



/* موبایل: تمام‌عرض */
@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    padding: 0 0;
  }
}


