/* 
  OPEIS v21 — ULTRA-LUXURY NEO-PREMIUM OVERRIDE
  This file restructures the aesthetic to a breathtaking, Awwwards-winning 
  Deep Midnight & Liquid Champagne Neo-Glassmorphism aesthetic.
*/

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

:root {
    /* Editorial Typography */
    --f-serif: 'Playfair Display', Georgia, serif !important;
    --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;

    /* Deep Midnight Slate Palette */
    --ink: #020617 !important;       /* Slate 950 */
    --ink-1: #0f172a !important;     /* Slate 900 */
    --ink-2: #1e293b !important;     /* Slate 800 */
    
    /* Liquid Champagne & Platinum Accents */
    --gold: #d4af37 !important;      /* Metallic Gold */
    --gold-lt: #f3e5ab !important;   /* Champagne */
    --gold-dim: rgba(212, 175, 55, 0.08) !important;
    --gold-rim: rgba(243, 229, 171, 0.25) !important;
    --g-gold: linear-gradient(135deg, #d4af37 0%, #f3e5ab 50%, #c5a017 100%) !important; /* Liquid Metallic */
    
    /* Elegant Dividers & Rules */
    --rule: rgba(243, 229, 171, 0.06) !important;
    --rule-2: rgba(243, 229, 171, 0.12) !important;
    --rule-3: rgba(243, 229, 171, 0.18) !important;
    
    /* Text */
    --txt: #f8fafc !important;       /* Clean White-blue */
    --txt-2: #94a3b8 !important;     /* Slate 400 */
    --txt-3: #64748b !important;     /* Slate 500 */
    
    /* True Glassmorphism Backgrounds */
    --g-card: rgba(15, 23, 42, 0.4) !important;
    --g-panel: rgba(2, 6, 23, 0.5) !important;
    
    /* Animation Easing */
    --ease-o: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--ink);
    color: var(--txt);
    font-family: var(--f-sans) !important;
    letter-spacing: 0.01em;
}

/* =======================================
   TYPOGRAPHY (LUXURY EDITORIAL)
   ======================================= */
h1, h2, h3, .adash-topbar h1 {
    font-family: var(--f-serif) !important;
    letter-spacing: -0.01em !important;
    font-weight: 500 !important;
    color: #ffffff !important;
}

/* Let the Champagne glow inside emphasis elements */
em {
    font-style: italic !important;
    color: transparent !important;
    background: var(--g-gold) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    font-weight: 600 !important;
}

/* =======================================
   PUBLIC VISUALS (AURORA & GLASS)
   ======================================= */
.site-body-premium {
    background: var(--ink) !important;
    position: relative;
}

/* Subtle Chic Grid Background (Absolute for 60fps scrolling) */
.site-body-premium::before {
    content: '';
    position: absolute !important;
    inset: 0 !important;
    background-image: radial-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    background-attachment: scroll !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.8 !important;
}

/* Hero Typography Refinement */
.hero-v2-copy h1, .hero-spec-copy h1 {
    font-size: clamp(48px, 6vw, 88px) !important;
    line-height: 1.1 !important;
    text-shadow: 0 10px 40px rgba(212,175,55,0.1) !important;
}
.hero-v2-copy p, .hero-spec-copy p {
    font-size: 19px !important;
    font-weight: 300 !important;
    color: var(--txt-2) !important;
    line-height: 1.8 !important;
}

/* Advanced Card Hover (Neo-Premium) */
.svc-premium-card,
.project-card-v2,
.why-feature-card,
.big-stat-card,
.blog-premium-card,
.testimonial-slide,
.content-card,
.service-card-v2,
.blog-card-v2 {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.3) 0%, rgba(15, 23, 42, 0.5) 100%) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    transition: all 0.5s var(--ease-o) !important;
    border-radius: 24px !important; /* Elegant smooth curve */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5) !important;
    transform: translateZ(0);
}

