/* ====== Global Styles ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #171717;
  color: #ffffff;
  line-height: 1.6;
}

/* ====== Scroll Animations ====== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== Navigation Active State ====== */
nav a.active {
  color: #fbbf24;
  border-bottom: 2px solid #fbbf24;
  padding-bottom: 4px;
}

/* ====== Button Hover Effects ====== */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}

/* ====== Card Hover Effects ====== */
.hover-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(245, 158, 11, 0.08);
}

/* ====== Custom Scrollbar ====== */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #525252;
  border-radius: 5px;
}

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

/* ====== Form Input Focus Styles ====== */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* ====== Selection Color ====== */
::selection {
  background-color: #f59e0b;
  color: #171717;
}

/* ====== Loading State ====== */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* ====== Responsive Typography ====== */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem !important;
  }
  h2 {
    font-size: 2rem !important;
  }
}

/* ====== Smooth Transition for All Interactive Elements ====== */
a, button, input, select, textarea {
  transition: all 0.3s ease;
}
