/* Definição de Variáveis Globais */
:root {
    --primary-color: #FF0000;      /* Vermelho vibrante (destaque principal) */
    --secondary-color: #FFD700;
    --terciary-color: #ffee8b;    /* Amarelo dourado (chamada secundária) */
    --whats-color: #219806; /*Cor do botão do whatsapp*/
    --accent-color: #000000;       /* Preto (textos, bordas, elementos de destaque) */
    --background-color: #FFFFFF;   /* Fundo branco para contraste */
    --card-background: #FFFFFF;    /* Fundo de cartões e seções */
    --text-color: #000000;         /* Texto principal em preto */
    --btn-hover: #CC0000;          /* Vermelho escuro para hover de botões */
    --border-color: #CCCCCC;       /* Borda suave */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Sombra sutil */
  }
  
  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: var(--background-color);
    color: var(--text-color);
  }
  
  /* Header */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    /*position: sticky;*/
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px var(--shadow-color);
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 1px 1px 2px var(--accent-color);
  }

  .logo:hover {
    animation: moveToRight 2s ease-in-out;
    animation-delay: 20ms;
  }

  
  .logo1 {
    display: none;
}

  .logo_mercado {
    border-radius: 50%;
    width: 25%;
    height: auto;
  }
  
  .menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }
  
  .menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s, transform 0.2s;
  }
  
  .menu a:hover {
    opacity: 0.9;
    transform: scale(1.05);
    color: var(--background-color);
  }
  
  .menu-toggle {
    display: none;
    background: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
  }
  
  /* Hero */
  .hero {
    /*background: linear-gradient(to right, var(--secondary-color), var(--primary-color));*/
    background-image: url(/assets/image/Mercadinho\ frente3.png);
    background-size: cover; /* Ajusta a imagem para cobrir a seção */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
    color: var(--accent-color);
    /*opacity: 0.5;/* Define o nível de transparência (0.0 a 1.0) */
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: inset 0 -5px 10px var(--text-color);
  }
  
  .hero h1 {
    z-index: 3;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 1px 1px 3px var(--secondary-color);
    /*color: var(--card-background);
    text-shadow: 1px 1px 3px var(--text-color);
    /*text-shadow: 1px 1px 3px var(--text-color);*/
  }
  
  .hero p {
    z-index: 3;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    /*color: var(--card-background);*/
    color: var(--text-color);
    text-shadow: 1px 1px 3px var(--secondary-color);
    font-weight: bold;
    /*text-shadow: 1px 1px 3px var(--secondary-color);*/
    /*text-shadow: 1px 1px 3px var(--text-color);*/
  }
  
  .btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 0.6rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s;
  }
  
  .btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
  }

  .time h2 {
    font-size: 1rem;
  }

  .msgInicial {
    max-width: 600px;
    margin: auto;
    
  }

  .imgHeader {
    width: 100%;
    z-index: 2;

  }

  .imgHeader img {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /*Seção domingo*/

  .domingo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .domingo h2 {
    padding: 0% 5% 0% 5%;
  }

  .domingo h3 {
    font-size: 2.5em;
  }

  .video-container {
    width: 90%;
    max-width: 305px;
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
  }
  
  video {
    width: 100%;
    display: block;
    border-radius: 10px;
    /* Opcional: Remover bordas ou interações indesejadas */
    outline: none;
    pointer-events: none; /* Impede interações como clique com o botão direito */
  }

/*Div Container domingo*/
.container-domingo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  /*padding-left: 10%;*/
}

