/*
Theme Name: AstroSam
Theme URI: https://gyanibaba.xyz
Author: gyanibaba
Author URI: https://gyanibaba.xyz
Description: A high-performance, mobile-first, AdSense-optimized WordPress theme.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astrosam
Tags: blog, one-column, custom-colors, dark-mode, accessibility-ready, fast
*/


:root {
    /* -- Brand Colors -- */
    --color-primary: #FF6B00;
    --color-primary-hover: #E65A00;
    --color-accent: #00E5FF;

    /* -- Base Colors (Dark Mode Default/Preference) -- */
    --color-bg: #121212;
    --color-bg-paper: #1E1E1E;
    --color-text-main: #E0E0E0;
    --color-text-muted: #A0A0A0;
    --color-border: #333333;

    /* -- Typography -- */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-serif: 'Merriweather', Georgia, serif;
    --font-mono: 'Fira Code', monospace;

    /* -- Spacing -- */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* -- Layout -- */
    --container-width: 1200px;
    --header-height: 70px;
    --border-radius: 8px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Mode Overrides */
body.light-mode {
    --color-bg: #FFFFFF;
    --color-bg-paper: #F5F5F5;
    --color-text-main: #121212;
    --color-text-muted: #555555;
    --color-border: #E0E0E0;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-hover);
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}