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

:root {
  --wood-dark: #1a1208;
  --wood-mid: #3d2b0e;
  --wood-tan: #8b5e2a;
  --wood-light: #c4974a;
  --wood-pale: #f0d9b5;
  --cream: #faf6f0;
  --charcoal: #1c1c1c;
  --white: #ffffff;
  --green: #2d5a27;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f0ebe3;
  color: var(--charcoal);
  line-height: 1.6;
}

/* ─── NAV ─── */
nav {
  background: white;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 100;
}
nav .nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700;
  color: var(--wood-dark);
  padding: 14px 0;
  text-decoration: none;
}
nav ul {
  list-style: none; display: flex; gap: 0;
}
nav ul li a {
  display: block; padding: 18px 16px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #444; text-decoration: none;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
}
nav ul li a:hover { color: var(--wood-tan); border-bottom-color: var(--wood-tan); }
.menu-toggle {
  display: none;
  background: none; border: none; font-size: 24px; cursor: pointer; color: var(--wood-dark);
}

/* ─── HERO CAROUSEL ─── */
.hero-carousel-container {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex; align-items: center;
  padding: 0 80px;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

/* Redefine original hero-content properties */
.hero-slide .hero-content { max-width: 580px; }
.hero-slide.active .hero-content {
  animation: fadeIn 1s ease-out forwards;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  font-size: 24px;
  padding: 16px 20px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.carousel-control:hover { background: rgba(0,0,0,0.7); }
.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--wood-light); font-weight: 700; margin-bottom: 16px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: 64px; font-weight: 700; line-height: 1.15;
  color: white; margin-bottom: 20px;
}
.hero-sub {
  font-size: 16px; line-height: 1.7;
  color: rgba(255,255,255,0.82); margin-bottom: 32px;
  max-width: 480px;
}
.hero-cta {
  display: inline-block;
  background: var(--wood-light); color: var(--wood-dark);
  font-weight: 700; font-size: 13px; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 14px 32px; border-radius: 2px;
  text-decoration: none; transition: background 0.3s, transform 0.2s, border 0.3s;
  border: 2px solid var(--wood-light);
}
.hero-cta:hover { background: var(--wood-pale); border-color: var(--wood-pale); transform: translateY(-2px); }
.hero-cta.secondary {
  background: transparent; color: white; border: 2px solid white; margin-left: 10px;
}
.hero-cta.secondary:hover { background: white; color: var(--wood-dark); }

/* ─── SECTION WRAPPER ─── */
.site-section { padding: 72px 80px; background: var(--cream); }
.site-section.alt { background: white; }
.site-section.dark {
  background: var(--wood-dark);
  color: var(--wood-pale);
}

.section-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--wood-tan); font-weight: 700; margin-bottom: 10px;
}
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 34px; font-weight: 700; line-height: 1.25;
  color: var(--wood-dark); margin-bottom: 16px;
}
.section-heading.light { color: var(--wood-pale); }
.section-sub {
  font-size: 15px; line-height: 1.75; color: #555;
  max-width: 640px; margin-bottom: 32px;
}
.section-sub.light { color: rgba(240,217,181,0.75); }

/* ─── ABOUT LAYOUT ─── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: start;
}
.about-img { width: 100%; height: 420px; object-fit: cover; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about-body { padding-top: 12px; }
.about-body p { font-size: 14.5px; line-height: 1.85; color: #444; margin-bottom: 16px; }
.about-body p strong { color: var(--wood-dark); }
.about-stat-row { display: flex; gap: 32px; margin: 24px 0; }
.about-stat { text-align: center; }
.about-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px; color: var(--wood-tan); font-weight: 700; line-height: 1;
}
.about-stat .lbl { font-size: 11px; color: #888; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.about-cta {
  display: inline-block;
  border: 1.5px solid var(--wood-tan); color: var(--wood-tan);
  font-weight: 700; font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 11px 28px; border-radius: 2px;
  text-decoration: none; transition: all 0.3s; margin-top: 8px;
}
.about-cta:hover { background: var(--wood-tan); color: white; }

/* ─── CAPABILITIES ─── */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cap-card {
  background: white; border-top: 3px solid var(--wood-light);
  padding: 28px 24px; border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.cap-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.cap-card .cap-icon { font-size: 28px; margin-bottom: 12px; }
.cap-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 17px; font-weight: 700; color: var(--wood-dark); margin-bottom: 10px;
}
.cap-card p { font-size: 13.5px; color: #555; line-height: 1.75; }

/* ─── VALUE PROP ─── */
.vp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.vp-card {
  padding: 36px 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.vp-card:hover { 
  background: rgba(255,255,255,0.1); 
  transform: translateY(-5px); 
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.vp-card .vp-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px; color: var(--wood-light); opacity: 0.4;
  line-height: 1; margin-bottom: 16px; font-style: italic;
}
.vp-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--wood-pale); margin-bottom: 10px; font-weight: 700; }
.vp-card p { font-size: 13.5px; color: rgba(240,217,181,0.65); line-height: 1.75; }

