/*
Theme Name: Elsa Gray New
Theme URI: https://elsagray.co.za
Author: Elsa Gray
Author URI: https://elsagray.co.za
Description: A luxury jewelry e-commerce theme for Elsa Gray, inspired by the Tamara Comolli aesthetic. Handcrafted fine jewellery from Plettenberg Bay, South Africa.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
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: elsagray
Tags: e-commerce, woocommerce, jewelry, luxury, custom-logo, custom-menu, featured-images, theme-options

Elsa Gray - Effortless Tranquillity, Slow Living
*/

/* ========================================
   CSS Variables / Design Tokens
   ======================================== */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-cream: #FAF8F5;
    --color-sand: #F5F1EB;
    --color-light-gray: #E8E4DE;
    --color-border: #E0DCD6;
    --color-mid-gray: #9A948C;
    --color-gray: #6B6560;
    --color-charcoal: #2C2825;
    --color-black: #1A1816;
    --color-gold: #C4A962;
    --color-gold-light: #D4BE7A;
    --color-ocean-deep: #1E3A4C;
    --color-ocean: #2D5468;
    --color-sage: #8B9D83;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-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: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.5rem;
    --text-6xl: 4.5rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-luxury: 0.8s cubic-bezier(0.23, 1, 0.32, 1);

    /* Layout */
    --container-max: 1400px;
    --container-narrow: 900px;
    --header-height: 120px;

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-overlay: 300;
    --z-modal: 400;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-charcoal);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding: var(--space-5xl) 0;
}

.section--cream {
    background-color: var(--color-cream);
}

/* ========================================
   Typography
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header__subtitle {
    display: block;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-gray);
    margin-bottom: var(--space-md);
}

.section-header h2 {
    font-size: var(--text-4xl);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-2xl);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn--primary {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

.btn--primary:hover {
    background-color: var(--color-black);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-charcoal);
    border: 1px solid var(--color-charcoal);
}

.btn--outline:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white);
}

/* ========================================
   Utilities
   ======================================== */
.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

.mb-xl {
    margin-bottom: var(--space-xl);
}

.mb-2xl {
    margin-bottom: var(--space-2xl);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    :root {
        --text-4xl: 2rem;
        --text-5xl: 2.5rem;
        --text-6xl: 3rem;
        --space-5xl: 5rem;
    }

    .container {
        padding: 0 var(--space-lg);
    }
}