/* ============================================================
   ISLANDWIDE HOLDING PTE. LTD. — Fully static site
   Steel / Aluminum supplier · Singapore
   Design: industrial steel-blue + amber accent, responsive
   ============================================================ */

:root {
  --steel-900: #0f2233;
  --steel-800: #16324a;
  --steel-700: #1f4663;
  --steel-600: #2c5a7e;
  --steel-500: #3b7299;
  --steel-100: #e8eef3;
  --amber: #e8742c;
  --amber-dark: #c95d18;
  --ink: #1d2935;
  --muted: #5b6b7a;
  --bg: #f4f6f8;
  --white: #ffffff;
  --line: #dce3ea;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 34, 51, 0.08);
  --maxw: 1180px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

a { color: var(--steel-600); text-decoration: none; }
a:hover { color: var(--amber-dark); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

h1, h2, h3, h4 { color: var(--steel-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 46px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 8px;
}

.section { padding: 72px 0; }
.section.alt { background: var(--white); }
.section.steel { background: var(--steel-900); color: #dfe9f1; }
.section.steel h2, .section.steel h3 { color: #fff; }

.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  padding: 13px 28px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn.steel { background: var(--steel-600); }
.btn.steel:hover { background: var(--steel-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 34, 51, 0.97);
  backdrop-filter: blur(6px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 800;
  letter-spacing: .5px;
  font-size: 19px;
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  display: grid; place-items: center;
  color: #fff; font-weight: 900; font-size: 16px;
}
.brand small { display: block; font-size: 11px; font-weight: 500; color: #9fb6c9; letter-spacing: 1px; }

.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: #cfe0ec;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--amber); transition: width .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px auto;
  transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(15,34,51,.94), rgba(31,70,99,.82)),
    repeating-linear-gradient(45deg, #16324a 0 22px, #1a3a55 22px 44px);
  padding: 110px 0 96px;
}
.hero h1 { color: #fff; max-width: 760px; }
.hero .lead { font-size: 19px; color: #d6e4ef; max-width: 640px; }
.hero-actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 38px; margin-top: 54px;
  border-top: 1px solid rgba(255,255,255,.15); padding-top: 26px;
}
.hero-stats .stat .num { font-size: 30px; font-weight: 800; color: var(--amber); }
.hero-stats .stat .lbl { font-size: 13px; color: #b9cdda; letter-spacing: .5px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,34,51,.14); }
.card .ico {
  width: 50px; height: 50px; border-radius: 10px;
  background: var(--steel-100); color: var(--steel-600);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 14px; }

/* product card with placeholder visual */
.product-card { overflow: hidden; padding: 0; }
.product-card img.pc-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.product-card .visual {
  height: 150px;
  background: linear-gradient(135deg, var(--steel-600), var(--steel-800));
  display: grid; place-items: center; color: #fff;
}
.product-card .visual svg { width: 56px; height: 56px; opacity: .9; }
.product-card .body { padding: 22px; }
.product-card h3 { margin-bottom: 6px; }
.product-card .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.product-card .tags span {
  font-size: 12px; background: var(--steel-100); color: var(--steel-700);
  padding: 4px 10px; border-radius: 20px;
}

/* ---------- Section head ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--amber), var(--amber-dark));
  color: #fff; border-radius: var(--radius);
  padding: 46px 40px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: #fff3ea; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-list .k { font-weight: 700; color: var(--steel-800); min-width: 92px; }
.info-list .v { color: var(--muted); }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--steel-800); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 7px; font-family: inherit; font-size: 15px; background: #fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--steel-500); box-shadow: 0 0 0 3px rgba(59,114,153,.15);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-900);
  color: #aebfcc;
  padding: 54px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; letter-spacing: .5px; margin-bottom: 16px; }
.site-footer a { color: #aebfcc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { padding: 6px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: #8499a9;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--steel-100); padding: 14px 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--steel-600); }

/* ---------- Two col intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split .visual {
  height: 320px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--steel-600), var(--steel-900));
  display: grid; place-items: center; color: #fff;
}
.split .visual svg { width: 90px; height: 90px; opacity: .85; }

.feature-list { list-style: none; padding: 0; margin: 18px 0 0; }
.feature-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 10px;
  color: var(--amber); font-weight: 800;
}

/* ---------- Product gallery (catalogue) ---------- */
.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.type-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.type-card img { width: 100%; height: 190px; object-fit: cover; display: block; }
.type-card .cap { padding: 14px 16px; font-weight: 700; color: var(--steel-800); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); transition: transform .18s ease; }
.gallery img:hover { transform: scale(1.03); }

.cat-block { margin-bottom: 46px; }
.cat-block h3 { border-left: 4px solid var(--amber); padding-left: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .type-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--steel-900); flex-direction: column; gap: 0;
    padding: 8px 0; display: none; border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 22px; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4, .type-grid, .gallery { grid-template-columns: 1fr; }
  .hero { padding: 78px 0 70px; }
  .section { padding: 54px 0; }
}

/* ---------- Credentials & client wall (SG style) ---------- */
.cred-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:30px; }
.cred { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; text-align:center; box-shadow:var(--shadow); }
.cred .cico { font-size:22px; color:var(--amber); font-weight:800; margin-bottom:8px; }
.cred h4 { margin:0 0 6px; font-size:15px; color:var(--steel-800); }
.cred .cstat { margin:0; font-size:13px; color:var(--muted); }
.logo-wall { display:grid; grid-template-columns:repeat(6,1fr); gap:16px; margin-top:26px; }
.logo-ph { aspect-ratio:3/2; border:1px dashed var(--line); border-radius:8px; display:grid; place-items:center; color:var(--muted); font-size:13px; background:#fff; }
@media (max-width:980px){ .cred-grid{grid-template-columns:repeat(2,1fr);} .logo-wall{grid-template-columns:repeat(3,1fr);} }
@media (max-width:720px){ .logo-wall{grid-template-columns:repeat(2,1fr);} }
