/*
 * Own Identity Auctions — Design Improvements
 * ============================================
 * Drop this into Appearance → Customize → Additional CSS
 * (or include as a stylesheet after your existing styles)
 *
 * CHANGES OVERVIEW
 * ----------------
 * 1. Typography   – Replace Alice (old-style serif) with Poppins (modern geometric sans-serif)
 *                   Consolidate to 2 fonts: Poppins (headings) + Lato (body)
 * 2. Heading color – Soften from near-black navy to a rich dark slate that
 *                   pairs better with the brand gradient
 * 3. Category icons – Unify 6 random rainbow gradients into 3 on-brand
 *                    palette groups (pink, orange, mixed) so the grid feels cohesive
 * 4. Navbar        – Refine gradient stop points & add a subtle shadow for depth
 * 5. Buttons (CTA) – Consistent gradient + letter-spacing + hover lift effect
 * 6. Links / nav   – Improve hover state visibility
 * 7. Body text     – Slightly darken from #666 to #4a4a4a for better readability (WCAG AA)
 * 8. Search bar    – Rounder, more polished look
 */
 
/* ─────────────────────────────────────────────
   1. LOAD POPPINS FROM GOOGLE FONTS
   ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');
 
 
/* ─────────────────────────────────────────────
   2. CSS CUSTOM PROPERTIES (brand tokens)
   ───────────────────────────────────────────── */
