/* Saint-John Media Group - Targeted Enhancements */
/* This file ADDS to your existing styles.css - does not replace it */
/* Upload this as a separate file: enhancements.css */

/* ========================================
   TARGETED FOOTER IMPROVEMENTS
   ======================================== */

/* Ensure footer text contrast meets WCAG AA standards */
footer {
    /* Your existing styles are good, just ensuring consistency */
    background-color: var(--navy-blue) !important;
    color: var(--white) !important;
}

/* Ensure all footer text elements have proper contrast */
footer h3,
footer p,
footer a,
footer li {
    color: var(--white) !important;
}

/* Footer links hover state improvement */
footer a:hover {
    color: var(--orange) !important;
    text-decoration: none !important;
}

/* Social icons enhancement */
.social-icons a:hover {
    background: var(--orange) !important;
    color: var(--white) !important;
}

/* ========================================
   NAVIGATION CONSISTENCY IMPROVEMENTS
   ======================================== */

/* ── Single-line nav: definitive fix ── */
header {
    background-color: var(--white) !important;
    height: 80px !important;
    overflow: visible !important;
}

header .container {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px !important;
    height: 80px !important;
    max-width: 1200px !important;
}

/* Constrain logo so nav has room */
.logo {
    flex-shrink: 0 !important;
    max-width: 220px !important;
    overflow: hidden !important;
}

.logo img {
    height: 42px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

/* Nav takes remaining space, stays on one line */
header nav {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
}

.nav-menu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    list-style: none !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.nav-menu li {
    margin: 0 !important;
    padding: 0 6px !important;
    white-space: nowrap !important;
}

.nav-menu a {
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    padding: 4px 2px !important;
    display: inline-block !important;
}

/* Fix main margin to match header height */
main {
    margin-top: 80px !important;
}

/* Hover effect */
.nav-menu a:hover {
    color: var(--orange) !important;
}

/* ========================================
   TYPOGRAPHY FINE-TUNING
   ======================================== */

/* Ensure consistent professional typography */
body {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

/* Paragraph improvements */
p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 1.2rem !important;
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus indicators for keyboard navigation */
a:focus,
button:focus,
.btn:focus {
    outline: 2px solid var(--orange) !important;
    outline-offset: 2px !important;
}

/* ========================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ======================================== */

/* Ensure footer is mobile-friendly */
@media (max-width: 768px) {
    .footer-content {
        text-align: center !important;
    }
    
    .social-icons {
        justify-content: center !important;
    }
}

/* ========================================
   BUTTON CONSISTENCY
   ======================================== */

/* Ensure all buttons have consistent styling */
.btn {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px 30px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

.btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* ========================================
   FORM IMPROVEMENTS (if needed)
   ======================================== */

/* Ensure form elements are accessible */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 69, 0.2) !important;
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Smooth scrolling for better UX */
html {
    scroll-behavior: smooth !important;
}

/* Optimize image loading */
img {
    max-width: 100% !important;
    height: auto !important;
}

/* ========================================
   BRAND CONSISTENCY HELPERS
   ======================================== */

/* Ensure consistent use of brand colors */
.text-primary {
    color: var(--navy-blue) !important;
}

.text-secondary {
    color: var(--light-blue) !important;
}

.text-accent {
    color: var(--orange) !important;
}

.bg-primary {
    background-color: var(--navy-blue) !important;
    color: var(--white) !important;
}

.bg-secondary {
    background-color: var(--light-blue) !important;
    color: var(--white) !important;
}

.bg-accent {
    background-color: var(--orange) !important;
    color: var(--white) !important;
}

