/*
                                                           Powered by JohnConnor
      Facundo Rinaldi

*/


:root {
  --color-eerie-black: #1B221C; /* texto oscuro */
  --color-dark-green: #1D351F;  /* verde principal */
  --color-mint: #E8EEEA;        /* fondo claro */
  --color-white: #F3ECE4;       /* blanco cálido */
  --color-black: #232323;       /* negro para textos */
  --color-emerald: #31CC6A;     /* acento verde */
  --color-blue: #2191FB;        /* acento azul */
}


@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/hostgrotesk-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/hostgrotesk-medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Host Grotesk';
  src: url('../fonts/hostgrotesk-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Host Grotesk', Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-eerie-black);
  background-color: var(--color-mint);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}


header {
  background-color: var(--color-mint);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  height: 40px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-dark-green);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-emerald);
}


#hero {
  position: relative;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  overflow: hidden;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 53, 31, 0.6); /* overlay con color verde oscuro */
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--color-white);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--color-white);
}

.btn {
  display: inline-block;
  background-color: var(--color-emerald);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--color-blue);
}

/* Sección About */
#about {
  padding: 5rem 0 3rem 0;
}

#about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark-green);
  text-align: center;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.about-text {
  flex: 1 1 50%;
}

.about-text h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-green);
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image {
  flex: 1 1 45%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Sección de productos */
#products {
  padding: 5rem 0;
  color: var(--color-white);
  background-color: var(--color-dark-green);
}

#products h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-mint);
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-item {
  background-color: var(--color-eerie-black);
  border-radius: 8px;
  flex: 1 1 260px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-item h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  color: var(--color-mint);
}

.product-item p {
  font-size: 0.95rem;
  color: var(--color-white);
}


#benefits {
  padding: 5rem 0 3rem 0;
}

#benefits h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-dark-green);
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.benefit-item {
  flex: 1 1 260px;
  text-align: center;
  padding: 1rem;
  background-color: var(--color-mint);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.benefit-item .icon {
  height: 60px;
  width: 60px;
  margin-bottom: 1rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-dark-green);
}

.benefit-item p {
  font-size: 0.95rem;
  color: var(--color-eerie-black);
}

/* Sección de contacto */
#contact {
  padding: 5rem 0;
  color: var(--color-white);
  background-color: var(--color-dark-green);
}

#contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-mint);
}

#contact p {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-white);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: none;
  font-family: inherit;
  resize: vertical;
}

.form-group input {
  height: 50px;
}

.contact-form .btn {
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

address {
  margin-top: 2rem;
  text-align: center;
  font-style: normal;
  color: var(--color-mint);
}


footer {
  background-color: var(--color-eerie-black);
  color: var(--color-white);
  padding: 1.5rem 0;
}

.footer-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-flex p {
  margin: 0;
  font-size: 0.9rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.social-links a img {
  height: 24px;
  width: 24px;
  filter: invert(100%) brightness(200%);
}


@media (max-width: 768px) {
  nav {
    flex-direction: column;
    height: auto;
    padding: 0.5rem 0;
  }
  .nav-links {
    gap: 1rem;
    margin-top: 0.5rem;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .about-grid {
    flex-direction: column;
  }
  .product-grid,
  .benefits-grid {
    flex-direction: column;
    align-items: center;
  }
  .product-item,
  .benefit-item {
    max-width: 400px;
  }
}