@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Color Palette - White, Soft Pink, Gold Accents */
  --clr-bg: #FCFAFA;
  --clr-surface: #FFFFFF;
  --clr-primary: #FDE8E8; /* Softer blush pink */
  --clr-primary-dark: #E5BEBE;
  --clr-accent-gold: #D4AF37; /* More metallic gold */
  --clr-cream: #FDF5E6; /* Storefront panel color */
  /* Darkened Brand Color */
  --clr-accent-rosegold: #b88a8a; 
  --clr-text-main: #2C2A2A;
  
  /* Additional Contrast */
  --clr-btn-text: #2C2A2A;
}

/* Logo Styles */
.logo-container {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.logo::after {
  display: none; /* remove previous shimmer */
}

/* Consolidated keyframes above */

.storefront-logo {
  display: block;
  z-index: 1;
}

/* Improving button contrast */
.hero-btn-outline {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(44, 42, 42, 0.3) !important;
  color: var(--clr-text-main) !important;
  font-weight: 600 !important;
  backdrop-filter: blur(12px);
  padding: 1.1rem 2.8rem !important;
  transition: all 0.3s ease;
}

.hero-btn-outline:hover {
  background: var(--clr-text-main) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Temporary Brand Labels */
.brand-label {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--clr-text-main);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 2px;
  background: var(--clr-surface);
}

:root {
  --clr-text-light: #6E6868;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  --text-xs: clamp(0.75rem, 0.7vw + 0.6rem, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8vw + 0.7rem, 1rem);
  --text-base: clamp(1rem, 1vw + 0.8rem, 1.125rem);
  --text-lg: clamp(1.25rem, 2vw + 1rem, 1.5rem);
  --text-xl: clamp(1.5rem, 3vw + 1rem, 2.25rem);
  --text-2xl: clamp(2rem, 4vw + 1.2rem, 3.5rem);
  --text-3xl: clamp(2.5rem, 5vw + 1.5rem, 4.5rem);

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

  /* Effects */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 20px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.3);
  --shadow-rosegold: 0 10px 30px -10px rgba(183, 110, 121, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*, *::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(--clr-text-main);
  background-color: var(--clr-bg);
  background-image: url('http://www.cicisbeautylounge.com/wp-content/uploads/2020/09/bg.svg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Basics */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--clr-text-main);
}

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

p {
  color: var(--clr-text-light);
  margin-bottom: var(--space-sm);
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: var(--space-xl) 0;
  position: relative;
  scroll-margin-top: 100px; /* Offset for sticky header */
}

/* Glassmorphism Classes */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  pointer-events: auto; /* ensure header clicks work */
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo set above */

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: var(--text-xs);
  color: var(--clr-text-main);
}

.nav-links a:hover {
  color: var(--clr-accent-rosegold);
}

.storefront-logo {
  transition: opacity 0.3s ease;
}

.logo:hover .storefront-logo {
  opacity: 0.8;
}

/* Storefront Panel Aesthetic */
.panel {
  background: var(--clr-surface);
  border: 1px solid rgba(0,0,0,0.1);
  padding: 2rem;
  box-shadow: 
    0 10px 30px rgba(0,0,0,0.05),
    inset 0 0 0 10px #FFFFFF,
    inset 0 0 0 11px rgba(0,0,0,0.05); /* Recessed molding look */
  position: relative;
  overflow: hidden;
  border-radius: 2px; /* Sharper corners */
}

.shadow-panel {
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.1),
    0 0 0 1px rgba(0,0,0,0.05),
    inset 0 0 0 10px #FFFFFF,
    inset 0 0 0 11px rgba(0,0,0,0.05);
}

.glass-dark {
  background: rgba(44, 42, 42, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--clr-surface);
}

.glass-dark h1, .glass-dark h2, .glass-dark h3, .glass-dark p {
  color: var(--clr-surface);
}

/* Brands Showcase */
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
  padding: var(--space-lg);
}

.brands-grid img {
  height: 40px; /* Equal height for all brand logos */
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brands-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Base Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  font-size: var(--text-xs);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-metallic);
  color: var(--clr-text-main); /* Better visibility on metallic background */
  box-shadow: var(--shadow-rosegold);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-accent-gold);
  z-index: -1;
  transition: opacity var(--transition-normal);
  opacity: 0;
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -10px rgba(183, 110, 121, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--clr-text-main);
  border: 1px solid var(--clr-text-main);
}

.btn-outline:hover {
  background: var(--clr-text-main);
  color: var(--clr-surface);
}

/* Animations Variables */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