/* ─── PRODUCTS STRIP ─── */
.product-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
}
.product-card {
  height: 320px; position: relative; overflow: hidden; cursor: pointer;
}
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover img { transform: scale(1.08); }
.product-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(15,10,5,0.9));
  padding: 40px 20px 20px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: white;
  transition: padding-bottom 0.3s;
}
.product-card:hover .product-card-label { padding-bottom: 30px; }

/* ─── FOOTER ─── */
footer {
  background: #0f0a05; color: #a89060;
  padding: 60px 80px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}
footer h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 14px; }
footer p { font-size: 13px; line-height: 1.8; }
footer a { color: #a89060; text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--wood-pale); }

/* ─── MODAL ─── */
.modal {
  display: none; position: fixed; z-index: 1000; left: 0; top: 0;
  width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.7);
  opacity: 0; transition: opacity 0.3s ease;
}
.modal.show { display: flex; align-items: center; justify-content: center; opacity: 1; }
.modal-content {
  background-color: #fff; margin: auto; padding: 0; border-radius: 8px;
  width: 90%; max-width: 700px; position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  transform: translateY(20px); transition: transform 0.3s ease;
  overflow: hidden;
}
.modal.show .modal-content { transform: translateY(0); }
.close-modal {
  color: #fff; position: absolute; top: 15px; right: 20px;
  font-size: 32px; font-weight: bold; cursor: pointer; text-shadow: 0 2px 4px rgba(0,0,0,0.5); z-index: 10;
}
.close-modal:hover, .close-modal:focus { color: #ddd; text-decoration: none; cursor: pointer; }
.modal-body img { width: 100%; height: 350px; object-fit: cover; }
.modal-info { padding: 30px; }
.modal-info h3 { font-family: 'Playfair Display', serif; font-size: 28px; margin-bottom: 12px; color: var(--wood-dark); }
.modal-info p { font-size: 15px; color: #555; margin-bottom: 24px; line-height: 1.7; }

/* ─── FLOATING WHATSAPP ─── */
.floating-wa {
  position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
  background-color: #25d366; border-radius: 50%; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
}
.floating-wa:hover {
  transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ─── PAGE HERO ─── */
.page-hero {
  height: 400px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
}
.cap-hero {
  background-image: linear-gradient(rgba(15,10,5,0.6), rgba(15,10,5,0.6)), url('https://nagaindonesiaplywood.com/wp-content/uploads/2026/01/home-header1.jpg');
}
.page-hero-content h1 {
  font-family: 'Playfair Display', serif; font-size: 54px; margin-bottom: 16px;
}
.page-hero-content p { font-size: 18px; max-width: 600px; margin: 0 auto; color: rgba(255,255,255,0.85); }

/* ─── COMPANY OVERVIEW ─── */
.company-overview-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.overview-img-wrapper img { width: 100%; height: 500px; object-fit: cover; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.overview-paragraphs p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 16px; }

/* ─── HIGHLIGHT STATS ─── */
.highlight-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.highlight-stat-card {
  text-align: center; background: #f9f9f9; padding: 40px 20px; border-radius: 8px;
  transition: transform 0.3s;
}
.highlight-stat-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.05); }
.highlight-stat-card .stat-icon { font-size: 32px; margin-bottom: 16px; color: var(--wood-tan); }

/* ─── COMPANY GALLERY ─── */
.gallery-carousel-wrapper { position: relative; max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 8px; }
.gallery-carousel { display: flex; transition: transform 0.5s ease-in-out; }
.gallery-item { min-width: 100%; position: relative; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 500px; object-fit: cover; display: block; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.6); color: white; padding: 15px 20px; text-align: center;
}
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4);
  color: white; border: none; font-size: 24px; padding: 16px; cursor: pointer; transition: 0.3s;
}
.gallery-btn:hover { background: rgba(0,0,0,0.8); }
.gallery-btn.prev { left: 0; }
.gallery-btn.next { right: 0; }
#lightboxImg { max-width: 90%; max-height: 80vh; margin: auto; display: block; }
#lightboxCaption { text-align: center; color: white; margin-top: 15px; font-size: 16px; }

