@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;700&display=swap");

::selection {
  background-color: #FF6B6B;
  color: #fff;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #F9ED69;
    color: #2C2C2C;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
}


.navbar {
    padding: 20px;
    border-bottom: 2px dashed #FFAB91;
    background-image: -webkit-linear-gradient(62deg,rgba(255,180,180,1.00) 0%,rgba(255,180,180,1.00) 30.88%,rgba(249,237,105,1.00) 41.66%,rgba(254,254,254,1.00) 54.51%,rgba(255,255,255,1.00) 100%);
    background-image: -moz-linear-gradient(62deg,rgba(255,180,180,1.00) 0%,rgba(255,180,180,1.00) 30.88%,rgba(249,237,105,1.00) 41.66%,rgba(254,254,254,1.00) 54.51%,rgba(255,255,255,1.00) 100%);
    background-image: -o-linear-gradient(62deg,rgba(255,180,180,1.00) 0%,rgba(255,180,180,1.00) 30.88%,rgba(249,237,105,1.00) 41.66%,rgba(254,254,254,1.00) 54.51%,rgba(255,255,255,1.00) 100%);
    background-image: linear-gradient(28deg,rgba(255,180,180,1.00) 0%,rgba(255,180,180,1.00) 30.88%,rgba(249,237,105,1.00) 41.66%,rgba(254,254,254,1.00) 54.51%,rgba(255,255,255,1.00) 100%);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar h2 {
  font-size: 28px;
  color: #FF6B6B;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar img {
  width: 48px;
  height: auto;
}

.search-box input {
  padding: 10px 14px;
  border: 2px solid #FF6B6B;
  border-radius: 10px;
  background-color: #FFEAEA;
  font-size: 16px;
  color: #2C2C2C;
  outline: none;
}

.search-box input::placeholder {
  color: #FF6B6B;
}

.navbar ul {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.navbar a {
  text-decoration: none;
  color: #2C2C2C;
  font-size: 18px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
  color: #FF6B6B;
  transform: scale(1.1);
}


.hero h1 {
  font-size: 36px;
  margin-top: 40px;
  color: #FF6B6B;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #444;
}


.gallery {
  position: relative;
  height: 420px;
  margin: 40px auto;
  width: 90%;
  max-width: 900px;
  overflow: hidden;
  background: linear-gradient(90deg, #E0F7FA, #FFFDE7);
  border: 2px dashed #FFAB91;
  border-radius: 12px;
}

.img {
  position: absolute;
  top: 20px;
  left: 800px;
  width: 280px;
  animation: slideLoop 9s ease-in-out infinite;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: #ffffff;
  padding: 8px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.img2 { animation-delay: 2s; }
.img3 { animation-delay: 4s; }

.img:hover {
  transform: scale(1.05);
  opacity: 0.95;
}

@keyframes slideLoop {
  0%   { transform: translateX(800px); opacity: 0; }
  20%  { transform: translateX(400px); opacity: 0.5; }
  40%  { transform: translateX(0);     opacity: 1; }
  60%  { transform: translateX(-200px); opacity: 1; }
  80%  { transform: translateX(-500px); opacity: 0.6; }
  100% { transform: translateX(-800px); opacity: 0; }
}


.article-pixel {
  background-color: #FFFDE7;
  border: 2px dashed #FF6B6B;
  margin: 40px auto;
  padding: 24px;
  width: 90%;
  max-width: 760px;
  border-radius: 12px;
}

.article-pixel h2 {
  font-size: 24px;
  color: #FF6B6B;
  margin-bottom: 16px;
}

.article-pixel p {
  font-size: 18px;
  line-height: 2;
  color: #2C2C2C;
}

.article-pixel img {
  margin-top: 16px;
  width: 100%;
  max-width: 720px;
  border-radius: 10px;
  border: 2px dashed #FFAB91;
}


.banner {
  width: 90%;
  margin: 20px auto;
  max-width: 900px;
}

.banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px dashed #C9CCD5;
  background-color: #ffffff;
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 90%;
  max-width: 980px;
  margin: 30px auto;
}

.product-gallery img {
  width: calc(25% - 20px);
  min-width: 180px;
  height: auto;
  border: 2px dashed #FFAB91;
  padding: 10px;
  background-color:#E4D8DC;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
}

.product-gallery img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}



.footer {
  background-color:#FFE3E3 ;
  padding: 30px 20px;
  font-size: 16px;
  border-top: 2px dashed #FFAB91;
  margin-top: 50px;
  animation: fadeInUp 2s ease-in-out	
o}

.footer .footer-inner {
  max-width: 980px;
  margin: 0 auto;
}

.footer .brand {
  color: #FF6B6B;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 22px;
  animation: pulse 3s infinite
}

.footer .links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 10px
  0 16px;
}

.footer .links a {
  text-decoration: none;
  color: #2C2C2C;
  font-weight: bold;
transition: color 0.3s ease, transform 0.3s ease;	
}
footer .links a:hover {
  color: #FF6B6B;
  transform: scale(1.1)
}


.footer .copy {
  color: #555;
  font-size: 14px;
}


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); color: #FF6B6B; }
  50% { transform: scale(1.1); color: #FF8A80; }
  100% { transform: scale(1); color: #FF6B6B; }
}
