/* 
 * CV Enerjigz Maharaya Adhiyana
 * Modern Corporate & Digital Solutions Stylesheet
 * Brand Colors: Deep Navy Blue (#1B365D), Leaf/Mint Green (#3CD070, #22C55E), Clean Light (#F8FAFC)
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --navy-primary: #1B365D;
  --navy-dark: #0F2038;
  --navy-deep: #07101E;
  --navy-light: #2A4D7D;
  --green-primary: #22C55E;
  --green-mint: #3CD070;
  --green-dark: #15803D;
  --green-soft: #F0FDF4;
  --green-glow: rgba(60, 208, 112, 0.35);
  --slate-bg: #F8FAFC;
  --slate-surface: #FFFFFF;
  --slate-border: #E2E8F0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1E293B;
  background-color: var(--slate-bg);
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Subtle Tech Dot Grid */
.bg-tech-grid {
  background-size: 28px 28px;
  background-image: 
    radial-gradient(circle, rgba(27, 54, 93, 0.08) 1px, transparent 1px);
}

.bg-tech-grid-dark {
  background-size: 32px 32px;
  background-image: 
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
}

/* Glow & Glassmorphism effects */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-nav-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px -10px rgba(15, 32, 56, 0.1);
  border-bottom: 1px solid #E2E8F0;
}

.glass-card-dark {
  background: rgba(15, 32, 56, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.card-hover-lift {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.card-hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(27, 54, 93, 0.12), 0 0 1px 1px rgba(60, 208, 112, 0.2);
}

/* Pulsing animated dot */
.pulse-glow {
  box-shadow: 0 0 0 0 rgba(60, 208, 112, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 208, 112, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(60, 208, 112, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 208, 112, 0);
  }
}

/* Subtle floating animation */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float-slow 4s ease-in-out infinite;
}

/* Gradient Text helpers */
.text-gradient-navy-green {
  background: linear-gradient(135deg, #1B365D 20%, #3CD070 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: linear-gradient(135deg, #3CD070 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Accordion transition */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
  opacity: 0;
}

.accordion-content.open {
  max-height: 800px;
  transition: max-height 0.45s cubic-bezier(0.9, 0, 0.8, 0.2), opacity 0.3s ease;
  opacity: 1;
}

/* Portfolio Item transitions */
.portfolio-item {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item.hidden-item {
  display: none;
  opacity: 0;
  transform: scale(0.95);
}

/* Badge glow on hover */
.badge-procure {
  transition: all 0.25s ease;
}
.badge-procure:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(27, 54, 93, 0.15);
}

/* Print styles for quotation proposals */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
