/* ======= GERAL ======= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #d1e7e3;
  color: #333;
}

/* ===== Header topo ===== */
.topo {
  background-color: #37939f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

/* Logo maior */
.logo img {
  height: 130px; /* mantenho o valor que você aumentou */
  display: block;
}

/* Barra de busca */
.search-box {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 760px;
  margin: 0 30px;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.search-box input {
  flex: 1;
  border: none;
  padding: 12px 18px;
  font-size: 16px;
  outline: none;
}

.search-box button {
  background: transparent;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
}

.search-box button img {
  height: 18px;
  display:block;
}

/* Ícones e login */
.icons-area {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 140px;
  justify-content: flex-end;
}

.icon {
  height: 30px;
  cursor: pointer;
}

.user-icon {
  height: 34px;
}

.login-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: 6px;
}

.login-links a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  font-size: 14px;
}

/* ===== Menu principal ===== */
.menu {
  background-color: #e3bc1a;
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) inset;
}

.menu > ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 12px 18px;
  margin: 0;
}

.menu > ul > li {
  position: relative;
}

/* Links principais */
.menu .menu-link {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  font-size: 18px;
}

/* ===== Setinhas ===== */
.menu .arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
  display: inline-block;
  transform: rotate(0deg);
}

.dropdown:hover .arrow,
.dropdown:focus-within .arrow {
  transform: rotate(180deg);
}

/* ===== Submenu ===== */
.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background-color: #ffffff;
  padding: 14px 18px;
  padding-right: 120px;
  border-radius: 12px;
  min-width: 260px;
  max-width: 420px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 420px;
  overflow-y: auto;
}

.submenu li {
  list-style: none;
}

.submenu a {
  display: block;
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 6px 2px;
  text-decoration: none;
}

.submenu a:hover {
  text-decoration: underline;
}

.dropdown:hover .submenu,
.dropdown:focus-within .submenu {
  display: flex;
}

/* ===== GIFzinho ===== */
.gifzinho {
  position: absolute;
  right: 12px;
  bottom: -8px;
  pointer-events: none;
}

.gifzinho img {
  width: 80px;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}

@media (max-width: 700px) {
  .gifzinho { display: none; }
}

/* ===== Responsividade ===== */
@media (max-width: 1000px) {
  .search-box { max-width: 420px; margin: 0 12px; }
  .menu > ul { gap: 12px; padding: 10px; overflow-x: auto; }
  .menu .menu-link { font-size: 16px; }
  .submenu { max-width: 320px; padding-right: 90px; }
}

@media (max-width: 700px) {
  .topo { flex-wrap: wrap; gap: 12px; }
  .search-box { order: 3; width: 100%; max-width: none; margin: 0 12px; }
  .icons-area { order: 2; margin-right: 12px; }
  .menu > ul { flex-wrap: wrap; justify-content: flex-start; padding: 8px; }

  .submenu {
    position: static;
    width: 100%;
    border-radius: 8px;
    box-shadow: none;
    padding: 12px;
    display: none;
    max-height: none;
    overflow: visible;
    padding-right: 12px;
  }

  .dropdown:focus-within .submenu {
    display: block;
  }
}

.submenu {
  display: none;
}

.dropdown.open .submenu {
  display: block;
}

/*-------------------------*/
/* ====== RODAPÉ ====== */
/*-------------------------*/

.footer {
  background-color: #2a8c94; /* cor igual da imagem */
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-logo {
  flex: 1 1 200px;
  text-align: center;
}

.footer-logo img {
  max-width: 160px;
}

.footer-logo p {
  font-size: 13px;
  margin-top: 8px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.footer-section p,
.footer-section small {
  margin: 4px 0;
  font-size: 14px;
}

.footer-section small {
  font-style: italic;
  font-size: 12px;
  color: #e0e0e0;
}

.socials a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  margin-bottom: 8px;
}

.socials img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .socials a {
    justify-content: center;
  }
}

/* Créditos abaixo do rodapé */
.footer-credits {
  background: #e3bc1a;  /* amarelo */
  text-align: center;
  padding: 10px;
  font-size: 14px;
  color: #000;
  font-weight: bold;
}


/* =================================== */
/* ======= ESTILO DA PÁGINA LOGIN ======= */
/* =================================== */

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #d1e7e3;
}

