/* CSS Variables */
:root {
  --color-primary: #2c6e49;
  --color-secondary: #f4f1de;
  --color-snow-white: #F8FAFB;
  --color-slate-gray: #AEB6BF;
  --color-leaf-green: #7BAF7A;
  --color-warm-straw: #DCCCA3;
  --color-deep-graphite: #1F2426;
  --font-primary: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition-fast: 0.3s ease;
  --transition-slow: 0.5s ease;
  --shadow-sm: 0 2px 4px rgba(31, 36, 38, 0.1);
  --shadow-md: 0 4px 8px rgba(31, 36, 38, 0.15);
  --shadow-lg: 0 8px 16px rgba(31, 36, 38, 0.2);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-deep-graphite);
  background-color: var(--color-snow-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-deep-graphite);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-leaf-green);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary);
}

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

/* Header */
.site-header {
  background-color: var(--color-snow-white);
  border-bottom: 1px solid var(--color-slate-gray);
  padding: var(--space-md) var(--space-lg);
  position: relative;
  transition: transform var(--transition-fast);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.brand-name {
  font-family: var(--font-primary);
    font-size: clamp(1.1rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--color-deep-graphite);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu li a {
  color: var(--color-deep-graphite);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.nav-menu li a:hover {
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.burger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-deep-graphite);
  font-size: 1.5rem;
  order: 999;
}

.burger-icon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.burger-icon span {
  width: 100%;
  height: 2px;
  background-color: var(--color-deep-graphite);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.burger-button.active .burger-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-button.active .burger-icon span:nth-child(2) {
  opacity: 0;
}

.burger-button.active .burger-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-button {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-snow-white);
    flex-direction: column;
    border-top: 1px solid var(--color-slate-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-fast);
    gap: var(--space-sm);
      z-index: 10000;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    width: 100%;
    padding: var(--space-md);
  }
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-lg);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background-color: var(--color-secondary);
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-deep-graphite);
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(31, 36, 38, 0.3), rgba(31, 36, 38, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: white;
  z-index: 1;
  padding: var(--space-lg);
}

.banner-content h1 {
  color: white;
  margin-bottom: var(--space-md);
}

/* Grid Layouts */
.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Cards */
.card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.card-text {
  color: var(--color-deep-graphite);
  margin-bottom: var(--space-md);
}

.card-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-leaf-green);
  margin-top: var(--space-md);
}

/* Material Cards */
.material-card {
  background: linear-gradient(135deg, var(--color-snow-white) 0%, var(--color-secondary) 100%);
  border-left: 4px solid var(--color-leaf-green);
}

.material-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-slate-gray);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.875rem;
  color: var(--color-slate-gray);
  margin-bottom: var(--space-xs);
}

.spec-value {
  font-weight: 600;
  color: var(--color-deep-graphite);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-leaf-green);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  text-align: center;
  font-family: var(--font-body);
}

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

.btn-secondary {
  background-color: var(--color-slate-gray);
}

.btn-secondary:hover {
    color: var(--color-slate-gray);
  background-color: var(--color-deep-graphite);
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.125rem;
}

.result-title {
  color: white;
  margin-bottom: var(--space-lg);
  text-align: center;
}

.result-note {
  text-align: center;
  margin-top: var(--space-lg);
  opacity: 0.9;
  font-size: 0.875rem;
}

.link-green-bold {
  color: var(--color-leaf-green);
  font-weight: 600;
}

.link-green-bold:hover {
  color: var(--color-primary);
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 500;
  color: var(--color-deep-graphite);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  border: 1px solid var(--color-slate-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-leaf-green);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Google Maps */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Calculator */
.calculator-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.calculator-result {
  background: linear-gradient(135deg, var(--color-leaf-green) 0%, var(--color-primary) 100%);
  color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  margin-top: var(--space-lg);
  display: none;
}

.calculator-result.active {
  display: block;
}

.result-item {
  margin-bottom: var(--space-md);
}

.result-label {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-bottom: var(--space-xs);
}

.result-value {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Accordion */
.accordion {
  margin-bottom: var(--space-md);
}

.accordion-header {
  background-color: var(--color-secondary);
  padding: var(--space-md) var(--space-lg);
  cursor: pointer;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: var(--color-warm-straw);
}

.accordion-header.active {
  background-color: var(--color-leaf-green);
  color: white;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  background-color: white;
  padding: 0 var(--space-lg);
}

.accordion-content.active {
  max-height: 1000px;
  padding: var(--space-lg);
}

.accordion-icon {
  transition: transform var(--transition-fast);
}

.accordion-header.active .accordion-icon {
  transform: rotate(180deg);
}

/* Diagrams */
.diagram-container {
  background-color: white;
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  margin: var(--space-xl) 0;
  box-shadow: var(--shadow-sm);
}

.diagram-visual {
  width: 100%;
  height: 300px;
  background: linear-gradient(to right, var(--color-warm-straw), var(--color-slate-gray));
  border-radius: var(--radius-sm);
  position: relative;
  margin: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-deep-graphite);
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--color-deep-graphite);
  color: var(--color-snow-white);
  padding: var(--space-xl) var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

.footer-section h3 {
  color: var(--color-snow-white);
  margin-bottom: var(--space-md);
  font-size: 1.125rem;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: var(--space-sm);
}

.footer-menu a {
  color: var(--color-slate-gray);
  transition: color var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-snow-white);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid rgba(174, 182, 191, 0.3);
  color: var(--color-slate-gray);
  font-size: 0.875rem;
}

