﻿/* ===== CSS Variables ===== */
:root {
    --primary: #1a5276;
    --primary-dark: #0e3a56;
    --primary-light: #2980b9;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --text-dark: #2c3e50;
    --text-medium: #5d6d7e;
    --text-light: #95a5a6;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border: #e0e6ed;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: var(--text-dark); background: var(--bg-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
/* ===== Navigation ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(10px); box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06); transition: var(--transition); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 0; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; color: var(--primary); }
.logo-icon { font-size: 1.8rem; color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 5px; list-style: none; }
.nav-link { padding: 8px 16px; color: var(--text-dark); font-weight: 500; border-radius: var(--radius); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--primary-light); background: rgba(41, 128, 185, 0.08); }
.nav-cta { padding: 10px 24px; background: var(--accent); color: white !important; border-radius: var(--radius); font-weight: 600; transition: var(--transition); }
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--text-dark); }
/* ===== Hero Section ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; background: url("../images/hero/hero-banner.jpg") center center / cover no-repeat; color: white; padding: 100px 20px 60px; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.hero-content { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); opacity: 0.9; margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 800px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; line-height: 1; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; opacity: 0.8; color: #ffffff; text-shadow: 0 1px 4px rgba(0,0,0,0.3); font-weight: 600; }
/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-size: 1rem; font-weight: 600; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary-light); border-color: var(--primary-light); }
.btn-outline:hover { background: var(--primary-light); color: white; }
.btn-white { background: white; color: var(--primary); border-color: white; }
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: white; border-color: white; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-full { width: 100%; }
.text-center { text-align: center; }
/* ===== Section Styles ===== */
section { padding: 80px 0; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; text-align: center; margin-bottom: 12px; color: var(--text-dark); }
.section-subtitle { text-align: center; color: var(--text-medium); max-width: 600px; margin: 0 auto 50px; font-size: 1.05rem; }
/* ===== Features ===== */
.features { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.feature-card { background: white; padding: 40px 30px; border-radius: var(--radius-lg); text-align: center; transition: var(--transition); box-shadow: var(--shadow); }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 70px; height: 70px; font-size: 2rem; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: white; border-radius: 50%; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text-dark); }
.feature-card p { color: var(--text-medium); }
/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.product-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-image-placeholder { background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%); height: 220px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.9rem; }
.product-info { padding: 24px; }
.product-info h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-info p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 16px; }
.product-link { font-weight: 600; color: var(--primary-light); }
.product-link:hover { color: var(--primary); }
/* ===== Page Header ===== */
.page-header { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; padding: 140px 20px 60px; text-align: center; }
.page-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-header p { opacity: 0.9; font-size: 1.1rem; }
.products-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 10px 24px; background: white; border: 2px solid var(--border); border-radius: 50px; cursor: pointer; font-weight: 500; transition: var(--transition); }
.filter-btn:hover, .filter-btn.active { border-color: var(--primary-light); background: var(--primary-light); color: white; }
.products-grid-large { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; margin-bottom: 50px; }
.product-card-large { display: flex; flex-direction: column; background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.product-card-large:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-image-placeholder-large { background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%); height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.9rem; }
.product-info-large { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-tag { display: inline-block; padding: 4px 12px; background: rgba(41, 128, 185, 0.1); color: var(--primary-light); border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 12px; width: fit-content; }
.product-info-large h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-info-large p { color: var(--text-medium); font-size: 0.95rem; margin-bottom: 16px; flex: 1; }
.product-specs { list-style: none; margin-bottom: 20px; }
.product-specs li { padding: 4px 0; color: var(--text-medium); font-size: 0.9rem; }
.products-cta { text-align: center; padding: 50px 30px; background: var(--bg-light); border-radius: var(--radius-lg); }
.products-cta h3 { font-size: 1.5rem; margin-bottom: 10px; }
.products-cta p { color: var(--text-medium); margin-bottom: 20px; }
/* ===== Trust & CTA ===== */
.trust-section { background: var(--bg-light); padding: 60px 0; }
.trust-logos { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { padding: 15px 30px; background: white; border-radius: var(--radius); font-weight: 600; color: var(--text-medium); box-shadow: var(--shadow); }
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: white; text-align: center; padding: 80px 20px; }
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 15px; }
.cta-section p { opacity: 0.9; margin-bottom: 30px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* ===== About Pages ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image .image-placeholder { background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%); height: 400px; display: flex; align-items: center; justify-content: center; color: var(--text-light); border-radius: var(--radius-lg); }
.about-content h2 { font-size: 1.8rem; margin-bottom: 20px; }
.about-content p { color: var(--text-medium); margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.value-card { text-align: center; padding: 30px; }
.value-icon { font-size: 2.5rem; margin-bottom: 15px; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--text-medium); font-size: 0.95rem; }
.factory-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 50px; }
.factory-stat { text-align: center; }
.factory-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); }
.factory-label { color: var(--text-medium); }
.factory-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.factory-image-placeholder { background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%); height: 200px; display: flex; align-items: center; justify-content: center; color: var(--text-light); border-radius: var(--radius); }

