/*
Theme Name: Alfred - AI Marketing Command Center
Theme URI: https://granitepathmarketing.tech
Description: Professional dark theme for Alfred AI Marketing Command Center with Granite Path brand colors
Author: Granite Path Marketing
Author URI: https://granitepathmarketing.tech
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfred-theme
Domain Path: /languages
Requires at least: 5.0
Requires PHP: 7.4
Tags: dark, ai, marketing, automation, responsive, custom-colors
*/

/* ============================================================================
   ALFRED WORDPRESS THEME - STYLE.CSS
   
   Professional dark theme for Alfred AI Marketing Command Center
   Brand Colors: Orange (#f39200), Copper (#b87333), Charcoal (#1a1a1a)
   
   ========================================================================== */

/* ============================================================================
   1. RESET & BASE STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0f0f0f;
    background-image: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* ============================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

a {
    color: #f39200;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #e68a00;
    text-decoration: underline;
}

strong, b {
    font-weight: 700;
    color: #f39200;
}

em, i {
    font-style: italic;
    color: #b87333;
}

code, pre {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', monospace;
    color: #f39200;
}

pre {
    padding: 1rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

blockquote {
    border-left: 4px solid #b87333;
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #cccccc;
    font-style: italic;
}

/* ============================================================================
   3. LAYOUT & STRUCTURE
   ========================================================================== */

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

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.col {
    min-width: 0;
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }

/* ============================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    background-color: #1a1a1a;
    border-bottom: 2px solid #b87333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f39200;
    margin: 0;
}

.site-description {
    font-size: 0.875rem;
    color: #b87333;
    margin: 0;
}

.site-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.site-nav a {
    color: #ffffff;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.site-nav a:hover,
.site-nav a.active {
    background-color: #f39200;
    color: #0f0f0f;
}

/* ============================================================================
   5. MAIN CONTENT
   ========================================================================== */

.site-main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.post, .page {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.post-title, .page-title {
    color: #f39200;
    margin-bottom: 1rem;
    border-bottom: 2px solid #b87333;
    padding-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #999999;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.post-excerpt {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* ============================================================================
   6. BUTTONS & FORMS
   ========================================================================== */

button, .button, input[type="button"], input[type="submit"] {
    background-color: #f39200;
    color: #0f0f0f;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

button:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 146, 0, 0.3);
}

button:active, .button:active, input[type="button"]:active, input[type="submit"]:active {
    transform: translateY(0);
}

.button-secondary {
    background-color: #b87333;
    color: #ffffff;
}

.button-secondary:hover {
    background-color: #a0632b;
}

.button-outline {
    background-color: transparent;
    color: #f39200;
    border: 2px solid #f39200;
}

.button-outline:hover {
    background-color: #f39200;
    color: #0f0f0f;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #f39200;
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #f39200;
}

/* ============================================================================
   7. SIDEBAR & WIDGETS
   ========================================================================== */

.sidebar {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #f39200;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #b87333;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #2a2a2a;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.widget ul li a:hover {
    color: #f39200;
    padding-left: 0.5rem;
}

/* ============================================================================
   8. FOOTER
   ========================================================================== */

.site-footer {
    background-color: #1a1a1a;
    border-top: 2px solid #b87333;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-widget {
    color: #cccccc;
}

.footer-widget h3 {
    color: #f39200;
    margin-bottom: 1rem;
}

.footer-widget a {
    color: #b87333;
}

.footer-widget a:hover {
    color: #f39200;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2a2a2a;
    color: #666666;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #b87333;
}

.footer-bottom a:hover {
    color: #f39200;
}

/* ============================================================================
   9. CARDS & COMPONENTS
   ========================================================================== */

.card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: #b87333;
    box-shadow: 0 8px 24px rgba(243, 146, 0, 0.1);
    transform: translateY(-4px);
}

.card-title {
    color: #f39200;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-text {
    color: #cccccc;
    margin-bottom: 1rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #2a2a2a;
}

/* Alert Boxes */
.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-info {
    background-color: rgba(243, 146, 0, 0.1);
    border-left-color: #f39200;
    color: #f39200;
}

.alert-success {
    background-color: rgba(184, 115, 51, 0.1);
    border-left-color: #b87333;
    color: #b87333;
}

.alert-warning {
    background-color: rgba(243, 146, 0, 0.15);
    border-left-color: #f39200;
    color: #f39200;
}

.alert-error {
    background-color: rgba(255, 100, 100, 0.1);
    border-left-color: #ff6464;
    color: #ff6464;
}

/* ============================================================================
   10. PAGINATION
   ========================================================================== */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.pagination a, .pagination span {
    padding: 0.5rem 0.75rem;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f39200;
    color: #0f0f0f;
    border-color: #f39200;
}

.pagination .current {
    background-color: #f39200;
    color: #0f0f0f;
    border-color: #f39200;
}

/* ============================================================================
   11. COMMENTS
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
}

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

.comment {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-author {
    font-weight: 600;
    color: #f39200;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #999999;
    margin-bottom: 1rem;
}

.comment-content {
    color: #cccccc;
    line-height: 1.8;
}

/* ============================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .site-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .post, .page {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.1rem; }
    
    .container {
        padding: 0 10px;
    }
    
    .site-nav {
        gap: 0.5rem;
    }
    
    .site-nav a {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
}

/* ============================================================================
   13. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-orange { color: #f39200; }
.text-copper { color: #b87333; }
.text-white { color: #ffffff; }
.text-gray { color: #cccccc; }

.bg-orange { background-color: #f39200; }
.bg-copper { background-color: #b87333; }
.bg-charcoal { background-color: #1a1a1a; }
.bg-dark { background-color: #0f0f0f; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); }

.hidden { display: none; }
.visible { display: block; }

/* ============================================================================
   14. ANIMATIONS
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

.slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.3s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* ============================================================================
   15. WORDPRESS SPECIFIC STYLES
   ========================================================================== */

.wp-caption {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.wp-caption img {
    margin-bottom: 0.5rem;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: #999999;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.gallery-item {
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: #b87333;
    box-shadow: 0 4px 12px rgba(243, 146, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================================
   END OF STYLE.CSS
   ========================================================================== */