/* Privacy Popup */
.privacy-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-deep-graphite);
  color: var(--color-snow-white);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-fast);
}

.privacy-popup.active {
  transform: translateY(0);
}

.privacy-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.privacy-popup-text {
  flex: 1;
  min-width: 250px;
}

.privacy-popup-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.privacy-popup .btn {
  background-color: var(--color-leaf-green);
  color: white;
}

.privacy-popup .btn:hover {
  background-color: var(--color-primary);
}

/* Thank You Page */
.thank-you-container {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--color-leaf-green);
  margin-bottom: var(--space-lg);
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--color-leaf-green);
  margin-bottom: var(--space-md);
}

.error-message {
  font-size: 1.5rem;
  margin-bottom: var(--space-xl);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.max-w-600 {
  max-width: 600px;
}

.max-w-900 {
  max-width: 900px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.text-gray {
  color: var(--color-slate-gray);
}

.text-green {
  color: var(--color-leaf-green);
}

.list-unstyled {
  list-style: none;
  padding: 0;
}

.list-indent {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.list-indent-top {
  margin-left: var(--space-lg);
  margin-top: var(--space-md);
}

.diagram-small {
  height: 250px;
}

.date-text {
  color: var(--color-slate-gray);
  margin-bottom: var(--space-xl);
}

.footer-contact {
  color: var(--color-slate-gray);
  margin-bottom: var(--space-sm);
}

.footer-contact:last-child {
  margin-bottom: 0;
}

.content-card {
  max-width: 900px;
  margin: 0 auto;
}

.contact-icon {
  color: var(--color-leaf-green);
  font-size: 1.5rem;
  margin-right: var(--space-md);
}

.contact-info-item {
  margin-bottom: var(--space-lg);
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-text {
  margin-top: var(--space-sm);
  margin-left: calc(1.5rem + var(--space-md));
}

.info-list-item {
  padding: var(--space-md);
  border-left: 3px solid var(--color-leaf-green);
  margin-bottom: var(--space-md);
}

.info-list-item:last-child {
  margin-bottom: 0;
}

.text-lg {
  font-size: 1.125rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-sm-gray {
  color: var(--color-slate-gray);
  font-size: 0.875rem;
}

.center-div {
  text-align: center;
  margin-top: var(--space-xl);
}

.mt-contact {
  margin-top: var(--space-md);
}

.link-green {
  color: var(--color-leaf-green);
}

.link-green:hover {
  color: var(--color-primary);
}

.banner-img {
  border-radius: var(--radius-md);
  margin: 0 auto var(--space-lg);
  max-width: 100%;
}

.info-text {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

.icon-large {
  font-size: 3rem;
  color: var(--color-leaf-green);
  margin-bottom: var(--space-md);
}

.icon-medium {
  font-size: 2.5rem;
  color: var(--color-leaf-green);
  margin-bottom: var(--space-md);
}

.info-item-flex {
  display: flex;
  align-items: start;
  gap: var(--space-md);
}

.info-icon {
  color: var(--color-leaf-green);
  font-size: 1.5rem;
  margin-top: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: var(--space-md);
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .banner {
    height: 300px;
  }

  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
  }

  .form-container,
  .calculator-container {
    padding: var(--space-lg);
  }

  .privacy-popup-content {
    flex-direction: column;
    text-align: center;
  }

  .privacy-popup-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .banner {
    height: 250px;
  }

  .card {
    padding: var(--space-md);
  }

  .form-container,
  .calculator-container {
    padding: var(--space-md);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 12px;
  }

  .header-container {
    padding: var(--space-sm);
  }

  .container {
    padding: var(--space-sm);
  }
}

