/* ============================================================
   Tocvue Homepage Styles
   Hero, Stats, Product Cards, Features, CTA, Partner Logos
   ============================================================ */

/* Hero Section */
.hero {
  background-image: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.85)), url('image/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-content { max-width: 800px; position: relative; z-index: 2; }
.hero-sub { color: var(--color-primary); font-size: 1rem; font-weight: 600; letter-spacing: 2px; margin-bottom: 16px; text-transform: uppercase; }
.hero-title { color: #fff; font-size: 3.2rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero-title span { color: var(--color-primary); }
.hero-desc { color: #ccc; font-size: 1.1rem; line-height: 1.7; margin-bottom: 30px; max-width: 600px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats Section */
.stats-section { background: var(--color-primary); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item h3 { font-size: 2.8rem; font-weight: 700; color: #111; margin-bottom: 5px; }
.stat-item p { font-size: 0.9rem; color: #333; text-transform: uppercase; letter-spacing: 1px; }

/* Section Header */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header .subtitle { font-size: 1.1rem; color: var(--color-primary); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* Product Cards */
.product-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.product-card img { width: 100%; height: 280px; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-card p { color: var(--color-text-light); line-height: 1.6; margin-bottom: 16px; }

/* Feature Cards */
.feature-card { background: #fff; padding: 30px; border-radius: 12px; text-align: center; border: 1px solid #eee; transition: all var(--transition); }
.feature-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-hover); }
.feature-icon { width: 70px; height: 70px; background: rgba(247,197,30,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-icon i { font-size: 1.8rem; color: var(--color-primary); }

/* Product Grid Cards */
.product-grid-card { display: block; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: all var(--transition); position: relative; }
.product-grid-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.product-grid-img { position: relative; height: 220px; background-size: cover; background-position: center; }
.product-grid-img::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.product-grid-card:hover .product-grid-img::before { opacity: 1; }
.product-grid-body { padding: 24px; }
.product-grid-body h3 { font-size: 1.4rem; margin-bottom: 12px; }
.product-grid-body p { color: var(--color-text-light); line-height: 1.6; margin-bottom: 16px; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, var(--color-primary), #e6b818); padding: 80px 0; }
.cta-section h2 { color: #111; font-size: 2.5rem; margin-bottom: 15px; }
.cta-section p { color: #333; font-size: 1.2rem; margin-bottom: 30px; }

/* Partner Logos */
.partner-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.partner-logo-item { display: flex; flex-direction: column; align-items: center; text-align: center; }

/* Product Image Hover Effects */
.product-card img { transition: transform 0.3s ease, filter 0.3s ease; aspect-ratio: 1/1; object-fit: cover; }
.product-card:hover img { transform: scale(1.05); filter: brightness(1.05); }

/* Product Card Button Size */
.product-card .btn { font-size: 0.9rem; padding: 8px 20px; }

/* Product Grid Image Hover */
.product-grid-img { transition: transform 0.3s ease; }
.product-grid-card:hover .product-grid-img { transform: scale(1.08); }

/* Section Image Animation */
.section-pad img { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.section-pad img:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

/* Client Logo Slider */
.client-logo-slider { overflow: hidden; padding: 30px 0; background: #1a1a1a; }
.client-logo-track {
  display: flex;
  gap: 60px;
  animation: slide 30s linear infinite;
  width: max-content;
}
.client-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo-item img {
  max-width: 150px;
  height: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}
.client-logo-item img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}
@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.client-logo-slider:hover .client-logo-track {
  animation-play-state: paused;
}
.client-logo-track::before,
.client-logo-track::after {
  content: '';
  flex: 0 0 auto;
  width: 1px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title { font-size: 2.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .partner-logos { gap: 30px; }
}
@media (max-width: 768px) {
  .hero { min-height: 70vh; }
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logos { gap: 20px; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 1.7rem; }
  .hero-sub { font-size: 0.85rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .partner-logos { gap: 15px; }
  .partner-logo-item i { font-size: 2rem !important; }
}
