@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Lato:wght@400;700&display=swap');

:root {
  --primary-green: #518E3E;
  --primary-brown: #966F4F;
  --dark-grey: #333333;
  --light-grey: #F8F8F8;
  --white: #FFFFFF;
  --font-heading: 'Merriweather', serif;
  --font-body: 'Lato', sans-serif;
  --shadow-light: 0 4px 8px rgba(0,0,0,0.05);
  --shadow-medium: 0 6px 12px rgba(0,0,0,0.1);
  --shadow-heavy: 0 10px 20px rgba(0,0,0,0.15);
  --transition-base: all 0.3s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

a {
  text-decoration: none;
  color: inherit;
}

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

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

.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  font-family: var(--font-body);
  font-size: 18px;
}

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

.btn-primary:hover {
  background-color: var(--primary-brown);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  padding: 14px 30px;
  font-size: 16px;
}

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  color: var(--dark-grey);
  margin-bottom: 15px;
}

.section-title p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  transition: var(--transition-smooth);
}

.header-top {
  background-color: var(--light-grey);
  padding: 8px 0;
  font-size: 14px;
  display: none;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  transition: var(--transition-smooth);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

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

.nav-links a {
  font-size: 16px;
  color: var(--dark-grey);
  transition: var(--transition-base);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quick-contact {
  display: flex;
  gap: 15px;
}

.quick-contact a {
  color: var(--dark-grey);
  transition: var(--transition-base);
}

.quick-contact a:hover {
  color: var(--primary-green);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--dark-grey);
  transition: var(--transition-base);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(51, 51, 51, 0.95);
  z-index: 2000;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: var(--white);
  font-size: 24px;
  font-family: var(--font-body);
}

.mobile-menu .btn-primary {
  margin-top: 20px;
}

.mobile-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Value Proposition */
.value-proposition {
  background-color: var(--light-grey);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.value-quote {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.value-quote h2 {
  font-size: 2.25rem;
  color: var(--dark-grey);
  margin-bottom: 30px;
  font-style: italic;
}

.value-quote h2 span {
  color: var(--primary-green);
}

.value-quote p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

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

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  box-shadow: var(--shadow-light);
  transition: var(--transition-smooth);
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-heavy);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 28px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.25rem;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Split Section */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.split-image {
  background-size: cover;
  background-position: center;
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p {
  color: #666;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Process Section */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

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

.process-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background-color: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 36px;
  position: relative;
}

.process-step h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.process-step p {
  color: #666;
  font-size: 0.9rem;
}

.process-line {
  position: absolute;
  top: 50px;
  left: 25%;
  right: 25%;
  height: 2px;
  background-color: var(--primary-brown);
  opacity: 0.3;
}

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

.project-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
}

.project-card:hover img {
  transform: scale(1.1);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-light);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: #888;
}

/* About Snippet */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 20px;
}

.about-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}

/* CTA Section */
.cta-section {
  background-color: var(--primary-green);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.faq-intro h2 {
  margin-bottom: 20px;
}

.faq-intro p {
  color: #666;
  line-height: 1.8;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #E0E0E0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--dark-grey);
}

.faq-question.active {
  color: var(--primary-green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #666;
  line-height: 1.7;
}

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.contact-item {
  padding: 30px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background-color: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 24px;
}

.contact-item h4 {
  margin-bottom: 10px;
}

.contact-item p {
  color: #666;
}

.contact-item a {
  color: var(--primary-green);
  transition: var(--transition-base);
}

.contact-item a:hover {
  color: var(--primary-brown);
}

/* Contact Form */
.contact-form-section {
  background-color: var(--light-grey);
  padding: 80px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(81,142,62,0.2);
  outline: none;
}

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

/* Footer */
footer {
  background-color: var(--dark-grey);
  color: var(--light-grey);
  padding: 60px 0 20px;
}

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

.footer-brand img {
  height: 50px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background-color: var(--primary-green);
}

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

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  opacity: 0.8;
  transition: var(--transition-base);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-green);
}

.footer-contact p {
  opacity: 0.8;
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  opacity: 0.6;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.footer-legal a:hover {
  opacity: 1;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* Scroll Reveal Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive Styles */
@media (max-width: 1023px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .header-main {
    padding: 15px 20px;
  }
  
  .nav-links {
    display: none;
  }
  
  .header-cta .btn {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .process-line {
    display: none;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .split-section {
    grid-template-columns: 1fr;
  }
  
  .split-image {
    min-height: 350px;
  }
  
  .faq-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.4rem; }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .about-split {
    grid-template-columns: 1fr;
  }
  
  .about-split .about-image {
    order: -1;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .quick-contact {
    display: none;
  }
  
  .value-quote h2 {
    font-size: 1.5rem;
  }
}
