:root {
  /* Color Palette */
  --bg-primary: #0d1f16;
  --bg-secondary: #142a1f;
  --card-bg: rgba(255, 255, 255, 0.05);
  --accent-primary: #2f855a;
  --accent-secondary: #48bb78;
  --accent-wood: #c6a27e;
  --text-primary: #ecfdf5;
  --text-secondary: #9ae6b4;
  --border-color: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Layout Classes */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 110px 0;
}

.section-bg-secondary {
  background-color: var(--bg-secondary);
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 3rem; }
.text-wood { color: var(--accent-wood); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-wood);
  color: var(--accent-wood);
}

/* Split Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--accent-wood);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  opacity: 0.8;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent-secondary);
  opacity: 1;
}

.header-cta {
  display: flex;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background-color: var(--bg-secondary);
  background-image: url('images/photo-1542662565-7e4fd6e44b58-hero.png'); /* Descriptive name: hero-wooden-house-forest.jpg */
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, var(--bg-primary) 0%, rgba(13,31,22,0.7) 50%, rgba(13,31,22,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Section Headers */
.section-header {
  margin-bottom: 3rem;
}

.section-tagline {
  color: var(--accent-wood);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
}

/* Models Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.model-card {
  background: var(--card-bg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.model-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-wood);
}

.model-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.model-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.model-card:hover .model-img-wrap img {
  transform: scale(1.05);
}

.model-info {
  padding: 25px;
}

.model-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--accent-secondary);
}

.model-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.model-info .btn {
  width: 100%;
  margin-top: 15px;
}

/* Split Section (Why Wood / About) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.split-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  pointer-events: none;
}

.feature-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  color: var(--accent-wood);
  margin-right: 15px;
  font-size: 1.5rem;
  line-height: 1;
}

.feature-text h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  position: relative;
}

.pricing-card.popular {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-primary);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.price span {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.pricing-features {
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent-secondary);
  margin-right: 10px;
  font-weight: bold;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* Projects / Masonry Gallery */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.masonry-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(13,31,22,0.9) 0%, rgba(13,31,22,0) 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.review-card {
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.review-text {
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
}

.author-info h5 {
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--accent-wood);
}

/* Contact Section */
.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-secondary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.contact-info-block {
  margin-bottom: 30px;
}

.contact-info-block h4 {
  color: var(--accent-wood);
  margin-bottom: 10px;
}

/* Footer */
.site-footer {
  background-color: #08120c;
  padding: 80px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-wood);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Page Headers */
.page-header {
  padding: 100px 0 60px;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Simple text pages */
.text-content {
  max-width: 800px;
  margin: 0 auto;
}

.text-content h2 {
  margin-top: 2rem;
  color: var(--accent-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .section-padding { padding: 70px 0; }
  .hero h1 { font-size: 3rem; }
  .models-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular { transform: none; }
  .masonry-grid { column-count: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-toggle { display: block; }
  .header-cta { display: none; }

  .hero h1 { font-size: 2.5rem; }
  .hero-btns { flex-direction: column; }
  
  .split-layout { grid-template-columns: 1fr; gap: 30px; }
  .split-image { order: -1; }
  
  .models-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .masonry-grid { column-count: 1; }
  .footer-grid { grid-template-columns: 1fr; }
}