/* ==========================================================================
   Grooming Gallery - Main CSS Design System (Core Variables, Reset, Utilities)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary: #14B8A6;         /* Premium Teal */
  --primary-hover: #0D9488;
  --primary-light: rgba(20, 184, 166, 0.1);
  --secondary: #F97316;       /* Warm Coral */
  --secondary-hover: #EA580C;
  --accent: #FBBF24;          /* Luxury Gold */
  --accent-hover: #F59E0B;
  
  /* Theme-dependent Colors (Light Mode Default) */
  --bg-color: #F8FAFC;
  --card-bg: #FFFFFF;
  --text-color: #1F2937;
  --text-muted: #6B7280;
  --border-color: #E2E8F0;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-color: rgba(148, 163, 184, 0.1);
  
  /* Shadows & Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-circle: 50%;
  
  --shadow-sm: 0 4px 6px -1px var(--shadow-color), 0 2px 4px -2px var(--shadow-color);
  --shadow-md: 0 10px 15px -3px var(--shadow-color), 0 4px 6px -4px var(--shadow-color);
  --shadow-lg: 0 20px 25px -5px var(--shadow-color), 0 8px 10px -6px var(--shadow-color);
  --shadow-luxury: 0 30px 60px -10px rgba(0, 0, 0, 0.05);
  
  /* Fonts */
  --font-headline: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-luxury: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Custom Cursor Variables */
  --cursor-size: 24px;
  --cursor-color: rgba(20, 184, 166, 0.3);
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-color: #0F172A;        /* Deep Slate */
  --card-bg: #1E293B;         /* Slate Card */
  --text-color: #F8FAFC;
  --text-muted: #94A3B8;
  --border-color: #334155;
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --shadow-luxury: 0 30px 60px -10px rgba(0, 0, 0, 0.4);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  cursor: none; /* Custom cursor default */
}

/* Custom Cursor styling (hidden on mobile) */
.custom-cursor {
  position: fixed;
  width: var(--cursor-size);
  height: var(--cursor-size);
  background-color: var(--cursor-color);
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width var(--transition-fast), height var(--transition-fast), background-color var(--transition-fast);
  display: none;
}

.custom-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .custom-cursor, .custom-cursor-dot {
    display: block;
  }
  
  /* Hover interactions */
  body.cursor-hovering .custom-cursor {
    width: calc(var(--cursor-size) * 1.8);
    height: calc(var(--cursor-size) * 1.8);
    background-color: rgba(20, 184, 166, 0.15);
    border-color: var(--secondary);
  }
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  width: 0%;
  z-index: 10001;
  transition: width 0.05s linear;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

h3 {
  font-size: 1.5rem;
}

p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

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

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

ul {
  list-style: none;
}

/* Global Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Utility Classes */
.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.relative { position: relative; }

.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  body { cursor: auto; } /* Normal cursor for touch screens */
}
