﻿/* 
   Toronto Business Directory - Main Stylesheet
   Version: 2026.05.19 
*/

:root {
  --primary-color: #0284c7;
  --primary-dark: #0369a1;
  --accent-color: #f59e0b;
  --bg-main: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --radius-lg: 12px;
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

/* --- Layout Containers --- */
.container {
  width: 90%;
  margin: 0 auto;
}

.container-lg { max-width: 1200px; }
.container-md { max-width: 800px; }

/* --- Typography --- */
h1, h2, h3 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
}

/* --- Header & Navigation --- */
.header {
  background: #ffffff;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.logo-container { margin-bottom: 1rem; }
.logo { max-width: 220px; height: auto; }

.breadcrumb-nav {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.breadcrumb-nav a {
  color: var(--primary-color);
  text-decoration: none;
}

/* --- Components: Cards & Glassmorphism --- */
.intro-box {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.listing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.sidebar-cta {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

/* --- Grid System --- */
.grid-dynamic {
  display: grid;
  gap: 1.5rem;
}

/* --- Badges & Buttons --- */
.listing-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.secure-badge {
  background-color: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.add-business-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.add-business-btn:hover {
  background-color: var(--primary-dark);
}

/* --- Lists --- */
.specialties-list {
  list-style: none;
}

.specialties-list li::before {
  content: "✓";
  color: var(--primary-color);
  font-weight: bold;
  margin-right: 8px;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
  .grid-dynamic {
    grid-template-columns: 1fr !important;
  }
  
  .profile-sidebar {
    order: -1; /* Sidebar moves to top on mobile */
  }

  .intro-box {
    padding: 1.5rem;
  }
}