@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700;800&display=swap');

:root {
  --dark: #15120d;
  --brown: #3b2a1a;
  --gold: #d6a84c;
  --soft-gold: #f4e4bf;
  --cream: #fff8ec;
  --muted: #766a5f;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(31, 20, 8, 0.18);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans Thai', sans-serif;
  background: var(--cream);
  color: var(--dark);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(21,18,13,0.82), rgba(59,42,26,0.60)),
    radial-gradient(circle at 80% 20%, rgba(214,168,76,0.35), transparent 30%),
    url('images/work16.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(214, 168, 76, 0.35);
  border-radius: 50%;
  right: -160px;
  bottom: -180px;
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), #fff1bc);
  color: var(--dark);
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 12px 30px rgba(214,168,76,0.28);
}
.brand strong { display: block; font-size: 20px; }
.brand small { display: block; opacity: 0.75; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 500; }
.nav-links a { opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: var(--soft-gold); }
.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
}
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 8px 13px;
  font-size: 24px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.eyebrow, .section-kicker {
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: 700;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.07;
  margin: 0;
  max-width: 780px;
  letter-spacing: -0.04em;
}
.hero-text {
  font-size: 20px;
  line-height: 1.8;
  color: rgba(255,255,255,0.84);
  max-width: 700px;
  margin: 26px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--gold), #ffe39a);
  color: #24180a;
  box-shadow: 0 18px 38px rgba(214,168,76,0.28);
}
.btn.secondary {
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  background: rgba(255,255,255,0.08);
}
.btn.big { padding: 18px 30px; font-size: 18px; white-space: nowrap; }

.hero-card {
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card-top {
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding-bottom: 22px;
  margin-bottom: 20px;
}
.card-top span { color: var(--soft-gold); }
.card-top strong { display: block; margin-top: 8px; font-size: 28px; }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.90);
}
.hero-card li::before { content: "✓"; color: var(--gold); margin-right: 10px; }

main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 95px 0; }
.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}
h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.2;
  margin: 0 0 22px;
  letter-spacing: -0.03em;
}
.intro p:last-child, .section > p, .contact p, .gallery-note {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  color: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stats div {
  padding: 32px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.stats div:last-child { border-right: none; }
.stats strong { display: block; color: var(--gold); font-size: 34px; margin-bottom: 8px; }
.stats span { color: rgba(255,255,255,0.78); }

.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: white;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 35px rgba(50, 34, 14, 0.08);
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(50, 34, 14, 0.13);
}
.icon { font-size: 34px; margin-bottom: 20px; }
.service-card h3, .timeline h3, .project-card h3, .gallery-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}
.service-card p, .timeline p, .project-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}
.section-head a {
  color: var(--brown);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  grid-template-rows: 280px 280px;
  gap: 18px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 28px;
  color: white;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,0.82));
}
.project-card > * { position: relative; z-index: 1; }
.project-a { grid-row: span 2; background-image: url('images/work02.jpg'); }
.project-b { background-image: url('images/work01.jpg'); }
.project-c { background-image: url('images/work05.jpg'); }
.project-card span { color: var(--soft-gold); font-weight: 700; margin-bottom: 8px; }
.project-card h3 { font-size: 30px; color: #fff; }
.project-card p { color: rgba(255,255,255,0.82); }

.gallery-section { padding-top: 20px; }
.gallery-head { align-items: flex-end; }
.gallery-note { margin: 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(50, 34, 14, 0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(50, 34, 14, 0.12);
}
.gallery-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
}
.gallery-info {
  padding: 18px 18px 20px;
}
.gallery-card h3 { font-size: 20px; }
.gallery-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.process { padding-bottom: 80px; }
.timeline {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline div {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(214,168,76,0.18);
}
.timeline span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--soft-gold);
  color: var(--brown);
  font-weight: 800;
  margin-bottom: 20px;
}

.contact {
  margin: 40px 0 90px;
  padding: 48px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(21,18,13,0.94), rgba(59,42,26,0.88)),
    radial-gradient(circle at top right, rgba(214,168,76,0.35), transparent 42%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow);
}
.contact h2 { max-width: 700px; }
.contact p {
  max-width: 720px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.68);
  text-align: center;
  padding: 28px 20px;
}

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: rgba(21,18,13,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    display: none;
  }
  .nav-links.open { display: flex; }
  .hero, .intro { grid-template-columns: 1fr; }
  .hero { gap: 28px; padding-top: 42px; }
  .service-grid, .stats, .timeline { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .project-a { grid-row: auto; }
  .section-head, .gallery-head { flex-direction: column; align-items: flex-start; }
  .contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .navbar, .hero, main { width: min(100% - 28px, 1180px); }
  .brand small { display: none; }
  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 17px; }
  .service-grid, .stats, .timeline, .gallery-grid { grid-template-columns: 1fr; }
  .stats div {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .section { padding: 64px 0; }
  .contact { padding: 30px; margin-bottom: 60px; }
  .btn.big {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .gallery-card img { height: 240px; }
}
