/* ============ Homepage - Hero Banner ============ */
.hero { position: relative; overflow: hidden; background: #f5f5f5; height: 520px; }
.hero-slides { position: relative; height: 520px; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 520px; display: flex; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.hero-slide.active { position: relative; opacity: 1; visibility: visible; z-index: 1; }
.hero-slide-full { display: flex !important; align-items: center; justify-content: center; height: 520px; }
.hero-slide-full > img { width: 100%; height: 520px; object-fit: cover; }
.hero-image { flex: 1; background: #e8e8e8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 60px 80px; background: #f5f5f5; }
.hero-content h1 { font-size: 36px; font-weight: 700; color: #434343; margin-bottom: 20px; letter-spacing: 1px; }
.hero-content p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 30px; }
.hero-arrows { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; padding: 0 15px; transform: translateY(-50%); pointer-events: none; z-index: 5; box-sizing: border-box; }
.hero-arrows button { width: 40px; height: 40px; border: none; background: rgba(255,255,255,.8); color: #434343; font-size: 18px; cursor: pointer; pointer-events: all; transition: background .3s; border-radius: 2px; }
.hero-arrows button:hover { background: #F5A623; color: #fff; }
.hero-dots { position: absolute; bottom: 20px; right: 40px; display: flex; gap: 8px; z-index: 5; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ccc; cursor: pointer; transition: background .3s; }
.hero-dots span.active { background: #F5A623; }

/* ============ Homepage - Features Section ============ */
.features { padding: 60px 0; background: #fff; }
.features .container { display: flex; flex-direction: column; gap: 0; }
.feature-tabs { display: flex; border-bottom: 2px solid #eee; }
.feature-tab { flex: 1; display: flex; align-items: center; gap: 15px; padding: 25px 20px; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; transition: all .3s; }
.feature-tab:hover, .feature-tab.active { border-bottom-color: #F5A623; background: #fafafa; }
.feature-num { font-size: 32px; font-weight: 700; color: #ddd; line-height: 1; transition: color .3s; }
.feature-tab:hover .feature-num, .feature-tab.active .feature-num { color: #F5A623; }
.feature-info h3 { font-size: 16px; font-weight: 700; color: #434343; margin-bottom: 4px; }
.feature-info p { font-size: 12px; color: #aaa; letter-spacing: 1px; margin: 0; }
.feature-carousel { position: relative; overflow: hidden; min-height: 350px; }
.feature-slide { display: none; animation: featureFadeIn .4s ease; }
.feature-slide.active { display: flex; }
@keyframes featureFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.feature-slide-img { flex: 0 0 45%; background: #f0f0f0; overflow: hidden; }
.feature-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-slide-content { flex: 1; padding: 40px 50px; display: flex; flex-direction: column; justify-content: center; }
.feature-slide-title { margin-bottom: 20px; }
.feature-slide-title .slide-num { font-size: 42px; font-weight: 700; color: #F5A623; line-height: 1; }
.feature-slide-title h3 { font-size: 28px; font-weight: 700; color: #434343; display: inline; margin-left: 10px; }
.feature-slide-title em { display: block; font-size: 12px; color: #bbb; letter-spacing: 2px; margin-top: 6px; font-style: normal; }
.feature-slide-content h4 { font-size: 18px; color: #434343; font-weight: 600; margin-bottom: 15px; }
.feature-slide-content ul { list-style: none; padding: 0; margin: 0 0 25px; }
.feature-slide-content ul li { font-size: 14px; color: #666; line-height: 1.8; padding-left: 16px; position: relative; }
.feature-slide-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #F5A623; }
.slide-dots { display: flex; gap: 8px; }
.slide-dots span { width: 10px; height: 10px; border-radius: 50%; background: #ddd; transition: background .3s; }
.slide-dots span.active { background: #F5A623; }

/* ============ Homepage - About Section ============ */
.about-section { padding: 60px 0; background: #f5f5f5; }
.about-main { display: flex; gap: 40px; margin-bottom: 30px; background: #fff; border: 1px solid #eee; }
.about-img { flex: 0 0 40%; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content { flex: 1; padding: 35px 35px 35px 0; }
.about-content h3 { font-size: 22px; font-weight: 700; color: #434343; margin-bottom: 18px; }
.about-content p { font-size: 14px; color: #666; line-height: 1.9; margin-bottom: 12px; text-indent: 2em; }
.about-content .more-link { color: #F5A623; text-decoration: none; font-weight: 600; }
.about-content .more-link:hover { color: #e09500; }
.about-btns { display: flex; gap: 15px; margin-top: 25px; }
.btn-about { display: inline-block; padding: 10px 30px; font-size: 14px; font-weight: 600; border: 2px solid #434343; color: #434343; text-align: center; transition: all .3s; }
.btn-about:hover { background: #434343; color: #fff; }
.btn-about.primary { background: #F5A623; border-color: #F5A623; color: #fff; }
.btn-about.primary:hover { background: #e09500; border-color: #e09500; }
.about-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.gallery-item { overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.08); }

/* ============ Homepage - Products CTA ============ */
.products-cta { padding: 80px 0; background: #f5f5f5; text-align: center; }
.products-cta h2 { font-size: 32px; font-weight: 700; color: #434343; margin-bottom: 20px; line-height: 1.4; }
.products-cta p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 30px; }
.btn-cta { display: inline-block; padding: 14px 36px; background: #434343; color: #fff; font-size: 14px; font-weight: 600; border-radius: 30px; transition: background .3s; }
.btn-cta:hover { background: #222; color: #fff; }

/* ============ Homepage - Responsive ============ */
@media (max-width: 992px) {
    .hero { height: 400px; }
    .hero-slides { height: 400px; }
    .hero-slide { flex-direction: column; height: 400px; }
    .hero-slide.active { height: 400px; }
    .hero-image { flex: none; height: 200px; }
    .hero-content { padding: 30px 20px; flex: 1; }
    .hero-content h1 { font-size: 24px; }
    .hero-slide-full { height: 400px; }
    .hero-slide-full > img { height: 400px; object-fit: cover; }
    .feature-tabs { flex-wrap: wrap; }
    .feature-tab { flex: 1 1 45%; }
    .feature-slide.active { flex-direction: column; }
    .feature-slide-img { flex: none; height: 250px; }
    .feature-slide-content { padding: 30px 20px; }
    .about-main { flex-direction: column; }
    .about-content { padding: 25px; }
    .about-gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .hero { height: 350px; }
    .hero-slides { height: 350px; }
    .hero-slide { height: 350px; }
    .hero-slide.active { height: 350px; }
    .hero-image { height: 150px; }
    .hero-content { padding: 20px 15px; }
    .hero-content h1 { font-size: 20px; margin-bottom: 12px; }
    .hero-content p { font-size: 13px; margin-bottom: 20px; }
    .hero-slide-full { height: 350px; }
    .hero-slide-full > img { height: 350px; }
    .hero-arrows button { width: 36px; height: 36px; font-size: 16px; }
    .hero-dots { right: 20px; bottom: 15px; }
    .feature-tab { flex: 1 1 100%; }
    .products-cta h2 { font-size: 24px; }
    .feature-slide-title .slide-num { font-size: 30px; }
    .feature-slide-title h3 { font-size: 22px; }
    .about-gallery { grid-template-columns: 1fr; }
    .about-btns { flex-direction: column; }
}
