/* ==========================================================================
   MASTER CUSTOM CSS - EZUCK PORTFOLIO
   Hyper-Technical Minimalism Theme
   ========================================================================== */

/* 1. Theme Variables & Base Setup */
:root {
    --color-surface: #0c141b;
    --color-surface-dim: #0c141b;
    --color-surface-bright: #313a41;
    --color-surface-container-lowest: #070f15;
    --color-surface-container-low: #141d23;
    --color-surface-container: #182127;
    --color-surface-container-high: #222b32;
    --color-surface-container-highest: #2d363d;
    --color-surface-elevated: #161618;
    --color-on-surface: #dbe4ed;
    --color-on-surface-variant: #c7c6ca;
    --color-primary: #c8c6c7;
    --color-secondary: #00A8E8;
    --color-cyber-green: #00FFC2;
    --color-error: #ffb4ab;
    --border-subtle: rgba(255, 255, 255, 0.08);
}

/* 2. Glassmorphism Panels */
.glass-panel {
    background: rgba(22, 22, 24, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
}

/* 3. Hover Effects & Glows */
.hover-glow {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 40px rgba(0, 168, 232, 0.15);
    border-color: rgba(0, 168, 232, 0.5);
}

/* 4. Buttons & Interactive Elements */
.btn-primary {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 168, 232, 0.25);
}

.btn-ghost {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}

/* 5. Custom Form Controls */
.input-field {
    transition: border-color 0.3s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 1px 0 0 var(--color-secondary);
}

/* ==========================================================================
   6. TYPOGRAPHY UTILITY CLASSES (fallback karena Tailwind CDN tidak
      meng-generate custom fontFamily/fontSize dari config)
   ========================================================================== */

/* --- Font Families --- */
.font-headline-xl-mobile,
.font-headline-xl,
.font-headline-lg,
.font-headline-md,
.font-label-caps {
    font-family: 'Geist', sans-serif;
}

.font-body-lg,
.font-body-md {
    font-family: 'Inter', sans-serif;
}

.font-label-code {
    font-family: 'JetBrains Mono', monospace;
}

/* --- Font Sizes (Mobile First) --- */
.text-headline-xl-mobile {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-headline-xl {
    font-size: 42px;
    line-height: 48px;
    letter-spacing: -0.02em;
    font-weight: 700;
}

.text-headline-lg {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.02em;
    font-weight: 600;
}

.text-headline-md {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}

.text-body-lg {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
}

.text-body-md {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.text-label-code {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.text-label-caps {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

/* --- Responsive Overrides (md breakpoint = 768px) --- */
@media (min-width: 768px) {
    .md\:text-headline-xl {
        font-size: 80px;
        line-height: 90px;
        letter-spacing: -0.04em;
        font-weight: 700;
    }

    .md\:text-headline-lg {
        font-size: 48px;
        line-height: 56px;
        letter-spacing: -0.02em;
        font-weight: 600;
    }

    .md\:text-headline-md {
        font-size: 32px;
        line-height: 40px;
        font-weight: 600;
    }

    .md\:font-headline-xl {
        font-family: 'Geist', sans-serif;
    }

    .md\:font-headline-lg {
        font-family: 'Geist', sans-serif;
    }

    .md\:font-headline-md {
        font-family: 'Geist', sans-serif;
    }
}

/* ==========================================================================
   8. SPACING UTILITY CLASSES (fallback Tailwind CDN)
   ========================================================================== */
.py-base    { padding-top: 8px; padding-bottom: 8px; }
.px-base    { padding-left: 8px; padding-right: 8px; }
.py-gutter  { padding-top: 24px; padding-bottom: 24px; }
.px-gutter  { padding-left: 24px; padding-right: 24px; }
.px-margin-mobile { padding-left: 20px; padding-right: 20px; }
.py-margin-mobile { padding-top: 20px; padding-bottom: 20px; }
.px-margin-desktop { padding-left: 80px; padding-right: 80px; }
.py-margin-desktop { padding-top: 80px; padding-bottom: 80px; }
.pb-section-gap { padding-bottom: 160px; }
.pt-section-gap { padding-top: 160px; }

@media (min-width: 768px) {
    .md\:px-margin-desktop { padding-left: 80px; padding-right: 80px; }
}

/* ==========================================================================
   9. BORDER RADIUS UTILITY CLASSES (fallback Tailwind CDN)
   ========================================================================== */
.rounded-DEFAULT { border-radius: 0.125rem; }
.rounded-lg      { border-radius: 0.25rem; }
.rounded-xl      { border-radius: 0.5rem; }
.rounded-full    { border-radius: 0.75rem; }

/* ==========================================================================
   10. SMOOTH SCROLLING
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
