:root {
  --bg-color: #f4f6f2;
  --forest-green: #1e3522;
  --forest-green-light: #2d4f33;
  --wheat-gold: #b38540;
  --wheat-bg: #fdfbf7;
  --text-dark: #222c24;
  --text-muted: #5e6660;
  --white: #ffffff;
  --border-color: #e2e5e0;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--forest-green);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  background-color: rgba(244, 246, 242, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}

.brand {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 1px;
  color: var(--forest-green);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--forest-green);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--forest-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--forest-green-light);
  transform: translateY(-2px);
}

.btn-forest {
  background-color: var(--forest-green);
  color: var(--white);
  border-radius: 8px;
}

.btn-forest:hover {
  background-color: var(--forest-green-light);
}

.w-full {
  width: 100%;
  text-align: center;
}

/* Hero */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 80px 20px;
  background-image: linear-gradient(to right, rgba(244, 246, 242, 0.95) 40%, rgba(244, 246, 242, 0.6)), url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.hero-text-wrapper {
  max-width: 600px;
  margin-left: 8%;
}

.hero-pretitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--wheat-gold);
  margin-bottom: 12px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--wheat-gold);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 500;
}

/* Sections General */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 50px;
}

/* Grid helper */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Philosophy */
.philosophy-section {
  background-color: var(--white);
}

.phil-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
}

.phil-bullets {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.phil-bullets li {
  position: relative;
  padding-left: 28px;
}

.phil-bullets li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wheat-gold);
  font-weight: bold;
}

/* Configurator Box Builder */
.config-section {
  background-color: #fcfdfc;
}

.config-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.config-controls h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.size-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size-option {
  border: 1px solid var(--border-color);
  background-color: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  cursor: pointer;
  transition: all 0.2s;
}

.size-option:hover {
  border-color: var(--forest-green);
}

.size-option.active {
  border-color: var(--forest-green);
  background-color: #f1f6f2;
  box-shadow: 0 4px 12px rgba(30, 53, 34, 0.05);
}

.size-title {
  font-weight: 700;
  color: var(--forest-green);
  grid-column: 1;
}

.size-desc {
  grid-row: 2;
  grid-column: span 2;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.size-price {
  grid-column: 2;
  text-align: right;
  font-weight: 700;
}

.addon-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.addon-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  background-color: var(--white);
  border-radius: 8px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.addon-option:hover {
  border-color: var(--forest-green);
}

.addon-option input {
  margin-right: 12px;
  accent-color: var(--forest-green);
}

.addon-name {
  flex-grow: 1;
}

.addon-price {
  font-weight: 700;
  color: var(--forest-green);
}

/* Config Preview Card */
.preview-box-card {
  background-color: var(--wheat-bg);
  border: 1px solid #ebdcc5;
  border-radius: 12px;
  padding: 30px;
  position: sticky;
  top: 120px;
  box-shadow: 0 4px 20px rgba(179, 133, 64, 0.04);
}

.preview-box-card h3 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--wheat-gold);
  margin-bottom: 20px;
}

.box-summary-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.15rem;
}

hr {
  border: 0;
  border-top: 1px solid #ebdcc5;
  margin: 20px 0;
}

.addons-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.empty-addons-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.addon-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--forest-green);
  margin-bottom: 30px;
}

/* Product Showcase Grid */
.products-section {
  background-color: var(--bg-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.01);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.04);
}

.product-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 60px 40px;
  background-color: var(--forest-green);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Tablet Layout */
@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .config-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 3rem;
  }
}

/* Mobile Layout */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }
  .hero {
    padding: 60px 0;
  }
  .hero-text-wrapper {
    margin-left: 0;
    padding: 0 20px;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  .section {
    padding: 60px 0;
  }
}
