/*
 * FolkBeauty – home.css
 */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  background-color: var(--color-primary);
  background-image: linear-gradient(
    160deg,
    rgba(60, 59, 99, 0.95) 0%,
    rgba(47, 87, 72, 0.85) 100%
  );
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 20, 40, 0.70) 0%,
    rgba(20, 20, 40, 0.40) 55%,
    rgba(20, 20, 40, 0.10) 100%
  );
  z-index: 0;
}

.hero__content-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 80% at 20% 50%,
    rgba(10, 10, 25, 0.55) 0%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: var(--space-lg) 0;
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-sm);
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.55),
    0 1px 3px  rgba(0, 0, 0, 0.45);
}

.hero__sub {
  font-size: var(--text-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-md);
  max-width: 480px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.50);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  animation: scrollHint 2s ease-in-out infinite;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.75; }
  50%       { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background-color: var(--color-soft-1);
  padding-block: var(--space-xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-lg);
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
}

.about-image-wrap {
  position: relative;
  padding-bottom: 2rem;
  padding-right: 2rem;
}

.about-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-overlay);
  display: block;
}

.about-image-wrap:not(:has(.about-image)) {
  background: linear-gradient(135deg, var(--color-soft-2) 0%, var(--color-accent-2) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  min-height: 400px;
}

.about-image-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  box-shadow: var(--shadow-hover);
  border: 3px solid var(--color-soft-1);
}
.about-image-badge__num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
}
.about-image-badge__text {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  max-width: 70px;
  text-align: center;
  line-height: 1.3;
}

.about-content { padding-left: var(--space-sm); }
.about-content .section-eyebrow {
  display: block;
  font-size: var(--text-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--color-secondary); margin-bottom: var(--space-sm);
}
.about-content h2 {
  font-size: var(--text-4xl); margin-bottom: var(--space-sm);
  color: var(--color-primary);
}
.about-content .text-lead { margin-bottom: var(--space-md); color: var(--color-text); }

.about-signature {
  display: flex; align-items: center;
  gap: var(--space-sm); padding: var(--space-sm);
  background-color: var(--color-soft-2);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}
.about-signature__img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-white);
  box-shadow: var(--shadow-card);
}
.about-signature__name {
  font-family: var(--font-heading);
  font-size: var(--text-xl); color: var(--color-primary);
  font-weight: 400; line-height: 1.2;
}
.about-signature__role {
  font-size: var(--text-xs); color: var(--color-earth);
  text-transform: uppercase; letter-spacing: var(--tracking-wide);
}

/* ============================================================
   FEATURED PRODUCTS – EGYENLŐ KÁRTYÁK
   ============================================================ */
.featured-section {
  background-color: var(--color-off-white);
  padding-block: var(--space-xl);
}
.featured-section .section-title { margin-bottom: var(--space-lg); }
.featured-section .section-title h2::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--color-soft-2), var(--color-accent-2), var(--color-secondary));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: stretch;
}
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .product-card:first-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
}

.featured-cta { text-align: center; margin-top: var(--space-lg); }

/* ============================================================
   PRODUCT CARD (home + shop közös)
   ============================================================ */
.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.product-card__img-wrap {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--color-soft-1);
  flex-shrink: 0;
}
.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  display: block;
}
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
}
.product-card__body {
  padding: var(--space-sm) var(--space-sm) 0;
  display: flex; flex-direction: column; flex: 1;
  gap: 0.4rem;
}
.product-card__category {
  font-size: var(--text-xs); font-weight: 500;
  text-transform: uppercase; letter-spacing: var(--tracking-wider);
  color: var(--color-earth);
}
.product-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl); font-weight: 400;
  color: var(--color-primary); line-height: 1.25;
  margin-bottom: 0.25rem;
}
.product-card__title a {
  color: inherit; text-decoration: none;
  transition: color var(--transition-fast);
}
.product-card__title a:hover { color: var(--color-secondary); }
.product-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-xl); font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 0.5rem;
}
.product-card__footer {
  padding: var(--space-sm);
  margin-top: auto;
}

.badge-craft {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-secondary);
  color: var(--color-white);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section-title h2 {
  font-family: var(--font-heading);
  font-size: var(--text-4xl); font-weight: 300;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}
.section-title p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 500px;
  margin-inline: auto;
  line-height: var(--leading-normal);
}

/* ============================================================
   CRAFT PILLÉREK
   ============================================================ */
.craft-pillars {
  background-color: var(--color-primary);
  padding-block: var(--space-xl);
}
.craft-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
@media (max-width: 768px) { .craft-pillars__grid { grid-template-columns: 1fr; } }
.craft-pillar {
  display: flex; align-items: flex-start;
  gap: var(--space-sm);
  color: var(--color-soft-1);
}
.craft-pillar__icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-color: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--color-soft-2);
}
.craft-pillar__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl); font-weight: 400;
  color: var(--color-white); margin-bottom: 0.35rem;
}
.craft-pillar__desc {
  font-size: var(--text-sm);
  color: rgba(221,210,203,0.8);
  line-height: var(--leading-loose);
}

/* ============================================================
   BLOG PREVIEW
   ============================================================ */
.blog-preview {
  padding-block: var(--space-xl);
  background-color: var(--color-soft-1);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.blog-card__img-wrap { aspect-ratio: 3 / 2; overflow: hidden; background-color: var(--color-soft-2); }
.blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); display: block; }
.blog-card:hover .blog-card__img { transform: scale(1.04); }
.blog-card__body { padding: var(--space-sm); display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { font-size: var(--text-xs); color: var(--color-earth); margin-bottom: 0.5rem; display: flex; gap: 0.75rem; align-items: center; }
.blog-card__title { font-family: var(--font-heading); font-size: var(--text-2xl); color: var(--color-primary); margin-bottom: var(--space-sm); line-height: 1.25; }
.blog-card__title a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
.blog-card__title a:hover { color: var(--color-secondary); }
.blog-card__excerpt { font-size: var(--text-sm); color: var(--color-text-muted); line-height: var(--leading-normal); margin-bottom: var(--space-sm); flex: 1; }
.blog-card__footer { padding: 0 var(--space-sm) var(--space-sm); }
