/**
 * ============================================
 * PHILIPPE ARGENTO - HOME PAGE PREMIUM STYLES
 * ============================================
 *
 * Prémium finomhangolás a főoldalhoz:
 * - Egységes térközök és vertikális ritmus
 * - Mikromozgások és animációk
 * - Reszponzív grid finomítások
 * - Újrafelhasználható utility osztályok
 *
 * @version 1.0.0
 * @date 2025-11-30
 */

/* ============================================
   ÁLTALÁNOS UTILITY OSZTÁLYOK
   ============================================ */

/**
 * PA Section - Egységes section padding és max-width
 */
.pa-section {
  padding: 80px 0;
  position: relative;
}

@media (max-width: 991px) {
  .pa-section {
    padding: 64px 0;
  }
}

@media (max-width: 767px) {
  .pa-section {
    padding: 56px 0;
  }
}

/**
 * PA Card Hover - Prémium kártya hover effekt
 * Használat: termékkártyák, kategória kártyák
 */
.pa-card-hover {
  transition: all 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  will-change: transform, box-shadow;
}

.pa-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
}

.pa-card-hover:hover img {
  transform: scale(1.06);
}

.pa-card-hover img {
  transition: transform 400ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  will-change: transform;
}

/**
 * PA Fade In - Egyszerű fade-in animáció
 */
.pa-fade-in {
  opacity: 0;
  animation: paFadeIn 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95) forwards;
}

@keyframes paFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/**
 * PA Fade In Up - Scroll-on-view animáció
 * Aktiválás: IntersectionObserver vagy scroll event
 */
.pa-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95),
              transform 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  will-change: opacity, transform;
}

.pa-fade-in-up.pa-visible {
  opacity: 1;
  transform: translateY(0);
}

/**
 * Késleltetett animáció data-pa-delay attribútummal
 */
.pa-fade-in-up[data-pa-delay="50"] { transition-delay: 50ms; }
.pa-fade-in-up[data-pa-delay="100"] { transition-delay: 100ms; }
.pa-fade-in-up[data-pa-delay="150"] { transition-delay: 150ms; }
.pa-fade-in-up[data-pa-delay="200"] { transition-delay: 200ms; }
.pa-fade-in-up[data-pa-delay="250"] { transition-delay: 250ms; }
.pa-fade-in-up[data-pa-delay="300"] { transition-delay: 300ms; }

/* ============================================
   HERO SECTION FINOMHANGOLÁS
   ============================================ */

/**
 * Hero Container - Bal-jobb függőleges középigazítás
 */
.pa-hero-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  min-height: 600px;
}

@media (max-width: 991px) {
  .pa-hero-container {
    flex-direction: column-reverse !important; /* Kép fent, szöveg lent mobilon/tableten */
    gap: 2rem;
    min-height: auto;
  }

  /* Explicit order beállítás is */
  .pa-hero-container .hero-content {
    order: 2 !important;
  }

  .pa-hero-container .hero-visuals {
    order: 1 !important;
  }
}

/**
 * Hero Tipográfia - Finomabb line-height
 */
.hero-title {
  line-height: 1.15 !important;
  margin-bottom: 1.25rem !important;
}

.hero-title-luxury {
  line-height: 1.2 !important;
  margin-bottom: 1.25rem !important;
}

.hero-description,
.hero-description-luxury {
  line-height: 1.6 !important;
  margin-bottom: 0.75rem !important; /* PROXIMITY: Közelebb a szlogenhez */
}

/**
 * Hero Tagline - Luxus alcím, törzsszöveg alatt
 * Finom, visszafogott, prémium tipográfia
 */
.hero-tagline,
.hero-tagline-luxury {
  font-family: 'Playfair Display', serif;
  font-size: 0.9375rem; /* 15px - kisebb mint törzsszöveg (16-18px) */
  font-style: italic;
  color: #CFC7C0; /* Halvány bézs - finom, luxus hatás */
  line-height: 1.5;
  margin-top: 0.75rem; /* 12px - közel a törzsszöveghez */
  margin-bottom: 1.75rem; /* 28px - nagy távolság a gomboktól */
  letter-spacing: 0.03em;
  font-weight: 300; /* Vékony - prémium, elegáns */
  text-align: left; /* ALIGNMENT: Bal igazítás */
}

