/* =========================================
   estils_projecte.css — Estils específics MoomaShop
   ========================================= */

:root {
  --color-brand: #7D806B;
  --color-brand-dark: #666958;
  --color-brand-light: #a3a68f;
  --color-secondary: rgb(112, 135, 143);
  --color-dark: rgb(57, 59, 54);
  --font-body: articulat-cf, sans-serif;
  --font-display: richmond-display, sans-serif;
  --header-height: 65px;
}

body {
  font-family: var(--font-body);
}


/* =========================================
   Header 3 columnes
   ========================================= */

.site-header .container-custom {
  max-width: 100%;
  padding-left: 2rem;
  padding-right: 2rem;
}

.site-header .navbar {
  height: var(--header-height);
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .navbar-brand {
  min-height: unset;
  padding: 0;
}

.site-header .navbar-brand img {
  width: 120px;
  height: 31px;
  min-height: unset;
  object-fit: contain;
}

.header-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.header-left,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.header-right {
  justify-content: flex-end;
}

.header-inici {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.header-inici:hover {
  color: var(--color-brand);
}

/* =========================================
   Hero Split — home_mooma
   ========================================= */

   
.hero-split {
  display: flex;
  min-height: calc(100vh - var(--header-height));
}

.hero-split__image {
  width: 50%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-split__content {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 4rem 0 0;
  overflow-y: auto;
  background: linear-gradient(to bottom, rgba(165, 176, 155, 0.3) 85%, #ffffff 100%);
}


.hero-split__inner {
  width: 100%;
  max-width: 580px;
  text-align: center;
  align-self: center;
  padding: 0 1.5rem 2.5rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3.9px;
  line-height: 15.6px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 0;
}

.hero-split__title {
  font-family: var(--font-display);
  font-size: 140px;
  font-weight: 500;
  line-height: 0.9;
  color: var(--color-brand);
  margin-bottom: 10%;
  letter-spacing: normal;
  line-height: 121.55px;
}

.hero-split__text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 23.8px;
  color: var(--color-dark);
  margin-bottom: 2rem;
}


/* =========================================
   Feature Cards (grid 5x2)
   ========================================= */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  width: 100%;
  padding: 0 8%;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.7;
  text-decoration: none;
  color: var(--color-text);
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.25s ease;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-fons);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  background-color: rgba(165, 176, 155, 1);
  transform: translateY(-4px);
}

.feature-card:hover::after {
  opacity: 0.1;
}

/* Imatges */
.feature-card__imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 65px;
}

.feature-card__img-default,
.feature-card__img-hover {
  width: 50%;
  max-width: 50px;
  /* height: 40px; */
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.feature-card__img-hover {
  position: absolute;
  opacity: 0;
}

.feature-card:hover .feature-card__img-default {
  opacity: 0;
}

.feature-card:hover .feature-card__img-hover {
  opacity: 1;
}

/* Label */
.feature-card__label {
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  padding: 0.5rem 0.4rem;
  color: var(--color-text);
  line-height: 1.3;
  transition: color 0.3s ease;
  font-family: var(--font-display);
}

.feature-card:hover .feature-card__label {
  color: #ffffff;
}


/* =========================================
   Responsive — Hero Split
   ========================================= */

@media (max-width: 991.98px) {
  .hero-split {
    flex-direction: column;
    min-height: auto;
  }

  .hero-split__image {
    width: 100%;
    height: 45vh;
    position: relative;
  }

  .hero-split__content {
    width: 100%;
    padding: 3rem 0 0;
    justify-content: flex-start;
  }

  .hero-split__inner {
    padding: 0 1.5rem 2rem;
  }

  .feature-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575.98px) {
  .hero-split__image {
    height: 35vh;
  }

  .hero-split__content {
    padding: 2rem 0 0;
  }

  .hero-split__inner {
    padding: 0 1.25rem 1.5rem;
  }

  .hero-split__text {
    margin-bottom: 1.5rem;
  }

  .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}
