/*
Theme Name: ROGX Beauty
Theme URI: https://rogx.com.ng
Author: Aroge Ayomidipupo
Author URI: https://rogx.com.ng
Description: A premium WordPress theme crafted for beauty, fashion, wellness, lifestyle brands, blogs, and WooCommerce stores. Designed for outstanding performance, elegant aesthetics, Elementor compatibility, and SEO best practices.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rogx-beauty
Tags: beauty, fashion, lifestyle, wellness, ecommerce, blog, responsive, seo, elementor
*/

/* ==========================================================================
   1. CSS Variables (Design Tokens)
   ========================================================================== */
:root {
    /* Colors */
    --rogx-primary: #DCAE96;
    --rogx-secondary: #F2E3D5;
    --rogx-accent: #D4AF37;
    
    --rogx-success: #2D8A56;
    --rogx-warning: #D98A2C;
    --rogx-error: #B33A3A;
    --rogx-info: #4A7299;

    /* Neutrals */
    --rogx-neutral-900: #1A1818;
    --rogx-neutral-800: #2D2A2A;
    --rogx-neutral-700: #4A4747;
    --rogx-neutral-600: #696565;
    --rogx-neutral-500: #8C8787;
    --rogx-neutral-400: #B3AEAE;
    --rogx-neutral-300: #D9D4D4;
    --rogx-neutral-200: #EBE7E7;
    --rogx-neutral-100: #F5F3F3;
    --rogx-neutral-50:  #FAFAFA;

    --rogx-background: var(--rogx-neutral-50);
    --rogx-surface: #FFFFFF;
    --rogx-text: var(--rogx-neutral-900);
    --rogx-text-light: var(--rogx-neutral-700);
    --rogx-border: var(--rogx-neutral-300);

    /* Typography */
    --rogx-font-primary: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --rogx-font-secondary: "Playfair Display", "Times New Roman", Times, serif;
    --rogx-base-size: 16px;
    --rogx-line-height: 1.6;

    /* Spacing */
    --rogx-space-1: 0.25rem;
    --rogx-space-2: 0.5rem;
    --rogx-space-3: 0.75rem;
    --rogx-space-4: 1rem;
    --rogx-space-5: 1.5rem;
    --rogx-space-6: 2rem;
    --rogx-space-8: 3rem;
    --rogx-space-10: 4rem;
    --rogx-space-12: 6rem;
    --rogx-space-16: 8rem;

    --rogx-container-width: 1200px;
    --rogx-container-padding: var(--rogx-space-5);
    
    /* Border Radius */
    --rogx-radius-none: 0px;
    --rogx-radius-sm: 2px;
    --rogx-radius-md: 4px;
    --rogx-radius-lg: 8px;
    --rogx-radius-full: 9999px;

    /* Shadows */
    --rogx-shadow-sm: 0 1px 2px rgba(26, 24, 24, 0.04);
    --rogx-shadow-md: 0 4px 12px -2px rgba(26, 24, 24, 0.06), 0 2px 4px -2px rgba(26, 24, 24, 0.04);
    --rogx-shadow-lg: 0 12px 32px -4px rgba(26, 24, 24, 0.08), 0 4px 12px -4px rgba(26, 24, 24, 0.04);
    --rogx-shadow-focus: 0 0 0 3px rgba(220, 174, 150, 0.3);

    /* Transitions */
    --rogx-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --rogx-transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --rogx-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
html {
    box-sizing: border-box;
    font-size: var(--rogx-base-size);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    background-color: var(--rogx-background);
    color: var(--rogx-text);
    font-family: var(--rogx-font-primary);
    line-height: var(--rogx-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--rogx-font-secondary);
    color: var(--rogx-text);
    margin-top: 0;
    margin-bottom: var(--rogx-space-4);
    font-weight: 600;
    line-height: 1.2;
}

a {
    color: var(--rogx-text);
    text-decoration: none;
    transition: color var(--rogx-transition-fast);
}

a:hover,
a:focus {
    color: var(--rogx-primary);
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   3. Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--rogx-container-width);
    margin: 0 auto;
    padding-left: var(--rogx-container-padding);
    padding-right: var(--rogx-container-padding);
}

.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 !important;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
    z-index: 99999;
    background: var(--rogx-surface);
    color: var(--rogx-text);
    padding: var(--rogx-space-4) var(--rogx-space-6);
    box-shadow: var(--rogx-shadow-md);
    font-weight: 600;
}

/* Base Theme Alignment (Gutenberg/Core) */
.alignwide {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

.alignfull {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw;
    width: 100vw;
}

/* ==========================================================================
   4. Basic Header & Footer (Fallback)
   ========================================================================== */
.site-header {
    background-color: var(--rogx-surface);
    border-bottom: 1px solid var(--rogx-border);
    padding: var(--rogx-space-4) 0;
    position: relative;
    z-index: 100;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--rogx-space-4);
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: var(--rogx-font-secondary);
}

.main-navigation ul {
    display: flex;
    gap: var(--rogx-space-6);
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-main {
    padding: var(--rogx-space-10) 0;
    min-height: 60vh;
}

.site-footer {
    background-color: var(--rogx-surface);
    border-top: 1px solid var(--rogx-border);
    padding: var(--rogx-space-10) 0;
    text-align: center;
    color: var(--rogx-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--rogx-space-4);
    }
}