/* =============================================================================
   Amoura — Elementor Global Overrides
   Applies Amoura design tokens to Elementor widgets and layouts
   ============================================================================= */

/* ── Elementor global typography ─────────────────────────────────────────── */
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font-heading);
  color: var(--clr-charcoal);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--clr-charcoal);
}

/* ── Elementor buttons ───────────────────────────────────────────────────── */
.elementor-button {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  border-radius: var(--radius-md) !important;
  transition: background-color var(--duration) var(--ease-out),
              transform 100ms var(--ease-out) !important;
}

.elementor-button:active {
  transform: scale(0.97);
}

/* Primary button style in Elementor — name: "Amoura Primary" */
.elementor-button.elementor-button-primary,
.elementor-button[style*="background-color: #FFD6E0"] {
  background-color: var(--clr-blush) !important;
  color: var(--clr-charcoal) !important;
}

.elementor-button.elementor-button-primary:hover {
  background-color: var(--clr-blush-deep) !important;
}

/* Gold / Premium button */
.elementor-button.elementor-button-gold,
.e-con .elementor-button[style*="background-color: #CBA258"] {
  background-color: var(--clr-gold) !important;
  color: var(--clr-white) !important;
}

/* ── Elementor section / container ──────────────────────────────────────── */
.elementor-section.amoura-section-cream,
.e-con.amoura-section-cream {
  background-color: var(--clr-cream);
}

.elementor-section.amoura-section-blush,
.e-con.amoura-section-blush {
  background-color: var(--clr-blush);
}

/* ── Hero section styles ─────────────────────────────────────────────────── */
.amoura-hero {
  position: relative;
  overflow: hidden;
}

.amoura-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-charcoal);
  margin-bottom: var(--sp-4);
}

.amoura-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  color: #555;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--sp-6);
}

/* ── Collection tiles ────────────────────────────────────────────────────── */
.amoura-collection-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.amoura-collection-tile img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}

.amoura-collection-tile:hover img {
  transform: scale(1.06);
}

.amoura-collection-tile__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-6);
  background: linear-gradient(to top, rgba(17,17,17,.7) 0%, transparent 100%);
  color: var(--clr-white);
}

.amoura-collection-tile__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

/* ── Mood icons section ───────────────────────────────────────────────────── */
.amoura-mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  text-align: center;
}

@media (max-width: 767px) {
  .amoura-mood-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amoura-mood-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-5);
  background-color: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-warm-gray);
  cursor: pointer;
  transition: box-shadow var(--duration) var(--ease-out),
              transform var(--duration) var(--ease-out);
  text-decoration: none;
  color: var(--clr-charcoal);
}

.amoura-mood-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: var(--clr-charcoal);
}

.amoura-mood-item__icon {
  font-size: 2rem;
  line-height: 1;
}

.amoura-mood-item__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Newsletter section ───────────────────────────────────────────────────── */
.amoura-newsletter {
  background-color: var(--clr-charcoal);
  color: var(--clr-cream);
  padding: var(--sp-12) var(--sp-4);
  text-align: center;
}

.amoura-newsletter__title {
  font-family: var(--font-heading);
  font-size: clamp(var(--fs-lg), 3vw, var(--fs-2xl));
  font-weight: 600;
  color: var(--clr-cream);
  margin-bottom: var(--sp-2);
}

.amoura-newsletter__sub {
  font-size: var(--fs-sm);
  color: #aaa;
  margin-bottom: var(--sp-6);
}

.amoura-newsletter__form {
  display: flex;
  gap: var(--sp-2);
  max-width: 420px;
  margin: 0 auto;
}

.amoura-newsletter__input {
  flex: 1;
  min-height: var(--btn-height);
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid #333;
  border-radius: var(--radius-md);
  background-color: #1a1a1a;
  color: var(--clr-cream);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
}

.amoura-newsletter__input::placeholder {
  color: #777;
}

.amoura-newsletter__input:focus {
  outline: none;
  border-color: var(--clr-gold);
}

@media (max-width: 480px) {
  .amoura-newsletter__form {
    flex-direction: column;
  }
}

/* ── Elementor Kit global colors (CSS custom properties mirror) ──────────── */
/* These match Elementor's global tokens when set in Site Settings > Global Colors */
body {
  --e-global-color-primary:    #FFD6E0; /* Blush */
  --e-global-color-secondary:  #CBA258; /* Gold */
  --e-global-color-text:       #111111; /* Charcoal */
  --e-global-color-accent:     #0F5132; /* Emerald */
  --e-global-typography-primary-font-family:   'Cormorant Garamond';
  --e-global-typography-secondary-font-family: 'Inter';
  --e-global-typography-text-font-family:      'Inter';
}