/* ─── PRODUCTION SCALE ─── */
.scale-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.scale-card { background: white; padding: 40px 30px; border-radius: 8px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.04); }
.scale-accent { position: absolute; top: 0; left: 30px; right: 30px; height: 3px; background: var(--wood-light); }
.scale-card h3 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--wood-dark); margin: 20px 0 10px; }
.scale-card p { color: #666; font-size: 14px; }

/* ─── PRODUCTION PROCESS ─── */
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.process-timeline { border-left: 2px solid var(--wood-pale); padding-left: 30px; margin-left: 15px; }
.timeline-step { position: relative; margin-bottom: 40px; }
.step-num {
  position: absolute; left: -52px; top: 0; width: 40px; height: 40px;
  background: var(--wood-light); color: white; font-weight: bold;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--cream); font-family: 'Playfair Display', serif;
}
.step-content h4 { font-size: 18px; color: var(--wood-dark); margin-bottom: 8px; }
.step-content p { color: #555; font-size: 14px; line-height: 1.6; }
.process-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; min-height: 400px; }

/* ─── QUALITY CARDS ─── */
.quality-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quality-card {
  background: white; padding: 30px 20px; border-top: 3px solid var(--wood-light);
  border-radius: 4px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}
.quality-card .q-icon { font-size: 36px; margin-bottom: 16px; color: var(--wood-dark); }
.quality-card h4 { font-family: 'Playfair Display', serif; margin-bottom: 10px; font-size: 16px; }
.quality-card p { font-size: 13px; color: #666; }

/* ─── SPEC TABLE ─── */
.table-responsive { overflow-x: auto; margin-bottom: 16px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.spec-table { width: 100%; border-collapse: collapse; background: white; text-align: left; }
.spec-table th { background: var(--wood-dark); color: white; padding: 16px 20px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.spec-table td { padding: 16px 20px; border-bottom: 1px solid #eee; font-size: 14px; color: #444; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-note { font-size: 12px; color: #888; font-style: italic; text-align: center; }

/* ─── ANIMATIONS ─── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero-carousel-container { height: 500px; }
  .hero-slide { padding: 0 24px; }
  .carousel-control { display: none; }
  .hero-headline { font-size: 36px; }
  .site-section { padding: 48px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cap-grid { grid-template-columns: 1fr; }
  .vp-grid { grid-template-columns: 1fr; }
  .product-strip { grid-template-columns: 1fr; }
  .product-card { height: 260px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
  nav { padding: 0 24px; }
  nav ul { 
    display: none; 
    position: absolute; top: 100%; left: 0; right: 0; 
    background: white; flex-direction: column; 
    border-top: 1px solid #eee; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }
  nav ul.active { display: flex; }
  nav ul li a { border-bottom: 1px solid #f0ebe3; }
  .company-overview-grid, .process-layout { grid-template-columns: 1fr; gap: 40px; }
  .highlight-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .scale-grid { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr 1fr; }
  .overview-img-wrapper img { height: 300px; }
  .page-hero { height: 300px; }
  .page-hero-content h1 { font-size: 36px; }
  .gallery-item img { height: 300px; }
}