.login-page .login-container {
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  text-align: center;
  width: 100%;
  max-width: 350px;
}

/* Centralizar logo na tela de login */
.login-page .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.login-page .logo img {
  width: 140px;
  display: block;
}


.login-page .login-form h2 {
  margin-bottom: 20px;
  color: #333;
}

.login-page .input-group {
  margin-bottom: 15px;
}

.login-page .input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.login-page .input-group input:focus {
  border-color: #f5b800;
}

.login-page .btn {
  width: 100%;
  padding: 12px;
  background: #f5b800;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-page .btn:hover {
  background: #e0a700;
}

.login-page .register-text {
  margin-top: 15px;
  font-size: 14px;
  color: #333;
}

.login-page .register-text a {
  color: #007b83;
  text-decoration: none;
  font-weight: bold;
}

.login-page .register-text a:hover {
  text-decoration: underline;
}

/* =================================== */
/* ======= ESTILO DA PÁGINA FAVORITOS ======= */
/* =================================== */

.favoritos-container {
  margin-top: 30px;
  text-align: center;
}

.favoritos-vazio {
  border: 2px dashed #ccc;
  padding: 40px;
  border-radius: 10px;
  background: #d1e7e3;
  display: inline-block;
}

.favoritos-vazio img {
  width: 60px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.favoritos-vazio p {
  margin: 15px 0;
  font-size: 16px;
  color: #555;
}

.btn-voltar {
  display: inline-block;
  padding: 10px 20px;
  background: #d4af37;
  color: black;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-voltar:hover {
  background: #c7a42e;
}

/* ========================== */
/* ======= CARRINHO ========= */
/* ========================== */

.carrinho-container {
  max-width: 600px;
  margin: 40px auto;
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

/* Centralizar logo na tela de carrinho */
.carrinho-container .logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.carrinho-container .logo img {
  width: 140px;
  display: block;
}


.carrinho-container h2 {
  margin-bottom: 25px;
  color: #333;
}

.carrinho-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
  text-align: left;
}

.carrinho-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
}

.carrinho-info h3 {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.carrinho-info p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.btn-remover {
  margin-top: 8px;
  background: #ff5c5c;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-remover:hover {
  background: #e14b4b;
}

.carrinho-total {
  margin: 20px 0;
  font-size: 18px;
  color: #333;
}

.carrinho-botoes {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.carrinho-botoes a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-voltar {
  background: #ccc;
  color: #000;
}

.btn-voltar:hover {
  background: #b3b3b3;
}

.btn-finalizar {
  background: #f5b800;
  color: #000;
}

.btn-finalizar:hover {
  background: #e0a700;
}

/* Carrinho vazio */
.carrinho-vazio {
  margin-top: 30px;
}

.carrinho-vazio p {
  font-size: 18px;
  color: #555;
  margin-bottom: 20px;
}

/* Instagram Section */
.instagram-section {
  margin-top: 60px;
  text-align: center;
}

.instagram-section h2 {
  color: #2a8c94;
  margin-bottom: 10px;
}

.instagram-section p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
}

.instagram-box {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.instagram-box img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Botão Instagram */
.btn-instagram {
  display: inline-block;
  padding: 12px 25px;
  background: #e4405f;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-instagram:hover {
  background: #c32f54;
}

/* ==================================== */
/* ==================================== */
/* ===== CARROSSEL ===== */
/* ==================================== */
/* ==================================== */

.carousel {
  position: relative;
  max-width: 100%;
  margin: 20px auto;
  overflow: hidden;
}

.carousel-container {
  position: relative;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.carousel-slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from {opacity: 0.4;}
  to {opacity: 1;}
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-indicators .active {
  background: #2a8c94;
}

/* ===== INFO BOX ===== */
.info-section {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 40px auto;
  max-width: 1200px;
  gap: 20px;
}

.info-box {
  flex: 1 1 250px;
  text-align: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.info-box:hover {
  transform: translateY(-5px);
}

.info-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.info-box h3 {
  font-size: 18px;
  color: #000;
  margin-bottom: 8px;
}

.info-box p {
  font-size: 14px;
  color: #333;
}

/* ===================== */
/* ===================== */
/* ===== PRODUTOS ===== */
/* ===================== */
/* ===================== */

.produtos {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.titulo-secao {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000;
}

.produtos-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.produto-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  position: relative;
  transition: transform 0.3s;
}

.produto-card:hover {
  transform: translateY(-5px);
}

.produto-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 10px;
}

.produto-card h3 {
  font-size: 15px;
  margin: 8px 0;
  color: #333;
  min-height: 40px;
}

.preco {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  margin: 10px 0;
}

.btn-comprar {
  background: #00c200;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-comprar:hover {
  background: #009900;
}

/* Ícone favorito */
.produto-favorito {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #ccc;
  cursor: pointer;
}
.produto-favorito:hover {
  color: red;
}

 .link-secao {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

      .link-secao:hover {
  color: #ff9900; /* cor ao passar o mouse */
}

/* --- SEÇÃO BANHO E TOSA --- */
.banho-tosa {
  background-color: #f1c40f; /* amarelo */
  padding: 40px 20px;
  margin-top: 40px;
  border-radius: 10px;
}

.banho-tosa-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.banho-tosa-imagem img {
  width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

.banho-tosa-texto {
  max-width: 500px;
  text-align: center;
}

.banho-tosa-texto h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.banho-tosa-texto p {
  font-size: 16px;
  margin-bottom: 15px;
}

.btn-agendar {
  display: inline-block;
  padding: 12px 25px;
  background-color: #1abc9c;
  color: #fff;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-agendar:hover {
  background-color: #16a085;
}

/* --- SEÇÃO PARCEIROS --- */
.parceiros {
  background-color: #e3f2f2;
  padding: 30px 20px;
  margin-top: px;
  border-radius: 10px;
  text-align: center;
}

.parceiros h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.parceiros-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* força 5 colunas */
  gap: 20px;
  justify-items: center;
}

.parceiros-container img {
  max-width: 140px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.parceiros-container img:hover {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .parceiros-container {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas no celular */
  }
}

/* --- SEÇÃO VISITE NOSSA LOJA --- */

.visite-loja {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
}

.visite-loja h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.visite-loja p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #333;
}

.mapa-loja {
  width: 100%;
  max-width: 900px;
}

/*------------------------*/

/* Reset simples */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fundo da página */
body {
  font-family: Arial, sans-serif;
  background: #cadee0;
  color: #333;
}

/* HEADER GERAL */
header.topo-site {
  width: 100%;
}

/* Barra azul */
header .barra-azul {
  background: #37939f;
  padding: 20px 0;
  display: flex;
  justify-content: center; /* centraliza a logo */
}

header .logo-header {
  max-height: 100px;
  width: auto;
  display: block;
}

/* Barra amarela */
header .barra-amarela {
  background: #f1c40f; /* amarelo */
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

header .barra-amarela a {
  color: #000; /* preto no amarelo */
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s;
}

header .barra-amarela a:hover {
  opacity: 0.7;
}

.icon-user {
  width: 28px;
  vertical-align: middle;
  margin-right: 5px;
}


 
/* AREA DO CLIENTE */
.area-cliente {
  padding: 30px;
  text-align: center;
}

.area-cliente .boas-vindas h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.opcoes-cliente {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.card-opcao {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s;
}

.card-opcao:hover {
  transform: translateY(-5px);
}

.card-opcao img {
  max-width: 60px;
  margin-bottom: 10px;
}

.card-opcao h3 {
  color: #37939f;
  margin-bottom: 8px;
}

.card-opcao p {
  font-size: 0.9rem;
  color: #555;
}

.card-opcao.sair {
  background: #ffe5e5;
}

.card-opcao.sair h3 {
  color: #c0392b;
}

/* Botão adicionar pet - meus pets */
.btn-add {
  display: inline-block;
  margin: 15px 0;
  padding: 12px 20px;
  background: #f7c325; /* amarelo chamativo */
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: all 0.2s ease-in-out;
}

.btn-add:hover {
  background: #e0b020;
  transform: scale(1.05);
}

/* Faz o body ocupar 100% da tela */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* O conteúdo ocupa o espaço e empurra o footer pra baixo */
main {
  flex: 1;
}

/* ----------------------------------------------- */
/* Formulário de pets - cliente/cadastrar_pet.php */
/* ---------------------------------------------- */
.form-pet {
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-pet label {
  font-weight: bold;
}

.form-pet input,
.form-pet select,
.form-pet textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.form-pet textarea {
  resize: vertical;
  min-height: 80px;
}
