/*
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.15.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:          #120F0C;   /* Deep luxury near-black background */
    --clr-ink-alt:      #1A1612;   /* Alternating section background tone */
    --clr-surface:      #16130F;   /* Card & container dark surface */
    --clr-surface-tint: rgba(237, 231, 220, 0.03); /* Subtle grounding tint */
    --clr-linen:        #EDE7DC;   /* Warm off-white text / surfaces */
    --clr-brass:        #C5A059;   /* Gold / brass primary accent */
    --clr-brass-dark:   #A8823C;   /* Deep 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);

    /* Standardized Border System */
    --border-subtle:    1px solid rgba(168, 130, 60, 0.20); /* Baseline resting state */
    --border-active:    1px solid rgba(168, 130, 60, 0.45); /* Hover / active state */
    --border-card:      1px solid rgba(168, 130, 60, 0.20);
    --radius-sm:        8px;
    --radius-md:        12px;
    --radius-lg:        16px;
    --radius-full:      9999px;

    /* Standardized Depth & Shadows */
    --shadow-resting:   0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.20);
    --shadow-hover:     0 16px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(197, 160, 89, 0.12);

    /* 8px-Based Vertical Spacing Rhythm Scale */
    --space-8:          0.5rem;   /* 8px */
    --space-16:         1rem;     /* 16px */
    --space-24:         1.5rem;   /* 24px */
    --space-32:         2rem;     /* 32px */
    --space-48:         3rem;     /* 48px */
    --space-64:         4rem;     /* 64px */
    --space-96:         6rem;     /* 96px */

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

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

    /* Transitions */
    --ease-out-smooth:   cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:       cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast:     180ms;
    --duration-med:      300ms;
    --duration-slow:     600ms;
}


/* ============================================================
   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: clip;
}

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;
}
