/* Batter Up LI - Custom Styles */

/* Color System */
:root {
  --navy: #1B2A4A;
  --navy-light: #243556;
  --red: #DC2626;
  --red-dark: #B91C1C;
  --gold: #D4A017;
  --gray-light: #F3F4F6;
}

/* Tailwind custom color utilities */
.bg-navy { background-color: var(--navy); }
.bg-navy-light { background-color: var(--navy-light); }
.text-navy { color: var(--navy); }
.bg-brand-red { background-color: var(--red); }
.text-brand-red { color: var(--red); }
.bg-gold { background-color: var(--gold); }
.text-gold { color: var(--gold); }
.border-gold { border-color: var(--gold); }

/* Typography */
.font-heading { font-family: 'Oswald', sans-serif; }

/* Hero Section */
.hero-overlay {
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.85) 0%, rgba(27, 42, 74, 0.6) 100%);
}

.hero-section {
  background-image: url('../images/hero-batting.jpg');
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

/* When no hero image, use gradient fallback */
.hero-section:not([style*="background-image"]) {
  background: linear-gradient(135deg, #1B2A4A 0%, #2d4a7a 50%, #1B2A4A 100%);
}

/* Cards */
.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Deal card highlight */
.deal-card-best {
  border: 3px solid var(--gold);
  position: relative;
}

.deal-card-best::before {
  content: 'BEST DEAL';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 12px;
  border-radius: 4px;
}

/* Password Modal */
.modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

/* Pricing Table */
.pricing-table tr:nth-child(even) {
  background-color: #F9FAFB;
}

.pricing-table th {
  background-color: var(--navy);
  color: white;
}

/* Pulse animation for CTA */
.pulse-cta {
  animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
}

/* Admin form inputs */
.admin-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.15s ease;
}

.admin-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.1);
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 600;
  z-index: 100;
  animation: slide-up 0.3s ease;
}

.toast-success { background-color: #16A34A; }
.toast-error { background-color: var(--red); }

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section pattern background */
.pattern-bg {
  background-image: radial-gradient(circle at 1px 1px, rgba(27, 42, 74, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Smooth scrolling */
html { scroll-behavior: smooth; }

/* Weather widget status pulse */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Mobile touch targets */
@media (max-width: 768px) {
  .touch-target {
    min-height: 44px;
    min-width: 44px;
  }
}
