/*
Theme Name: LuxeMin
Theme URI: https://example.com/luxemin
Author: Antigravity AI
Author URI: https://google.com
Description: A luxury, minimalist, modern monochrome WordPress WooCommerce starter theme featuring high-performance CSS scroll-driven animations and clean transitions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxemin
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
Tags: e-commerce, two-columns, custom-menu, featured-images, translation-ready, minimalist
*/

/* ==========================================================================
   1. Local Web Font Declarations (GDPR-Compliant / Datenschutzerklärung)
   ========================================================================== */
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. Design Tokens & CSS Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #ffffff;
    --color-text: #0b0b0b;
    --color-text-muted: #666666;
    --color-border: #e2e2e2;
    --color-border-dark: #0b0b0b;
    --color-light-bg: #f9f9f9;
    --color-white: #ffffff;
    --color-black: #000000;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing & Layout */
    --site-max-width: 1440px;
    --header-height: 80px;
    --grid-gap: 2rem;
    --padding-mobile: 1.5rem;
    --padding-desktop: 4rem;
    
    /* Animation Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* Borders */
    --border-width: 1px;
    --border-radius: 0px; /* Sharp borders for clean luxury look */
}

/* ==========================================================================
   3. Modern CSS Reset
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-text-muted);
    border-radius: var(--border-radius);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text);
}

body {
    scrollbar-width: thin;
    scrollbar-color: var(--color-text-muted) var(--color-bg);
}

/* Base Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
    color: var(--color-text-muted);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Core Layout Container */
.container {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding-left: var(--padding-mobile);
    padding-right: var(--padding-mobile);
    width: 100%;
}

@media (min-width: 768px) {
    .container {
        padding-left: var(--padding-desktop);
        padding-right: var(--padding-desktop);
    }
}

/* Utility Classes */
.flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.grid { display: grid; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* Accessible hidden element style */
.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;
}
