/* ============================================================
   Elburg-Smit Demo – Stylesheet
   ============================================================ */

:root {
  --green-dark:   #1b3d2c;
  --green-mid:    #2e6b48;
  --green-light:  #4a9968;
  --green-pale:   #e8f4ed;
  --accent:       #c8a84b;
  --text:         #1a1a1a;
  --text-muted:   #6b6b6b;
  --border:       #e0e0e0;
  --white:        #ffffff;
  --off-white:    #f8f8f6;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --radius:       8px;
  --radius-lg:    16px;
  --font-body:    'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  gap: 24px;
  align-items: center;
}
.topbar-inner span { display: flex; align-items: center; gap: 6px; }
.lang-switch {
  margin-left: auto;
  display: flex;
  gap: 12px;
}
.lang-switch a {
  color: rgba(255,255,255,.6);
  font-weight: 500;
  transition: color .2s;
}
.lang-switch a:hover, .lang-switch a.active { color: var(--white); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.logo { text-decoration: none; }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--green-dark);
  letter-spacing: -.5px;
}
.logo-text strong { font-weight: 700; color: var(--green-mid); }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav ul li a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: background .2s, color .2s;
}
.nav ul li a:hover { background: var(--green-pale); color: var(--green-dark); }
.nav ul li a.active { color: var(--green-mid); }

.btn-nav {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
}
.btn-nav:hover { background: var(--green-mid) !important; }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  margin-left: auto;
  color: var(--green-dark);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-mid); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-outline-dark:hover { background: var(--green-dark); color: var(--white); }
.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  background: var(--green-pale);
  color: var(--green-dark);
  border: none;
}
.btn-sm:hover { background: var(--green-dark); color: var(--white); }
.btn-full { width: 100%; text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(20,50,35,.82) 0%, rgba(20,50,35,.45) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 24px;
}
.hero-tagline {
  display: inline-block;
  background: var(--accent);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   USP BAR
   ============================================================ */
.usp-bar {
  background: var(--green-dark);
  padding: 20px 0;
}
.usp-inner {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 14px;
  font-weight: 500;
}
.usp-icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 96px 0; }
.section-alt { background: var(--off-white); }

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-intro {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 56px;
}

/* ============================================================
   MARKET CARDS
   ============================================================ */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.market-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.market-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.market-card-img { height: 220px; overflow: hidden; }
.market-card-img img { width: 100%; height: 100%; transition: transform .4s; }
.market-card:hover .market-card-img img { transform: scale(1.05); }
.market-card-body { padding: 28px; }
.market-badge {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.agf-badge { background: #fff3e0; color: #8b5a00; }
.svc-badge { background: #e8eaf6; color: #3949ab; }
.market-card-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.market-card-body p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.product-list { margin-bottom: 20px; }
.product-list li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-list li::before {
  content: '→';
  color: var(--green-mid);
  font-size: 11px;
}

/* ============================================================
   PROCESS GRID
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.process-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.process-card:hover {
  border-color: var(--green-light);
  box-shadow: var(--shadow);
}
.process-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 700;
  color: var(--green-pale);
  line-height: 1;
  margin-bottom: 16px;
}
.process-card h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.process-card p { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
}
.portfolio-item.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  transition: transform .4s;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: linear-gradient(transparent, rgba(20,50,35,.8));
  color: var(--white);
  transform: translateY(8px);
  opacity: 0;
  transition: all .3s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; transform: translateY(0); }
.portfolio-overlay h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.portfolio-overlay p { font-size: 13px; opacity: .8; }

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.stats-row {
  display: flex;
  gap: 36px;
  margin: 36px 0;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; height: 480px; }

/* ============================================================
   NEWS
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; transition: transform .4s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px; }
.news-date { font-size: 12px; color: var(--green-mid); font-weight: 600; margin-bottom: 10px; display: block; }
.news-body h4 { font-size: 16px; font-weight: 600; color: var(--green-dark); margin-bottom: 10px; }
.news-body p { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.link-more { color: var(--green-mid); font-size: 13px; font-weight: 600; }
.link-more:hover { color: var(--green-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { background: var(--off-white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item strong { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--green-mid); }
.contact-item span, .contact-item a { color: var(--text); font-size: 15px; }
.contact-item a:hover { color: var(--green-mid); }
.social-links { display: flex; gap: 12px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}
.social-link:hover { background: var(--green-mid); }
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--green-dark); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); }
.form-group textarea { resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo { color: var(--white); font-size: 20px; }
.footer-logo strong { color: var(--accent); }
.footer-brand p { font-size: 14px; margin-top: 12px; margin-bottom: 24px; }
.newsletter { display: flex; gap: 8px; }
.newsletter input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 13px;
  outline: none;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter .btn-sm {
  background: var(--accent);
  color: var(--green-dark);
  font-weight: 700;
}
.footer-nav h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a { font-size: 14px; transition: color .2s; }
.footer-nav ul li a:hover { color: var(--white); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,50,35,.72);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--white); }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero-content p { font-size: 18px; color: rgba(255,255,255,.8); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-lead h2 { margin-bottom: 20px; }
.about-lead .lead { font-size: 18px; color: var(--text-muted); line-height: 1.7; }
.about-body p { color: var(--text-muted); margin-bottom: 16px; }

.vision-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vision-text h2 { margin-bottom: 20px; }
.vision-text p { color: var(--text-muted); margin-bottom: 16px; }
.vision-quote {
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin-top: 24px;
  background: var(--green-pale);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--green-dark);
  font-size: 16px;
}
.vision-img { border-radius: var(--radius-lg); overflow: hidden; }
.vision-img img { width: 100%; height: 400px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--green-pale);
  transition: background .2s, transform .2s;
}
.value-card:hover { background: var(--green-mid); transform: translateY(-4px); }
.value-card:hover h4, .value-card:hover p { color: var(--white); }
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-card h4 { font-size: 16px; font-weight: 600; color: var(--green-dark); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-muted); }

.timeline { max-width: 720px; margin: 48px auto 0; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 32px;
  padding-bottom: 40px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 74px;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--green-mid);
  z-index: 1;
}
.timeline-year {
  width: 64px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--green-mid);
  padding-top: 4px;
  text-align: right;
}
.timeline-content { padding-left: 24px; }
.timeline-content h4 { font-size: 16px; font-weight: 600; color: var(--green-dark); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--green-dark);
  text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 36px; }
.cta-inner .btn-outline-dark {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.cta-inner .btn-outline-dark:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .market-grid,
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-inner span:first-child { display: none; }
  .nav { display: none; }
  .hamburger { display: block; }

  .hero { min-height: 70vh; }
  .hero-content { max-width: 100%; }

  .market-grid,
  .news-grid,
  .process-grid { grid-template-columns: 1fr; }

  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item.large { grid-column: span 2; }

  .about-inner,
  .contact-inner,
  .about-page-intro,
  .vision-block { grid-template-columns: 1fr; gap: 40px; }

  .about-img img,
  .vision-img img { height: 280px; }

  .stats-row { gap: 24px; }

  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .timeline::before { left: 64px; }
  .timeline-item::before { left: 58px; }
  .timeline-year { width: 50px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item.large { grid-column: span 1; }
  .usp-inner { gap: 16px; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE MENU (JS toggle)
   ============================================================ */
/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1); }

.nav.open {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 200;
  padding: 80px 24px 24px;
}
.nav.open ul { flex-direction: column; align-items: flex-start; gap: 8px; }
.nav.open ul li a { font-size: 20px; padding: 12px 16px; display: block; width: 100%; }