@media (max-width: 991px) {
  .hero-tagline,
  .hero-tagline-luxury {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 767px) {
  .hero-tagline,
  .hero-tagline-luxury {
    font-size: 0.875rem;
    text-align: center; /* Mobilon middle-aligned, mert a cím is center */
    margin-bottom: 2.5rem;
  }
}

/**
 * Hero Product Card - Prémium árnyék és hover
 */
.hero-visuals .product-card.featured {
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 16px 48px rgba(0, 0, 0, 0.06);
  transition: all 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.hero-visuals .product-card.featured:hover {
  transform: translateY(-8px) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 32px rgba(0, 0, 0, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.08) !important;
}

.hero-visuals .product-card.featured img {
  transition: transform 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.hero-visuals .product-card.featured:hover img {
  transform: scale(1.04);
}

/**
 * Hero Mini Products - Finom hover
 */
.hero-visuals .product-mini {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.hero-visuals .product-mini:hover {
  transform: translateY(-4px) scale(1.02) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/**
 * Floating Icons - Egységes méret és hover
 */
.pa-floating-icon,
.floating-icon {
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.pa-floating-icon:hover,
.floating-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: #1E2615;
  color: white;
}

.floating-icon i {
  font-size: 1.25rem;
}

@media (max-width: 767px) {
  /* Telefonon teljesen elrejtjük a lebegő ikonokat */
  .pa-floating-icon,
  .floating-icon,
  .hero .hero-visuals .floating-elements .floating-icon {
    display: none !important;
  }
}

/**
 * Glassmorphism Frame (Luxury Hero) - Finomabb hover
 */
.glass-frame {
  border-radius: 32px;
  box-shadow:
    0 8px 32px rgba(31, 38, 135, 0.07),
    0 20px 60px rgba(0, 0, 0, 0.08);
  transition: all 400ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.glass-frame:hover {
  transform: translateY(-12px) !important;
  box-shadow:
    0 16px 48px rgba(31, 38, 135, 0.1),
    0 28px 80px rgba(0, 0, 0, 0.12) !important;
}

/* ============================================
   PROMO CARDS (Új kollekció + Kategóriák)
   ============================================ */

/**
 * Egységes border-radius és grid alignment
 */
.category-featured,
.category-card {
  border-radius: 24px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 300ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/**
 * Nagy featured kártya - min magasság desktop-on
 */
@media (min-width: 992px) {
  .category-featured {
    min-height: 520px;
  }
}

/**
 * Kis kategória kártyák - egységes magasság
 */
.category-card {
  min-height: 250px;
}

@media (min-width: 1200px) {
  .category-card {
    min-height: 250px;
  }
}

/**
 * Kártya kép - egységes aspect ratio és overflow
 */
.category-featured .category-image,
.category-card .category-image {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.category-featured .category-image {
  height: 350px;
}

.category-card .category-image {
  height: 180px;
}

.category-featured .category-image img,
.category-card .category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

/**
 * Kártya tartalom - egységes padding
 */
.category-featured .category-content,
.category-card .category-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .category-featured .category-content,
  .category-card .category-content {
    padding: 1.5rem;
  }
}

/**
 * Tipográfia - egységes stílusok
 */
.category-featured h2,
.category-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #1E2615;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.category-featured h2 {
  font-size: 2rem;
}

.category-card h4 {
  font-size: 1.25rem;
}

.category-featured p,
.category-card p {
  font-family: 'Inter', sans-serif;
  color: #59544A;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/**
 * Category Tag - prémium badge
 */
.category-tag {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #BFAF9A 0%, #A9D9D4 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

/**
 * Shop Now gomb - egységes stílus
 */
.btn-shop,
.card-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1E2615;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.btn-shop:hover,
.card-link:hover {
  color: #80BF6F;
  gap: 0.75rem;
}

.btn-shop i,
.card-link i {
  transition: transform 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
}

.btn-shop:hover i,
.card-link:hover i {
  transform: translateX(4px);
}

/**
 * Hover effekt - kártya emelkedés és kép zoom
 */
.category-featured:hover,
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.category-featured:hover img,
.category-card:hover img {
  transform: scale(1.06);
}

/**
 * Reszponzív grid - kategória kártyák
 */
@media (max-width: 1199px) {
  .category-featured .category-image {
    height: 300px;
  }

  .category-card .category-image {
    height: 160px;
  }
}

@media (max-width: 991px) {
  .category-featured,
  .category-card {
    min-height: auto;
  }

  .category-featured .category-image {
    height: 280px;
  }

  .category-card .category-image {
    height: 200px;
  }
}

@media (max-width: 767px) {
  .category-featured h2 {
    font-size: 1.75rem;
  }

  .category-card h4 {
    font-size: 1.125rem;
  }

  .category-featured .category-image,
  .category-card .category-image {
    height: 240px;
  }
}

/* ============================================
   KEDVENCEK (BEST SELLERS) FINOMHANGOLÁS
   ============================================ */

/**
 * Section Title - finomabb térközök
 */
.favorites-section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  padding: 0 1rem;
}

.favorites-section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: #1E2615;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.favorites-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #BFAF9A 0%, #A9D9D4 100%);
  border: none;
  margin: 0 auto 1.5rem;
}

.favorites-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: #59544A;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.6;
}

/**
 * Carousel Wrapper - prémium háttér és padding
 */
.bestsellers-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2.5rem 15px;
  background: #F9F8F6;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .bestsellers-wrapper {
    padding: 1.5rem 10px;
  }
}

/**
 * Carousel Grid - smooth mozgás
 */
.bestsellers-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  transition: transform 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/**
 * Grid Item - egységes magasság és hover
 */
.bestsellers-grid-item {
  flex: 0 0 calc(25% - 1.125rem);
  max-width: calc(25% - 1.125rem);
  min-width: 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 350ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(191, 175, 154, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bestsellers-grid-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: #BFAF9A;
}

/**
 * Favorite Badge - első termék jelölése
 */
.bestsellers-grid-item:first-child::before {
  content: "💎 Vásárlóink kedvence";
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #BFAF9A 0%, #A9D9D4 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

/**
 * Product Image - fix magasság
 */
.bestsellers-grid-item .product-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #F7F6F3;
  position: relative;
  flex-shrink: 0;
}

.bestsellers-grid-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bestsellers-grid-item:hover .product-image img {
  transform: scale(1.08);
}

/**
 * Product Info - egységes padding
 */
.bestsellers-grid-item .product-info {
  padding: 24px 20px;
  background: white;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/**
 * Category - egységes stílus
 */
.bestsellers-grid-item .product-category {
  font-size: 11px;
  color: #80BF6F;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.8px;
  font-family: 'Inter', sans-serif;
}

/**
 * Product Name - min magasság
 */
.bestsellers-grid-item .product-name {
  font-size: 16px;
  margin: 0 0 12px 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
  min-height: 48px;
  flex-grow: 1;
}

.bestsellers-grid-item .product-name a {
  text-decoration: none;
  color: #1E2615;
  transition: color 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  font-weight: 500;
}

.bestsellers-grid-item .product-name a:hover {
  color: #80BF6F;
}

/**
 * Price - prémium formázás
 */
.bestsellers-grid-item .product-price {
  font-size: 20px;
  color: #1E2615;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.bestsellers-grid-item .product-price::after {
  content: " Ft";
  font-size: 14px;
  font-weight: 400;
  color: #59544A;
}

/**
 * Navigation Buttons - prémium glassmorphism
 */
.bestsellers-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(191, 175, 154, 0.3);
  z-index: 10;
  cursor: pointer;
  transition: all 250ms cubic-bezier(0.23, 0.65, 0.25, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #1E2615;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bestsellers-nav.prev {
  left: -28px;
}

.bestsellers-nav.next {
  right: -28px;
}

.bestsellers-nav:hover {
  background: #1E2615;
  color: white;
  border-color: #1E2615;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(30, 38, 21, 0.2);
}

.bestsellers-nav:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  background: rgba(245, 245, 245, 0.8);
}

.bestsellers-nav:disabled:hover {
  background: rgba(245, 245, 245, 0.8);
  color: #1E2615;
  transform: translateY(-50%);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/**
 * Reszponzív - Carousel
 */
@media (max-width: 1199px) {
  .bestsellers-grid-item {
    flex: 0 0 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
  }
}

@media (max-width: 991px) {
  .bestsellers-grid-item {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }

  .bestsellers-nav {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .bestsellers-nav.prev {
    left: -24px;
  }

  .bestsellers-nav.next {
    right: -24px;
  }

  .favorites-section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .bestsellers-grid-item {
    flex: 0 0 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }

  .bestsellers-nav.prev {
    left: 10px;
  }

  .bestsellers-nav.next {
    right: 10px;
  }

  .bestsellers-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.98);
  }

  .favorites-section-title h2 {
    font-size: 1.75rem;
  }

  .favorites-subtitle {
    font-size: 1rem;
  }

  .bestsellers-grid-item .product-image {
    height: 220px;
  }

  .bestsellers-grid-item:first-child::before {
    font-size: 9px;
    padding: 4px 8px;
    top: 8px;
    right: 8px;
  }
}

/* ============================================
   FOOTER ÉS OLDAL ALJA
   ============================================ */

/**
 * Footer - háttér és padding
 */
footer {
  background: #F9F8F6;
  padding-top: 80px;
  padding-bottom: 40px;
  margin-top: 80px;
}

@media (max-width: 991px) {
  footer {
    padding-top: 64px;
    margin-top: 64px;
  }
}

@media (max-width: 767px) {
  footer {
    padding-top: 56px;
    margin-top: 56px;
  }
}

/**
 * Footer oszlopok - grid alignment
 */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 767px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================
   VERTIKÁLIS RITMUS - SECTION SPACING
   ============================================ */

/**
 * Konzisztens térköz minden szekció között
 */
.section + .section {
  margin-top: 0;
}

.pa-section {
  margin-bottom: 0;
}

/**
 * Hero és első szekció közötti térköz
 */
.hero + .section {
  margin-top: 80px;
}

@media (max-width: 991px) {
  .hero + .section {
    margin-top: 64px;
  }
}

@media (max-width: 767px) {
  .hero + .section {
    margin-top: 56px;
  }
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

/**
 * Focus outline - prémium stílus
 */
.pa-card-hover:focus-visible,
.category-featured:focus-visible,
.category-card:focus-visible,
.bestsellers-grid-item:focus-visible,
.floating-icon:focus-visible,
.bestsellers-nav:focus-visible {
  outline: 3px solid #A9D9D4;
  outline-offset: 4px;
  border-radius: 24px;
}

.floating-icon:focus-visible,
.bestsellers-nav:focus-visible {
  border-radius: 50%;
}

/**
 * Reduced motion - tisztelet a felhasználói beállításoknak
 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .pa-fade-in-up {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   HERO VISUALS - MOBILE RESPONSIVE
   ============================================ */

/**
 * Product Showcase - Standard verzió mobilon kisebb
 */
@media (max-width: 768px) {
  .hero-visuals .product-showcase {
    max-width: 100%;
  }

  .hero-visuals .product-card.featured {
    padding: 20px;
  }

  .hero-visuals .product-card.featured img {
    height: 220px; /* Kisebb kép mobilon */
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .hero-visuals .product-card.featured img {
    height: 180px; /* Még kisebb kis telefonokon */
  }
}

/* ============================================
   TELJESÍTMÉNY OPTIMALIZÁLÁS
   ============================================ */

/**
 * GPU gyorsítás animált elemekre
 */
.pa-card-hover,
.pa-fade-in-up,
.bestsellers-grid,
.bestsellers-nav,
.floating-icon {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/**
 * Smooth scroll - ha támogatott
 */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
