/* Scenic City Velo - Custom Styles */
/* Color Scheme: Blue (Freedom/Sky) + Navy (Professional) + Orange (Energy) */

:root {
  /* Primary - Sky/Freedom */
  --velo-blue: #0EA5E9;
  --velo-blue-light: #38BDF8;
  --velo-blue-dark: #0284C7;

  /* Secondary - Deep Blue */
  --velo-navy: #1E3A5F;
  --velo-navy-light: #2D4A6F;
  --velo-navy-dark: #152A45;

  /* Accent - Energy */
  --velo-orange: #F97316;
  --velo-orange-light: #FB923C;

  /* Neutrals */
  --velo-white: #FFFFFF;
  --velo-off-white: #F8FAFC;
  --velo-gray-light: #F1F5F9;
  --velo-gray: #64748B;
  --velo-gray-dark: #334155;
  --velo-dark: #0F172A;
}

html {
  margin-left: 0 !important;
}

/* ==================== */
/* Hero Section         */
/* ==================== */

.hero-section {
  background: linear-gradient(135deg, var(--velo-navy-dark) 0%, var(--velo-navy) 50%, var(--velo-navy-light) 100%);
  color: var(--velo-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--velo-blue), var(--velo-blue-light), var(--velo-orange));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--velo-white) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--velo-blue-light);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ==================== */
/* Buttons              */
/* ==================== */

.btn {
  border-radius: 6px !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  border-radius: 8px !important;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  border-radius: 5px !important;
}

/* Primary CTA - Blue */
.btn-velo {
  background: var(--velo-blue);
  color: var(--velo-white);
  font-weight: 600;
  border: none;
}

.btn-velo:hover {
  background: var(--velo-blue-dark);
  color: var(--velo-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.4);
}

/* Secondary - Navy */
.btn-navy {
  background: var(--velo-navy);
  color: var(--velo-white);
  border: none;
}

.btn-navy:hover {
  background: var(--velo-navy-dark);
  color: var(--velo-white);
}

/* Accent - Orange */
.btn-orange {
  background: var(--velo-orange);
  color: var(--velo-white);
  border: none;
}

.btn-orange:hover {
  background: #EA580C;
  color: var(--velo-white);
}

.btn-outline-light {
  border: 2px solid var(--velo-white);
  color: var(--velo-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--velo-white);
  color: var(--velo-navy);
}

.btn-outline-navy {
  border: 2px solid var(--velo-navy);
  color: var(--velo-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--velo-navy);
  color: var(--velo-white);
}

.btn-outline-blue {
  border: 2px solid var(--velo-blue);
  color: var(--velo-blue);
  background: transparent;
}

.btn-outline-blue:hover {
  background: var(--velo-blue);
  color: var(--velo-white);
}

/* ==================== */
/* Navbar               */
/* ==================== */

.navbar {
  background: var(--velo-navy) !important;
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 600;
}

.navbar .btn-velo {
  background: var(--velo-blue);
}

.navbar .btn-velo:hover {
  background: var(--velo-blue-light);
}

/* ==================== */
/* Cards                */
/* ==================== */

.card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card-header {
  background: var(--velo-navy) !important;
  color: var(--velo-white) !important;
  border-radius: 12px 12px 0 0 !important;
}

/* Category Cards */
.category-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--velo-blue);
  transform: translateY(-4px);
}

.category-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--velo-blue-light), var(--velo-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--velo-white);
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--velo-navy);
  margin-bottom: 0.75rem;
}

.category-desc {
  color: var(--velo-gray);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== */
/* Feature Cards        */
/* ==================== */

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--velo-blue-light), var(--velo-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--velo-white);
}

.feature-title {
  font-weight: 600;
  color: var(--velo-navy);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.feature-card .text-muted {
  font-size: 1rem;
}

/* ==================== */
/* City/Resource Badge  */
/* ==================== */

.velo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--velo-blue), var(--velo-blue-dark));
  color: var(--velo-white);
  padding: 0.375rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.velo-badge svg {
  width: 16px;
  height: 16px;
}

.velo-badge-orange {
  background: linear-gradient(135deg, var(--velo-orange), var(--velo-orange-light));
  color: var(--velo-white);
}

/* ==================== */
/* Listing Cards        */
/* ==================== */

.listing-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.listing-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.listing-card-header {
  background: var(--velo-off-white);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.listing-card-body {
  padding: 1.25rem;
}

.listing-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--velo-navy);
  margin-bottom: 0.5rem;
}

.listing-title a {
  color: var(--velo-navy);
  text-decoration: none;
}

.listing-title a:hover {
  color: var(--velo-blue);
}

.listing-category {
  display: inline-block;
  background: var(--velo-gray-light);
  color: var(--velo-gray-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.listing-desc {
  color: var(--velo-gray);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--velo-gray);
  font-size: 0.875rem;
}

.listing-meta svg {
  width: 16px;
  height: 16px;
  color: var(--velo-blue);
}

/* ==================== */
/* Section Styles       */
/* ==================== */

.section-light {
  background: var(--velo-off-white);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--velo-navy);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--velo-gray);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--velo-blue-light), var(--velo-blue));
  color: var(--velo-white);
  position: relative;
}

.cta-section h2 {
  color: var(--velo-white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
}

/* Stats Section */
.stats-section {
  background: var(--velo-navy);
  color: var(--velo-white);
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--velo-blue-light);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==================== */
/* Footer               */
/* ==================== */

.site-footer {
  background: var(--velo-navy-dark);
  color: var(--velo-white);
  padding: 2.5rem 0 1.5rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--velo-blue), var(--velo-blue-light), var(--velo-orange));
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--velo-blue-light);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.125rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--velo-blue-light);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
}

/* ==================== */
/* Filter Buttons       */
/* ==================== */

.filter-btn {
  background: var(--velo-white);
  border: 2px solid #e5e7eb;
  color: var(--velo-gray-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.filter-btn:hover {
  border-color: var(--velo-blue);
  color: var(--velo-blue);
}

.filter-btn.active {
  background: var(--velo-blue);
  border-color: var(--velo-blue);
  color: var(--velo-white);
}

/* ==================== */
/* Info Box             */
/* ==================== */

.info-box {
  background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box-orange {
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border-color: #FED7AA;
}

.info-box-title {
  font-weight: 600;
  color: var(--velo-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-box-title svg {
  color: var(--velo-blue);
}

/* ==================== */
/* Typography           */
/* ==================== */

body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--velo-dark);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--velo-navy);
}

h1 {
  font-size: 2.25rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.75rem;
  line-height: 1.35;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.4;
}

h4 {
  font-size: 1.125rem;
  line-height: 1.4;
}

p {
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.small, small {
  font-size: 0.9375rem !important;
}

.text-muted {
  color: var(--velo-gray) !important;
}

a {
  color: var(--velo-blue);
}

a:hover {
  color: var(--velo-blue-dark);
}

/* ==================== */
/* Utility Classes      */
/* ==================== */

.bg-velo-light {
  background: var(--velo-gray-light);
}

.text-velo-blue {
  color: var(--velo-blue);
}

.text-velo-navy {
  color: var(--velo-navy);
}

.text-velo-orange {
  color: var(--velo-orange);
}

.border-velo {
  border-color: var(--velo-blue) !important;
}

/* ==================== */
/* Mobile Adjustments   */
/* ==================== */

@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .category-card {
    padding: 1.5rem 1rem;
  }

  .category-icon {
    width: 56px;
    height: 56px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ==================== */
/* Animation            */
/* ==================== */

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

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out;
}
