/* Homepage Specific Styles */

/* Hero Slider */
.hero-slider { position: relative; width: 100%; height: 600px; overflow: hidden; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease-in-out; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, transparent 100%); z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: absolute; top: 50%; left: 8%; transform: translateY(-50%); max-width: 600px; color: white !important; z-index: 2; }
.hero-slide.active .hero-content { animation: slideInContent 0.8s ease-out; }
@keyframes slideInContent { from { opacity: 0; transform: translateY(-40%); } to { opacity: 1; transform: translateY(-50%); } }
.hero-title { font-size: 4rem !important; font-weight: 800 !important; margin: 0 0 24px 0 !important; line-height: 1.1 !important; letter-spacing: -0.02em; text-shadow: 0 4px 20px rgba(0,0,0,0.9), 0 2px 8px rgba(0,0,0,0.7) !important; font-family: 'Helvetica Neue', Arial, sans-serif !important; color: #FFFFFF !important; }
.hero-desc { font-size: 1.4rem !important; margin: 0 0 36px 0 !important; line-height: 1.6 !important; font-weight: 400 !important; text-shadow: 0 3px 12px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.6) !important; opacity: 0.98; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important; color: #FFFFFF !important; }
.hero-btn { display: inline-block; background: white; color: #1a1a1a !important; padding: 18px 44px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; font-size: 15px; letter-spacing: 0.3px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); border: 2px solid white; }
.hero-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.4); background: #f5f5f5; color: #000 !important; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: 2px solid rgba(255,255,255,0.8); cursor: pointer; transition: all 0.3s; }
.hero-dot.active { background: white; transform: scale(1.3); box-shadow: 0 0 12px rgba(255,255,255,0.8); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.95); border: none; box-shadow: 0 4px 15px rgba(0,0,0,0.3); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 20; transition: all 0.3s; }
.hero-arrow:hover { background: white; transform: translateY(-50%) scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.hero-arrow.prev { left: 30px; }
.hero-arrow.next { right: 30px; }

/* Category Cards Section */
.category-cards-section { padding: 60px 0; background: white; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { position: relative; border-radius: 0; overflow: hidden; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.08); text-decoration: none; display: block; }
.category-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.category-card img { width: 100%; height: auto; display: block; }
.category-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); padding: 25px 20px; }
.category-title { font-size: 1.5rem; font-weight: 700; color: white; margin: 0; text-align: center; }

/* Top Brands Section */
.top-brands-section { background: #f9fafb; padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: #1a1a1a; margin: 0 0 15px 0; }
.section-header p { font-size: 1.1rem; color: #666; margin: 0; }
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.brand-card { background: white; border-radius: 0; overflow: hidden; text-decoration: none; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #e5e5e5; }
.brand-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.brand-img-wrap { position: relative; padding-top: 75%; background: white; overflow: hidden; }
.brand-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.brand-info { padding: 20px; text-align: center; background: white; }
.brand-name { font-size: 1.3rem; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; }
.brand-count { font-size: 0.95rem; color: #666; margin: 0; }

/* Product Sliders */
.slider-section { padding: 60px 0; background: #fafafa; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.slider-title { font-size: 2rem; font-weight: 700; color: #1a1a1a; margin: 0; }
.slider-container { position: relative; overflow: hidden; padding: 20px 0; }
.slider-track { display: flex; gap: 24px; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); padding: 0 10px; }
.product-slider-card { flex: 0 0 280px; background: white; border-radius: 0; overflow: hidden; cursor: pointer; transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); border: 1px solid #e5e5e5; }
.product-slider-card:hover { transform: translateY(-6px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.product-img-wrap { position: relative; padding-top: 100%; background: #fafafa; overflow: hidden; }
.product-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; padding: 25px; transition: transform 0.3s; }
.product-slider-card:hover .product-img { transform: scale(1.05); }
.product-info { padding: 20px; }
.product-name { font-size: 15px; font-weight: 600; color: #1a202c; margin: 0 0 10px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.product-price { font-size: 20px; font-weight: 700; color: #1a1a1a; }
.product-meta { font-size: 13px; color: #666; margin: 8px 0; display: flex; align-items: center; gap: 6px; }
.discount-badge { position: absolute; top: 12px; right: 12px; background: #e31e24; color: white; padding: 6px 12px; border-radius: 4px; font-size: 13px; font-weight: 700; z-index: 5; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: white; border: 1px solid #e0e0e0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10; transition: all 0.2s; }
.slider-nav:hover { background: #333333; color: white; transform: translateY(-50%) scale(1.05); }
.slider-nav.prev { left: 10px; }
.slider-nav.next { right: 10px; }
.view-all-btn { padding: 12px 28px; background: #333333; color: white; text-decoration: none; border-radius: 0; font-weight: 600; font-size: 14px; transition: all 0.2s; }
.view-all-btn:hover { background: #000000; }

@media (max-width: 768px) {
    .hero-slider { height: 400px; }
    .hero-title { font-size: 2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-arrow { width: 40px; height: 40px; }
    .hero-arrow.prev { left: 10px; }
    .hero-arrow.next { right: 10px; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .slider-nav { display: none; }
}
