/*=============== 50 ANOS PAGE STYLES ===============*/

/*=============== HERO 50 ===============*/
.hero-50 {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.95) 0%, rgba(255, 140, 66, 0.9) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-50::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -250px;
  right: -100px;
  z-index: 1;
}

.hero-50::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -200px;
  left: -100px;
  z-index: 1;
}

.hero-50__logo {
  position: relative;
  z-index: 2;
  margin: 0 auto 2.5rem;
  text-align: center;
  animation: fadeInDown 0.8s ease;
  max-width: 600px;
}

.hero-50__logo img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.hero-50__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white-color);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-50__subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white-color);
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/*=============== ABOUT 50 ===============*/
.about-50 {
  background: var(--white-color);
}

.about-50__text {
  max-width: 900px;
  margin: 0 auto;
}

.about-50__text p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-50__text strong {
  color: var(--first-color);
  font-weight: 600;
}

/*=============== VALORES 50 ===============*/
.valores-50 {
  background: var(--container-color);
}

.valores-50__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.valor-card {
  background: var(--white-color);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid var(--border-color);
}

.valor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.15);
  border-color: var(--first-color);
}

.valor-card__icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  color: var(--white-color);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.3);
}

.valor-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1rem;
}

.valor-card__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-color);
}

.valor-card__text strong {
  color: var(--first-color);
  font-weight: 600;
}

/*=============== TIMELINE 50 ===============*/
.timeline-50 {
  background: var(--white-color);
  padding: 6rem 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: linear-gradient(180deg, var(--first-color) 0%, var(--first-color-dark) 100%);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 3px;
  box-shadow: 0 0 20px rgba(255, 87, 34, 0.3);
}

.timeline-item {
  padding: 20px 50px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item--left {
  left: 0;
  padding-right: 50px;
}

.timeline-item--right {
  left: 50%;
  padding-left: 50px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--white-color);
  border: 5px solid var(--first-color);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(255, 87, 34, 0.1);
}

.timeline-item--left::after {
  right: -19px;
}

.timeline-item--right::after {
  left: -19px;
}

.timeline-content {
  background: var(--white-color);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.timeline-content:hover {
  border-color: var(--first-color);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.15);
  transform: translateY(-5px);
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-dark) 100%);
  color: var(--white-color);
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.timeline-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.timeline-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-color);
}

.timeline-text strong {
  color: var(--first-color);
  font-weight: 600;
}

/*=============== SERVICOS 50 ===============*/
.servicos-50 {
  background: var(--container-color);
}

.servicos-50__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.servico-card {
  background: var(--white-color);
  padding: 3rem 2.5rem;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.servico-card:hover {
  border-color: var(--first-color);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.15);
  transform: translateY(-8px);
}

.servico-card__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white-color);
  margin-bottom: 2rem;
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.3);
}

.servico-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 1.25rem;
}

.servico-card__intro {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.25rem;
}

.servico-card__list {
  list-style: none;
}

.servico-card__list li {
  font-size: 1.0625rem;
  color: var(--text-color);
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.servico-card__list li i {
  color: var(--first-color);
  font-size: 1.125rem;
}

.servico-card__text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-color);
}

.servico-card strong {
  color: var(--first-color);
  font-weight: 600;
}

/*=============== GALERIA 50 ===============*/
.galeria-50 {
  background: var(--white-color);
}

.galeria-50__subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--title-color);
  margin: 3rem 0 2rem;
  text-align: center;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 12px;
  transition: var(--transition);
  border: 2px solid var(--border-color);
  background: var(--container-color);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(255, 87, 34, 0.2);
  border-color: var(--first-color);
}

.gallery-placeholder {
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.gallery-placeholder i {
  font-size: 4rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.gallery-placeholder span {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 0.5rem;
}

.gallery-placeholder p {
  font-size: 0.9375rem;
  color: var(--text-color);
  margin: 0;
}

/*=============== SOCIAL 50 ===============*/
.social-50 {
  background: var(--container-color);
}

.social-50__intro {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-color);
  text-align: center;
  margin-bottom: 3rem;
}

.social-50__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.social-card {
  background: var(--white-color);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: var(--transition);
}

.social-card:hover {
  border-color: var(--first-color);
  box-shadow: 0 8px 24px rgba(255, 87, 34, 0.15);
  transform: translateY(-5px);
}

.social-card__icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--first-color) 0%, var(--first-color-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 2rem;
  color: var(--white-color);
  box-shadow: 0 6px 18px rgba(255, 87, 34, 0.3);
}

.social-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.social-card__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-color);
}

.social-50__footer {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-color);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/*=============== AGRADECIMENTO 50 ===============*/
.agradecimento-50 {
  background: linear-gradient(135deg, rgba(255, 87, 34, 0.95) 0%, rgba(255, 140, 66, 0.9) 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.agradecimento-50::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: -200px;
  left: -100px;
}

.agradecimento-50::after {
  content: '';
  position: absolute;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  bottom: -175px;
  right: -100px;
}

.agradecimento-50__content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.agradecimento-50__title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white-color);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.agradecimento-50__text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--white-color);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.agradecimento-50__highlight {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFD700;
  margin: 2rem 0 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/*=============== RESPONSIVE ===============*/
@media screen and (max-width: 1024px) {
  .valores-50__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .social-50__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item--left,
  .timeline-item--right {
    width: 100%;
    padding-left: 80px;
    padding-right: 30px;
    left: 0%;
  }

  .timeline::after {
    left: 40px;
  }

  .timeline-item::after {
    left: 26px !important;
    right: auto !important;
  }
}

@media screen and (max-width: 768px) {
  .hero-50 {
    padding: 6rem 0 4rem;
  }

  .hero-50__logo {
    max-width: 350px;
    margin: 0 auto 2rem;
  }

  .hero-50__logo img {
    max-width: 350px;
  }

  .hero-50__title {
    font-size: 1.75rem;
  }

  .hero-50__subtitle {
    font-size: 1.125rem;
  }

  .valores-50__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .servicos-50__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .social-50__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .agradecimento-50 {
    padding: 4rem 0;
  }

  .agradecimento-50__title {
    font-size: 1.875rem;
  }

  .agradecimento-50__text {
    font-size: 1.0625rem;
  }

  .agradecimento-50__highlight {
    font-size: 1.25rem;
  }

  .timeline-item {
    padding-left: 70px;
    padding-right: 20px;
  }

  .timeline::after {
    left: 30px;
  }

  .timeline-item::after {
    left: 16px !important;
  }
}

@media screen and (max-width: 480px) {
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 60px;
    padding-right: 15px;
  }

  .timeline::after {
    left: 20px;
  }

  .timeline-item::after {
    left: 6px !important;
  }

  .timeline-content {
    padding: 1.5rem;
  }
}

/*=============== ANIMATIONS ===============*/
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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