/*
Theme Name: Alfarisi Luxury
Theme URI: https://alfarisiperfumes.com
Author: Alfarisi Perfumes
Description: A minimal, editorial luxury theme for premium Arabic fragrances. Designed for single hero product storytelling with scalable architecture for future expansion. Mobile-first, performance-optimized, and SEO-ready.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alfarisi-luxury
Tags: e-commerce, luxury, minimal, editorial, woocommerce, custom-logo, featured-images, responsive-layout, accessibility-ready

Alfarisi Luxury WordPress Theme, Copyright 2026 Alfarisi Perfumes
Alfarisi Luxury is distributed under the terms of the GNU GPL
*/

/* ============================================
   CSS VARIABLES - LUXURY DESIGN SYSTEM
   ============================================ */
:root {
  /* Color Palette - Minimal Luxury */
  --color-primary: #1a1a1a;        /* Deep black for text */
  --color-secondary: #f8f6f3;      /* Warm cream background */
  --color-accent: #c9a961;         /* Refined gold accent */
  --color-accent-dark: #a88b4a;    /* Darker gold for hover */
  --color-white: #ffffff;
  --color-gray-light: #e8e6e3;
  --color-gray-medium: #9a9a9a;
  --color-gray-dark: #4a4a4a;
  
  /* Typography System */
  --font-display: 'Cormorant Garamond', serif;  /* Editorial headlines */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Cinzel', serif;   /* Luxury accents */
  
  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  
  /* Spacing System */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-md: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --space-lg: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  --space-xl: clamp(3rem, 2rem + 5vw, 6rem);
  --space-2xl: clamp(4rem, 3rem + 5vw, 8rem);
  
  /* Layout */
  --container-max: 1400px;
  --container-narrow: 900px;
  --container-wide: 1800px;
  
  /* Transitions */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-primary);
  background-color: var(--color-secondary);
  overflow-x: hidden;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5, h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-primary);
  transition: left var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary::before {
  background: var(--color-accent);
}

.btn-primary:hover {
  border-color: var(--color-accent);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  z-index: 100000;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   RESPONSIVE IMAGES
   ============================================ */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   WORDPRESS CORE
   ============================================ */
.alignleft {
  float: left;
  margin-right: var(--space-md);
  margin-bottom: var(--space-sm);
}

.alignright {
  float: right;
  margin-left: var(--space-md);
  margin-bottom: var(--space-sm);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-sm);
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: var(--text-sm);
  color: var(--color-gray-medium);
  margin-top: var(--space-xs);
  text-align: center;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  
  .site-header,
  .site-footer,
  .btn {
    display: none;
  }
}
