/* ==========================
   BASE STYLES
========================== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f9f4;
  color: #000;
  scroll-behavior: smooth;
}

h2 {
  color: #2f5d3a;
  font-weight: 700;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

p {
  font-size: 18px;
  line-height: 1.6;
  margin: 20px 0;
  font-weight: 500;
}

address {
  font-style: normal;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ==========================
   NAVIGATION MENU
========================== */
html {
  scroll-padding-top: 60px; 
  scroll-behavior: smooth;
}

.menu {
  background-color: rgba(47, 93, 58, 0.95);
  backdrop-filter: blur(8px);
  padding: 15px 30px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-links {
  display: flex;
  flex-grow: 1;
  justify-content: flex-start;  
}

.menu-links a {
  color: white;
  margin: 0 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s;
}

.menu-links a:hover {
  color: #b6e3ba;
}


.language-switcher {
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: white;
  margin-left: 20px;
}

.language-switcher a {
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.language-switcher a:hover {
  background-color: #b6e3ba;
  color: #2f5d3a;
}

/* ===== MENU HAMBURGUER LATERAL EM MOBILE ===== */
.side-menu {
  position: fixed;
  top: 0;
  left: -260px;
  width: 160px;
  height: 100%;
  background-color: rgba(47, 93, 58, 0.95);
  display: flex;
  flex-direction: column;
  padding-top: 0px;
  transition: left 0.3s ease;
  z-index: 2000;
}

.side-menu a {
  color: white;
  padding: 20px 20px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  border-bottom: 1px solid #3c7547;
  background-color: rgba(47, 93, 58, 0.95);
}

.side-menu a:hover {
  background-color: #3c7547;
}

.side-menu.open {
  left: 0;
}

/* Só mostra o side-menu em mobile */
@media (max-width: 768px) {
  .menu-links {
    display: none;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 26px;
    cursor: pointer;
  }

  .language-switcher {
    margin-left: auto;
  }
}

/* Oculta toggle em desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .side-menu {
    display: none;
  }
}


/* ==========================
   HERO SECTION
========================== */
.hero-section {
  position: relative;
  background-image: url("images/vinha.webp");
  background-size: cover;
  background-position: center;
  min-height: 76vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 24px;
  text-align: center;
  max-width: 1000px;
}

.hero-left-image,
.hero-right-image {
  position: absolute;
  bottom: 20px;
}

.hero-left-image {
  left: 20px;
  max-width: 200px;
  filter: drop-shadow(2px 2px 4px rgba(255, 255, 255, 0.8));
}

.hero-right-image {
  right: 20px;
  max-width: 250px;
}

@media (max-width: 768px) {
  .hero-left-image {
    left: 10px;
    max-width: 35%; 
    bottom: 10px;
  }

  .hero-right-image {
    right: 5px;
    max-width: 45%; 
    bottom: 2px;
  }
}

/* ==========================
   SECTIONS (General)
========================== */
section {
  padding: 10px 20px 35px 20px;
}

section:nth-of-type(even) {
  background-color: #b0d9b0;
}

section:nth-of-type(odd) {
  background-color: #e0f4e0;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* ==========================
   OBJECTIVES SECTION
========================== */
.objectives-list {
  text-align: left;
  max-width: 700px;
  margin: 60px auto;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.6;
  list-style: none;
  color: #000;
  font-weight: 500;
  margin-bottom: 50px;
}

.objectives-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.objectives-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #2f5d3a;
  border-radius: 50%;
}

.objectives-list-ar {
  text-align: right;
  direction: rtl;
  max-width: 700px;
  margin: 50px auto;
  padding-right: 0;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.6;
  list-style: none;
  color: #000;
  font-weight: 500;
}

.objectives-list-ar li {
  margin-bottom: 12px;
  padding-right: 24px;
  padding-left: 0;
  position: relative;
}

.objectives-list-ar li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background-color: #2f5d3a;
  border-radius: 50%;
}

/* ==========================
   WORKPACKAGES SECTION
========================== */
.workpackages-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-descriptions p {
  margin-bottom: 1.5em;
  line-height: 1.6;
}

/* ==========================
   NEWS SECTION
========================== */
.news-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.news-buttons a {
  padding: 10px 20px;
  background-color: #2f5d3a;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-buttons a:hover {
  background-color: #1e3c24;
  transform: scale(1.05);
}

/* ==========================
   PARTNERS SECTION
========================== */
.partner-card {
  border: 1px solid #ccc;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: #f9f9f9;
  text-align: center;
}

.partner-card img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.partner-card img:hover {
  transform: scale(1.15);
}

.partner-card h4 a {
  color: #6b4f28;
  text-decoration: none;
}

.partner-card h4 a:hover {
  text-decoration: underline;
  color: #3c2f19;
}

/* ==========================
   CONTACT SECTION
========================== */
.contact-team ul {
  list-style: none;
  padding: 0;
}

.contact-team li {
  margin-bottom: 8px;
}

/* ==========================
   DISCLAIMER SECTION
========================== */
.disclaimer-images {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
