/* ==========================================================================
   EYVA STUDIO - Custom Typography & Animations Stylesheet (Dark Theme Redesign)
   ========================================================================== */

/* --- Local Font Face Declarations --- */
@font-face {
    font-family: 'Inversionz Unboxed';
    src: url('../fonts/Inversionz-Unboxed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inversionz Eyva FINAL';
    src: url('../fonts/Inversionz-Unboxed.otf') format('opentype'); /* Fallback to unboxed for safety, but will load Inversionz Eyva FINAL.otf when active */
    src: url('../fonts/Inversionz Eyva FINAL.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Kumbh Sans';
    src: url('../fonts/KumbhSans-Variable.otf') format('opentype');
    font-weight: 100 900;
    font-style: normal;
}

/* --- Hide Scrollbar Globally --- */
html, body {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* --- Base Body Settings (Dark Theme, No Watermarks) --- */
body {
    background-color: #000000 !important;
    background-image: none !important;
    color: #FAF9F5;
    font-family: 'Kumbh Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography Helper Classes --- */
.font-inversionz {
    font-family: 'Inversionz Unboxed', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.font-kumbh {
    font-family: 'Kumbh Sans', sans-serif;
}

/* --- Sharp Edges Utilities --- */
.sharp-corners {
    border-radius: 0px !important;
}

/* --- Dark Theme Buttons (0px roundedness, architectural CAD borders) --- */

/* Primary Button: Solid background, text white. On hover, transparent with glow. */
.btn-primary {
    background-color: #A3A3A3 !important;
    color: #000000 !important;
    border: 1px solid #A3A3A3;
    border-radius: 0px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: transparent !important;
    color: #A3A3A3 !important;
    box-shadow: 0 0 15px rgba(163, 163, 163, 0.2);
    border-color: #A3A3A3;
    letter-spacing: 0.22em;
}
.btn-primary:active {
    transform: scale(0.98);
}

/* Secondary Button: Outlined. On hover, fills. */
.btn-secondary {
    background-color: transparent !important;
    color: #A3A3A3 !important;
    border: 1px solid #A3A3A3;
    border-radius: 0px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: #A3A3A3 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(163, 163, 163, 0.2);
    letter-spacing: 0.22em;
}
.btn-secondary:active {
    transform: scale(0.98);
}

/* Outline Dark Button: Outlined Off-white. On hover, fills Off-white. */
.btn-outline-dark {
    background-color: transparent !important;
    color: #FAF9F5 !important;
    border: 1px solid #FAF9F5;
    border-radius: 0px !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
}
.btn-outline-dark:hover {
    background-color: #FAF9F5 !important;
    color: #000000 !important;
    letter-spacing: 0.22em;
}
.btn-outline-dark:active {
    transform: scale(0.98);
}

/* --- Link Hover sliding underline --- */
.nav-link-animated {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
}
.nav-link-animated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #FAF9F5;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav-link-animated:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.nav-link-animated:hover {
    color: #FAF9F5 !important;
}

/* --- Layout Backgrounds --- */
.bg-background {
    background-color: #000000 !important;
}
.bg-surface-container {
    background-color: #0A0A0A !important;
}
/* Ensure header does not turn red on scroll */
header.scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
}
.bg-surface-container-low {
    background-color: #050505 !important;
}

/* --- Header & Mobile Menu Dark Themes --- */
header {
    background-color: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* --- ZHA-style Black Glassmorphic Pill Buttons --- */
.glass-capsule-button,
.glass-capsule-button-primary {
    position: relative;
    font-family: 'Inversionz Eyva FINAL', sans-serif;
    font-size: 16px;
    color: #A3A3A3 !important;
    font-weight: 100 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    /* existing properties retained */
}

.glass-capsule-button,
.glass-capsule-button-primary {
    font-family: 'Inversionz Eyva FINAL', sans-serif;
    font-size: 22px;
    font-weight: 100 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #A3A3A3 !important;
    padding: 14px 36px;
    border-radius: 9999px !important;
    /* Maintain subtle glass background */
    background: rgba(45, 45, 45, 0.35) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid transparent !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link-neumorphic:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important; /* subtle brightening */
    border-color: rgba(255, 255, 255, 0.2) !important; /* glowing border border-hover */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}
.nav-link-neumorphic:active {
    transform: translateY(0);
}
.glass-capsule-button,
.glass-capsule-button-primary {
    position: relative;
    font-family: 'Inversionz Eyva FINAL', sans-serif;
    font-size: 16px;
    color: #A3A3A3 !important;
    font-weight: 100 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    /* existing properties retained */
}

/* Tagline style matching button aesthetics */
.tagline-style {
    font-family: 'Inversionz Eyva FINAL', sans-serif;
    font-weight: 100 !important;
    color: #A3A3A3 !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12) !important; /* active page highlight */
    border-color: rgba(255, 255, 255, 0.3) !important; /* distinct active boundary */
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* --- Dark Metric Cards (AutoCAD CAD Borders) --- */
.metric-card-neumorphic {
    background-color: #0A0A0A !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0px !important;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.metric-card-neumorphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.metric-card-neumorphic:hover {
    border-color: rgba(255, 255, 255, 0.20) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-2px);
}
.metric-card-neumorphic:hover .metric-number {
    color: #FAF9F5 !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}
.metric-card-neumorphic:hover .metric-label {
    color: #FAF9F5 !important;
    letter-spacing: 0.18em;
}
.metric-number {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
    transform-origin: left;
}
.metric-label {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Image Overlays (Zaha Hadid / BIG Inspired) --- */
.project-card-dark {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #0A0A0A;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0px !important;
}
.project-card-dark:hover {
    border-color: rgba(255, 255, 255, 0.20);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.05);
}

/* --- Custom Particles Container for Hero --- */
.particles-hero-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* --- Accordion Click-to-Expand Logic --- */
.accordion-panel.is-expanded {
    flex: 4 1 0%;
    z-index: 30;
    min-height: 400px;
    width: 102%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
@media (min-width: 768px) {
    .accordion-panel.is-expanded {
        min-height: 0;
        height: 110%;
        width: auto;
    }
}
@media (min-width: 1024px) {
    .accordion-panel.is-expanded {
        flex: 5 1 0%;
    }
}

