/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #0f172a;
  background-color: #ffffff;
}

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

/* Header */
.header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: #008547;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-square {
  width: 1rem;
  height: 1rem;
  background: #ffffff;
  border-radius: 0.125rem;
}

.logo h1,
.logo h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.nav {
  display: none;
  gap: 1.5rem;
}

.nav a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.nav a:hover {
  color: #0f172a;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

/* Buttons */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-primary {
  background: #008547;
  color: #ffffff;
}

.btn-primary:hover {
  background: #047857;
}

.btn-outline {
  background: transparent;
  color: #008547;
  border: 1px solid #008547;
}

.btn-outline:hover {
  background: #008547;
  color: #ffffff;
}

.btn-large {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #008547;
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.badge-secondary {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.text-primary {
  color: #008547;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

/* Sections */
.services,
.about,
.contact {
  padding: 4rem 0;
}

.gallery,
.testimonials {
  padding: 4rem 0;
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-header p {
  color: #64748b;
  margin-bottom: 1rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #008547;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-content ul {
  list-style: none;
}

.card-content li {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Grids */
.services-grid,
.gallery-grid,
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid,
  .gallery-grid,
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Gallery */
.gallery-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.gallery-item:hover {
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.gallery-content {
  padding: 1rem;
}

.gallery-content h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.gallery-content p {
  color: #64748b;
  font-size: 0.875rem;
}

/* About */
.about-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #008547;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #64748b;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-image {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
}

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

/* Testimonials */
.testimonial {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.stars {
  color: #008547;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial p {
  color: #64748b;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-author strong {
  color: #0f172a;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.875rem;
  display: block;
}

/* Contact */
.contact-content {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-icon {
  font-size: 1.25rem;
  color: #008547;
}

.contact-item strong {
  color: #0f172a;
}

.contact-item p {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  background: #ffffff;
  font-size: 0.875rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #008547;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

/* Footer */
.footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section h4 {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

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

.footer-section li {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-section p {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid #e2e8f0;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }
}
