/* ==========================================================================
   AUKTIE - Corporate Design System & Global Stylesheet
   A UK Trade and Infrastructure Enterprise Limited
   ========================================================================== */

/* 1. Design Tokens & Root Variables */
:root {
    --color-primary: #10207a;
    --color-primary-container: #2b3990;
    --color-secondary: #bb0014;
    --color-secondary-container: #e51d24;
    --color-tertiary: #003045;
    --color-tertiary-container: #004765;
    --color-background: #fcf9f8;
    --color-surface: #fcf9f8;
    --color-surface-container: #f0eded;
    --color-surface-container-low: #f6f3f2;
    --color-surface-container-high: #eae7e7;
    --color-surface-container-lowest: #ffffff;
    --color-on-background: #1c1b1b;
    --color-on-surface: #1c1b1b;
    --color-on-surface-variant: #454652;
    --color-outline: #767683;
    --color-outline-variant: #c6c5d3;
    --color-accent-cyan: #83cfff;
    --color-accent-red: #ed2124;
    
    --font-headline: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Base & Typography Setup */
html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-on-background);
    line-height: 1.6;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}

/* Responsive Image & Media Defaults */
img, video, svg {
    max-width: 100%;
    height: auto;
}

/* Selection Color */
::selection {
    background-color: var(--color-secondary-container);
    color: #ffffff;
}

/* 3. Google Material Symbols Configuration */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

.material-symbols-outlined.fill,
.icon-fill {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

/* 4. Elevations & Interactive Card Animations */
.hover-lift,
.card-lift,
.service-card-hover {
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.hover-lift:hover,
.card-lift:hover,
.service-card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -10px rgba(16, 32, 122, 0.12), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
}

/* 5. Custom Backgrounds & Gradients */
.hero-bg {
    background-color: #050a1a;
    background-image: radial-gradient(circle at center, rgba(16, 32, 122, 0.45) 0%, rgba(5, 10, 26, 0.98) 75%);
}

.radial-glow {
    background: radial-gradient(circle at center, rgba(16, 32, 122, 0.25) 0%, rgba(28, 27, 27, 1) 70%);
}

/* 6. Editorial & Typography Accents */
.number-outline {
    -webkit-text-stroke: 1.5px currentColor;
    color: transparent;
    transition: color var(--transition-normal), -webkit-text-stroke var(--transition-normal);
}

.group:hover .number-outline {
    color: currentColor;
    -webkit-text-stroke: 0;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

@media (max-width: 768px) {
    .editorial-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 20px;
    }
}

/* 7. Accent Color Utilities */
.text-accent-green {
    color: #10b981;
}

.border-accent-green {
    border-color: #10b981;
}

.bg-accent-green {
    background-color: #10b981;
}

/* 8. Navigation & Mobile Drawer */
nav.bg-\[\#10207A\] {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    transition: opacity 0.3s ease;
}

#mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background-color: #0A1142;
    z-index: 9999;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 9. Responsive Fluid Spacing Utilities */
.py-section-gap {
    padding-top: clamp(44px, 7vw, 100px) !important;
    padding-bottom: clamp(44px, 7vw, 100px) !important;
}

.pt-section-gap {
    padding-top: clamp(44px, 7vw, 100px) !important;
}

.pb-section-gap {
    padding-bottom: clamp(44px, 7vw, 100px) !important;
}

.mb-section-gap {
    margin-bottom: clamp(32px, 5vw, 64px) !important;
}

.px-margin-desktop {
    padding-left: clamp(16px, 4vw, 64px) !important;
    padding-right: clamp(16px, 4vw, 64px) !important;
}

.px-margin-mobile {
    padding-left: clamp(16px, 4vw, 24px) !important;
    padding-right: clamp(16px, 4vw, 24px) !important;
}

.px-gutter {
    padding-left: clamp(16px, 3.5vw, 24px) !important;
    padding-right: clamp(16px, 3.5vw, 24px) !important;
}

/* 10. Responsive Fluid Typography */
.text-display-lg {
    font-size: clamp(28px, 4.5vw, 48px) !important;
    line-height: clamp(34px, 5.2vw, 56px) !important;
}

.text-headline-lg {
    font-size: clamp(22px, 3.5vw, 32px) !important;
    line-height: clamp(28px, 4.2vw, 40px) !important;
}

.text-headline-md {
    font-size: clamp(18px, 2.5vw, 24px) !important;
    line-height: clamp(24px, 3.2vw, 32px) !important;
}

/* 11. Mobile Horizontal Scroll Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 12. Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f5;
}

::-webkit-scrollbar-thumb {
    background: #c6c5d3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #767683;
}
