/*
Theme Name: M&N Advertising Co.
Description: Custom theme for M&N Advertising Co. digital screen advertising network.
Version: 1.0.0
Author: M&N Advertising Co.
Text Domain: mandn
*/

/* =============================================
   HERO BACKGROUND
   ============================================= */
.hero-bg {
  background: linear-gradient(145deg, #0c1829 0%, #0f2544 55%, #162d54 100%);
  position: relative;
  overflow: hidden;
}
/* Subtle blue-gray grid lines */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,155,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,155,255,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
/* Blue radial glow top-right */
.hero-bg::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(37,99,235,0.22) 0%, transparent 70%);
  top: -80px;
  right: 8%;
  pointer-events: none;
  animation: mn-pulse 7s ease-in-out infinite alternate;
}
@keyframes mn-pulse {
  from { transform: scale(1);    opacity: 0.7; }
  to   { transform: scale(1.12); opacity: 1;   }
}
/* Decorative rectangles */
.hero-rect {
  position: absolute;
  pointer-events: none;
}
.hero-rect-1 {
  width: 120px; height: 72px;
  top: 14%; right: 18%;
  border: 1px solid rgba(99,155,255,0.18);
  border-radius: 4px;
  animation: mn-float 9s ease-in-out infinite alternate;
}
.hero-rect-2 {
  width: 64px; height: 40px;
  top: 26%; right: 26%;
  background: rgba(37,99,235,0.10);
  border-radius: 3px;
  animation: mn-float 11s ease-in-out 1.5s infinite alternate;
}
.hero-rect-3 {
  width: 96px; height: 56px;
  bottom: 22%; left: 6%;
  border: 1px solid rgba(148,180,255,0.12);
  border-radius: 4px;
  animation: mn-float 8s ease-in-out 3s infinite alternate;
}
.hero-rect-4 {
  width: 40px; height: 40px;
  bottom: 38%; left: 14%;
  background: rgba(37,99,235,0.08);
  border-radius: 3px;
  animation: mn-float 10s ease-in-out 0.5s infinite alternate;
}
.hero-rect-5 {
  width: 200px; height: 3px;
  top: 58%; right: 4%;
  background: linear-gradient(90deg, transparent, rgba(99,155,255,0.25), transparent);
  border-radius: 2px;
}
.hero-rect-6 {
  width: 3px; height: 140px;
  top: 10%; left: 46%;
  background: linear-gradient(180deg, transparent, rgba(99,155,255,0.20), transparent);
  border-radius: 2px;
}
@keyframes mn-float {
  from { transform: translateY(0px)   rotate(0deg); }
  to   { transform: translateY(-8px)  rotate(1.5deg); }
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 0% 60%, rgba(30,58,138,0.30) 0%, transparent 60%);
  pointer-events: none;
}
.geo-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
}
.dot-pattern { display: none; }

/* =============================================
   STAT BARS (Hero snapshot card)
   ============================================= */
.stat-bar {
  height: 4px;
  background: #E5E7EB;
  border-radius: 2px;
  margin-top: 4px;
  position: relative;
}
.stat-bar-fill {
  height: 100%;
  background: #001B3D;
  border-radius: 2px;
}

/* =============================================
   SHADOWS & ELEVATION
   ============================================= */
.card-shadow {
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.05);
}
.cta-banner-shadow {
  box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.02);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-dark-gradient {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

/* Logo-matched gradient — used on "View Packages" and primary CTAs */
.btn-logo-gradient {
  background: linear-gradient(145deg, #0a0f1e 0%, #0f2040 40%, #1a5480 100%);
}
.btn-logo-gradient:hover {
  background: linear-gradient(145deg, #0d1426 0%, #132850 40%, #1e6496 100%);
}

/* =============================================
   CARD HOVER EFFECT
   ============================================= */
.card-hover-effect {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.card-hover-effect:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

/* =============================================
   NAVIGATION ACTIVE STATES
   ============================================= */
.mn-nav-active-pill {
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  border-radius: 9999px;
  padding: 4px 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  letter-spacing: 0.01em;
}

/* =============================================
   PORTAL & ADMIN CUSTOM STYLES
   ============================================= */
.mn-status-pending  { background:#fef9c3; color:#854d0e; }
.mn-status-approved { background:#dcfce7; color:#166534; }
.mn-status-flagged  { background:#fee2e2; color:#991b1b; }
.mn-status-active   { background:#dcfce7; color:#166534; }
.mn-status-inactive { background:#f1f5f9; color:#475569; }

.mn-upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.mn-upload-dropzone:hover,
.mn-upload-dropzone.dragover {
  border-color: #001B3D;
  background: #f8fafc;
}

/* =============================================
   TYPOGRAPHY — global scale
   ============================================= */
html {
  font-size: 16px; /* Tailwind default; text-sm=14px, text-xs=12px */
}
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
}

/* Nav links — bump above text-sm (14px) */
header nav a,
#mn-mobile-menu a {
  font-size: 0.9375rem; /* 15px */
}

/* Card body text — text-xs bumped to 13px everywhere in cards */
article .text-xs,
.card-shadow .text-xs,
.card-hover-effect .text-xs,
.rounded-3xl .text-xs {
  font-size: 0.8125rem; /* 13px — more readable than default 12px */
}

/* Service & location card descriptions (text-sm in cards) */
article .text-sm,
.card-shadow .text-sm,
.card-hover-effect .text-sm,
.rounded-3xl .text-sm {
  font-size: 0.9375rem; /* 15px — comfortable reading size */
}

/* Pricing card plan description lines (direct text-xs on p inside section.rounded-3xl) */
section.rounded-3xl p.text-xs {
  font-size: 0.875rem; /* 14px — plan descriptions need more breathing room */
}

/* =============================================
   SNAPSHOT CARD METRIC ROWS
   ============================================= */
.mn-metric-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 14px;
  transition: background 0.15s, border-color 0.15s;
}
.mn-metric-row:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.mn-metric-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, #0f2040, #1a5480);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-shrink: 0;
}
.mn-metric-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 1px;
}
.mn-metric-value {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}
.mn-metric-bar-track {
  height: 3px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}
.mn-metric-bar-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}
