/* Custom styles for Richford Motors - supplements Tailwind CDN */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Base */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(135deg, rgba(27, 33, 65, 0.95) 0%, rgba(27, 33, 65, 0.7) 50%, rgba(27, 33, 65, 0.4) 100%);
}

/* Hero text shadow */
.hero-text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Nav link active state */
.nav-link.active {
  color: #C8102E;
}

/* Slider dot states */
.slider-dot {
  background-color: rgba(255, 255, 255, 0.5);
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}
.slider-dot.active {
  background-color: #C8102E;
}

/* Smooth transitions */
a, button {
  transition: color 0.2s ease, background-color 0.2s ease;
}

/* Mobile menu */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobileMenu.open {
  max-height: 500px;
}

/* Card hover effects */
.specialist-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.specialist-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Announcement banner dismiss */
.announcement-banner {
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}
.announcement-banner.dismissed {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-width: 0;
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}
