/*
Theme Name: Lintang Kayu
Theme URI: https://example.invalid/lintang-kayu
Author: Studio Dummy
Author URI: https://example.invalid
Description: Tema klasik untuk situs studio furnitur dummy "Lintang Kayu". Tata letak beranda satu halaman: hero foto penuh, teaser kategori, produk, layanan, peta pasar, dan kontak.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lintang-kayu
*/

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #151a14;
  --ink-soft: #3c423a;
  --muted: #73736c;
  --line: #e6e3dc;
  --paper: #ffffff;
  --card: #f1efeb;
  --accent: #e8501a;
  --dark: #0d120d;
  --serif: "Marcellus", "Times New Roman", serif;
  --display: "Jost", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.section { padding: 118px 0; }

/* ============ Type helpers ============ */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.h2 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.14;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.lead { color: var(--muted); font-size: 17px; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 17px 36px;
  border: 1px solid transparent;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; }

/* ============ Header ============ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 30px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.16;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.wordmark span { display: block; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.main-nav a:hover { color: #fff; border-color: rgba(255,255,255,.7); }

.header-cta { white-space: nowrap; }
.header-cta .btn { padding: 13px 26px; font-size: 11px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--dark);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 80%;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(9,14,10,.74) 0%, rgba(9,14,10,.6) 45%, rgba(9,14,10,.76) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 140px 24px 80px; }
.hero__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__lede {
  margin: 26px auto 40px;
  max-width: 560px;
  font-size: 16.5px;
  color: rgba(255,255,255,.88);
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 90px;
  align-items: center;
}
.about-copy .h2 { margin-bottom: 26px; }
.about-copy p + p { margin-top: 16px; }
.certs { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.certs span {
  border: 1px solid var(--line);
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.about-media img { width: 100%; height: 560px; object-fit: cover; }

/* ============ Section head (centered) ============ */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head .lead { margin-top: 20px; }

/* ============ Categories ============ */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.cat {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: block;
}
.cat img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.cat:hover img { transform: scale(1.05); }
.cat::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,11,0) 40%, rgba(10,15,11,.72) 100%);
}
.cat__label {
  position: absolute;
  left: 38px; bottom: 34px; z-index: 2;
  font-family: var(--display);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: #fff;
}
.cat__label small {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}

/* ============ Products ============ */
.products-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 26px;
}
.product-card__img {
  background: var(--card);
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__name {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.product-card__name::before { content: "\2197"; color: var(--accent); font-weight: 600; }
.product-card__cat { font-size: 12px; color: var(--muted); margin-top: 2px; padding-left: 22px; }

.products-nav { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.products-nav span {
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--ink);
}
.products-nav span:hover { border-color: var(--accent); color: var(--accent); }

.divider { border: 0; border-top: 1px solid var(--line); margin: 74px 0 54px; }

.statement-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}
.statement-row p {
  font-family: var(--display);
  font-weight: 300;
  font-size: 27px;
  line-height: 1.4;
  color: var(--ink);
  max-width: 700px;
}

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 100px;
  align-items: center;
}
.service-item {
  display: flex;
  gap: 34px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.service-item:last-child { border-bottom: 1px solid var(--line); }
.service-item__num {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
  min-width: 58px;
  padding-top: 4px;
}
.service-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.service-item p { font-size: 15px; color: var(--muted); }
.services-media img { width: 100%; height: 620px; object-fit: cover; }
.services-head { margin-bottom: 44px; }

/* ============ Customers / map ============ */
.map-wrap { text-align: center; }
.map-wrap img { width: 100%; max-width: 1120px; margin: 26px auto 0; }

/* ============ Dark band ============ */
.band {
  position: relative;
  padding: 150px 24px;
  text-align: center;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.band__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(9,14,10,.72); }
.band__inner { position: relative; z-index: 2; max-width: 840px; margin: 0 auto; }
.band__quote {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.32;
  margin-bottom: 42px;
}
.band .eyebrow { color: #ffb18f; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: start;
}
.contact-list { margin-top: 6px; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-list li b { font-weight: 600; }
.contact-list li span { color: var(--muted); text-align: right; }
.contact-cta { margin-top: 36px; }

/* ============ Footer ============ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.footer-top {
  padding: 84px 0 60px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 70px;
}
.footer-wordmark { color: #fff; font-size: 19px; }
.footer-tag { margin-top: 20px; max-width: 300px; color: rgba(255,255,255,.55); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* ============ Back to top ============ */
.to-top {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* ============ Gutenberg pages ============ */
.gutenberg-page {
  padding: 0;
}
.gutenberg-page > .wp-block-cover.alignfull:first-child {
  min-height: 100vh;
}
.gutenberg-page .wp-block-cover h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(42px, 4.9vw, 70px);
  line-height: 1.16;
  letter-spacing: 0.01em;
}
.gutenberg-page .lk-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.gutenberg-page .wp-block-button__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 17px 36px;
}
.gutenberg-page .wp-block-cover .wp-block-button__link {
  background: #fff;
  color: var(--ink);
}
.gutenberg-page .lk-cert {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 13px 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-right: 8px;
  margin-bottom: 8px;
}
.gutenberg-page .lk-product {
  background: var(--card);
}
.gutenberg-page .lk-product figcaption,
.gutenberg-page .lk-product .wp-block-heading {
  padding: 0 16px;
}
.gutenberg-page .lk-num {
  font-family: var(--display);
  font-weight: 300;
  font-size: 28px;
  color: var(--accent);
}

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .about-grid, .services-grid, .contact-grid { gap: 56px; }
}
@media (max-width: 980px) {
  .container { padding: 0 28px; }
  .site-header { padding: 22px 28px; flex-wrap: wrap; }
  .main-nav { order: 3; flex-basis: 100%; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 14px 22px; }
  .about-grid, .services-grid, .contact-grid, .statement-row { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; }
  .about-grid, .services-grid, .contact-grid { display: block; }
  .about-media, .services-media { margin-top: 44px; }
  .about-media img, .services-media img { height: auto; }
  .cats { grid-template-columns: 1fr; }
  .cat { height: 380px; }
  .products-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
}
