/* Cavree Custom Styles - 2025 Modern Luxury Light Design System */

/* ===== CSS Variables for 2025 Light Luxury Design ===== */
:root {
  /* Primary Colors */
  --primary-purple: #2C1036; /* Deep Royal Purple */
  --primary-gold: #D4AF37;   /* Cavree Gold */
  --primary-rose: #E3B7C2;   /* Soft Rose Accent */
  --primary-gradient: linear-gradient(135deg, #2C1036 0%, #6B2D5C 100%);
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F3D058 50%, #D4AF37 100%);
  
  /* Background Palette - Light Only */
  --bg-base: #FFFFFF;        /* Pure White */
  --bg-champagne: #F8F1E9;   /* Champagne */
  --bg-ivory: #FFFDF8;       /* Rich Ivory */
  --bg-soft: #F9FAFB;        /* Light Gray/Soft White */
  
  /* Text Colors */
  --text-main: #191020;      /* Deep Ink (Never Black) */
  --text-secondary: #52525B; /* Dark Gray */
  --text-muted: #A1A1AA;     /* Light Gray */
  --text-light: #FFFFFF;     /* White Text (for buttons/headers) */
  
  /* Glass Effects (Light Mode) */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(44, 16, 54, 0.05);
  --blur-strength: 12px;
  
  /* Borders & Accents */
  --border-light: rgba(212, 175, 55, 0.15);
  --border-focus: #D4AF37;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Body Base - Light Luxury */
body {
    background-color: var(--bg-ivory);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(44, 16, 54, 0.02) 0%, transparent 20%);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--primary-purple);
    font-weight: 700;
}

h1 { letter-spacing: -0.02em; }

/* ===== 2025 Modern Buttons (Light Theme) ===== */
.btn-primary {
    background: var(--primary-purple);
    color: var(--text-light);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(44, 16, 54, 0.15);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 16, 54, 0.25);
    background: #1a0920;
}

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

.btn-secondary {
    background: transparent;
    color: var(--primary-purple);
    padding: 11px 31px; /* 1px less for border */
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--primary-purple);
    transition: all var(--transition-base);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-secondary:hover {
    background: rgba(44, 16, 54, 0.05);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #FFFFFF;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 13px;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ===== Glass Components (Light) ===== */
.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.02);
    background: rgba(255, 255, 255, 0.85);
}

/* ===== Luxury Inputs ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    border-radius: 12px;
    color: var(--text-main);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all var(--transition-base);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

input::placeholder {
    color: var(--text-muted);
}

/* ===== Aurora Light Background ===== */
.aurora-bg {
    position: relative;
    background: var(--bg-ivory);
    overflow: hidden;
}

.aurora-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(236, 72, 153, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 15% 60%, rgba(44, 16, 54, 0.03) 0%, transparent 50%);
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

/* ===== Gradient Text (Light) ===== */
.gradient-text {
    background: linear-gradient(135deg, #2C1036 0%, #6B2D5C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.gradient-text-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Container 2025 ===== */
.container-2025 {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
    max-width: 1280px;
}

/* ===== Bento Grid ===== */
.bento-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Utility Utilities ===== */
.text-gold { color: var(--primary-gold); }
.text-purple { color: var(--primary-purple); }
.bg-champagne { background-color: var(--bg-champagne); }
.border-gold { border-color: var(--primary-gold); }

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FAFAFA;
}
::-webkit-scrollbar-thumb {
    background: #D4D4D8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #A1A1AA;
}

/* ===== Badges & Pills ===== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-gold {
    background: rgba(212, 175, 55, 0.1);
    color: #B49020;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.badge-purple {
    background: rgba(44, 16, 54, 0.05);
    color: var(--primary-purple);
    border: 1px solid rgba(44, 16, 54, 0.1);
}

/* ===== Admin/Member Dashboard Cards ===== */
.stat-card {
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    border-color: var(--border-light);
}

/* ===== Navigation ===== */
.floating-nav,
#mainNav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, calc(100% - 32px));
    z-index: 50;
}

#mainNav.glass-card,
#mainNav.glass-card:hover {
    transform: translateX(-50%);
    transition: background var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 12px 30px rgba(44, 16, 54, 0.08);
}

#mainNav.glass-card:hover {
    background: rgba(255, 255, 255, 0.85);
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-purple);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
