/* ============================
   blog.css – Estilo Visitia
============================= */

/* Reset global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", "Arial", sans-serif;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica", "Arial", sans-serif;
  background: linear-gradient(90deg, #f5f3f0, #ded5cc);
  color: #3f5146;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  padding-top: 120px;
}

/* Navbar */
.nav-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 50px;
  background: #f3f2f0;
  box-shadow: 0px 4px 10px rgba(47, 82, 72, 0.15);
  width: fit-content;
  z-index: 1000;
}

.nav-container ul {
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
  margin: 0;
}

.nav-item {
  padding: 10px 15px;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
}

.nav-item a {
  text-decoration: none;
  color: #3f5146;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-item:hover {
  background: #2e7a69;
}

.nav-item:hover a {
  color: white;
}

.nav-item.active {
  background: #5f9f8e;
  padding: 10px 18px;
}

.nav-item.active a {
  color: white;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: 5px;
}

.nav-logo img {
  height: 25px;
  width: auto;
  object-fit: contain;
}

/* Blog container */
.blog-container {
  max-width: 1400px;
  width: 90%;
  margin: 40px auto;
  padding: 0 20px;
  flex: 1;
  text-align: center;
}

.blog-header h1 {
  font-size: 3rem;
  color: #2e7a69;
  margin-bottom: 50px;
  font-weight: 800;
}

/* Grid de posts */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 40px;
}

.blog-post {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(63, 81, 70, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.blog-post:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px rgba(63, 81, 70, 0.2);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-content {
  padding: 20px 25px 30px;
  text-align: left;
}

.blog-post-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2e7a69;
}

.blog-post-content p {
  font-size: 16px;
  color: #3f5146;
  margin-bottom: 15px;
  line-height: 1.6;
}

.blog-post-content a {
  color: #2e7a69;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.blog-post-content a:hover {
  color: #3f5146;
  text-decoration: underline;
}

/* Footer */
/* Footer General */
.footer {
  width: 100%;
  padding: 50px 0;
  font-family: "Helvetica", "Arial", sans-serif;
  background-color: transparent;
  color: #3f5146;
  transition: color 0.5s ease, background 0.5s ease;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 80px;
}

.footer-left {
  flex: 1;
  max-width: 300px;
  margin-right: 10px;
}

.footer-left p {
  font-size: 16px;
  color: #3f5146;
}

.subscribe-btn {
  margin-top: 12px;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  background: #2e7a69;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscribe-btn:hover {
  background: #3f5146;
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px;
  flex: 2;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #2e7a69;
}

.footer-column a {
  text-decoration: none;
  font-size: 14px;
  color: #3f5146;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #cba38f;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(63, 81, 70, 0.2);
  padding-top: 30px;
  margin-top: 20px;
  font-size: 14px;
  color: #3f5146;
}

.tnl-logo {
  height: 20px;
  vertical-align: middle;
  margin-left: 5px;
  margin-bottom: 3px;
  transition: filter 0.5s ease;
}

.tnl {
  margin-left: 3px;
  font-weight: bold;
  color: #2e7a69;
}