/*
Theme Name: Thrive Hub AI
Description: A modern WordPress theme designed for Thrive Hub AI-powered business platform
Author: Thrive Hub Team
Version: 1.0
*/

/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Ensure navbar container has proper spacing */
.navbar .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 112px !important;
    padding: 0 20px !important;
}

/* Custom Navbar (exact copy from blog-static.html) - Override Bulma defaults */
.navbar {
    height: 112px !important;
    background-color: white !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    padding: 0 !important;
    min-height: 112px !important;
}

.navbar-brand {
    align-items: center !important;
    display: flex !important;
    flex-shrink: 0 !important;
    min-height: 112px !important;
}

.navbar-burger {
    color: #000 !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    display: none !important; /* Hidden by default on desktop */
    height: 3.25rem !important;
    position: relative !important;
    width: 3.25rem !important;
    margin-left: auto !important;
}

.navbar-burger span {
    background-color: #000 !important;
    display: block !important;
    height: 1px !important;
    left: calc(50% - 8px) !important;
    position: absolute !important;
    transform-origin: center !important;
    transition-duration: 86ms !important;
    transition-property: background-color, opacity, transform !important;
    transition-timing-function: ease-out !important;
    width: 16px !important;
}

.navbar-burger span:nth-child(1) {
    top: calc(50% - 6px) !important;
}

.navbar-burger span:nth-child(2) {
    top: calc(50% - 1px) !important;
}

.navbar-burger span:nth-child(3) {
    top: calc(50% + 4px) !important;
}

.navbar-burger.is-active span:nth-child(1) {
    transform: translateY(5px) rotate(45deg) !important;
}

.navbar-burger.is-active span:nth-child(2) {
    opacity: 0 !important;
}

.navbar-burger.is-active span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg) !important;
}

.navbar-logo {
    width: 193px !important;
    padding: 0px 0 0 0 !important;
    gap: 0 !important;
    max-height: 80px !important;
    object-fit: contain !important;
}

.navbar-menu {
    background-color: white !important;
    box-shadow: none !important;
    padding: 0 !important;
    flex-grow: 1 !important;
    flex-shrink: 0 !important;
    display: flex !important; /* Ensure menu is visible on desktop */
}

.navbar-menu .navbar-item {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 25px !important;
    letter-spacing: 0.38px !important;
    text-align: left !important;
    text-underline-position: from-font !important;
    text-decoration-skip-ink: none !important;
    color: black !important;
    margin-left: 20px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: none !important;
    padding: 0.5rem 0.75rem !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.navbar-menu .navbar-item:hover {
    background-color: transparent !important;
    color: #118bf6 !important;
}

.navbar-end {
    align-items: center !important;
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    gap: 0 !important;
}

/* Ensure proper spacing between navbar items */
.navbar-end .navbar-item:not(:last-child) {
    margin-right: 0 !important;
}

.custom-button {
    width: 180px !important;
    height: 44px !important;
    border-radius: 8px !important;
    background-color: #118bf6 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: center !important;
    color: white !important;
    opacity: 1 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

a.custom-button {
    /* Remove padding-top since we're using flexbox centering */
}

.custom-button:hover {
    background-color: #0d6fca !important;
    color: white !important;
    text-decoration: none !important;
}

/* Mobile menu styles */
@media screen and (max-width: 1023px) {
    /* Show hamburger on mobile */
    .navbar-burger {
        display: block !important;
        z-index: 1001 !important; /* Ensure it's clickable */
    }
    
    /* Hide desktop menu on mobile */
    .navbar-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background-color: white !important;
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1) !important;
        padding: 0.5rem 0 !important;
        z-index: 1000 !important;
        width: 100% !important;
    }
    
    /* Show mobile menu when active */
    .navbar-menu.is-active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        animation: slideDown 0.3s ease-out !important;
        /* Force override any Bulma display properties */
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    /* Mobile menu animation */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Ensure mobile menu is properly positioned and visible */
    .navbar-menu.is-active .navbar-end {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    /* Mobile menu layout */
    .navbar-end {
        flex-direction: column !important;
        align-items: stretch !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    /* Very specific selectors to override Bulma */
    .navbar .navbar-menu.is-active,
    .navbar.has-shadow .navbar-menu.is-active,
    nav.navbar .navbar-menu.is-active {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background-color: white !important;
        box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1) !important;
        z-index: 1000 !important;
    }
    
    .navbar-menu .navbar-item {
        margin-left: 0 !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid #f0f0f0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .custom-button {
        width: calc(100% - 2rem) !important;
        margin: 0.5rem 1rem !important;
        justify-content: center !important;
    }
}

/* Legacy Header (hidden when using custom navbar) */
.site-header {
    display: none;
}

/* ========================================
   Footer CSS (from blog-static.html)
======================================== */
.footer-content {
    padding: 2rem 1.5rem;
}

.social-container {
    justify-content: center;
}

@media screen and (min-width: 769px) {
    .social-container {
        justify-content: flex-end;
    }

    .footer-content {
        padding: 50px;
    }
}

.install-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.install-text {
    margin-top: 0.5rem;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .install-container {
        align-items: flex-end;
    }
}

.is-justify-content-center-mobile {
    justify-content: center;
}

.footer ul {
    text-align: center;
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 769px) {
    .footer ul {
        text-align: left;
        margin-bottom: 0;
    }
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul li a {
    color: black;
    font-family: inherit;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #118cf6;
}

@media screen and (min-width: 769px) {
    .footer ul li a {
        font-size: 20px;
    }
}

.button.is-primary {
    background-color: #118cf6;
    color: white;
}

.button.is-primary:hover {
    background-color: #0d6fca;
    color: white;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.social-icons .button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 480px) {
    .social-icons .button {
        margin-left: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Navigation */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: #0066cc;
}

/* Main content */
.site-main {
    padding: 2rem 0;
    min-height: 60vh;
}

/* AI-themed styles */
.ai-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ai-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.ai-button {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.ai-button:hover {
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}