/*
Theme Name: TrackMyBiz Theme
Theme URI: https://trackmybusiness.ai
Description: Custom WordPress theme matching TrackMyBiz Laravel design
Author: TrackMyBiz
Author URI: https://trackmybusiness.ai
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trackmybiz
*/

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

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-secondary: #4f46e5;
    --color-secondary-hover: #4338ca;
    --color-accent: #f59e0b;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

/* Navigation Styles - Matching Laravel Home.vue */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    z-index: 50;
    border-bottom: 1px solid #f3f4f6;
    top: 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #111827;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.main-nav {
    display: none;
    gap: 2rem;
}

.main-nav a {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.938rem;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: #111827;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-link {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.938rem;
    transition: color 0.2s;
}

.login-link:hover {
    color: var(--color-primary);
}

.cta-button {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.938rem;
    text-decoration: none;
    transition: background-color 0.2s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--color-primary-hover);
}

/* Show nav on desktop */
@media (min-width: 768px) {
    .main-nav {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
}

/* Main Content */
.site-main {
    margin-top: 64px;
    min-height: calc(100vh - 64px - 200px);
}

.content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

@media (min-width: 768px) {
    .content-wrapper {
        padding: 4rem 1.5rem;
    }
}

@media (min-width: 1024px) {
    .content-wrapper {
        padding: 5rem 2rem;
    }
}

/* Blog Post Styles */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 1px solid #f3f4f6;
}

.blog-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover {
    color: var(--color-primary);
}

.blog-card-excerpt {
    color: #4b5563;
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.938rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--color-primary-hover);
}

/* Single Post */
.single-post-header {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.single-post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.single-post-meta {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.single-post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-post-content p {
    margin-bottom: 1.5rem;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.single-post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.single-post-content a:hover {
    color: var(--color-primary-hover);
}

.single-post-content ul,
.single-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.single-post-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4b5563;
}

/* Footer Styles - Matching Laravel Home.vue */
.site-footer {
    background-color: white;
    border-top: 1px solid #e5e7eb;
    padding: 3rem 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.938rem;
}

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

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.938rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6b7280;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .footer-container {
        padding: 0 2rem;
    }
}

/* Page Title */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.page-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    align-items: center;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.pagination a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination .current {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: #111827;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 767px) {
    .page-title {
        font-size: 2rem;
    }
    
    .single-post-title {
        font-size: 1.875rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

