/* ===========================================
   BSC-CO.com - Modern Design System
   Glassmorphism & Clean Corporate Theme
   =========================================== */

:root {
    /* Enhanced Color Palette */
    --primary-navy: #0a2240;
    --primary-blue: #1a4d7d;
    --primary-light: #2c7bb6;
    --secondary-blue: #2874A6;
    
    --accent-gold: #C9A65C;
    --accent-gold-light: #E5C579;
    --accent-gold-dark: #A68642;
    
    /* Modern Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
    --gradient-gold: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
    --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --glass-blur: blur(12px);
    
    /* Dark Glass */
    --glass-dark-bg: rgba(10, 34, 64, 0.85);
    --glass-dark-border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Typography Overrides */
    --font-heading: 'Playfair Display', serif;
    --font-body-ar: 'Tajawal', sans-serif;
    --font-body-en: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

/* Modern Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-lg);
}

.glass-panel-dark {
    background: var(--glass-dark-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-dark-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    color: var(--text-light);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body[dir="rtl"] h1, 
body[dir="rtl"] h2, 
body[dir="rtl"] h3 {
    font-family: var(--font-body-ar); /* Tajawal looks better for Arabic headings too */
    font-weight: 800;
}

/* Modern Card Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

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

/* Modern Buttons */
.btn-modern {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.4s ease;
}

.btn-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-navy);
    z-index: -2;
}

.btn-modern::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--accent-gold);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-modern:hover::before {
    width: 100%;
}

.btn-modern:hover {
    color: var(--primary-navy);
}

/* Section Enhancements */
.section-modern {
    position: relative;
    z-index: 1;
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--medium-gray) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: -1;
}

/* Navbar Enhancements */
.navbar-modern {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

/* Dark Navbar for Home */
.navbar-transparent {
    background: transparent;
    border-bottom: none;
}

.navbar-transparent.scrolled {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(20px);
}
