/* Core Styles */
:root {
  --primary: #3c5e37;
  --secondary: #daa520;
  --foreground: #1a1a1a;
  --background: #ffffff;
  --muted: #f5f5f5;
  --text-light: #555555;
  --text-dark: #333333;
  --border: #e2e2e2;
  --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--foreground);
  margin-top: 0;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 50;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.logo {
  width: 220px;
  height: auto;
}

.nav {
  display: none;
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.nav-link {
  color: var(--foreground);
  font-weight: 500;
}

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

.mobile-menu-button {
  background: none;
  border: none;
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-item {
  padding: 0.5rem 1rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-title .subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.section-title .line {
  height: 4px;
  width: 6rem;
  background-color: var(--secondary);
  margin: 0 auto 1rem auto;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: white;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(60, 94, 55, 0.9), rgba(60, 94, 55, 0.75));
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

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

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

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

.btn-primary:hover {
  background-color: var(--primary);
  opacity: 0.9;
  color: white;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--foreground);
  border: none;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  opacity: 0.9;
}

.btn-white {
  background-color: white;
  color: var(--foreground);
  border: 1px solid white;
}

.btn-white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
}

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

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* About Section */
.about {
  background-color: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.about-image {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  text-align: justify;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background-color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.service-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-icon {
  color: var(--secondary);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.service-link {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
}

.service-link i {
  margin-left: 0.5rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
  position: relative;
}

.testimonial-content {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: justify;
}

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

.testimonial-author-image {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 1rem;
}

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

.testimonial-author-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author-title {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* Statistics Section */
.statistics {
  position: relative;
  color: white;
  padding: 4rem 0;
}

.statistics-background {
  position: absolute;
  inset: 0;
  background-color: var(--primary);
  z-index: 0;
}

.statistics-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/statistics-background.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

.statistics-content {
  position: relative;
  z-index: 1;
}

.statistics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.statistic-item {
  padding: 1.5rem;
}

.statistic-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.statistic-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.statistic-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Clients Section */
.clients {
  background-color: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.client-item {
  text-align: center;
  padding: 1.5rem;
}

.client-icon {
  font-size: 2.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.client-name {
  font-weight: 600;
}

/* Contact Section */
.contact {
  background-color: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  margin-bottom: 2rem;
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-right: 1rem;
  margin-top: 0.25rem;
}

.contact-info-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-info-content p {
  color: var(--text-light);
}

.contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--secondary);
  color: white;
}

.contact-form {
  background-color: var(--muted);
  border-radius: 0.5rem;
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

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

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 2;
  }
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: white;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(60, 94, 55, 0.2);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.form-check-input {
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  background-color: white;
  cursor: pointer;
  position: relative;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input:checked::after {
  content: "✓";
  position: absolute;
  top: -3px;
  left: 1px;
  color: white;
  font-size: 0.875rem;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.form-button {
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  width: 100%;
}

@media (min-width: 768px) {
  .form-button {
    width: auto;
  }
}

/* Footer */
.footer {
  background-color: var(--foreground);
  color: white;
  padding: 5rem 0 0;
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  width: 180px;
  height: auto;
}

.footer-desc {
  color: #a0a0a0;
  margin-bottom: 1.5rem;
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: #a0a0a0;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #a0a0a0;
}

.footer-hours li {
  margin-bottom: 0.75rem;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  background-color: var(--secondary);
  color: var(--foreground);
  font-weight: 600;
  margin-top: 1.5rem;
}

.footer-whatsapp i {
  margin-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 2rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  color: #777;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal-link {
  color: #777;
  font-size: 0.875rem;
}

.footer-legal-link:hover {
  color: var(--secondary);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  color: white;
}

/* Media Queries */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .nav {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .services-grid,
  .testimonial-grid,
  .statistics-grid,
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-bottom-inner {
    flex-direction: row;
  }
  
  .footer-copyright {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4) {
    grid-column: span 1;
    justify-self: center;
    width: 90%;
    margin: 0 auto;
  }
  
  .statistics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form Validation */
.has-error .form-control {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}