/* ===============================
   Global Reset
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* ===============================
   Header
================================ */
.header {
    width: 100%;
    background: linear-gradient(90deg, #0a2a43, #0f3d63);
    padding: 18px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.nav a {
    color: #cfe6ff;
    margin-left: 25px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav a:hover,
.nav a.active {
    color: #ffffff;
    border-bottom: 2px solid #fff;
    padding-bottom: 3px;
}

/* ===============================
   Banner (Homepage & Subpages)
================================ */
.banner {
    background: linear-gradient(135deg, #0a2a43, #0f3d63);
    color: #fff;
    padding: 120px 40px;
    text-align: center;
}

.banner h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.banner p {
    font-size: 20px;
    opacity: 0.9;
}

.sub-banner {
    background: linear-gradient(135deg, #0a2a43, #0f3d63);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.sub-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* ===============================
   Buttons
================================ */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: #0f3d63;
    color: #fff;
}

.btn-primary:hover {
    background: #0a2a43;
}

.btn-secondary {
    background: #e6eef7;
    color: #0f3d63;
}

.btn-secondary:hover {
    background: #d4e4f5;
}

/* ===============================
   Product List (Cleanroom Page)
================================ */
.product-list {
    padding: 60px 40px;
}

.product-item {
    display: flex;
    background: #fff;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-item img {
    width: 260px;
    height: auto;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* ===============================
   Product Grid (Products Page)
================================ */
.product-grid {
    padding: 60px 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.grid-item img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.grid-item h3 {
    margin-bottom: 8px;
}

/* ===============================
   Product Detail Page
================================ */
.product-banner {
    display: flex;
    align-items: center;
    padding: 60px 40px;
    background: #f0f4f9;
}

.product-banner img {
    width: 380px;
    border-radius: 8px;
    margin-right: 40px;
}

.product-banner-text h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.product-details {
    padding: 60px 40px;
}

.product-details h2 {
    margin: 25px 0 10px;
    color: #0f3d63;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.spec-table th,
.spec-table td {
    border: 1px solid #d9e2ec;
    padding: 12px;
    text-align: center;
}

.spec-table th {
    background: #e6eef7;
}

/* ===============================
   Footer
================================ */
.footer {
    background: #0a2a43;
    color: #cfe6ff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}
