@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Outfit:wght@400;600;800&display=swap');

:root {
  --primary-color: #1b4332; /* Deep Jungle Green */
  --primary-dark: #081c15;
  --secondary-color: #ffd166; /* Banana Yellow */
  --accent-color: #2d6a4f;
  --text-dark: #2b2d42;
  --text-light: #f8f9fa;
  --bg-color: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.logo img {
  height: 50px;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.cta-nav {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
}

.cta-nav::after {
  display: none;
}

.cta-nav:hover {
  background: var(--secondary-color);
  color: var(--primary-dark) !important;
  box-shadow: 0 4px 15px rgba(255, 209, 102, 0.4);
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(8, 28, 21, 0.7), rgba(8, 28, 21, 0.7)),
    url('../assets/Imagenes/long-exposure-4558076_1920.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
}

.hero-seal {
  position: absolute;
  top: 90px; /* Below the fixed navbar */
  right: 5%;
  width: 120px;
  height: auto;
  z-index: 10;
  opacity: 0.9;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.hero-content {
  max-width: 800px;
  color: var(--white);
  z-index: 2;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content h1 span {
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 209, 102, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}

/* About Section */
.about {
  padding: 8rem 5%;
  display: flex;
  align-items: center;
  gap: 4rem;
  background-color: var(--white);
}

.about-text {
  flex: 1;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.about-text p {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #555;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 15px 30px rgba(255, 209, 102, 0.3);
}

.experience-badge h3 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  line-height: 1;
}

.experience-badge p {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Products Section */
.products {
  padding: 8rem 5%;
  background-color: var(--bg-color);
  text-align: center;
}

.products .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  padding: 2rem;
  text-align: left;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
  height: 250px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.product-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.product-card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.product-card ul li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Galería de Otros Productos */
.other-products {
  margin-top: 4rem;
}

.other-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.other-card {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.other-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.other-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.other-card p {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

/* Process Section */
.process {
  padding: 8rem 5%;
  background: var(--primary-color);
  color: var(--white);
}

.process .section-title {
  color: var(--white);
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  gap: 2rem;
}

.step {
  text-align: center;
  flex: 1;
  position: relative;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 28, 21, 0.75);
  z-index: 1;
  transition: background 0.4s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step:hover::before {
  background: rgba(8, 28, 21, 0.6);
}

.step-1 {
  background: url('../assets/Imagenes/cosecha_banano.png') center/cover;
}

.step-2 {
  background: url('../assets/Imagenes/control_calidad.png') center/cover;
}

.step-3 {
  background: url('../assets/Imagenes/puerto-contenedores-carga-gruas-comercio-fondos-de-pantalla-hd-professor-falken-com_.jpg') center/cover;
}



.step-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--secondary-color);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.step:hover .step-icon {
  background: var(--secondary-color);
  color: var(--primary-dark);
  transform: scale(1.1);
}

.step h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.step p {
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.9;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Team Section */
.team {
  padding: 8rem 5%;
  background-color: var(--white);
  text-align: center;
}

.team .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--bg-color);
  padding: 2.5rem 1rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--white);
  border: 1px solid rgba(255, 209, 102, 0.3);
}

.team-avatar-img {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.team-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.team-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Ribbons & Parallax */
.ribbon-section {
  padding: 3rem 5%;
  background-color: var(--white);
  text-align: center;
}

.ribbon-title {
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.ribbon-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.ribbon-track img {
  max-height: 80px;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.ribbon-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.parallax-cta {
  height: 750px;
  background: linear-gradient(rgba(8, 28, 21, 0.6), rgba(8, 28, 21, 0.6)),
    url('../assets/Imagenes/container-1611490_1920.jpg') center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Align right */
  padding: 0 10%;
}

.parallax-content {
  text-align: right;
  max-width: 600px;
}

.parallax-content h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.parallax-content h2 span {
  color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
  padding: 6rem 5%;
  text-align: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffb703 100%);
  color: var(--primary-dark);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

/* Map Section */
.map-section {
  width: 100%;
  height: 400px;
  display: block;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-col p {
  opacity: 0.8;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .about {
    flex-direction: column;
  }
  .process-steps {
    flex-direction: column;
    gap: 4rem;
  }
  .step:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  nav ul {
    display: none; /* Mobile menu needed in JS */
  }
}