:root {
  --brand-pink:       #F30070;
  --brand-orange:     #EB7E0A;
  --brand-gradient:   linear-gradient(102deg, #F30070 0%, #EB7E0A 100%);
  --brand-gradient-r: linear-gradient(-102deg, #EB7E0A 0%, #F30070 100%);
 
  /* Derived palette */
  --pink-light:   #FF5FA0;
  --pink-mid:     #F30070;
  --orange-light: #FFAB5E;
  --orange-mid:   #EB7E0A;
 
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Lato', sans-serif;
 
  /* Text */
  --text-dark:    #1E1E2E;   /* rich dark, not pure black */
  --text-body:    #4a4a4a;   /* was #666 — better contrast */
  --text-muted:   #888;
}
 
 
/* ─────────────────────────────────────────────
   3. GLOBAL TYPOGRAPHY
   ───────────────────────────────────────────── */
body {
  font-family: var(--font-body) !important;
  color: var(--text-body) !important;
  -webkit-font-smoothing: antialiased;
}
 
/* Replace Alice everywhere with Poppins */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading) !important;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
 
/* Was rgb(2, 7, 93) — too heavy. Now rich dark slate */
h2 {
  font-weight: 700 !important;
}
h3 {
  font-weight: 600 !important;
}
 
/* Section sub-labels ("How it works", etc.) */
p.sub-title,
.section-title p,
.section > p {
  font-family: var(--font-body) !important;
  color: var(--text-muted) !important;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
 
/* Remove any stray Open Sans overrides */
* {
  font-family: inherit;
}
 
 
/* ─────────────────────────────────────────────
   4. NAVBAR — refine gradient + depth
   ───────────────────────────────────────────── */
.main-header,
.main-header.slippa-sticky,
.main-header.slippa-sticky-active {
  background-image: linear-gradient(108deg, #F30070 0%, #FF5722 55%, #EB7E0A 100%) !important;
  box-shadow: 0 4px 24px rgba(243, 0, 112, 0.25) !important;
}
 
/* Nav links — white with better hover */
.main-header .nav-link,
.main-header .navbar-nav > li > a,
.main-header .menu-item > a {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: var(--font-heading) !important;
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease !important;
}
.main-header .nav-link:hover,
.main-header .navbar-nav > li > a:hover,
.main-header .menu-item > a:hover {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 0 12px rgba(255,255,255,0.5);
}
 
 
/* ─────────────────────────────────────────────
   5. HERO / SEARCH BAR
   ───────────────────────────────────────────── */
/* Hero headline text */
.slippa-page-bg h1,
.slippa-page-bg h2,
.slippa-page-bg .hero-title,
.slippa-page-bg [class*="title"] {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
 
/* Search input — rounder pill shape */
.search-form input,
.search-form .form-control,
[class*="search"] input[type="text"],
[class*="search"] .form-control {
  border-radius: 50px !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
}
 
/* Search button */
.search-form button,
.search-form .btn,
[class*="search"] button {
  border-radius: 50px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  background: var(--brand-gradient) !important;
  border: none !important;
  transition: opacity 0.2s, transform 0.15s !important;
}
[class*="search"] button:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
 
 
/* ─────────────────────────────────────────────
   6. CATEGORY ICON BOXES — unified brand palette
      Was: 6 random rainbow gradients
      Now: 3 brand-aligned palette groups (×2 each)
   ───────────────────────────────────────────── */
 
/* Group A — Pink (brand primary) */
.category-box-icon.color--1 {
  background-image: linear-gradient(-102deg, #FF5FA0 0%, #F30070 100%) !important;
}
.category-box-icon.color--4 {
  background-image: linear-gradient(-102deg, #F30070 0%, #c2005a 100%) !important;
}
 
/* Group B — Orange (brand secondary) */
.category-box-icon.color--2 {
  background-image: linear-gradient(-102deg, #FFAB5E 0%, #EB7E0A 100%) !important;
}
.category-box-icon.color--5 {
  background-image: linear-gradient(-102deg, #EB7E0A 0%, #c96200 100%) !important;
}
 
/* Group C — Full brand gradient (pink → orange) */
.category-box-icon.color--3 {
  background-image: linear-gradient(-102deg, #F30070 0%, #EB7E0A 100%) !important;
}
.category-box-icon.color--6 {
  background-image: linear-gradient(-102deg, #EB7E0A 0%, #F30070 100%) !important;
}
 
/* Subtle hover lift on category cards */
.category-box,
[class*="category-item"],
[class*="category-card"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.category-box:hover,
[class*="category-item"]:hover,
[class*="category-card"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}
 
 
/* ─────────────────────────────────────────────
   7. BUTTONS — consistent gradient CTA
   ───────────────────────────────────────────── */
.btn-primary,
.btn-theme,
.start-selling-btn,
a[class*="btn-primary"],
.footer-calltoaction .btn,
button[type="submit"] {
  background: var(--brand-gradient) !important;
  border: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  border-radius: 50px !important;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 16px rgba(243, 0, 112, 0.3) !important;
}
.btn-primary:hover,
.btn-theme:hover,
a[class*="btn-primary"]:hover,
button[type="submit"]:hover {
  opacity: 0.88 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(243, 0, 112, 0.4) !important;
}
 
/* Outline / secondary buttons */
.btn-outline,
.btn-secondary,
a.btn-outline {
  border: 2px solid var(--brand-pink) !important;
  color: var(--brand-pink) !important;
  background: transparent !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
  transition: background 0.2s, color 0.2s !important;
}
.btn-outline:hover,
.btn-secondary:hover {
  background: var(--brand-pink) !important;
  color: #fff !important;
}
 
 
/* ─────────────────────────────────────────────
   8. DOMAIN / LISTING CARDS
   ───────────────────────────────────────────── */
.domain-card,
.listing-card,
[class*="domain-item"],
[class*="listing-item"],
.slippa-listing-card {
  border-radius: 12px !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}
.domain-card:hover,
.listing-card:hover,
[class*="domain-item"]:hover,
[class*="listing-item"]:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1) !important;
}
 
/* Domain extension labels (e.g., .com, .net) */
.domain-ext,
[class*="domain-ext"],
[class*="-ext"] {
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  color: var(--brand-pink) !important;
}
 
 
/* ─────────────────────────────────────────────
   9. SECTION HEADINGS — consistent block style
   ───────────────────────────────────────────── */
.section-title h2,
.section-heading h2,
[class*="section"] > h2,
[class*="section"] > .title {
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  font-weight: 700 !important;
  position: relative;
  padding-bottom: 0.5rem;
}
 
/* Accent underline on section titles */
.section-title h2::after,
.section-heading h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--brand-gradient);
  border-radius: 2px;
  margin: 0.5rem auto 0;
}
 
 
/* ─────────────────────────────────────────────
   10. FOOTER CALLOUT BANNER
   ───────────────────────────────────────────── */
.footer-calltoaction {
  border-radius: 16px !important;
  overflow: hidden;
}
.footer-calltoaction h2,
.footer-calltoaction h3 {
  color: #fff !important;
}
 
 
/* ─────────────────────────────────────────────
   11. FOOTER
   ───────────────────────────────────────────── */
footer a,
.footer a {
  transition: color 0.2s !important;
}
footer a:hover,
.footer a:hover {
  color: var(--orange-light) !important;
}
 
 
/* ─────────────────────────────────────────────
   12. SCROLLBAR (modern browsers)
   ───────────────────────────────────────────── */
::-webkit-scrollbar        { width: 8px; }
::-webkit-scrollbar-track  { background: #f5f5f5; }
::-webkit-scrollbar-thumb  { background: var(--brand-gradient); border-radius: 4px; }
