body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
}

header {
    background-color: #f88706; 
    color: #fff;
    padding: 20px;
}

.header-content {
    display: flex;
    align-items: center;         
    justify-content: center;     
    position: relative;
}

.page-title {
    margin: 0 auto;              
}

.cart {
    width: 50px;
    height: 50px;
    margin-left: auto;           
}
.cart:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

h1 {
    text-align: center;
}
#intro {
    font-size: 1.2rem;
    margin-top: 10px;
   padding: 20px; color: #333; font-family: Arial, sans-serif;
}

main {
    flex: 1; 
    background-color: #fff; 
    padding: 20px;
}

footer {
    background-color: #f88706;
    color: #fff;
    text-align: center;
    padding: 15px;
}


/* Estilos para o menu lateral */
#menu-toggle {
    display: none;
    background-color: #333333;
    padding: 10px;
    
}
.menu-btn {
    position :  absolute;
    top : 20px;
    left: 20px;
    width: 30px;    
    height: 22px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a201a;
    border-radius: 3px;
    transition: all 0.3s ease;
    
}

.menu {
    position: absolute;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #1a201a;
    color: #ffffff;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 1001;
}
.menu ul li {
    list-style-type: none;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 250, 250, 0.1);
    
}
.menu ul li :hover {
    background-color: rgba(255,255,255, 0.1);
    cursor: pointer;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}
#menu-toggle:checked ~ .menu {
    left: 0;
    
}
#menu-toggle:checked ~ .overlay {
    opacity: 1;
    pointer-events: auto;

}
#menu-toggle:checked + .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(7px,9px);
    background: #fff;
}
#menu-toggle:checked + .menu-btn span:nth-child(2) {
    opacity: 0;
        
}
#menu-toggle:checked + .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -6px);
    background: #fff;
}
.menu-btn span {
    transform-origin: center;
}
/* Estilos para a galeria de imagens */
.galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 15px; /* espaço entre as imagens */
    max-width: 800px;
    margin: 0 auto;
  }

  .galeria img {
    width: 100%;
    height : 300px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .galeria img:hover {
    transform: scale(1.05);
    cursor: pointer;
  }
 /* Estilos para os blocos de produtos */
.bloco {
    border: 2px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .bloco:hover {
    transform: scale(1.02);
  }

  .bloco img {
    width: 90%;
    margin-top: 10px;
    border-radius: 8px;
  }

  .legenda {
    margin: 10px;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #333;
  }

/* Estilos para formulários */  
/* ==== RESET GERAL ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*--------------------------------------formulario-----------------------------*/

/* ==== ESTILO GERAL do form==== */
.body-form{
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(135deg, #f6f7fb93, #e6ebf596);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}


.form-container {
  background-color: #fff;
  padding: 40px 35px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


.form-container h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #000000;
  font-size: 1.8rem;
}

textarea {
  resize: none;
  width: 100%;
  height: 120px;
}

/* ==== LABELS E INPUTS ==== */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1.8px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.25s ease;
  outline: none;
  background-color: #fafafa;
}

input:focus, textarea:focus {
  border-color: #2d6cdf;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(45, 108, 223, 0.2);
}

/* ==== BOTÃO ==== */
button {
  width: 100%;
  background-color: #2d6cdf;
  color: #fff;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #1f53b7;
  transform: scale(1.02);
}


@media (max-width: 480px) {
  .form-container {
    padding: 30px 25px;
  }

  .form-container h1 {
    font-size: 1.5rem;
  }
}

/*--------------------Css dos botoes --------------*/

.contacto-form .botoes-container {
    display: flex;
    justify-content: space-between;
    gap: 10px; 
    margin-top: 10px;
}


.contacto-form button {
    flex: 1; 
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}


.contacto-form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
}


.contacto-form button#limpar {
    background-color: #d9534f;
    color: white;
}


.contacto-form button:hover {
    opacity: 0.9;
}


  /* ----------------------------------- sobre nos ---------------------*/
/* GRID dos bonecos */
.donos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
}


.dono-card, .duplo-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}


.dono-card img {
    width: 100%;
    max-width: 280px;
    border-radius: 10px;
    margin-bottom: 1rem;
}


.dono-card:hover, .duplo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* as imagens ficam lado a lado */
.duplo-card {
    grid-column: span 2;
    background: #fafafa;
}


@media (max-width: 768px) {
    .donos-container {
        grid-template-columns: 1fr;
    }

    .duplo-card {
        grid-column: span 1;
    }
}
#donos-atuais {
    text-align: center;
    color: #a04214;
}

main.sobre-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 10%;
}


main section {
  background-color: #ffffff27;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

main section:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

main h1, main h2 {
  color: #a04214;
  margin-bottom: 1rem;
}

main p {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: justify;
}


.valores ul {
  list-style: none;
  padding: 0;
}

.valores li {
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

/* ------------------------------- pagina dos produtos ------------*/
.galeria-produtos {
    display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 50px;
  padding: 20px;
  }

  .galeria-produtos img {
    width: 100%;
    height : 300px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .bloco-produtos {
      border: 2px solid #ddd;
      border-radius: 10px;
      background-color: #fff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      overflow: hidden;
      text-align: center;
      transition: transform 0.3s ease;
      width: 300px;
    }

  .bloco-produtos:hover {
    transform: scale(1.02);
  }

  .bloco-produtos img {
    width: 90%;
    margin-top: 10px;
    border-radius: 8px;
  }

  /*----------------------------css do botao ler mais/ler menos ------------------------*/
  .btn-toggle {
    margin-top: 10px;
    cursor: pointer;
    border: none;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-toggle:hover {
    background: #555;
}

  /*----------------------------css do adicionar ao carrinho ------------------------*/
 .add-carrinho {
  margin-top: 10px;
    cursor: pointer;
    border: none;
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    transition: 0.3s;
}


.add-carrinho:hover {
     background: #555;
    transform: scale(1.05);
}

.add-carrinho:active {
    transform: scale(0.97);
}


/* ----------------------- css das imagens a girar -----------------------*/
.carousel {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 20px auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  background: #fff;
  overflow: visible;
}

.carousel img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


.carousel button.prev,
.carousel button.next {
  position: absolute;
  top: 10px; 
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 16px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}

.carousel button.prev:hover,
.carousel button.next:hover {
  background: rgba(0,0,0,0.8);
  transform: scale(1.2);
}


  /* -------------------------------------Artesoes -------------------------------*/

.lista {
  display: grid;
  gap: 40px;
  padding: 20px;
}


.item {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 22px;
  align-items: center;
  background: #ffffff80;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.16);
}


.texto {
  font-size: 1.1rem;
  line-height: 1.6;
}

.texto h3 {
  margin-bottom: 12px;
  color: #a04214;
}


.img-container {
  background: #ffffff;
  padding: 12px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-container img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}


.img-container img:hover {
  transform: scale(1.03);
}


@media (max-width: 768px) {
  .item {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .img-container {
    order: -1; 
  }
}