﻿/* MISSISSAUGA BUSINESS DIRECTORY - MASTER STYLESHEET 
   Refreshed for Performance, Scalability, and Cleanliness
*/

/* --- 1. Variables & Reset --- */
:root {
    --primary-blue: #336699;
    --primary-dark: #264d73;
    --success-green: #28a745;
    --text-dark: #333;
    --text-muted: #666;
    --text-light: #888;
    --bg-light: #f0f0f0;
    --bg-card: #fafafa;
    --bg-featured: #fcfcfc;
    --border-light: #eee;
    --border-ad: #e0e0e0;
    --border-featured: #d1d8e0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    line-height: 1.6;
    text-align: center;
}

/* --- 2. Layout Containers --- */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 25px 0;
}

.left-align {
    text-align: left;
}

/* --- 3. Typography --- */
h1, h2 { 
    font-size: 1.4rem; 
    margin-bottom: 10px; 
}

h3 { 
    font-size: 1.1rem; 
    margin-top: 0; 
}

a { 
    color: #0000EE; 
    text-decoration: underline; 
}

.slogan {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 15px;
    font-style: italic;
}

.introduction p {
    font-style: italic;
}

/* --- 4. Components --- */

.logo {
    display: block;
    width: 100px;
    height: auto;
    margin: 25px auto 20px auto;
}

.decorative-line {
    width: 100%;
    height: 45px;
    background-color: var(--primary-blue);
    margin: 25px 0;
    border-radius: 6px;
}

.verified-badge {
    display: inline-block;
    background-color: var(--success-green);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.add-business-link {
    display: inline-block;
    background-color: var(--primary-blue);
    color: #ffffff !important;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.add-business-link:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

/* --- 5. Lists & Business Cards --- */
.directory-list {
    list-style-type: disc;
    list-style-position: inside;
    padding: 0;
}

.directory-list li {
    margin-bottom: 20px;
}

.directory-list li a {
    font-weight: bold;
}

.business-card {
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-light);
}

.business-card:last-child {
    border-bottom: none;
}

.business-card h3 {
    margin-bottom: 8px;
}

.business-card p {
    margin-bottom: 12px;
    color: #444;
}

.phone-link {
    font-size: 1.1rem;
    color: var(--primary-blue) !important;
    text-decoration: none;
    font-weight: bold;
}

.phone-link:hover {
    text-decoration: underline;
}

/* --- 6. Ads & Featured Sections --- */
.ad-space small {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.google-ad-placeholder {
    background-color: var(--bg-card);
    border: 1px solid var(--border-ad);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.google-ad-placeholder:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.featured-listing-box {
    background-color: var(--bg-featured);
    border: 1px solid var(--border-featured);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    position: relative;
}

.featured-img {
    width: 80%;
    max-width: 640px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

/* --- 7. Footer --- */
.footer-section {
    margin-top: 55px;
    padding: 25px 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
}