/* Evans Garage Doors - Custom CSS & Design Enhancements */
:root {
  --color-primary: #871313;
  --color-primary-dark: #680d0d;
  --color-primary-light: #ab1919;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-slate-900: #0f172a;
  --color-slate-800: #1e293b;
  --color-slate-700: #334155;
  --color-slate-100: #f1f5f9;
  --color-slate-50: #f8fafc;
}

html {
  scroll-behavior: smooth;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Custom Utilities */
.bg-brand-red {
  background-color: var(--color-primary);
}
.bg-brand-red-dark {
  background-color: var(--color-primary-dark);
}
.text-brand-red {
  color: var(--color-primary);
}
.border-brand-red {
  border-color: var(--color-primary);
}

.gradient-hero {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(135, 19, 19, 0.9) 100%);
}

.gradient-brand {
  background: linear-gradient(135deg, #871313 0%, #ab1919 100%);
}

.card-hover {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.08);
}

/* Accordion Smooth Disclosure */
details > summary {
  list-style: none;
  cursor: pointer;
}
details > summary::-webkit-details-marker {
  display: none;
}
details[open] summary svg {
  transform: rotate(180deg);
}

/* Pulse animation for 24/7 status */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.pulse-badge {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Floating call bar on mobile */
@media (max-width: 768px) {
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0.75rem 1rem;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  }
}

/* Print Friendly */
@media print {
  header, footer, .mobile-cta-bar, .no-print {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
