/* Responsividade personalizada para Cat & Dog */

/* Melhorias gerais de layout */
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Melhorias na logo */
.top-image {
  width: 50%;
  height: auto;
  max-width: 300px; /* Limita o tamanho máximo */
  min-width: 200px; /* Garante tamanho mínimo legível */
  transition: width 0.3s ease; /* Transição suave */
}

/* Melhorias para tablets */
@media (min-width: 768px) and (max-width: 1024px) {
  .top-image {
    width: 45%;
    max-width: 280px;
  }
  

}

/* Melhorias para dispositivos móveis */
@media (max-width: 767px) {
  .top-image {
    width: 70%; /* Reduzido de 85% para melhor proporção */
    max-width: 250px;
    min-width: 180px;
  }
  
  .container {
    padding: 0 15px; /* Padding lateral reduzido */
  }
  
  /* Melhora espaçamento em telas pequenas */
  .row {
    margin-top: 5vh; /* Reduz margem superior em mobile */
  }
}

/* Melhorias para telas muito pequenas */
@media (max-width: 480px) {
  .top-image {
    width: 65%;
    max-width: 220px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  /* Ajusta margem superior para telas muito pequenas */
  .row {
    margin-top: 3vh;
  }
}

/* Melhorias para telas muito grandes */
@media (min-width: 1200px) {
  .top-image {
    width: 40%;
    max-width: 320px;
  }
  

}

/* Melhorias no rodapé */
.footer-fixed {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 10px 0;
}

/* Melhora espaçamento entre elementos */
.column {
  margin-bottom: 20px;
}

/* Ajusta margem superior do título */
.column h1 {
  margin-top: 30px;
}

/* Melhora espaçamento da descrição */
.column p:first-of-type {
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Estilo especial para a frase descritiva principal */
.description-main {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #333;
  margin: 35px 0;
  padding: 20px 25px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: all 0.3s ease;
}

.description-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-color: #dee2e6;
}

/* Responsividade da descrição */
@media (max-width: 767px) {
  .description-main {
    font-size: 18px;
    padding: 18px 20px;
    margin: 25px 0;
  }
}

@media (max-width: 480px) {
  .description-main {
    font-size: 16px;
    padding: 15px 18px;
    margin: 20px 0;
  }
}

/* Estilo para a localização */
.location-info {
  font-size: 18px;
  font-weight: 500;
  color: #666;
  margin: 20px 0 30px 0;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f1f3f4 0%, #f8f9fa 100%);
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.location-info:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #d1d5d9;
}

/* Responsividade da localização */
@media (max-width: 767px) {
  .location-info {
    font-size: 16px;
    padding: 12px 18px;
    margin: 18px 0 25px 0;
  }
}

@media (max-width: 480px) {
  .location-info {
    font-size: 15px;
    padding: 10px 16px;
    margin: 15px 0 20px 0;
  }
}

/* Melhora espaçamento entre botões */
.button {
  margin-bottom: 15px;
}

/* Ajusta container para melhor distribuição vertical */
.row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

/* Melhora responsividade em orientação landscape em mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .top-image {
    width: 25%;
    max-width: 150px;
  }
  
  .row {
    min-height: 70vh;
    margin-top: 2vh;
  }
  
  .container {
    padding-bottom: 50px;
  }
}

/* Animações de carregamento */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Classes de animação */
.animate-logo {
  animation: fadeInScale 1.2s ease-out, breathe 3s ease-in-out 1.2s infinite;
}

.animate-bio {
  animation: slideUpFade 0.8s ease-out 0.8s both;
}

.animate-location {
  animation: slideUpFade 0.8s ease-out 1.2s both;
}

.animate-buttons {
  animation: slideUpFade 0.8s ease-out 1.6s both;
}

/* Estado inicial dos elementos */
.animate-bio,
.animate-location,
.animate-buttons {
  opacity: 0;
  transform: translateY(30px);
}



/* Responsividade das animações */
@media (prefers-reduced-motion: reduce) {
  .animate-logo,
  .animate-bio,
  .animate-location,
  .animate-buttons {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
