@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/peyada-extralight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/peyada-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Peyda';
  src: url('f/Peyda-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

body {
  font-family: 'Peyda', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
}

.logo {
  height: 50px;
  max-width: 100%;
}

.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #6c1616;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar.active {
  right: 0;
}

/* Header inside sidebar */
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-logo {
  height: 40px;
}

.close-btn {
  font-size: 30px;
  cursor: pointer;
  color: #f4b400;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #fff;
}


.sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #6c1616;
  color: #fff;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.4);
  transition: right 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  direction: rtl; 
  text-align: right;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar-logo {
  height: 40px;
}

.close-btn {
  font-size: 30px;
  cursor: pointer;
  color: #f4b400;
  transition: color 0.3s ease;
}
.close-btn:hover {
  color: #fff;
}

.sidebar-menu {
  list-style: none;
  padding: 30px 0;
}

.sidebar-menu li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 15px 30px;
  transition: background 0.3s ease;
}

.sidebar-menu li:hover {
  background: rgba(255, 255, 255, 0.1);
}

.sidebar-menu a {
  text-decoration: none;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Peyda', sans-serif;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color 0.3s ease;
}

.sidebar-menu a:hover {
  color: #f4b400;
}

.sidebar-menu i {
  color: #f4b400;
  font-size: 1.3rem;
  order: 1; /* آیکون در سمت راست قرار گیرد */
  margin-left: 10px;
}

/* Footer */
.sidebar-footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  opacity: 0.8;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}


.menu-icon img {
  width: 35px;
  cursor: pointer;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  text-align: center;
}

.phoenix {
  width: 700px;
  max-width: 70%;
    position: fixed;
  top: 30%;
  right: 140px;
}

.tagline {
  font-size: 2.2rem;
  color: #f4b400;
  margin-top: 15px;
  font-weight: 600;
}

.languages {
  position: absolute;
  top: 82%;
  left: 50px;
  display: flex;
  gap: 15px;
}

.languages .lang img {
  width: 55px;
  cursor: pointer;
  transition: transform 0.3s ease;
  
}

.languages .lang img:hover {
  transform: scale(1.1);
}

.social {
  position: fixed;
  top: 78%;
  right: 35px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.social img {
  width: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.social img:hover {
  transform: scale(1.15);
}

@media (max-width: 1024px) {
  header {
    padding: 20px 30px;
  }

  .phoenix {
    position: static; 
    width: 350px;
    margin: 0 auto;
    display: block;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: auto;
    margin-top: 80px;
  }

  .tagline {
    font-size: 1.8rem;
    margin-top: 15px;
  }

  .languages {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
  }

  .social {
    position: static;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 25px;
    margin-top: 25px;
    transform: none;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .logo {
    height: 40px;
  }

  .menu-icon img {
    width: 30px;
  }

  .phoenix {
    position: static;
    width: 260px;
    margin: 0 auto;
    display: block;
  }

  .hero {
    margin-top: 70px;
  }

  .tagline {
    font-size: 1.5rem;
    margin-top: 10px;
  }

  .languages {
    position: static;
    justify-content: center;
    margin-top: 35px;
    gap: 15px;
  }

  .social {
    position: static;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .phoenix {
    width: 200px;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .languages .lang img {
    width: 45px;
  }

  .social img {
    width: 35px;
  }
}
