/* =============================================
   XIMEE JEWELRY — Home Page Styles
   ============================================= */

.hero-section {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: var(--header-height) clamp(20px,5vw,60px) 60px;
  max-width: var(--container-width); margin: 0 auto; gap: 60px;
  position: relative;
}
.hero-mist {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(201,169,110,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 80% 30%, rgba(180,165,145,0.07) 0%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.sparkle {
  position: absolute; width: 3px; height: 3px; border-radius: 50%;
  background: var(--color-gold-light); animation: sparkleFade linear infinite; opacity: 0;
}
@keyframes sparkleFade {
  0% { opacity: 0; transform: scale(0) translateY(0); }
  30% { opacity: 0.9; transform: scale(1) translateY(-10px); }
  100% { opacity: 0; transform: scale(0) translateY(-60px); }
}

.hero-content { z-index: 1; }
.hero-sub {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--color-gold);
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
}
.hero-sub::before { content:''; width: 36px; height: 1px; background: var(--color-gold); }
.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.1; color: var(--color-text); margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--color-gold-dark); display: block; }
.hero-desc {
  font-size: 1rem; line-height: 1.8; color: var(--color-text-muted);
  max-width: 420px; margin-bottom: 38px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image-wrap { z-index: 1; display: flex; justify-content: center; position: relative; }
.hero-image-frame {
  border-radius: 40% 60% 65% 35% / 45% 45% 55% 55%;
  overflow: hidden; width: min(460px, 90%); aspect-ratio: 4/5;
  box-shadow: 0 40px 90px var(--color-shadow-deep), 0 0 0 1px rgba(201,169,110,0.15);
  animation: floatFrame 8s ease-in-out infinite;
}
@keyframes floatFrame {
  0%,100% { border-radius: 40% 60% 65% 35%/45% 45% 55% 55%; }
  50% { border-radius: 55% 45% 40% 60%/50% 55% 45% 50%; }
}
.hero-image { width: 100%; height: 100%; object-fit: cover; }
.hero-image-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 30% 70%, rgba(201,169,110,0.2) 0%, transparent 60%);
}
.hero-floating-badge {
  position: absolute; bottom: 40px; left: -20px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(16px);
  border-radius: var(--radius-md); padding: 14px 20px;
  border: 1px solid rgba(201,169,110,0.25);
  box-shadow: 0 8px 32px rgba(139,115,85,0.15);
  display: flex; flex-direction: column; gap: 2px;
  animation: badgeFloat 4s ease-in-out infinite;
}
@keyframes badgeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.badge-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); }
.badge-value { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--color-text); }

.hero-scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--color-text-light); font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; z-index: 1;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity:0.4; } 50% { opacity:1; } }

/* ---- Categories ---- */
.categories-section { padding: var(--section-padding) 0; }
.categories-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.category-card {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  display: block; aspect-ratio: 3/4;
  box-shadow: 0 8px 30px var(--color-shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}
.category-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px var(--color-shadow-deep); }
.cat-image-wrap { position: absolute; inset: 0; }
.cat-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.category-card:hover .cat-image-wrap img { transform: scale(1.08); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.72) 0%, rgba(26,23,20,0.1) 50%, transparent 100%);
}
.cat-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 20px; color: #fff; }
.cat-info h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; }
.cat-info span {
  font-size: 0.75rem; color: var(--color-gold-light); letter-spacing: 0.06em;
  opacity: 0; transform: translateY(6px); transition: var(--transition); display: block;
}
.category-card:hover .cat-info span { opacity: 1; transform: translateY(0); }

/* ---- Products ---- */
.products-section { padding: var(--section-padding) 0; background: var(--color-bg-alt); }
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.section-cta { display: flex; justify-content: center; margin-top: 52px; }

/* ---- Editorial ---- */
.editorial-section { padding: var(--section-padding) 0; }
.editorial-inner {
  max-width: var(--container-width); margin: 0 auto;
  padding: 0 clamp(20px,5vw,60px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.editorial-title {
  font-family: var(--font-serif); font-size: clamp(2.2rem,4vw,3.5rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.editorial-desc { font-size: 1rem; line-height: 1.85; color: var(--color-text-muted); margin-bottom: 32px; }
.editorial-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 32px 80px var(--color-shadow-deep); }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.editorial-image:hover img { transform: scale(1.03); }

/* ---- Newsletter ---- */
.newsletter-section {
  background: linear-gradient(135deg, #1a1714 0%, #2a231d 100%);
  padding: clamp(60px,8vw,100px) 0;
}
.newsletter-inner { text-align: center; max-width: 540px; margin: 0 auto; }
.newsletter-title {
  font-family: var(--font-serif); font-size: clamp(1.8rem,3.5vw,2.4rem);
  font-weight: 600; color: var(--color-gold-light); margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.newsletter-desc { font-size: 0.9rem; color: #7a736b; margin-bottom: 36px; line-height: 1.75; }
.newsletter-form { display: flex; gap: 12px; max-width: 440px; margin: 0 auto; }
.newsletter-input {
  flex: 1; padding: 13px 22px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(201,169,110,0.28);
  border-radius: var(--radius-full); color: #fff;
  font-family: var(--font-sans); font-size: 0.9rem; outline: none;
  transition: border-color var(--transition);
}
.newsletter-input::placeholder { color: #5a5248; }
.newsletter-input:focus { border-color: var(--color-gold); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-section { grid-template-columns: 1fr; text-align: center; justify-items: center; min-height: auto; padding-top: calc(var(--header-height) + 48px); }
  .hero-sub { justify-content: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-btns { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-scroll-hint { display: none; }
  .hero-floating-badge { left: 0; bottom: 20px; }
  .categories-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .editorial-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .categories-grid, .products-grid { gap: 12px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; justify-content: center; }
}
