/*
Theme Name: GeneratePress Child - ShopBit
Description: Custom child theme for ShopBit.co with professional header, footer, and CRM comparison functionality
Template: generatepress
Version: 1.0.0
Author: AI Assistant
Author URI: https://shopbit.co
*/

/* Import Parent Theme Styles */
@import url("../generatepress/style.css");

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

/* ROOT VARIABLES - bet365vpn inspired color palette + blog extensions */
:root {
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --primary-blue-darker: #1e40af;
    --success-green: #10b981;
    --success-green-dark: #059669;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --purple-accent: #6366f1;
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Blog specific variables */
    --blog-content-width: 900px;
    --blog-hero-gradient: linear-gradient(135deg, #f0f4ff, #e0e7ff);
    --blog-hero-border: #c7d2fe;
    --blog-background: #fefefe;
    --blog-toc-background: #f9fafb;
}

/* GLOBAL OVERRIDES */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--gray-50);
    line-height: 1.6;
}

/* Container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER CUSTOMIZATIONS */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.inside-header {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Custom Logo Styling */
.shopbit-custom-logo .site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.shopbit-custom-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.15);
}

.shopbit-custom-logo .site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.shopbit-custom-logo .site-tagline {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
    margin: 0;
    line-height: 1;
}

/* FOOTER CUSTOMIZATIONS */
.shopbit-custom-footer {
    background: var(--gray-800);
    color: #d1d5db;
    margin-top: 60px;
}

.shopbit-custom-footer .footer-main {
    border-bottom: 1px solid #374151;
    padding: 50px 0 40px;
}

.shopbit-custom-footer .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.shopbit-custom-footer .footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shopbit-custom-footer .footer-logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue), #3b82f6);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.shopbit-custom-footer .footer-brand p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Social Links */
.shopbit-custom-footer .social-links {
    display: flex;
    gap: 12px;
}

.shopbit-custom-footer .social-link {
    width: 40px;
    height: 40px;
    background: #374151;
    color: var(--text-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.shopbit-custom-footer .social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Footer Columns */
.shopbit-custom-footer .footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 16px;
}

.shopbit-custom-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.shopbit-custom-footer .footer-links li {
    margin-bottom: 10px;
}

.shopbit-custom-footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.shopbit-custom-footer .footer-links a:hover {
    color: #3b82f6;
    text-decoration: none;
}

/* Footer Bottom */
.shopbit-custom-footer .footer-bottom {
    padding: 20px 0;
    background: #111827;
}

.shopbit-custom-footer .footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.shopbit-custom-footer .copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.shopbit-custom-footer .footer-bottom-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.shopbit-custom-footer .footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.shopbit-custom-footer .footer-bottom-links a:hover {
    color: #3b82f6;
    text-decoration: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .inside-header {
        height: 60px;
        padding: 0 16px;
    }

    .shopbit-custom-logo .site-title {
        font-size: 1.3rem;
    }

    .shopbit-custom-logo .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .shopbit-custom-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .shopbit-custom-footer .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .shopbit-custom-footer .footer-bottom-links {
        justify-content: center;
        gap: 16px;
    }
}

/* ACCESSIBILITY IMPROVEMENTS */
.social-link:focus,
.site-logo:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
    .site-header,
    .shopbit-custom-footer {
        display: none;
    }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .shopbit-custom-footer {
        background: #000;
        color: #fff;
    }
    
    .site-header {
        border-bottom-color: #000;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .logo-icon,
    .social-link,
    .site-logo {
        transition: none;
    }
}
