/*
Theme Name: JC
Theme URI: https://cochranemarket.com
Author: JC
Author URI: https://cochranemarket.com
Description: Fully color-customizable WordPress theme with header, hero, menu, body, and footer color controls. Includes logo, favicon, sidebar support.
Version: 1.0
License: GPL v2 or later
Text Domain: jc-theme
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

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

/* Header */
.site-header {
    padding: 20px 0;
}

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

.site-logo img {
    max-height: 60px;
    width: auto;
}

/* Navigation Menu */
.primary-menu {
    background: #333;
}

.primary-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin: 0;
    padding: 0;
}

.primary-menu a {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Main Content Area */
.content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0;
}

#main {
    flex: 2;
    min-width: 200px;
}

#sidebar {
    flex: 1;
    min-width: 200px;
}

/* Footer */
.site-footer {
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-height: 50px;
    width: auto;
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .primary-menu ul {
        display: none;
        flex-direction: column;
    }
    .primary-menu ul.show {
        display: flex;
    }
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    .content-area {
        flex-direction: column;
    }
}