
section {
  padding: 2rem 4rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.services-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  height: 100dvh;
  margin: 0 auto;
  transition: all 0.5s ease;
  
}


.services-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.services-hero .hero-content {
  position: relative;
  z-index: 2;
}

.services-hero h1 {
  font-size: 2.2rem;
  color: #ffffff;
  animation: fadeDown 1.5s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.1rem;
  color: #eee;
  animation: fadeUp 1.5s ease;
}


/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 1rem;
  background: #555;
}

.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 1s ease;
  color: #000000;
}

.service-card i {
  font-size: 3rem;
  color: #ce4a0d;
  margin-bottom: 1rem;
}


/* CTA */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #ce4a0d, #ff8c42);
  color: #fff;
  text-align: center;
  height: 50vh;
}

.cta-section h2{
  font-size: 1.5rem;
}

.cta-section p{
  font-size: 1.2rem;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 1.8rem;
  background: #fff;
  border: none;
  color: #ce4a0d;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}


/* -------------------------------------------------- Specific Services-------------------------------------*/
.specific-services {
  position: relative;
  background-attachment: fixed;
  background-image: url("/static/media/images/background/fundo-bg-1-transp.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f3f3f3;
  margin: 0;
  padding: 5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  color: #000000;
  gap: 8rem;
}



.specific-services .content:nth-child(1),
.specific-services .content:nth-child(2) {
  display: flex;
  gap: 4rem;
  align-items: center;
  justify-content: space-between;
  text-justify: distribute-all-lines;
}

.specific-services .content:nth-child(1) {
    flex-direction: column;
}

.specific-services .content:nth-child(2) {
    flex-direction: column-reverse;
}

.specific-services .content .service-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.specific-services .content h2 {
  font-size: 1.5rem;
  text-transform: uppercase;
  color: #000000;
  font-weight: 900;
  margin: 0;
  letter-spacing: 5px;
  width: 100%;
}

.specific-services .content p{
  margin: 0;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 1px;
}

.specific-services .content h3{
  font-size: 1.2rem;
}

.specific-services .content .highlight {
  color: #ff5d11;
  font-weight: 900;
  text-transform: uppercase;
}


.specific-services .image-container {
  width: auto;
  max-width: 80%;
  display: flex;
  justify-content: center;
  align-items: start;
}

.specific-services .image-container img{
  width: 600px;
  border-radius: 20px;
  box-shadow: 0 
}

@media (min-width: 480px) {
.services-hero h1 {
  font-size: 2.4rem;
}

.hero-content p {
  font-size: 1.2rem;
}




}


/* ----------- Tablets (768px–1200px) ----------- */
@media (min-width: 768px) {
.services-hero h1 {
  font-size: 3rem;
}

.hero-content p {
  font-size: 1.5rem;
}

.service-card {
  height: 230px;
}

.specific-services .content .service-container{
  align-items: center;
}

.specific-services .content h2 {
  font-size: 2rem;

}
.specific-services .content p{
  font-size: 1.2rem;

}

.specific-services .content h3{
  font-size: 1.4rem;
}

.cta-section h2{
  font-size: 2rem;
}

.cta-section p{
  font-size: 1.6rem;
}


}


/* ----------- Desktop (1200px–1600px) ----------- */
@media (min-width: 1200px) {

  .services-hero {
  background: url('/static/media/images/pelarigo-maquinas-group.png');
  background-attachment: fixed;
  
}
.services-hero h1 {

  font-size: 4rem;
}

.hero-content p {
  font-size: 1.7rem;
}

.services-grid {
  padding: 4rem 4rem;
}
.service-card {
  height: 250px;
}

.cta-button:hover {
  background: #ce4a0d;
  color: #fff;
}
.specific-services {
  padding: 5rem 4rem;
  text-align: start;
}

.specific-services .content:nth-child(1) {
    flex-direction: row;
}

.specific-services .content:nth-child(2) {
    flex-direction: row;
}
.cta-section h2{
  font-size: 2.3rem;
}

.cta-section p{
  font-size: 1.5rem;
  letter-spacing: 2px;
}

}


/* ----------- Large Desktop (1600px+) ----------- */
@media (min-width: 1600px) {
.services-hero h1 {
  font-size: 4rem;
}

.hero-content p {
  font-size: 1.9rem;
}

.specific-services .content h2{
  text-align: center;
  font-size: 3rem;

}
.specific-services .content p{
  font-size: 1.9rem;
  text-align: start;
}

.specific-services .content .service-container{
  align-items: start;
}

.cta-section h2{
  font-size: 2.5rem;
}

.cta-section p{
  font-size: 1.7rem;
  letter-spacing: 2px;
}

}