/* ==========================================================
   PARAMOUNT LOOMS — Logo-driven Premium Theme
   Colors extracted from official logo:
   - Red (P + LOOMS text)
   - Black (PARAMOUNT)
   - Gold/Yellow (underline accents)
   Premium industrial + classy direction matching Haijia layout energy
   ========================================================== */

:root {
  /* Logo-accurate primary red */
  --red: #E30613;
  --red-dark: #B80510;
  --red-soft: #FF3B45;

  /* Gold / Yellow from logo underline */
  --gold: #F5C518;
  --gold-dark: #D4A017;
  --gold-soft: #FFE066;

  /* Sophisticated neutrals */
  --navy: #0A1628;
  --navy-2: #12233D;
  --navy-3: #1A3358;
  --ink: #0F172A;
  --text: #475569;
  --muted: #94A3B8;
  --line: #E2E8F0;
  --soft: #F8FAFC;
  --soft-2: #F1F5F9;
  --white: #FFFFFF;

  --shadow: 0 25px 60px rgba(10, 22, 40, 0.12);
  --shadow-sm: 0 12px 30px rgba(10, 22, 40, 0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1280px;
}

/* Premium button refinements */
.btn-red {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 12px 28px rgba(227, 6, 19, 0.28);
}
.btn-red:hover {
  background: linear-gradient(135deg, var(--red-dark) 0%, #8F040C 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(227, 6, 19, 0.35);
}

/* Gold accent for premium details */
.eyebrow:before,
.section-head h2:after,
.nav-link.active:after,
.nav-link:hover:after {
  background: var(--gold) !important;
}

.eyebrow {
  color: var(--red);
}

/* Gold underline style inspired by logo */
.pl-gold-line {
  display: inline-block;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border-radius: 2px;
  margin: 12px 0;
}

/* Floating contact buttons – Haijia style */
.floating-call {
  background: var(--red) !important;
}
.floating-whatsapp {
  background: #25D366 !important;
}

/* Topbar polish */
.topbar {
  background: var(--navy) !important;
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
}
.topbar i {
  color: var(--gold) !important;
}

/* Header */
.site-header {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav-cta {
  background: var(--red) !important;
  border: 1px solid transparent;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

/* Stats / counters – premium */
.pl-home-stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
}
.pl-home-stats strong,
.pl-home-stats .stat-number {
  color: var(--gold) !important;
}

/* Product cards hover gold accent */
.product-card:hover,
.pl-product-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 20px 40px rgba(245, 197, 24, 0.12);
}

/* Responsive safety net – ensure elements look excellent on all frames */
@media (max-width: 1199px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .section-space { padding: 80px 0; }
}

@media (max-width: 991px) {
  .section-space { padding: 64px 0; }
  .brand img { max-height: 56px !important; width: auto !important; max-width: 160px !important; }
  .nav-cta { min-height: 42px; padding: 0 16px; font-size: 12px; }
}

@media (max-width: 767px) {
  .section-space { padding: 52px 0; }
  .container { width: calc(100% - 28px); }
  .brand img { max-height: 48px !important; max-width: 140px !important; }
  .floating-call, .floating-whatsapp {
    width: 48px !important;
    height: 48px !important;
    right: 14px !important;
  }
  .floating-call { bottom: 76px !important; }
  .floating-whatsapp { bottom: 16px !important; }
  h1 { font-size: clamp(28px, 7vw, 38px) !important; }
  h2 { font-size: clamp(24px, 5.5vw, 34px) !important; }
}

@media (max-width: 480px) {
  .brand img { max-height: 42px !important; max-width: 120px !important; }
  .topbar { font-size: 11px; }
  .section-space { padding: 44px 0; }
  .btn { min-height: 48px; padding: 0 18px; font-size: 13px; }
}

/* Ensure images never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Smooth transitions */
.btn, .nav-link, .product-card, .floating-call, .floating-whatsapp {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo sizing for the full Paramount logo with bird + text */
.brand img {
  width: auto !important;
  max-width: 220px !important;
  max-height: 72px !important;
  height: auto !important;
  object-fit: contain !important;
}

@media (max-width: 991px) {
  .brand img {
    max-width: 170px !important;
    max-height: 58px !important;
  }
}
@media (max-width: 575px) {
  .brand img {
    max-width: 140px !important;
    max-height: 48px !important;
  }
}
@media (max-width: 380px) {
  .brand img {
    max-width: 120px !important;
    max-height: 42px !important;
  }
}

/* Ensure floating buttons stay above everything and look crisp */
.floating-call,
.floating-whatsapp {
  z-index: 1300 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
}
.floating-call:hover,
.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.06) !important;
}
