/* Layout Styles - Navbar, Hero, Sections, Footer */

.app-container {
  min-height: 100vh;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgb(255 253 249 / 0.8); /* brand-paper/80 */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-brand-secondary);
}

.navbar__inner {
  max-width: var(--max-w-7xl);
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .navbar__inner {
    flex-direction: row;
  }
}

.navbar__brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.navbar__brand-text {
  display: flex;
  flex-direction: column;
}

.navbar__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-family: var(--font-serif);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--color-brand-ink);
  line-height: 1;
  font-style: italic;
}

.navbar__subtitle {
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--color-brand-primary);
  text-transform: uppercase;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar__link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__link:hover {
  color: var(--color-brand-primary);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--color-brand-secondary);
}

.navbar__icon-link {
  color: var(--color-brand-ink);
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.navbar__icon-link:hover {
  color: var(--color-brand-primary);
  transform: scale(1.12);
}

.navbar__btn-buy {
  padding: 0.5rem 1rem;
  background-color: var(--color-brand-primary);
  color: var(--color-brand-paper);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: var(--shadow-sm);
}

.navbar__btn-buy:hover {
  background-color: var(--color-brand-ink);
}

/* HERO */
.hero {
  position: relative;
  min-height: 60vh;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-brand-lila);
}

.hero__bg-blob {
  position: absolute;
  width: 16rem;
  height: 16rem;
  border-radius: 9999px;
  mix-blend-mode: multiply;
  filter: blur(64px);
  opacity: 0.3;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero__bg-blob--1 {
  top: 5rem;
  left: 2.5rem;
  background-color: var(--color-brand-secondary);
}

.hero__bg-blob--2 {
  bottom: 5rem;
  right: 2.5rem;
  background-color: var(--color-brand-sage);
  animation-delay: 0.7s;
}

.hero__content {
  max-width: var(--max-w-4xl);
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  z-index: 10;
  position: relative;
}

.hero__eyebrow {
  color: var(--color-brand-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 10px;
  margin-bottom: 1.5rem;
  display: block;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.1;
  font-family: var(--font-serif);
  font-weight: 500;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  }
}

.hero__title-italic {
  font-style: italic;
  font-weight: 300;
  color: var(--color-brand-primary);
}

.hero__text {
  font-size: 1.125rem;
  color: rgb(52 58 64 / 0.7); /* brand-ink/70 */
  margin-bottom: 2.5rem;
  max-width: var(--max-w-2xl);
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.625;
}

@media (min-width: 768px) {
  .hero__text {
    font-size: 1.25rem;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* PRODUCTS SECTION */
.products-container {
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .products-container {
    margin-top: 5rem;
  }
}

.products {
  padding: 6rem 1.5rem;
  max-width: var(--max-w-7xl);
  margin: 0 auto;
}

.products__header {
  text-align: center;
  margin-bottom: 3rem;
}

.products__eyebrow {
  color: var(--color-brand-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  display: block;
}

.products__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .products__title {
    font-size: 3rem;
    line-height: 1;
  }
}

.products__divider {
  width: 5rem;
  height: 0.25rem;
  background-color: var(--color-brand-primary);
  margin: 0 auto;
  border-radius: var(--border-radius-full);
  margin-bottom: 3rem;
}

.products__filter-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 4rem;
}

.products__filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1rem;
  color: rgb(52 58 64 / 0.4); /* brand-ink/40 */
}

.products__filter-label span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.products__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 4rem;
  min-height: 400px;
}

@media (min-width: 640px) {
  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.products__empty {
  padding: 5rem 0;
  text-align: center;
  color: var(--color-gray-400);
  font-weight: 300;
  font-style: italic;
}

.products__footer {
  margin-top: 6rem;
  text-align: center;
  border-top: 1px solid var(--color-gray-100);
  padding-top: 4rem;
}

.products__store-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-family: var(--font-serif);
  font-style: italic;
  border-bottom: 2px solid var(--color-brand-primary);
  padding-bottom: 0.25rem;
  transition: color 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.products__store-link:hover {
  color: var(--color-brand-primary);
}

.products__store-link svg {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.products__store-link:hover svg {
  transform: translateX(0.35rem);
}

/* ABOUT SECTION */
.about {
  padding: 6rem 0;
  background-color: var(--color-brand-cream);
  position: relative;
  overflow: hidden;
}

.about__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about__text {
  max-width: var(--max-w-3xl);
  margin-bottom: 2.5rem;
}

.about__eyebrow {
  color: var(--color-brand-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  display: block;
}

.about__title {
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about__title {
    font-size: 3rem;
    line-height: 1;
  }
}

.about__title-italic {
  color: var(--color-brand-primary);
  font-style: italic;
}

.about__description {
  font-size: 1.125rem;
  color: rgb(52 58 64 / 0.7);
  font-weight: 300;
  line-height: 1.625;
  margin-bottom: 2rem;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .about__features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* FOOTER */
.footer {
  background-color: var(--color-brand-ink);
  color: var(--color-brand-paper);
  padding: 5rem 1.5rem;
}

.footer__inner {
  max-width: var(--max-w-7xl);
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 3rem;
  border-bottom: 1px solid rgb(255 253 249 / 0.1);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer__brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__brand-text {
  display: flex;
  flex-direction: column;
}

.footer__title {
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.footer__subtitle {
  font-size: 8px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--color-brand-primary);
  text-transform: uppercase;
}

.footer__desc {
  font-size: 0.875rem;
  color: rgb(255 253 249 / 0.6);
  font-weight: 300;
  line-height: 1.625;
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgb(255 253 249 / 0.05);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__social-link:hover {
  background-color: var(--color-brand-primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgb(212 163 115 / 0.3);
}

.footer__nav-col, .footer__contact-col, .footer__newsletter-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-primary);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: rgb(255 253 249 / 0.8);
}

.footer__link {
  transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer__link:hover {
  color: var(--color-brand-primary);
  transform: translateX(4px);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.text-primary {
  color: var(--color-brand-primary);
}

.footer__contact-note {
  color: rgb(255 253 249 / 0.6);
  font-style: italic;
  font-size: 0.75rem;
}

.footer__newsletter-text {
  font-size: 0.875rem;
  color: rgb(255 253 249 / 0.6);
  font-weight: 300;
}

.footer__form {
  display: flex;
  gap: 0.5rem;
}

.footer__input {
  background-color: rgb(255 253 249 / 0.05);
  border: 1px solid rgb(255 253 249 / 0.1);
  border-radius: var(--border-radius-xl);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  flex: 1;
  color: var(--color-brand-paper);
  transition: border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  outline: none;
}

.footer__input:focus {
  border-color: var(--color-brand-primary);
  box-shadow: 0 0 0 4px rgb(212 163 115 / 0.15);
}

.footer__btn {
  background-color: var(--color-brand-primary);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0.75rem;
  border-radius: var(--border-radius-xl);
  color: var(--color-brand-paper);
}

.footer__btn:hover {
  background-color: rgb(212 163 115 / 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(212 163 115 / 0.25);
}

.footer__copyright {
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgb(255 253 249 / 0.4);
}
