/* --- Variables & Reset --- */
:root {
  --primary-red: #d32f2f;
  --dark-red: #b71c1c;
  --light-red: #ffebee;
  --text-dark: #212121;
  --text-grey: #616161;
  --bg-light: #fafafa;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(211, 47, 47, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Vazirmatn", sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Typography & Buttons --- */
h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.4;
}
.text-center {
  text-align: center;
}
.mt-20 {
  margin-top: 20px;
}
.mt-30 {
  margin-top: 30px;
}
.w-100 {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary-red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--dark-red);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-primary-outline {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: transparent;
}
.btn-primary-outline:hover {
  background: var(--primary-red);
  color: var(--white);
}

.btn-secondary {
  background: var(--text-dark);
  color: var(--white);
}
.btn-secondary:hover {
  background: #000;
  transform: translateY(-3px);
}

.btn-outline-red {
  border-color: var(--primary-red);
  color: var(--primary-red);
  background: transparent;
}
.btn-outline-red:hover {
  background: var(--primary-red);
  color: var(--white);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* --- Header --- */
#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--primary-red);
}
.logo i {
  font-size: 2rem;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-size: 1.6rem;
  font-weight: 900;
}
.brand-slogan {
  font-size: 0.75rem;
  color: var(--text-grey);
  font-weight: 500;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
}
.nav-menu a {
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 5px 0;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-red);
  cursor: pointer;
}

/* --- Hero Section --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #fff 60%, var(--light-red) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}
.hero-title .highlight {
  color: var(--primary-red);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 0;
  width: 100%;
  height: 12px;
  background: rgba(211, 47, 47, 0.1);
  z-index: -1;
  border-radius: 4px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-grey);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-badges {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.badge-item {
  background: var(--white);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
}
.badge-item i {
  color: var(--primary-red);
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
}
.hero-image img {
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: pulse 2s infinite;
}
.badge-1 {
  top: 10%;
  left: -20px;
  color: var(--primary-red);
}
.badge-2 {
  bottom: 20%;
  right: -20px;
  color: #2e7d32;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* --- About Section --- */
.about-section {
  padding: 100px 0;
}
.section-header {
  margin-bottom: 60px;
}
.sub-title {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 1rem;
  display: block;
  margin-bottom: 10px;
}
.title {
  font-size: 2.5rem;
  color: var(--text-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.video-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--primary-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 10px rgba(211, 47, 47, 0.2);
}

.about-text p {
  color: var(--text-grey);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.stat-box {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid #eee;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-red);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-grey);
  font-weight: 600;
}

/* --- Products Section --- */
.products-section {
  padding: 100px 0;
}
.bg-light {
  background-color: var(--bg-light);
}

.product-slider-container {
  position: relative;
  display: flex;
  align-items: center;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--primary-red);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-btn:hover {
  background: var(--primary-red);
  color: white;
}
.prev-btn {
  right: -20px;
}
.next-btn {
  left: -20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;
  scrollbar-width: none; /* Firefox */
}
.product-grid::-webkit-scrollbar {
  display: none;
} /* Chrome/Safari */

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  min-width: 260px;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .card-img img {
  transform: scale(1.1);
}

.tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-red);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.card-body {
  padding: 20px;
  position: relative;
}
.card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.weight {
  color: var(--text-grey);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.add-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  background: transparent;
  color: var(--primary-red);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.add-btn:hover {
  background: var(--primary-red);
  color: white;
}

/* --- Reviews Section --- */
.reviews-section {
  padding: 100px 0;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.review-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary-red);
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.reviewer-info img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--light-red);
}
.reviewer-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.stars {
  color: #ffc107;
  font-size: 0.8rem;
}
.review-text {
  color: var(--text-grey);
  font-style: italic;
  font-size: 0.95rem;
}

/* --- Contact Section --- */
.contact-section {
  padding: 100px 0;
}
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-box {
  padding: 50px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 14px;
  border: 2px solid #eee;
  border-radius: 12px;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg-light);
}
.form-control:focus {
  border-color: var(--primary-red);
  outline: none;
  background: var(--white);
}

.map-box {
  min-height: 400px;
  background: #eee;
  position: relative;
}
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-grey);
}
.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--primary-red);
  opacity: 0.5;
}

/* --- Footer --- */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  color: white;
  margin-bottom: 20px;
}
.footer-logo i {
  color: var(--primary-red);
}
.brand-col p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

.footer-col h4 {
  margin-bottom: 25px;
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-red);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col a {
  color: #aaa;
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--primary-red);
  padding-right: 5px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}
.contact-list i {
  color: var(--primary-red);
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
  font-size: 0.85rem;
}

/* --- Animations Classes --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in-left {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease-out;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease-out;
}
.visible {
  opacity: 1;
  transform: translate(0);
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 30px;
  }
  .hero-badges {
    justify-content: center;
  }
  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 40px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
    z-index: 999;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 25px;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-hidden {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-box {
    padding: 30px 20px;
  }
}
