/*
Theme Name: ZeroAI CRM
Theme URI: https://zeroaicrm.com
Author: ZeroAI Team
Author URI: https://zeroaicrm.com
Description: A modern, professional theme designed for ZeroAI CRM WordPress sites. Features a clean design with ZeroAI branding and optimized for business use.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zeroai
Tags: business, corporate, modern, responsive, crm
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #0f141d;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #dc5e09;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: inline-block;
}

.site-branding .custom-logo {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.site-title a {
    color: #dc5e09;
    text-decoration: none;
}

.site-description {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 5px;
}

/* Navigation */
.main-navigation {
    margin-top: 10px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

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

.main-navigation a:hover {
    opacity: 0.8;
}

/* Content Area */
.site-content {
    background: white;
    padding: 40px 0;
}

.content-area {
    max-width: 800px;
    margin: 0 auto;
}

/* Posts */
.post {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.entry-title {
    font-size: 32px;
    margin-bottom: 15px;
    color: #ff6600;
}

.entry-title a {
    color: #ff6600;
    text-decoration: none;
}

.entry-title a:hover {
    color: #ff8c00;
}

.entry-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.entry-content {
    line-height: 1.8;
    font-size: 16px;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Footer */
.site-footer {
    background: #2d3748;
    color: white;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget h3 {
    margin-bottom: 15px;
    color: #ff6600;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget a {
    color: #cbd5e0;
    text-decoration: none;
    line-height: 2;
}

.footer-widget a:hover {
    color: white;
}

.site-info {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
    font-size: 14px;
}

.site-info a {
    color: #ff6600;
    text-decoration: none;
}

/* Buttons */
.button,
.wp-block-button__link {
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.4);
}

/* Sidebar */
.sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6600;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when open */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-wrap: wrap;
        position: relative;
    }

    .site-branding {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .main-navigation.active {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .main-navigation li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 12px 0;
    }

    .entry-title {
        font-size: 24px;
    }
}
.post-thumbnail img {
    width: 100%;
    height: auto;      /* Prevents stretching */
    max-width: 800px; /* Adjust this to your preferred max desktop width */
    display: block;
    margin: 0 auto;    /* Centers the image */
}
/* WordPress Alignment Classes */
.alignleft {
    float: left;
    margin: 0 20px 10px 0;
}

.alignright {
    float: right;
    margin: 0 0 10px 20px;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Comments */
.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ZeroAI Branding */
.zeroai-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

.powered-by-zeroai {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-top: 20px;
}

.powered-by-zeroai a {
    color: #ff6600;
    text-decoration: none;
    font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px 0;
}

.breadcrumbs a {
    color: #ff6600;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}
