:root {
  --bg-white: #FFFFFF;
  --bg-cream: #F5F0E8;
  --bg-light-green: #F0F7EE;
  --primary: #2D5A3D;
  --primary-dark: #0D2B1A;
  --primary-bright: #4A9A35;
  --accent-lime: #6DBE45;
  --accent-gold: #C9A87C;
  --text-dark: #1A1A1A;
  --text-muted: #666;
  --text-light: #FFFFFF;
  --border-light: rgba(0,0,0,0.06);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-image: url('../images/generated/linen-paper.png');
  background-size: 400px 400px;
  background-repeat: repeat;
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif { font-family: var(--font-serif); font-weight: 700; }
a { text-decoration: none; color: inherit; }

section { padding: 100px 0; position: relative; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,43,26,0.92); backdrop-filter: blur(10px);
  padding: 14px 48px; display: flex; align-items: center; justify-content: space-between;
}
.navbar .logo {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--accent-lime); text-decoration: none;
}
.navbar .nav-links { display: flex; gap: 32px; }
.navbar .nav-links a {
  color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.navbar .nav-links a:hover { color: #FFFFFF; }
.navbar .nav-links a.active { color: var(--accent-lime); }
.navbar .nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent-lime); border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn-gold {
  display: inline-block; padding: 16px 40px; border-radius: 9999px;
  background: var(--accent-lime); color: var(--text-dark);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-gold:hover { background: #5aa838; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(109,190,69,0.3); }
.btn-outline {
  display: inline-block; padding: 16px 40px; border-radius: 9999px;
  background: transparent; color: #FFFFFF;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  transition: all 0.3s ease; border: 2px solid rgba(255,255,255,0.4); cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); border-color: #FFFFFF; }

/* ===== HERO ===== */
#hero {
  height: 100vh; min-height: 600px; padding: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-bright) 100%);
}
.hero-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.15);
}
.hero-content {
  position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-label {
  font-family: var(--font-sans); font-size: 14px; letter-spacing: 4px; font-weight: 600;
  color: var(--accent-gold); margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(42px, 72px, 10vw); font-weight: 700; color: var(--text-light);
  line-height: 1.08; margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(16px, 20px, 3vw); color: var(--accent-gold); font-weight: 400;
  margin-bottom: 36px; line-height: 1.6;
}
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bounceDown 2s infinite;
}
.scroll-indicator span {
  font-size: 11px; letter-spacing: 3px; color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.scroll-indicator .line {
  width: 1px; height: 50px; background: linear-gradient(to bottom, var(--accent-gold), transparent);
}
@keyframes bounceDown { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  font-family: var(--font-sans); font-size: 13px; letter-spacing: 4px; font-weight: 600;
  color: var(--accent-lime); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 48px, 6vw); color: var(--text-dark); line-height: 1.15;
}

/* ===== STATS ===== */
#stats {
  background: var(--primary); padding: 60px 0;
  position: relative; overflow: hidden;
}
#stats::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/texture-concrete.png');
  background-size: cover; background-repeat: no-repeat;
  opacity: 0.08; z-index: 1; pointer-events: none;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 20px; }
.stat-number {
  font-family: var(--font-serif); font-size: 52px; font-weight: 700;
  color: var(--accent-gold); line-height: 1.1; margin-bottom: 4px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,0.8); font-weight: 400; letter-spacing: 0.5px; }

/* ===== SERVICES ===== */
#services { background: var(--bg-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  background: var(--bg-white); border-radius: 32px; padding: 48px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.4s ease; border: 1px solid transparent;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent-lime); transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { color: var(--primary); margin-bottom: 24px; }
.service-card h3 { font-family: var(--font-serif); font-size: 26px; color: var(--text-dark); margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===== CRAFT VIDEO BANNER ===== */
#craft-video {
  height: 80vh; min-height: 500px; padding: 0; position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-dark);
}
.craft-video-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.craft-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,0.15);
}
.craft-content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 0 24px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ===== PROJECTS / WORK ===== */
#work { background: var(--bg-light-green); }
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 32px; }
.project-card {
  position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4/3; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,43,26,0.85) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
}
.project-overlay p { font-size: 13px; color: var(--accent-gold); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 4px; }
.project-overlay h4 { font-size: 22px; color: var(--text-light); font-weight: 600; }

/* ===== PROCESS ===== */
#process { background: var(--bg-light-green); }
.process-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.process-text .section-header { text-align: left; margin-bottom: 32px; }
.process-text p { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.timeline { display: flex; flex-direction: column; gap: 24px; }
.timeline-step {
  padding-left: 28px; border-left: 2px solid var(--accent-lime);
  position: relative;
}
.timeline-step::before {
  content: ''; position: absolute; left: -6px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent-lime); border: 2px solid var(--bg-white);
}
.step-title { font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.process-image { width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.process-image video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--bg-white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.testimonial-card {
  background: var(--bg-light-green); border-radius: 24px; padding: 40px 32px;
  transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.quote-icon { font-family: var(--font-serif); font-size: 56px; color: var(--accent-lime); line-height: 0.8; margin-bottom: 16px; }
.testimonial-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { font-weight: 600; color: var(--text-dark); font-size: 15px; }

/* ===== CTA & FOOTER ===== */
#cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center; padding: 100px 24px;
  position: relative; overflow: hidden;
}
#cta::after {
  content: ''; position: absolute; inset: 0;
  background-image: url('../images/texture-marble.png');
  background-size: cover; background-repeat: no-repeat;
  opacity: 0.05; z-index: 1; pointer-events: none;
  mix-blend-mode: overlay;
}
.cta-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(32px, 48px, 6vw); color: var(--text-light); margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: var(--accent-gold); margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

footer {
  background: var(--primary-dark); padding: 32px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--accent-lime); }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.6); font-size: 14px; transition: color 0.3s; }
.footer-nav a:hover { color: var(--accent-lime); }
.footer-note { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .navbar { padding: 12px 24px; }
  .navbar .nav-links { gap: 20px; }
  .process-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  .navbar .nav-links { gap: 14px; }
  .navbar .nav-links a { font-size: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .services-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 36px; }
  footer { flex-direction: column; text-align: center; }
  .footer-nav { gap: 20px; justify-content: center; }
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 36px; }
  .btn-gold, .btn-outline { padding: 14px 28px; font-size: 14px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stat-number { font-size: 30px; }
}
