/* ==========================================================
   8. HOME PAGE SECTIONS & FOOTER
   ========================================================== */

/* --- Common Section Styles --- */
.section-header { margin-bottom: var(--sp-12); }
.section-title { font-size: 2.2rem; color: var(--clr-text-main); margin: 15px 0; }
.section-subtitle { font-size: 1.1rem; color: var(--clr-text-muted); max-width: 600px; margin: 0 auto; }
.bg-light { background-color: var(--clr-primary-100); }
.text-center { text-align: center; }
.mt-3 { margin-top: 15px; }
.mb-3 { margin-bottom: 15px; }

/* --- Premium Services Cards --- */
.premium-card {
  background: var(--clr-surface);
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: var(--trans-normal);
}
.premium-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--clr-primary-300); }
.card-img-wrap { position: relative; height: 240px; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.premium-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-icon {
  position: absolute; bottom: -24px; right: 24px;
  width: 56px; height: 56px; background: var(--clr-primary-500); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--clr-surface); z-index: 2;
}
.card-icon svg { width: 24px; height: 24px; }
.card-content { padding: 35px 24px 24px; }
.card-content h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--clr-primary-900); }
.card-content p { color: var(--clr-text-muted); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.card-link { font-weight: 700; color: var(--clr-primary-500); display: inline-flex; align-items: center; }

/* --- About Section --- */
.about-visual { position: relative; }
.about-img { border-radius: var(--rad-lg); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.exp-badge {
  position: absolute; bottom: 30px; left: -20px;
  background: white; padding: 20px; border-radius: var(--rad-md);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 15px; border-right: 4px solid var(--clr-primary-500);
}
.exp-num { font-size: 2.5rem; font-weight: 900; color: var(--clr-primary-500); line-height: 1; }
.exp-text { font-weight: 700; color: var(--clr-text-main); font-size: 0.9rem; line-height: 1.4; }
.check-list { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { position: relative; padding-right: 30px; font-weight: 700; color: var(--clr-primary-900); }
.check-list li::before {
  content: '✓'; position: absolute; right: 0; top: 2px;
  width: 20px; height: 20px; background: var(--clr-primary-100); color: var(--clr-primary-700);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem;
}
@media (max-width: 768px) { .exp-badge { left: 10px; bottom: 10px; padding: 15px; } }

/* --- Reviews Section --- */
.review-card {
  background: var(--clr-surface); padding: var(--sp-6); border-radius: var(--rad-lg);
  border: 1px solid var(--clr-border); box-shadow: var(--shadow-sm);
}
.review-card .stars { color: #F59E0B; letter-spacing: 2px; }
.review-card p { font-style: italic; color: var(--clr-text-muted); margin-bottom: 20px; min-height: 80px; }
.reviewer { display: flex; align-items: center; gap: 15px; border-top: 1px solid var(--clr-border); padding-top: 15px; }
.reviewer-avatar { width: 45px; height: 45px; background: var(--clr-primary-300); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }

/* --- CTA Section --- */
.cta-box {
  background: linear-gradient(135deg, var(--clr-primary-900) 0%, var(--clr-primary-500) 100%);
  border-radius: var(--rad-lg) var(--rad-lg) 0 0; padding: var(--sp-12) var(--sp-8);
  text-align: center; color: white; box-shadow: 0 -10px 30px rgba(2, 132, 199, 0.2);
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 15px; color: white; }
.cta-content p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* --- Footer --- */
.site-footer { background: var(--clr-surface); padding-top: var(--sp-12); border-top: 1px solid var(--clr-border); }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.footer-links a { color: var(--clr-text-muted); transition: var(--trans-fast); font-weight: 300; }
.footer-links a:hover { color: var(--clr-primary-500); padding-right: 5px; }
.footer-contact h4, .footer-links h4 { color: var(--clr-primary-900); font-size: 1.2rem; margin-bottom: 15px; }
.footer-bottom { border-top: 1px solid var(--clr-border); padding: 20px 0; text-align: center; margin-top: var(--sp-8); }
.text-sm { font-size: 0.85rem; }

/* ==========================================================
   9. SCROLL REVEAL ANIMATIONS
   ========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* تاخیر برای نمایش کارت‌ها به صورت ترتیبی (Stagger) */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* افکت زوم نرم برای عکس بخش درباره ما */
.reveal-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================
   NEW SECTIONS FOR HOME PAGE (Video, Counters, Brands)
   ========================================================== */

/* --- Video Tour Section --- */
.video-section {
  position: relative; border-radius: var(--rad-lg); overflow: hidden;
  margin: var(--sp-12) 0; box-shadow: var(--shadow-md);
}
.video-cover {
  width: 100%; height: 500px; object-fit: cover; display: block;
}
.video-overlay {
  position: absolute; inset: 0; background: rgba(12, 74, 110, 0.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: white; padding: 20px;
}
.play-btn {
  width: 80px; height: 80px; background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 2px solid white; color: white; cursor: pointer; transition: var(--trans-normal);
  margin-bottom: 20px;
}
.play-btn:hover { background: var(--clr-primary-500); transform: scale(1.1); border-color: var(--clr-primary-500); }
.play-btn svg { width: 30px; height: 30px; margin-left: 5px; } /* تنظیم برای آیکون پلی */
.video-overlay h3 { font-size: 2rem; margin-bottom: 10px; }

/* --- Counters Section --- */
.counter-wrapper {
  background: white; border: 1px solid var(--clr-border); border-radius: var(--rad-lg);
  padding: var(--sp-8); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-6); text-align: center; box-shadow: var(--shadow-sm); margin: var(--sp-12) 0;
}
.counter-item { padding: 15px; }
.counter-num { font-size: 3rem; font-weight: 900; color: var(--clr-primary-500); line-height: 1; margin-bottom: 10px; display: block; }
.counter-text { font-size: 1rem; color: var(--clr-text-muted); font-weight: 700; }

/* --- Brands/Materials Section --- */
.brands-section { padding: var(--sp-8) 0; background-color: var(--clr-primary-100); text-align: center; margin-bottom: var(--sp-12); }
.brands-section p { color: var(--clr-text-muted); margin-bottom: 25px; font-weight: 700; }
.brands-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.brand-item { filter: grayscale(100%) opacity(0.6); transition: var(--trans-fast); width: 120px; }
.brand-item:hover { filter: grayscale(0%) opacity(1); }