@import url('https://fonts.googleapis.com/css2?family=Anton&family=Hanken+Grotesk:wght@400;500;700&display=swap');

:root {
  --red: #E30613;
  --yellow: #FFD400;
  --navy: #0B1F4E;
  --white: #FFFFFF;
  --gray-text: #4A4A4A;
  --ink-black: #050A18;
}

/* Custom Typography */
.font-heading {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.02em;
}

.font-body {
  font-family: 'Hanken Grotesk', sans-serif;
}

/* Custom Clip Paths from templates */
.clip-diagonal {
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.clip-diagonal-reverse {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}

.ribbon-cut {
  clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 15% 50%, 0% 0%);
}

.ribbon-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%);
}

.ribbon-top {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
}

.banner-cutout {
  clip-path: polygon(100% 0, 90% 50%, 100% 100%, 0 100%, 0 0);
}

/* Custom Halftone Backgrounds */
.halftone-bg {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 8px 8px;
}

.halftone-pattern {
  background-image: radial-gradient(circle, #2f3131 1.5px, transparent 1.5px);
  background-size: 10px 10px;
}

.bg-halftone-light {
  background-image: radial-gradient(circle, rgba(11, 31, 78, 0.05) 1px, transparent 1px);
  background-size: 10px 10px;
}

/* Stamp Shadows */
.stamp-shadow {
  box-shadow: 0 12px 24px -6px rgba(11, 31, 78, 0.15);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(11, 31, 78, 0.20);
}

/* Ledger Forms from contact templates */
.form-input-ledger {
  background-color: transparent !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid #5e3f3b !important;
  border-radius: 0 !important;
  padding-bottom: 0.5rem !important;
  box-shadow: none !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.form-input-ledger:focus {
  outline: none !important;
  border-bottom-color: #e30613 !important;
  box-shadow: none !important;
}

/* Floating button pulse animation */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 1; }
}

.pulse-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
  opacity: 0.6;
  z-index: -1;
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Active links highlighting */
.nav-link.active-nav {
  color: #fed400 !important;
  border-bottom-color: #fed400;
  font-weight: 700;
}

/* Transitions and animation observers */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.reveal-fade.revealed {
  opacity: 1;
}

.reveal-slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Heartbeat/Pulse Animation for signature */
@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.2); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}
.heart-pulsing {
  display: inline-block;
  animation: heartbeat 1.4s infinite ease-in-out;
  transform-origin: center;
}
.heart-pulsing:hover {
  animation-duration: 0.7s;
}
