/*
Theme Name:  PurseBlog Style
Theme URI:   https://example.com/purseblog-style
Author:      WorkBuddy
Author URI:  https://example.com
Description: An elegant luxury fashion blog theme inspired by PurseBlog.com. Features a clean white layout, serif typography, rose-gold accents, and a sophisticated grid-based article display.
Version:     1.0.0
Requires at least: 6.0
Tested up to: 6.4.1
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: purseblog-style
Tags:        blog, fashion, luxury, two-columns, right-sidebar, custom-header, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* Brand Colors */
    --color-primary:        #c9a96e;   /* warm gold */
    --color-primary-dark:   #a8865a;
    --color-primary-light:  #e8d5b0;
    --color-accent:         #d4a0a0;   /* dusty rose */
    --color-accent-light:   #f5e6e6;

    /* Neutrals */
    --color-white:          #ffffff;
    --color-off-white:      #faf9f7;
    --color-light-gray:     #f4f1ed;
    --color-mid-gray:       #e8e4df;
    --color-border:         #ddd8d2;
    --color-text-muted:     #9b9189;
    --color-text-secondary: #6b6159;
    --color-text:           #2c2420;
    --color-heading:        #1a1410;

    /* Typography */
    --font-serif:    'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-sans:     'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-display:  'Playfair Display', serif;

    /* Font Sizes */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max: 1200px;
    --content-max:   780px;
    --sidebar-width: 300px;
    --border-radius: 2px;
    --border-radius-lg: 4px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
    --shadow-lg:  0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
    --shadow-hover: 0 8px 24px rgba(201,169,110,.18);

    /* Transitions */
    --transition-fast:   150ms ease;
    --transition-base:   250ms ease;
    --transition-slow:   400ms ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover { color: var(--color-primary); }

ul, ol { list-style: none; }

button, input, textarea, select {
    font: inherit;
    border: none;
    outline: none;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-heading);
    letter-spacing: -0.01em;
}

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.site-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-width);
    gap: var(--space-12);
    align-items: start;
}

.full-width { grid-column: 1 / -1; }

/* ============================================================
   Utility Classes
   ============================================================ */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.font-serif { font-family: var(--font-serif); }

.divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-8) 0;
}

.divider-gold {
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    margin: var(--space-8) 0;
}
