/* About Section - Sobre Nós */

.about-section {
  background-color: var(--color-secondary-900);
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* Left side - Text content */
.about-text {
  color: #ffffff;
  max-width: 600px;
}

.about-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin-bottom: var(--space-3);
  line-height: var(--line-height-tight);
}

.about-title .green-text {
  color: var(--color-primary-500);
}

.about-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-primary-500);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-6);
  letter-spacing: 2px;
}

.about-description {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: var(--line-height-relaxed);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-16);
}

.specialties-title {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 2px;
  margin-bottom: var(--space-8);
  text-transform: uppercase;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.specialty-item {
  text-align: center;
  transition: transform var(--transition-base);
}

.specialty-item:hover {
  transform: translateY(-8px);
}

.specialty-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 0;
  transition: transform var(--transition-base);
}

.specialty-item:hover .specialty-icon {
  background: transparent;
  transform: scale(1.15);
}

.specialty-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.specialty-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Right side - Images */
.about-images {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dot pattern background */
.dot-pattern {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(50, 149, 53, 0.3) 2px, transparent 2px);
  background-size: 20px 20px;
  z-index: 1;
}

/* Image containers */
.image-back {
  position: absolute;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  width: 350px;
  height: 450px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.image-front {
  position: absolute;
  top: 35%;
  right: 0;
  transform: translateY(-50%);
  width: 300px;
  height: 380px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.image-back img,
.image-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  
  .about-text {
    max-width: 100%;
  }
  
  .about-images {
    height: 500px;
  }
  
  .image-back {
    right: 80px;
    width: 300px;
    height: 380px;
  }
  
  .image-front {
    right: 0;
    width: 250px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: var(--space-16) 0;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-title {
    text-align: center;
  }
  
  .about-subtitle {
    text-align: center;
  }
  
  .about-description {
    text-align: center;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .specialty-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    text-align: left;
  }
  
  .specialty-icon {
    width: 80px;
    height: 80px;
    margin: 0;
  }
  
  .specialty-icon img {
    width: 100%;
    height: 100%;
  }
  
  .about-images {
    height: 400px;
  }
  
  .dot-pattern {
    width: 100%;
    height: 100%;
  }
  
  .image-back {
    left: 5%;
    right: auto;
    top: 50%;
    width: 42%;
    height: 300px;
  }
  
  .image-front {
    left: auto;
    right: 5%;
    top: 50%;
    width: 42%;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .about-images {
    height: 300px;
  }
  
  .dot-pattern {
    width: 100%;
    height: 100%;
  }
  
  .image-back {
    left: 3%;
    right: auto;
    top: 50%;
    width: 44%;
    height: 250px;
  }
  
  .image-front {
    left: auto;
    right: 3%;
    top: 50%;
    width: 44%;
    height: 250px;
  }
}
