/*
Theme Name:        Sultan Blind and Interior
Theme URI:         https://sultanblind.com
Author:            Sultan Blind and Interior
Author URI:        https://sultanblind.com
Description:       A bespoke luxury blinds and interior design theme for Sultan Blind and Interior, Lahore. Integrated with WooCommerce for online shop functionality.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.5
Requires PHP:      8.0
License:           Proprietary
License URI:       https://sultanblind.com/license
Text Domain:       sultan
Tags:              woocommerce, luxury, interior-design, custom-colors, custom-logo

/*--------------------------------------------------------------
  NOTE: Heavy styles are in assets/css/main.css and
  assets/css/woocommerce.css, enqueued via functions.php.
  This file primarily serves as the WordPress theme identifier
  and houses the design token declarations used everywhere.
--------------------------------------------------------------*/

/* ============================================================
   DESIGN TOKENS — single source of truth
   ============================================================ */
:root {
    /* Palette */
    --clr-ink:      #16130F;   /* near-black backgrounds */
    --clr-linen:    #EDE7DC;   /* warm off-white text / surfaces */
    --clr-brass:    #A8823C;   /* gold accent */
    --clr-walnut:   #6B4226;   /* warm brown secondary */
    --clr-slate:    #8B9296;   /* muted grey utility */

    /* Derived */
    --clr-ink-80:   rgba(22, 19, 15, 0.80);
    --clr-ink-60:   rgba(22, 19, 15, 0.60);
    --clr-brass-20: rgba(168, 130, 60, 0.20);
    --clr-linen-70: rgba(237, 231, 220, 0.70);

    /* Typography */
    --font-serif:   'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing scale */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  2rem;
    --space-xl:  4rem;
    --space-2xl: 8rem;

    /* Layout */
    --max-width:         1320px;
    --nav-height:        72px;
    --section-padding-y: clamp(4rem, 10vh, 8rem);

    /* Transitions */
    --ease-out-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out:     cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast:   180ms;
    --duration-med:    380ms;
    --duration-slow:   700ms;

    /* Borders */
    --border-brass:  1px solid rgba(168, 130, 60, 0.35);
    --border-linen:  1px solid rgba(237, 231, 220, 0.15);
}


/* ============================================================
   BASE RESET
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--clr-ink);
    color: var(--clr-linen);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    font: inherit;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--clr-ink); }
::-webkit-scrollbar-thumb { background: var(--clr-walnut); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--clr-brass); }

/* ============================================================
   SELECTION
   ============================================================ */
::selection {
    background: var(--clr-brass-20);
    color: var(--clr-linen);
}

/* ============================================================
   FOCUS
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--clr-brass);
    outline-offset: 3px;
    border-radius: 2px;
}
