/* docs/stylesheets/home.css */

.tx-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  z-index: 3;
  animation: bounce 2s infinite;
}

.tx-scroll-indicator svg {
  fill: #ffffff;
  width: 35px;
  height: 35px;
  filter: drop-shadow(0px 2px 2px rgba(0,0,0,0.5));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.tx-hero-container {
  position: relative;
  width: 100%;
  height: 100vh !important;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../assets/images/forest.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.tx-hero-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.tx-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 3rem;
  font-size: 1.5rem;
}

.tx-hero-container .tx-hero__content h1 {
  color: #ffffff !important;
  font-size: 3.8rem !important;
  background-color:  rgba(0, 0, 0, 0.1) !important;
  font-weight: 800;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.2 !important;
}

.tx-hero-container .tx-hero__content p {
  font-size: 1.5rem !important;
  background-color:  rgba(0, 0, 0, 0.1) !important;
  max-width: 700px;
  text-align: center !important;
  line-height: 1.4 !important;
  margin: 0 auto 1.25rem auto !important;
}

.tx-hero-container .tx-hero__actions .md-button {
  background-color:  rgba(0, 0, 0, 0.1) !important;
  padding: 0.4rem 1rem !important;
  line-height: 1.2 !important;
  border-color: transparent !important;
  font-weight: bold;
  font-size: 1.65rem !important;
  color: var(--phyto-btn-primary-bg) !important;
  transition: all 0.2s ease;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.tx-hero-container .tx-hero__actions .md-button:hover {
  color: var(--phyto-gold) !important;
  border-color: transparent !important;
  transform: translateY(-3px);
}

.tx-section.tx-about {
  padding-top: 1.25rem !important;
  padding-bottom: 3.75rem !important;
}

.tx-about {
  background-color: var(--phyto-bg-primary);
  color: var(--phy-text-main);
}

.tx-about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .tx-about__inner {
    flex-direction: row;
    text-align: left;
  }
}

.tx-about h2 {
  color: var(--phyto-text-gold-accent) !important;
  font-size: 1.35rem !important;
  border-bottom: none;
  margin-top: 0;
}

.tx-section.tx-features {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.tx-features {
  background-color: var(--phyto-bg-secondary);
}

.tx-features .md-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1200px !important;
  margin: 0 auto;
}

.tx-feature {
  padding: 1.625rem;
  border-radius: 0.375rem;
  background-color: var(--phyto-bg-card);
  box-shadow: var(--phyto-shadow-base);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.tx-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--phyto-shadow-hover);
}

.tx-feature .twemoji svg {
  width: 100% !important;
  height: 100% !important;
  fill: var(--phyto-icon-fill);
}

.tx-feature .twemoji {
  display: inline-block;
  width: 30px !important;
  height: 30px !important;
  margin-bottom: 0.25rem !important;
}

.tx-feature h2 {
  color: var(--phyto-text-heading) !important;
  font-size: 1.25rem !important;
  margin-bottom: 0.5rem;
  border-bottom: none !important;
}

.tx-feature p {
  color: var(--phyto-text-main);
  font-size: 0.85rem;
}

.tx-section.tx-collaborators {
  padding-top: 1rem !important;
  padding-bottom: 2rem !important;
}

.tx-collaborators {
  background-color: var(--phyto-bg-primary);
  padding-bottom: 4.5rem !important;
  text-align: center;
}

.tx-collaborators h2 {
  color: var(--phyto-text-gold-accent) !important;
  border-bottom: none;
  font-size: 1.85rem !important;
  margin-bottom: 1.25rem !important;
}

.tx-collaborators__grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem !important;
}

.tx-profile {
  max-width: 450px;
  padding: 1.1rem;
}

.tx-profile img {
  width: 225px;
  height: 225px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
  box-shadow: var(--phyto-shadow-base);
}

.tx-profile h3 {
  color: var(--phyto-text-yellow-accent) !important;
  font-size: 1.1rem !important;
  margin: 0 0 0.7rem 0 !important;
}

.tx-profile__title {
  color: var(--phyto-text-main) !important;
  font-weight: bold;
  font-size: 1rem !important;
  margin-bottom: 0.4rem !important;
  text-align: center !important;
}

.tx-profile__bio {
  font-size: 0.85rem !important;
  color: var(--phyto-text-main) !important;
  text-align: center !important;
  line-height: 1.6;
  margin: 0 auto !important;
}

.tx-collaborators__action p {
  text-align: center !important;
  color: var(--phyto-text-white) !important;
  font-size: 1.1rem !important;
  margin-bottom: 1rem !important;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.tx-collaborators__action .md-button--primary {
  background-color: var(--phyto-btn-primary-bg) !important;
  color: var(--phyto-btn-primary-text) !important;
  border-color: var(--phyto-btn-primary-bg) !important;
  font-weight: bold;
  font-size: 1rem !important;
  transition: all 0.2s ease;
  max-width: 350px;
}

.tx-collaborators .tx-collaborators__action .md-button--primary:hover {
  background-color: var(--phyto-gold) !important;
  color: #000 !important;
  border-color: var(--phyto-gold) !important;
  transform: translateY(-3px) scale(1.02);
}