/*Divs da esquerda em coluna*/
.img-left {
  width: 20rem;
  display: flex;
  flex-direction: row;
  align-items: center;  
  justify-content: center;
}

  .img-right {
    width: 20rem;
    height: 510px;
    
  }

    .img-top, .img-down {
    overflow: hidden;
    border-radius: 10px;
  }

  .img-top img, .img-down img {
    width: 20rem;
    height: 14.95rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    -webkit-transition: -webkit-transform .5s ease;
    transition: transform .5s ease;
  }

  .img-top img:hover, .img-down img:hover {
      -webkit-transform: scale(1.2);
      transform: scale(1.2);
  }

  .discFrango {
    margin-top: 20px;
    align-items: center;
  }

  .discButton {
    display: flex;
    align-items: start;
    width: 100%;
    justify-content: space-between;
    gap: 1rem;
  }
  .discFrango i {
    display: flex;
    text-align: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    height: auto;
    color: var(--whats-color);
    background-color: #FFFFFF;
    border: 2px solid #050404;
    font-size: 30px;
  }

    .discFrango a {
    color: var(--secondary-color);
    font-size: 18px;
    text-decoration: none;
  }
  
  /* Seções */
  .sobre, .produtos, .promocoes, .contato {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: auto;
    background: var(--card-background);
    border-bottom: 2px solid var(--primary-color);
  }
  
  h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  /* Produtos Grid */
  .grid-produtos, .grid-promocoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
  
  .card, .card-promocao {
    background: var(--card-background);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px var(--shadow-color);
    border: 2px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .card:hover, .card-promocao:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px var(--shadow-color);
    
  }

  .card-promocao img {
    width: 5rem;
    height: 5rem;
    /*border: solid 1px #000;
    border-radius: 50%;
    box-shadow: 0px 0px 10px 3px #1e1e1e;
    */
  }

    .card-promocao img:hover {
    
    animation: moveToRight 2s ease-in-out;
    animation-delay: 20ms;
    border: none;
    border-radius: 0%;
    box-shadow: none;
  }

      @keyframes moveToRight {
      0% {
        transform: translateX(0px);
      }
      100% {
        transform: translateX(60px);
      }
    }
  
  .card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 2px solid var(--secondary-color);
  }
  
  .card p {
    margin-top: 1rem;
    font-weight: bold;
    color: var(--accent-color);
  }
  
  .card-promocao {
    background: var(--terciary-color);
    color: var(--accent-color);
    font-weight: bold;
    border: 2px dashed var(--accent-color);
  }
  
  /* Formulário */
  .contato form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: auto;
    background: var(--card-background);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px var(--shadow-color);
  }
  
  .contato input, .contato textarea {
    padding: 0.8rem;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    font-size: 1rem;
    transition: border-color 0.3s;
  }
  
  .contato input:focus,
  .contato textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
  }
  
  /* Rodapé */

  .footer {
    background: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1.5rem 2rem;
    font-weight: bold;
    border-top: 3px solid var(--accent-color);
  }

  /*Forma de pagamento*/
  .box-content h4{
    margin-bottom: 1rem;
  }

  .logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .logos img {
    height: 4rem;
    border-radius: 12px 0px 12px 0px;
  }
  
  .social a {
    color: var(--secondary-color);
    margin: 0 0.5rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .social a:hover {
    color: var(--btn-hover);
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .menu {
      display: none;
      flex-direction: column;
      background: var(--primary-color);
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      padding: 1rem 0;
    }

    .menu li a {
        margin-left: 2rem;
    }
    
    .menu li a:hover {
        color: var(--background-color);
    }

    .logo {
        display: none;
    }

    .logo1 {
        display: block;
        font-size: 22px;
    }
  
    .menu.active {
      display: flex;
    }
  
    .menu-toggle {
      display: block;
    }
  
    .hero h1 {
      font-size: 2rem;
      color: var(--text-color);
      text-shadow: 1px 1px 3px var(--secondary-color);
    }

    .hero p {
        
        color: var(--text-color);
        text-shadow: 1px 1px 3px var(--secondary-color);
      }
  
    .btn {
      padding: 0.5rem 1.5rem;
    }

  }
/*Zoom Produtos*/
/* Container do card */
.card {
  position: relative;
  overflow: hidden; /* 👈 Impede a imagem de ultrapassar o card */
  /*width: 300px; /* ajuste conforme necessário */
  height: auto;
}

/* Estilização da imagem com efeito de zoom */
.card img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: 50% 65%;
  transition: transform 5s, filter 3s ease-in-out;
  filter: brightness(150%);
}

/* Efeito ao passar o mouse */
.card:hover img {
  filter: brightness(100%);
  transform: scale(3);
}

/*Rodapé*/
/*inforRodape*/

  .infoRodape {
    display: flex;
    text-align: center;
    justify-content: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 2rem 0rem 2rem 0rem;
  }

  .logoRodape {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logoRodape img {
    width: 8rem;
  }

  .whatsRodape {
    display:flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
  }

  .whatsRodape a {
    text-decoration: none;
    color: var(--secondary-color);
  }

  .enderecoRodape {
    text-align: left;
    margin-top: 5px;
  }

  .socialRodape {
    display: flex;
    gap: 1rem;
  }

  .socialRodape i {
    color: var(--secondary-color);
    font-size: 2em;
  }

  .horarioRodape {
    text-align: left;
  }

  .horarioRodape li {
    list-style: none;
  }

  .sobreRodape,
  .sobreRodape p {
    text-align: left;
  }

  .inFooter {
    width: 300px;
    /*border: 1px solid #fff;*/
  }

  .titulo-description {
    color: var(--secondary-color);
    font-size: 20px;
    text-align: left;
    margin-bottom: 0%;
  }
  
  
  footer .credits a {
    padding: 5rem 0rem 5rem 0rem;
    color: var(--secondary-color);
    text-decoration: none;
  }

  footer .credits{
    padding: 2rem 0rem 2rem 0rem;
   
  }

  @media (max-width: 990px) {
    .contatoRodape {
      gap: 3rem;
      
    }
  }

    @media (max-width: 660px) {
    .inFooter {
      /*border: 1px solid #fff;*/
      padding: 2rem 0rem 2rem 0rem;
    }

  }
