/* 🌿 Estilo geral */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}


.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.3rem;
  color: white;
}

.logo img {
  height: 80px;
  width: auto;
  margin-right: 10px;
  border-radius: 8px;
}

/* Menu */
.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  text-decoration: none;
  background-color: #2d7a2d;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.nav-links a:hover {
  background-color: #46a049;
  transform: scale(1.05);
}

/* Ícone do menu (hambúrguer) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #2d572c;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links li {
    margin: 15px 0;
  }
}

/* 🌅 Banner */
.banner {
  background: url("../img/background.jpg") center/cover no-repeat;
  height: 93vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding-top: 60px;
  z-index: 1;
}

.banner-texto h1 {
  font-size: 3rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 10px;
}

.banner-texto p {
  font-size: 1.2rem;
  margin-top: 15px;
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 15px;
  border-radius: 10px;
}

/* 🌾 Introdução */
.intro {
  display: flex;
  flex-wrap: wrap;
  padding: 60px 10%;
  align-items: center;
  background: #fff;
}

.intro img {
  width: 45%;
  border-radius: 15px;
  margin-right: 5%;
}

.intro .texto {
  width: 50%;
}

.intro h2 {
  color: #2e7d32;
  margin-bottom: 15px;
}

/* 🚜 Tecnologias */
.tecnologias {
  background-color: #e8f5e9;
  padding: 60px 10%;
  text-align: center;
}

.tecnologias h2 {
  color: #1b5e20;
  margin: 40px 0;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.card {
  background: white;
  width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin: 15px 0 5px;
  color: #2e7d32;
}

.card p {
  padding: 0 15px 20px;
}

/* 🌍 Links úteis */
.links {
  background: #fff;
  padding: 60px 10%;
  text-align: center;
}

.links h2 {
  color: #2e7d32;
  margin-bottom: 25px;
}

.imglinks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card-link {
  background: white;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.card-link:hover {
  transform: translateY(-5px);
}

.card-link img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #f4f4f4;
  padding: 10px;
}

.card-link p {
  margin: 10px;
  font-weight: 500;
  color: #1b5e20;
}

.card-link a {
  text-decoration: none;
  display: block;
  color: inherit;
}

.card-link a:hover p {
  color: #43a047;
}

/* 👥 Sobre Nós */
.sobre {
  background-color: #e8f5e9;
  padding: 60px 10%;
  text-align: center;
}

.sobre h2 {
  color: #1b5e20;
  margin-bottom: 20px;
}

.sobre p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* 📬 Contato */
.contato {
  background: #fff;
  padding: 60px 10%;
}

.contato h2 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 30px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  border-color: #2e7d32;
  outline: none;
}

button {
  background-color: #2e7d32;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #43a047;
}

/* ⚙️ Rodapé */
footer {
  width: 100%;
  background: #1b5e20;
  color: white;
  text-align: center;
  padding: 12px 0;
}

/* 📱 Responsividade extra */
@media (max-width: 900px) {
  .intro {
    flex-direction: column;
  }

  .intro img, .intro .texto {
    width: 100%;
    margin: 0;
  }

  .cards {
    position: center;
    flex-direction: column;
    align-items: center;
  }
}

/* 🟡 Botão YouTube */
.botaoyt a {
  color: rgb(255, 255, 255);
}

.botaoyt button {
  background-color: #1b5e20;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.sobreagro {
  display: flex;
  justify-content: center; 
  gap: 20px;               
  margin-top: 20px;
  flex-wrap: wrap;
}

.sobreagro img {
  width: 340px;        
  border-radius: 10px;
  
}