/*
Theme Name: ContAInt
Theme URI: https://www.idealizer.ch/wordpress/containt
Author: Idealizer LLC
Author URI: https://www.idealizer.ch
Description: A modern, clean WordPress theme designed specifically to showcase AI-generated content. ContAInt works seamlessly with the AI Generative Content plugin to present AI-created text, images, audio, and video in an elegant and responsive layout.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: containt
Tags: blog, one-column, two-columns, right-sidebar, left-sidebar, custom-colors, custom-menu, editor-style, featured-images, full-width-template, theme-options, translation-ready, ai, artificial-intelligence, modern, clean

This theme was built to showcase AI generated content.
*/

/* Base CSS is loaded from /assets/css/modern.css */
@import url('assets/css/modern.css');

/* Theme specific overrides and customizations go here */

/* Colors - these can be customized in the theme customizer */
:root {
    --brand-primary: #2563eb;   /* Primary brand color - blue */
    --brand-secondary: #0ea5e9; /* Secondary brand color - sky blue */
    --brand-accent: #8b5cf6;    /* Accent color - purple */
    --success-color: #10b981;   /* Success messages - emerald */
    --error-color: #ef4444;     /* Error messages - red */
    --warning-color: #f59e0b;   /* Warning messages - amber */
    --info-color: #3b82f6;      /* Info messages - blue */
}

/* Logo and branding */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Header variations */
.header-centered .site-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header-centered .main-navigation {
    margin-top: 1rem;
}

.header-minimal {
    padding: 0.5rem 0;
}

/* Header actions styling */
.header-right {
    display: flex;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 0.5rem;
    padding: 0;
}

.theme-toggle:hover {
    background-color: var(--highlight-bg);
}

.theme-toggle-light {
    display: block;
}

.theme-toggle-dark {
    display: none;
}

.theme-dark .theme-toggle-light {
    display: none;
}

.theme-dark .theme-toggle-dark {
    display: block;
}

.ai-dashboard-btn {
    font-size: 0.875rem;
}

/* Footer customizations */
.site-footer .widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.footer-menu li {
    margin: 0 0.75rem;
}

.footer-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.copyright {
    margin-bottom: 1rem;
}

.ai-footer-badge {
    display: inline-block;
    background-color: var(--pill-bg);
    color: var(--pill-color);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    margin-top: 0.5rem;
}

.ai-powered {
    font-size: 0.875rem;
    background-color: var(--pill-bg);
    color: var(--pill-color);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    margin-left: 0.5rem;
}

/* AI content specific styling */
.ai-content-preview {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.ai-content-preview::before {
    content: "AI";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--brand-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    z-index: 10;
}

/* For the AI dashboard page specifically */
.page-template-page-ai-dashboard .content-area {
    width: 100%;
}

.page-template-page-ai-dashboard .site-content {
    max-width: 1600px;
    margin: 0 auto;
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
    .dashboard-grid,
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Custom animations for AI generated content */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.agc-result {
    animation: fadeIn 0.5s ease-in-out;
}

/* Typography improvements */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

blockquote {
    border-left: 4px solid var(--brand-primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    opacity: 0.9;
    margin: 1.5rem 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-secondary);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button:hover {
    background-color: var(--accent-secondary);
}

/* Cards */
.card {
    background-color: var(--bg-secondary);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

/* Grid system */
.grid {
    display: grid;
    gap: 1.5rem;
}

/* Utility classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; } 