/* ============================================================
   Batu Outdoor Storage — stylesheet
   ============================================================ */
:root {
  --ink: #16201b;
  --pine: #1d3a2c;
  --pine-deep: #143024;
  --pine-soft: #27503c;
  --amber: #e8a13a;
  --amber-deep: #c9831d;
  --amber-soft: #f6c877;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #e2ddd0;
  --muted: #5f6b64;
  --shadow: 0 18px 40px -18px rgba(20, 40, 30, .35);
  --radius: 16px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.7rem;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-amber { background: var(--amber); color: #1c2a20; box-shadow: 0 10px 24px -10px rgba(232,161,58,.7); }
.btn-amber:hover { background: var(--amber-soft); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-line { border-color: var(--pine); color: var(--pine); background: transparent; }
.btn-line:hover { background: var(--pine); color: #fff; transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.kicker {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--amber-deep); font-size: .95rem; margin-bottom: .6rem;
}
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.05; color: var(--pine-deep);
  text-transform: uppercase; letter-spacing: .01em;
}
.section-sub { color: var(--muted); margin-top: .9rem; font-size: 1.02rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  background: rgba(20, 36, 28, .92); backdrop-filter: blur(10px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.45); background: rgba(16, 30, 23, .97); }

.header-inner { display: flex; align-items: center; gap: 2rem; height: 78px; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand-logo { height: 46px; width: auto; }
.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  color: #fff; letter-spacing: .03em; line-height: 1; text-transform: uppercase;
}
.brand-name em { font-style: normal; color: var(--amber); }

.main-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.main-nav a {
  color: rgba(255,255,255,.82); font-weight: 500; font-size: .97rem;
  transition: color .18s ease; position: relative; padding: .3rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--amber); transition: width .22s ease;
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { width: 100%; }

.header-cta { padding: .6rem 1.3rem; font-size: .92rem; }

.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12, 26, 19, .93) 0%, rgba(16, 36, 27, .78) 45%, rgba(16, 36, 27, .35) 100%);
}
.hero-inner { position: relative; color: #fff; max-width: 780px; }
.hero-eyebrow {
  font-family: var(--font-display); letter-spacing: .24em; text-transform: uppercase;
  color: var(--amber-soft); font-weight: 600; font-size: .98rem; margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem); line-height: 1.02;
  text-transform: uppercase; letter-spacing: .01em; margin-bottom: 1.2rem;
}
.hero-sub { font-size: 1.13rem; color: rgba(255,255,255,.86); max-width: 620px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-logo { margin-top: 3.2rem; opacity: .9; }
.hero-logo img { height: 74px; width: auto; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { background: var(--pine-deep); padding: 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; gap: .9rem; padding: 2rem 1.6rem; border-right: 1px solid rgba(255,255,255,.09); }
.trust-item:last-child { border-right: 0; }
.trust-icon { font-size: 1.7rem; line-height: 1; }
.trust-item strong { display: block; color: #fff; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .03em; text-transform: uppercase; margin-bottom: .25rem; }
.trust-item p { color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.5; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--paper); }

.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; margin-bottom: 4.2rem; }

.about-names { font-size: 1.3rem; margin-bottom: 1.3rem; color: var(--pine-deep); }
.about-names span { font-size: 1rem; color: var(--muted); font-weight: 500; }

.about-text p { margin-bottom: 1.05rem; color: #39443e; }
.about-list { margin: 0 0 1.2rem 1.2rem; color: #39443e; }
.about-list li { margin-bottom: .4rem; }
.about-list li::marker { color: var(--amber-deep); }

.about-visual { position: relative; padding-top: 3.4rem; }
.about-visual > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-visual-small {
  width: 58%; position: absolute; right: -1.2rem; bottom: -1.6rem;
  border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--paper);
}
.about-badge {
  position: absolute; top: 0; left: -1rem;
  background: var(--amber); color: #1c2a20; border-radius: 12px;
  padding: .9rem 1.2rem; max-width: 250px;
  box-shadow: 0 14px 30px -12px rgba(200,130,30,.6);
}
.about-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.about-badge span { font-size: .86rem; font-weight: 500; line-height: 1.4; }

.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 3rem; }
.why-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.7rem; transition: transform .22s ease, box-shadow .22s ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-card h3 { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; color: var(--pine-deep); margin-bottom: .6rem; }
.why-card h3::before { content: ""; display: inline-block; width: 26px; height: 4px; background: var(--amber); border-radius: 2px; vertical-align: middle; margin-right: .6rem; }
.why-card p { color: var(--muted); font-size: .95rem; }

.design-banner {
  display: flex; align-items: center; gap: 2.4rem; justify-content: space-between;
  background: linear-gradient(120deg, var(--pine) 0%, var(--pine-soft) 100%);
  border-radius: var(--radius); padding: 2.6rem 2.8rem; color: #fff;
  box-shadow: var(--shadow);
}
.design-banner-text h3 { font-family: var(--font-display); font-size: 1.75rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; margin-bottom: .55rem; }
.design-banner-text h3 span { color: var(--amber-soft); }
.design-banner-text p { color: rgba(255,255,255,.8); max-width: 640px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.cat-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e6dd; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-count {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(15, 30, 22, .82); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px; letter-spacing: .03em;
}
.cat-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.cat-sn { font-family: var(--font-display); letter-spacing: .2em; font-size: .82rem; font-weight: 700; color: var(--amber-deep); text-transform: uppercase; }
.cat-body h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; color: var(--pine-deep); line-height: 1.1; margin: .2rem 0 .1rem; }
.cat-en { font-size: .86rem; font-weight: 600; color: var(--pine-soft); margin-bottom: .7rem; }
.cat-desc { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; flex: 1; }
.cat-body .btn { align-self: flex-start; padding: .6rem 1.3rem; font-size: .92rem; }

.custom-cta {
  margin-top: 3.2rem; text-align: center;
  background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 2.2rem;
}
.custom-cta p { color: var(--muted); margin-bottom: 1.2rem; }
.custom-cta strong { color: var(--pine-deep); }

/* ============================================================
   COMPANY / FACTORY
   ============================================================ */
.company { background: var(--paper); }

.storefront { margin-bottom: 3.4rem; }
.storefront img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.storefront figcaption { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.photo-block h3 { font-family: var(--font-display); font-size: 1.45rem; text-transform: uppercase; letter-spacing: .03em; color: var(--pine-deep); margin-bottom: 1.1rem; }
.photo-masonry { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.photo-masonry img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; transition: transform .3s ease, box-shadow .3s ease; cursor: zoom-in; }
.photo-masonry img:hover { transform: scale(1.02); box-shadow: var(--shadow); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: linear-gradient(160deg, #fff 0%, var(--paper) 100%); }

.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.2rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: transform .22s ease, box-shadow .22s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-icon { font-size: 1.5rem; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .03em; color: var(--pine-deep); margin: .5rem 0 .35rem; }
.contact-card a { font-weight: 600; color: var(--pine-soft); word-break: break-word; }
.contact-card a:hover { color: var(--amber-deep); }
.contact-card p { color: var(--muted); font-size: .87rem; margin-top: .3rem; }
.addr { line-height: 1.55; }
.addr-zh { color: #8a938d; }

.contact-note {
  background: var(--pine-deep); color: #fff; border-radius: var(--radius);
  padding: 2rem 1.9rem; box-shadow: var(--shadow); position: sticky; top: 100px;
}
.contact-note h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .6rem; }
.contact-note p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 1.5rem; }
.contact-note .btn + .btn { margin-top: .8rem; }
.contact-note .btn-line { border-color: rgba(255,255,255,.5); color: #fff; }
.contact-note .btn-line:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.6rem; padding: 4rem 0 3rem; }
.footer-logo { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; }
.footer-brand strong { color: #fff; }
.footer-tag { margin-top: .9rem; font-size: .88rem; color: rgba(255,255,255,.55); max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: .55rem; }
.footer-col h4 { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--amber-soft); margin-bottom: .5rem; }
.footer-col a { font-size: .93rem; transition: color .18s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-addr { font-size: .88rem; color: rgba(255,255,255,.55); margin-top: .4rem; line-height: 1.55; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; }
.footer-bottom p { font-size: .85rem; color: rgba(255,255,255,.5); text-align: center; }

/* ============================================================
   GALLERY MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 80; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 15, .72); backdrop-filter: blur(6px); animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-panel {
  position: relative; z-index: 1; margin: 7vh auto; width: min(1080px, 94%);
  max-height: 86vh; background: #fff; border-radius: var(--radius);
  display: flex; flex-direction: column; overflow: hidden;
  animation: popIn .3s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.6rem; border-bottom: 1px solid var(--line); }
.modal-kicker { font-family: var(--font-display); letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; font-weight: 700; color: var(--amber-deep); }
.modal-head h3 { font-family: var(--font-display); font-size: 1.6rem; text-transform: uppercase; color: var(--pine-deep); line-height: 1.1; }
.modal-close { background: var(--paper); border: 0; width: 40px; height: 40px; border-radius: 50%; font-size: 1.05rem; color: var(--ink); transition: background .18s ease, transform .18s ease; }
.modal-close:hover { background: var(--amber); transform: rotate(90deg); }
.modal-grid { padding: 1.4rem 1.6rem; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .9rem; }
.modal-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: transform .2s ease, box-shadow .2s ease; }
.modal-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.modal-hint { text-align: center; padding: 0 0 1.1rem; color: var(--muted); font-size: .82rem; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 14, 11, .94); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; animation: fadeIn .2s ease; }
.lb-stage { max-width: min(1100px, 88vw); max-height: 88vh; text-align: center; }
.lb-stage img { max-width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); }
.lb-stage figcaption { color: rgba(255,255,255,.75); margin-top: .9rem; font-size: .95rem; }
.lb-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 1.7rem; width: 46px; height: 46px; border-radius: 50%; transition: background .18s ease, transform .18s ease; }
.lb-close:hover { background: rgba(255,255,255,.15); transform: rotate(90deg); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 2.4rem; width: 58px; height: 58px; border-radius: 50%; transition: background .18s ease; }
.lb-nav:hover { background: var(--amber); color: #1c2a20; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 3.5rem; }
  .about-visual { max-width: 560px; margin-inline: auto; }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-note { position: static; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--pine-deep);
    padding: 1rem 0 1.4rem; transform: translateY(-130%); transition: transform .3s ease;
    box-shadow: 0 30px 40px -20px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: none; }
  .main-nav a { padding: .85rem 8%; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .design-banner { flex-direction: column; align-items: flex-start; padding: 2rem 1.6rem; }
}

@media (max-width: 640px) {
  section { padding: 68px 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
  .trust-item:last-child { border-bottom: 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; }
  .about-badge { left: 0; }
  .modal-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
