/*
Theme Name: Glo Girls Beauty Supply
Theme URI: https://glogirlsbeauty.com
Author: Glo Girls Beauty Supply
Author URI: https://glogirlsbeauty.com
Description: A modern, glamorous WooCommerce beauty supply theme featuring purple and pink sparkle aesthetics for Glo Girls Beauty Supply.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
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: glogirls
Tags: e-commerce, woocommerce, beauty, feminine, purple, pink, modern, responsive
WC requires at least: 7.0
WC tested up to: 8.5
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --color-purple-deep:    #3B0764;
  --color-purple-dark:    #581C87;
  --color-purple-mid:     #7C3AED;
  --color-purple-bright:  #A855F7;
  --color-purple-light:   #D8B4FE;
  --color-purple-pale:    #F3E8FF;

  --color-pink-hot:       #EC4899;
  --color-pink-mid:       #F472B6;
  --color-pink-light:     #FBCFE8;
  --color-pink-pale:      #FDF2F8;

  --color-white:          #FFFFFF;
  --color-off-white:      #FAF5FF;
  --color-text-dark:      #1E0A3C;
  --color-text-mid:       #4B1D7E;
  --color-text-light:     #7C3AED;
  --color-text-muted:     #9CA3AF;

  --color-success:        #10B981;
  --color-warning:        #F59E0B;
  --color-error:          #EF4444;

  --gradient-primary:     linear-gradient(135deg, var(--color-purple-dark) 0%, var(--color-purple-mid) 50%, var(--color-pink-hot) 100%);
  --gradient-hero:        linear-gradient(135deg, #3B0764 0%, #6B21A8 40%, #9333EA 70%, #EC4899 100%);
  --gradient-card:        linear-gradient(145deg, #581C87 0%, #7C3AED 100%);
  --gradient-shine:       linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);

  --shadow-sm:            0 2px 8px rgba(124, 58, 237, 0.15);
  --shadow-md:            0 4px 20px rgba(124, 58, 237, 0.25);
  --shadow-lg:            0 8px 40px rgba(124, 58, 237, 0.35);
  --shadow-glow:          0 0 30px rgba(236, 72, 153, 0.4);
  --shadow-purple-glow:   0 0 40px rgba(168, 85, 247, 0.5);

  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;
  --radius-xl:            30px;
  --radius-full:          9999px;

  --font-heading:         'Playfair Display', 'Georgia', serif;
  --font-body:            'Nunito', 'Segoe UI', sans-serif;
  --font-accent:          'Dancing Script', cursive;

  --transition-fast:      0.15s ease;
  --transition-mid:       0.3s ease;
  --transition-slow:      0.5s ease;

  --container-max:        1280px;
  --container-wide:       1440px;
  --header-height:        80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-pink-hot);
}

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text-dark);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.text-center { text-align: center; }
.text-purple { color: var(--color-purple-mid); }
.text-pink   { color: var(--color-pink-hot); }
.text-white  { color: var(--color-white); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-mid);
  text-decoration: none;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gradient-shine);
  transition: left 0.4s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-white);
}

.btn-secondary {
  background: transparent;
  color: var(--color-purple-mid);
  border: 2px solid var(--color-purple-mid);
}

.btn-secondary:hover {
  background: var(--color-purple-mid);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-purple-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-purple-pale);
  transform: translateY(-2px);
  color: var(--color-purple-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  color: var(--color-pink-hot);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: #6B7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Sparkle decoration */
.sparkle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}

.sparkle-divider span {
  color: var(--color-pink-hot);
  font-size: 1.2rem;
  animation: sparkle-pulse 2s ease-in-out infinite;
}

.sparkle-divider span:nth-child(2) { animation-delay: 0.4s; }
.sparkle-divider span:nth-child(3) { animation-delay: 0.8s; }

@keyframes sparkle-pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--color-purple-dark);
  color: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}
