/* General Font Styles */
body {
  font-family: 'Serotiva', sans-serif;
}

/* Other Styles */
.border-radius-bottom {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.no-stroke {
  border: none;
}

footer p {
 font-size:12px; 
}

.card-img-top {
  width: 100%; /* Make the image responsive to the card's width */
  height: auto; /* Maintain aspect ratio */
  max-width: 256px; /* Limit maximum width */
  max-height: 256px; /* Limit maximum height */
  object-fit: cover; /* Ensure the image fits within the specified size */
  margin: 0 auto; /* Center the image inside the card */
  display: block; /* Ensure proper layout */
}

.card-img-top-gastro {
  width: 100%; /* Make the image responsive to the card's width */
  height: auto; /* Maintain aspect ratio */
  max-width: 500px; /* Limit maximum width */
  max-height: 500px; /* Limit maximum height */
  object-fit: cover; /* Ensure the image fits within the specified size */
  margin: 0 auto; /* Center the image inside the card */
  display: block; /* Ensure proper layout */
}


/* Typography */
h1 {
  font-family: 'Serotiva', sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: #1B4D2D;
}

h2 {
  font-family: 'Serotiva', sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: #1B4D2D;
}

p {
  font-family: 'Serotiva', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.5;
}

/* Buttons */
.btn-custom {
  font-family: 'Serotiva', sans-serif;
  font-size: 16px;
  font-weight: 500;
  background-color: #1B4D2D;
  color: #FFF;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #165c35;
}

/* Navbar Styles */
.navbar {
  transition: all 0.3s ease-in-out;
  height: 70px;
  border-radius: 8px;
}

#mainNavbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.bg-transparent {
  background-color: transparent !important;
}

.bg-green {
  background-color: #1B4D2D !important;
}

.bg-dark-green {
  background-color: #0B2815 !important;
}


.toggled-radius {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: all 0.3s ease;
}

.toggled-bg-green {
  background-color: #1B4D2D !important;
}

.header .logo {
  max-height: 50px;
}

.header a {
  font-size: 16px;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.hero video {
  object-fit: cover;
  width: 100%;
  height: 80%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.05) 55.36%, rgba(255, 255, 255, 0.10) 68.86%, rgba(255, 255, 255, 0.4) 79.86%, #FFF 100%),
              linear-gradient(0deg, rgba(11, 40, 21, 0.50) 0%, rgba(11, 40, 21, 0.50) 100%);
  z-index: -1;
}

.hero-logo {
  width: 80%;
  max-width: 439px;
  height: auto;
  margin-top: 290px;
}

.hero-jars {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-top: 100px;
}

/* Nosotros Section */
#nosotros {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

#nosotros .text-content {
  flex: 1;
}

#nosotros .image-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#nosotros .main-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
}

/* Nuestro Origen Section */
#origen {
  background-image: url('assets/background-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#origen .title {
  font-size: 48px;
  font-weight: bold;
  color: #FFFFFF;
  margin-bottom: 1rem;
  text-align: left;
}

#origen .description {
  font-size: 24px;
  color: #FFFFFF;
  margin: 0 auto;
  text-align: left;
}


/* Keyframes */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
  /* Typography Adjustments for Phones */
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 32px;
  }

  p {
    font-size: 16px;
  }

  .btn-custom {
    font-size: 14px;
  }

  /* Hero Section */
  .hero-logo {
    max-width: 300px;
  }

  .hero-jars {
    max-width: 300px;
  }

  /* Nosotros Section */
  #nosotros {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  #nosotros .main-image {
    max-width: 300px;
  }

  /* Nuestro Origen Section */
  #origen .title {
    font-size: 32px;
  }

  #origen .description {
    font-size: 16px;
  }

  /* Ticker Images */
  .ticker-image {
    height: 150px;
  }


}

@media (max-width: 950px) {

  /* Hide Optional List */
  .list-1 {
    display: none;
  }
}


@media (max-height: 900px) {

  .hero-jars {
    width: 40%;
    height: auto;
    margin-top: 0px;
  }
  

}