/* ============================================
   AquaLux LED - Aquarium LED Lighting
   Responsive Styles (same design as cnclight.com)
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a2a4a;
    --primary-light: #2c4a7c;
    --accent: #f57c00;
    --accent-hover: #e65100;
    --bg: #f5f6fa;
    --bg-dark: #0f1a2e;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 32px rgba(0,0,0,0.15);
    --radius: 12px;
    --max-width: 1200px;
    --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
    display: inline-block; padding: 14px 32px; border-radius: 8px;
    font-weight: 600; font-size: 16px; cursor: pointer;
    border: none; transition: all 0.3s ease; text-align: center;
}
.btn-primary {
    background: var(--accent); color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-hover); color: var(--white);
    transform: translateY(-2px); box-shadow: 0 4px 15px rgba(245,124,0,0.3);
}
.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white); color: var(--primary);
    transform: translateY(-2px);
}

/* Header */
header {
    background: var(--primary); position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px; max-width: var(--max-width); margin: 0 auto; height: 70px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    color: var(--white); font-size: 22px; font-weight: 700; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.logo small { font-size: 12px; font-weight: 400; opacity: 0.7; display: block; }
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
    color: rgba(255,255,255,0.85); font-weight: 500; font-size: 15px;
    padding: 6px 0; border-bottom: 2px solid transparent; transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--white); border-bottom-color: var(--accent);
}
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span { width: 28px; height: 3px; background: var(--white); border-radius: 2px; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white); padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.hero::after {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,124,0,0.08) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 48px; font-weight: 800; margin-bottom: 20px;
    letter-spacing: -1px; position: relative; z-index: 1;
}
.hero h1 span { color: var(--accent); }
.hero p {
    font-size: 20px; opacity: 0.9; max-width: 700px;
    margin: 0 auto 40px; line-height: 1.6; position: relative; z-index: 1;
}
.hero-buttons {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; position: relative; z-index: 1;
}

/* Section Common */
.section { padding: 80px 0; }
.section-title {
    text-align: center; font-size: 36px; font-weight: 700;
    color: var(--primary); margin-bottom: 16px;
}
.section-subtitle {
    text-align: center; color: var(--text-light);
    font-size: 18px; max-width: 600px; margin: 0 auto 50px;
}
.section.bg-white { background: var(--white); }
.section.bg-gray { background: var(--bg); }
.section.bg-dark { background: var(--bg-dark); color: var(--white); }
.section.bg-dark .section-title { color: var(--white); }
.section.bg-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white); padding: 60px 0; text-align: center;
}
.page-banner h1 { font-size: 42px; font-weight: 800; margin-bottom: 10px; }
.page-banner p { font-size: 18px; opacity: 0.9; }

/* Features Grid */
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; margin-top: 20px;
}
.feature-card {
    background: var(--white); padding: 40px 30px; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center;
    transition: all 0.3s ease; border: 1px solid transparent;
}
.feature-card:hover {
    transform: translateY(-5px); box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.feature-icon {
    width: 64px; height: 64px; margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
}
.feature-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 12px; }
.feature-card p { color: var(--text-light); font-size: 15px; line-height: 1.6; }

/* Product Showcase */
.product-showcase {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 40px; align-items: center;
}
.product-image-wrapper {
    display: flex; justify-content: center; align-items: center;
    background: var(--white); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.product-image-wrapper img { max-height: 450px; object-fit: contain; }
.product-info h2 { font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.product-info p {
    color: var(--text-light); font-size: 16px; line-height: 1.8; margin-bottom: 20px;
}
.product-specs { list-style: none; margin-top: 20px; }
.product-specs li {
    padding: 10px 0; border-bottom: 1px solid var(--border);
    display: flex; gap: 12px; font-size: 15px;
}
.product-specs li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Model Cards */
.model-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; margin-top: 40px;
}
.model-card {
    background: white; border-radius: var(--radius); overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.model-card .img-wrap {
    background: #f8f9fa; padding: 20px; text-align: center;
    height: 220px; display: flex; align-items: center; justify-content: center;
}
.model-card .img-wrap img { max-width: 100%; max-height: 180px; object-fit: contain; }
.model-card .body { padding: 20px 24px 24px; }
.model-card .model-name {
    font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 4px;
}
.model-card .model-sub { font-size: 14px; color: #888; margin-bottom: 16px; }
.model-card .spec-list { list-style: none; padding: 0; margin: 0 0 20px; }
.model-card .spec-list li {
    padding: 6px 0; border-bottom: 1px solid #f0f0f0;
    font-size: 14px; color: #555; display: flex; justify-content: space-between;
}
.model-card .spec-list li:last-child { border-bottom: none; }
.model-card .spec-list .label { color: #999; }
.model-card .spec-list .value { font-weight: 600; color: #333; }
.model-card .btn-sm {
    display: inline-block; background: var(--accent); color: white;
    padding: 10px 24px; border-radius: 6px; text-decoration: none;
    font-size: 14px; font-weight: 600; transition: background 0.2s;
}
.model-card .btn-sm:hover { background: var(--accent-hover); }

/* Specs Table */
.specs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -20px; padding: 0 20px; }
.specs-table {
    width: 100%; border-collapse: collapse;
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); min-width: 600px;
}
.specs-table thead { background: var(--primary); color: var(--white); }
.specs-table th { padding: 16px 20px; text-align: left; font-weight: 600; font-size: 15px; }
.specs-table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.specs-table tbody tr:hover { background: #f0f4ff; }
.specs-table tbody tr:last-child td { border-bottom: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-card {
    background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-info-card h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-detail-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border-radius: 12px; display: flex; align-items: center;
    justify-content: center; font-size: 20px; flex-shrink: 0;
}
.contact-detail h4 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.contact-detail p { color: var(--text-light); font-size: 15px; }
.contact-form {
    background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; color: var(--primary); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--primary); margin-bottom: 6px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid var(--border);
    border-radius: 8px; font-size: 15px; font-family: var(--font);
    transition: border-color 0.2s; background: var(--bg);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* Stats */
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 30px; text-align: center;
}
.stat-item h2 { font-size: 42px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.stat-item p { font-size: 16px; opacity: 0.8; }

/* Footer */
footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.7);
    padding: 40px 0; text-align: center;
}
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
footer p { font-size: 14px; }
footer a { color: var(--accent); }
footer a:hover { color: var(--accent-hover); }

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 70px; left: 0; right: 0;
        background: var(--primary); padding: 20px; gap: 16px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 18px; }
    .product-showcase { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .model-grid { grid-template-columns: 1fr; }
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
}
