/*-- scss:defaults --*/
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400&display=swap");
/*-- scss:rules --*/
body {
  -webkit-font-smoothing: antialiased;
}

#quarto-content {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}
#quarto-content.page-layout-full {
  max-width: 1600px;
  padding: 0 2.5rem;
}

.navbar {
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background: rgba(252, 251, 249, 0.8) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1.5rem;
  transition: all 0.3s ease;
}
.navbar .navbar-brand {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #2d5a43 !important;
}
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: #1e2923 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.navbar .nav-link:hover {
  background: rgba(45, 90, 67, 0.05);
  color: #2d5a43 !important;
}

.home .quarto-title-block {
  display: none !important;
}

.hero-section {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 4rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../assets/hero.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(2px);
}
.hero-section .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  max-width: 700px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}
.hero-section .hero-content h1 {
  font-family: "Fraunces", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #2d5a43;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero-section .hero-content .hero-subtitle {
  font-size: 1.25rem;
  color: #3e5147;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 5rem;
}

.section-card {
  position: relative;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(45, 90, 67, 0.12);
  border-color: rgba(45, 90, 67, 0.1);
}
.section-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}
.section-card .card-img-wrapper {
  height: 120px;
  overflow: hidden;
  position: relative;
}
.section-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-radius: 16px;
}
.section-card .card-img-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgb(255, 255, 255), transparent);
}
.section-card .card-body {
  padding: 1.5rem;
  background: white;
}
.section-card .card-body .card-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d5a43;
  margin-bottom: 0.5rem;
}
.section-card .card-body .card-desc {
  font-size: 0.95rem;
  color: #5c6e64;
  line-height: 1.5;
}

.estat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}
.estat-badge-llavor {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}
.estat-badge-brot {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
.estat-badge-planta {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}

h2 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  color: #2d5a43;
  display: flex;
  align-items: center;
  gap: 1rem;
}
h2::after {
  content: "";
  height: 1px;
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.06);
}

p {
  margin-bottom: 1.5rem;
}

.nav-footer {
  margin-top: 6rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  color: #5c6e64;
}
.nav-footer .nav-footer-right a {
  color: #2d5a43;
  font-size: 1.2rem;
  margin-left: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.nav-footer .nav-footer-right a:hover {
  opacity: 1;
}

[data-bs-theme=dark] {
  background-color: #0f1712;
  color: #e2e8e4;
}
[data-bs-theme=dark] .navbar {
  background: rgba(15, 23, 18, 0.8) !important;
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .navbar .nav-link {
  color: #e2e8e4 !important;
}
[data-bs-theme=dark] .hero-section .hero-content {
  background: rgba(15, 23, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-bs-theme=dark] .hero-section .hero-content h1 {
  color: #86efac;
}
[data-bs-theme=dark] .hero-section .hero-content .hero-subtitle {
  color: #a0b5a9;
}
[data-bs-theme=dark] .section-card {
  background: #1a241e;
  border-color: rgba(255, 255, 255, 0.05);
}
[data-bs-theme=dark] .section-card .card-body {
  background: #1a241e;
}
[data-bs-theme=dark] .section-card .card-title {
  color: #86efac;
}
[data-bs-theme=dark] .section-card .card-desc {
  color: #a0b5a9;
}
[data-bs-theme=dark] .quarto-grid-item {
  background: #172d21;
  border-color: rgba(134, 239, 172, 0.22);
}
[data-bs-theme=dark] .quarto-grid-item:hover {
  background: #1e3a2b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: rgba(134, 239, 172, 0.4);
}
[data-bs-theme=dark] .quarto-grid-item:hover .listing-title {
  color: #bbf7d0;
}
[data-bs-theme=dark] .quarto-grid-item .card-body {
  background: transparent;
}
[data-bs-theme=dark] .quarto-grid-item .card-body .listing-title {
  color: #86efac;
}
[data-bs-theme=dark] .quarto-grid-item .card-body .listing-description {
  color: #a0b5a9;
}
[data-bs-theme=dark] .quarto-grid-item .card-body .listing-categories .listing-category {
  background: rgba(134, 239, 172, 0.1);
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.2);
}
[data-bs-theme=dark] .quarto-grid-item .card-body .card-attribution {
  border-top-color: rgba(255, 255, 255, 0.06);
}
[data-bs-theme=dark] .quarto-grid-item .card-body .card-attribution .listing-author {
  color: #8da47e;
}
[data-bs-theme=dark] .quarto-grid-item .card-body .card-attribution .listing-date {
  color: #a0b5a9;
}
[data-bs-theme=dark] h2 {
  color: #86efac;
}

.quarto-grid-item .listing-item-img-placeholder,
.listing-item-img-placeholder,
.card-img-top:empty {
  display: none !important;
}

.quarto-grid-link {
  text-decoration: none !important;
  color: inherit !important;
}

.quarto-grid-item {
  border-radius: 16px;
  border: 1px solid #b2daba;
  background: #d5ebd8;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(45, 90, 67, 0.06);
}
.quarto-grid-item:hover {
  transform: translateY(-6px);
  background: #c3e2cb;
  box-shadow: 0 16px 36px rgba(45, 90, 67, 0.14);
  border-color: #92c59b;
}
.quarto-grid-item:hover .listing-title {
  color: #123023;
}
.quarto-grid-item .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  background: transparent;
}
.quarto-grid-item .card-body .listing-title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d5a43;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}
.quarto-grid-item .card-body .listing-description {
  font-size: 0.93rem;
  color: #314439;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}
.quarto-grid-item .card-body .listing-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.quarto-grid-item .card-body .listing-categories .listing-category {
  font-size: 0.75rem;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  background: rgba(45, 90, 67, 0.12);
  color: #1a422f;
  border: 1px solid rgba(45, 90, 67, 0.2);
  font-weight: 600;
  text-transform: lowercase;
}
.quarto-grid-item .card-body .card-attribution {
  border-top: 1px solid rgba(45, 90, 67, 0.15);
  padding-top: 0.75rem;
  margin-top: auto;
  font-size: 0.82rem;
  color: #436151;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.quarto-grid-item .card-body .card-attribution .listing-author {
  font-weight: 600;
  color: #264333;
}
.quarto-grid-item .card-body .card-attribution .listing-date {
  color: #526f5f;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main {
  animation: fadeIn 0.8s ease-out;
}

/*# sourceMappingURL=custom.css.map */
