/* =========================================================
   GTKPaper website styles
   One stylesheet shared by every page.
   To change a colour everywhere, edit the values in :root.
   ========================================================= */

:root {
  --brand: #8a5a2b;        /* kraft-paper brown: buttons, links, highlights */
  --brand-dark: #5e3d1d;   /* darker brown: button hover, footer */
  --ink: #2a2118;          /* main text colour */
  --muted: #6b5d50;        /* softer text: captions, small print */
  --paper: #f7f2ea;        /* warm off-white section background */
  --line: #e6dcd2;         /* thin borders */
  --white: #ffffff;
  --radius: 14px;          /* how rounded the corners are */
  --max: 1140px;           /* widest the content gets on big screens */

  /* Fonts already on people's computers/phones (no download needed).
     Chinese fonts come first so Traditional Chinese looks right. */
  --font: "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC",
          system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* English text: English fonts first. (Chinese fonts draw ’ " etc. extra wide,
     which leaves a gap in words like "Let’s".) */
  --font-en: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Simplified Chinese pages: Simplified fonts first */
:lang(zh-CN) {
  --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC",
          system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Basics ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 17px;
}

/* Anything marked as English (whole English pages, and the "English" switch link) */
:lang(en) { font-family: var(--font-en); }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

/* Centres content and keeps a gap at the screen edges */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Vertical spacing for each block of the page */
.section { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Small label above headings, e.g. "OUR PRODUCTS" */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--brand);
  transition: background .2s, color .2s;
}
.btn--solid { background: var(--brand); color: var(--white); }
.btn--solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo span { color: var(--brand); }

.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--brand); }

/* Language switch looks like a small pill */
.nav .lang {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: .9rem;
}
.nav .lang:hover { border-color: var(--brand); }
.nav .langs { display: flex; gap: 6px; }   /* the two language buttons side by side */

/* Hamburger button: only shown on small screens */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
  padding: 6px;
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;                 /* hidden until the button is pressed */
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 18px; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: 12px 0; }
  .nav .lang { display: inline-block; margin-top: 8px; padding: 4px 14px; }
  .nav .langs .lang { width: auto; }
}

/* ---------- Home: hero (big intro at the top) ---------- */
.hero { padding: 72px 0 80px; background: var(--paper); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(60, 40, 20, .15); }
@media (max-width: 820px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Key numbers strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 12px;
}
.stat strong {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--brand);
  line-height: 1.2;
}
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 560px) {
  .stats { gap: 10px; }
  .stat { padding: 18px 6px; }
  .stat strong { font-size: 1.25rem; }
  .stat span { font-size: .8rem; }
}

/* ---------- Product cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(60, 40, 20, .12); color: inherit; }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card-link { font-weight: 700; color: var(--brand); }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; } }

/* ---------- Text beside an image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img { border-radius: var(--radius); }
.split--reverse > :first-child { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse > :first-child { order: 0; }
}

/* ---------- Feature boxes (why choose us) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--brand);
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* ---------- Page banner (top of inner pages) ---------- */
.page-banner {
  background: var(--paper);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-banner h1 { margin-bottom: .3em; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }

/* ---------- Long text (about page) ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.3em; }

/* ---------- Product gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;   /* each box is only as tall as its picture */
}
.gallery a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.gallery img { width: 100%; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery-note { color: var(--muted); font-size: .9rem; margin-top: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .icon {
  flex: 0 0 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper);
  color: var(--brand);
  font-size: 1.2rem;
}
.contact-list small { display: block; color: var(--muted); font-size: .85rem; }
.contact-list a, .contact-list b { font-size: 1.15rem; font-weight: 700; text-decoration: none; color: var(--ink); word-break: break-word; }
.contact-list a:hover { color: var(--brand); }

/* ---------- Call-to-action band ---------- */
.cta {
  background: var(--brand-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; opacity: .85; }
.cta .btn { background: var(--white); color: var(--brand-dark); border-color: var(--white); }
.cta .btn:hover { background: transparent; color: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: #231a12;
  color: #d9cfc4;
  padding: 56px 0 28px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.site-footer .logo { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #d9cfc4; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #3d3026;
  margin-top: 40px;
  padding-top: 22px;
  font-size: .85rem;
  color: #a39586;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Hidden visually but still read out by screen readers */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: var(--white); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 10px; top: 10px; }
