/*
Theme Name: MuseSecure Pro Theme
Theme URI: https://musesecure.pro
Author: MuseSecure Team
Author URI: https://musesecure.pro
Description: A professional, Google One-inspired theme designed for screenplay writers. Clean, minimal, and secure. Optimized for the MuseSecure Pro plugin.
Version: 1.0.0
Requires at least: 6.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: musesecure-theme
Tags: custom-menu, custom-logo, editor-style, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
*/

/**
 * MuseSecure Pro Theme - Google One Inspired Design
 * Professional, Clean, Minimal
 */

/* ============================================
   CSS Variables - Google One Color System
   ============================================ */
:root {
    /* Primary Colors - Google Blue */
    --muse-primary: #1A73E8;
    --muse-primary-hover: #1765CC;
    --muse-primary-light: #E8F0FE;
    --muse-primary-dark: #174EA6;

    /* Neutral Colors - Google Material */
    --muse-bg: #FFFFFF;
    --muse-bg-secondary: #F8F9FA;
    --muse-bg-tertiary: #E8EAED;
    --muse-border: #DADCE0;
    --muse-border-light: #F1F3F4;

    /* Text Colors */
    --muse-text-primary: #202124;
    --muse-text-secondary: #5F6368;
    --muse-text-tertiary: #80868B;

    /* Semantic Colors */
    --muse-success: #1E8E3E;
    --muse-success-light: #E6F4EA;
    --muse-warning: #F9AB00;
    --muse-warning-light: #FEF7E0;
    --muse-error: #D93025;
    --muse-error-light: #FCE8E6;

    /* Spacing */
    --muse-radius: 8px;
    --muse-radius-lg: 16px;

    /* Shadows - Google Material Design */
    --muse-shadow-sm: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
    --muse-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
    --muse-shadow-lg: 0 2px 6px 2px rgba(60,64,67,0.15), 0 8px 12px 6px rgba(60,64,67,0.15);

    /* Typography - Google Sans */
    --muse-font-sans: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --muse-font-mono: 'Roboto Mono', 'Courier New', monospace;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--muse-font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--muse-text-primary);
    background: var(--muse-bg);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    color: var(--muse-text-primary);
    margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin: 0 0 1rem 0;
}

a {
    color: var(--muse-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--muse-primary-hover);
}

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

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Buttons - Google Material Style
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--muse-radius);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    font-family: var(--muse-font-sans);
}

.btn-primary {
    background: var(--muse-primary);
    color: white;
    box-shadow: var(--muse-shadow-sm);
}

.btn-primary:hover {
    background: var(--muse-primary-hover);
    box-shadow: var(--muse-shadow);
}

.btn-secondary {
    background: var(--muse-bg);
    color: var(--muse-text-primary);
    border: 1px solid var(--muse-border);
}

.btn-secondary:hover {
    background: var(--muse-bg-secondary);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
}

/* ============================================
   WordPress Core
   ============================================ */
.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

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

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--muse-text-secondary);
    text-align: center;
    margin-top: 8px;
}

/* ============================================
   Accessibility
   ============================================ */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--muse-bg-secondary);
    border-radius: var(--muse-radius);
    box-shadow: var(--muse-shadow);
    clip: auto;
    clip-path: none;
    color: var(--muse-text-primary);
    display: block;
    font-size: 14px;
    font-weight: 500;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .container,
    .container-wide {
        padding: 0 16px;
    }
}