/* Factory images */
.factory-images img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}
.cert-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cert-item { padding: 15px 25px; background: var(--bg-light); border-radius: var(--radius); font-weight: 600; color: var(--text-medium); }
/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; }
.contact-form-wrapper h2, .contact-info-wrapper h2 { margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius); font-size: 1rem; transition: var(--transition); font-family: inherit; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 3px rgba(41, 128, 185, 0.1); }
.contact-details { display: flex; flex-direction: column; gap: 30px; }
.contact-detail { display: flex; gap: 16px; }
.contact-icon { font-size: 1.5rem; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--bg-light); border-radius: 50%; flex-shrink: 0; }
.contact-detail h4 { margin-bottom: 4px; }
.contact-detail p { color: var(--text-medium); }
.contact-qr { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.contact-qr h4 { margin-bottom: 15px; }
.contact-qr img { max-width: 150px; width: 100%; height: auto; display: block; margin: 0 auto; }
.qr-placeholder { background: var(--bg-light); height: 180px; display: flex; align-items: center; justify-content: center; color: var(--text-light); border-radius: var(--radius); }
.form-message { margin-top: 15px; padding: 12px; border-radius: var(--radius); display: none; }
.form-message.success { display: block; background: #d4edda; color: #155724; }
.form-message.error { display: block; background: #f8d7da; color: #721c24; }
.map-placeholder { background: var(--bg-light); height: 350px; display: flex; align-items: center; justify-content: center; color: var(--text-light); border-radius: var(--radius-lg); }
/* ===== Footer ===== */
.footer { background: var(--text-dark); color: white; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer h4 { margin-bottom: 16px; font-size: 1.1rem; }
.footer p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer ul a:hover { color: white; }
.contact-info li { color: rgba(255,255,255,0.7) !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 0.9rem; }
/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .factory-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); }
    .nav-menu.active { display: flex; }
    .nav-link { width: 100%; padding: 12px 16px; }
    .nav-cta { display: block; text-align: center; margin-top: 10px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 2rem; }
    .factory-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .factory-images { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .products-grid-large { grid-template-columns: 1fr; }
    section { padding: 60px 0; }
}
@media (max-width: 480px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .trust-logos { gap: 15px; }
    .trust-item { padding: 10px 20px; font-size: 0.9rem; }
    .btn { padding: 12px 24px; font-size: 0.95rem; }
}
/* ===== Animations ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== Privacy Policy ===== */
.privacy-content { max-width: 800px; margin: 0 auto; padding: 80px 20px; }
.privacy-intro { font-size: 1.05rem; color: var(--text-medium); margin-bottom: 40px; line-height: 1.8; }
.privacy-content h2 { font-size: 1.4rem; color: var(--primary); margin-top: 40px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.privacy-content h3 { font-size: 1.1rem; color: var(--text-dark); margin-top: 24px; margin-bottom: 10px; }
.privacy-content p { color: var(--text-medium); margin-bottom: 12px; line-height: 1.8; }
.privacy-content ul { margin: 10px 0 20px 20px; color: var(--text-medium); }
.privacy-content ul li { margin-bottom: 8px; line-height: 1.7; }
.privacy-content a { color: var(--primary-light); text-decoration: underline; }
@media (max-width: 768px) { .privacy-content { padding: 60px 20px; } }
/* Hero bottom gradient to hide logo at bottom edge */
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18vh;
    background: linear-gradient(to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.02) 30%,
        rgba(255,255,255,0.15) 60%,
        rgba(255,255,255,0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}