.svc-premium-card:hover,
.project-card-v2:hover,
.why-feature-card:hover,
.big-stat-card:hover,
.blog-premium-card:hover,
.testimonial-slide:hover,
.content-card:hover,
.service-card-v2:hover,
.blog-card-v2:hover {
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-top: 1px solid rgba(243, 229, 171, 0.5) !important; /* Glow on upper edge */
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.8), 
                0 0 40px -10px rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-8px) scale(1.01) !important;
}

/* Solid Metallic Primary Button */
.btn-primary {
    background: var(--g-gold) !important;
    color: #000 !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25) !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    border-radius: 12px !important;
}
.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4) !important;
    transform: translateY(-3px) !important;
}
.btn-outline, .btn-dark-outline {
    background: rgba(255,255,255,0.02) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: var(--txt) !important;
    backdrop-filter: blur(12px) !important;
    font-weight: 400 !important;
    border-radius: 12px !important;
}
.btn-outline:hover, .btn-dark-outline:hover {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(243, 229, 171, 0.4) !important;
}

/* Site Header */
.site-header, .premium-header {
    background: rgba(2, 6, 23, 0.6) !important;
    backdrop-filter: blur(24px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
}

/* =======================================
   ADMIN & CUSTOMER DASHBOARD (EXECUTIVE VIEW)
   ======================================= */
/* Layout Background */
.admin-layout, .customer-layout {
    background: var(--ink) !important;
    position: relative;
}

/* Sleek Minimal Dashboard Grid */
.admin-layout::before, .customer-layout::before {
    content: '';
    position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

/* Floating Executive Sidebar */
.sidebar, .customer-sidebar {
    background: rgba(15, 23, 42, 0.4) !important; /* Midnight Glass */
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    z-index: 10 !important;
}

.sidebar-menu a, .sidebar-footer a {
    color: var(--txt-2) !important;
    border-radius: 10px !important;
    font-weight: 400 !important;
    transition: all 0.3s ease !important;
}
.sidebar-menu a:hover, .sidebar-footer a:hover {
    background: rgba(255,255,255,0.04) !important;
    color: var(--gold-lt) !important;
}
.sidebar-menu a.active {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%) !important;
    color: var(--gold-lt) !important;
    border-left: 2px solid var(--gold) !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: none !important;
}

/* Panel Containers */
.panel {
    background: linear-gradient(160deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.6) 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.8), inset 0 1px 1px rgba(255,255,255,0.03) !important;
    transform: translateZ(0);
}

/* Metric Cards */
.adash-stat {
    position: relative;
    padding: 26px 22px !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
    overflow: hidden;
    transition: all 0.5s var(--ease-o) !important;
    transform: translateZ(0); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.4) !important;
}
.adash-stat:hover {
    border-color: rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px -10px rgba(0,0,0,0.7), inset 0 1px 1px rgba(243, 229, 171, 0.2) !important;
}
.adash-stat strong {
    font-family: var(--f-serif) !important;
    font-weight: 600 !important;
    color: var(--gold-lt) !important;
    font-size: 38px !important;
}

/* Tables (Elegant) */
table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
th {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    color: var(--gold-lt) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 500 !important;
    padding-bottom: 16px !important;
}
td {
    border-bottom: 1px solid rgba(255,255,255,0.03) !important;
    color: var(--txt) !important;
    font-size: 14.5px !important;
    font-weight: 300 !important;
    padding: 16px 12px !important;
}
tr:hover td {
    background: rgba(255,255,255,0.02) !important;
}

/* Inputs (Luxurious Focus) */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="file"], textarea, select {
    background: rgba(15, 23, 42, 0.5) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: var(--txt) !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    padding: 14px 18px !important;
    transition: all 0.3s !important;
    backdrop-filter: blur(8px) !important;
}
input:focus, textarea:focus, select:focus {
    border-color: rgba(212, 175, 55, 0.6) !important;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1), inset 0 2px 4px rgba(0,0,0,0.2) !important;
    outline: none !important;
}
