/* ===================== */
/* === Header Styles === */
/* ===================== */
.site-header {
  width: 100vw;
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #f8f9fd 0%, #e6e9f8 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  margin-bottom: 2rem;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 40px;
  background: #4361ee;
  transform: rotate(-2deg);
  box-shadow: 0 2px 12px rgba(67, 97, 238, 0.2);
  filter: blur(8px);
  opacity: 0.7;
}

.site-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  margin: 0 0 1.5rem 0;
  background: linear-gradient(45deg, #4361ee, #3a0ca3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  letter-spacing: -1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  display: inline-block;
  padding: 0 1rem;
  transition: text-shadow 0.3s ease;
}

.site-title:hover {
  text-shadow: 0 4px 8px rgba(67, 97, 238, 0.15);
}

.nav-container {
  width: 100%;
  max-width: 1000px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
}

.nav-table {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background-color: transparent;
  padding: 0;
  position: relative;
}

.nav-link {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 1rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  color: #4361ee !important;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 10px;
  margin: 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(67, 97, 238, 0.1);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, rgba(67, 97, 238, 0.1), transparent);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  background: rgba(248, 249, 255, 0.98);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 4px 16px rgba(67, 97, 238, 0.12),
    inset 0 0 0 1px rgba(67, 97, 238, 0.15);
}

.nav-link:hover::before {
  opacity: 1;
}

.current-page {
  background: linear-gradient(45deg, rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9)) !important;
  color: white !important;
  box-shadow: 
    0 3px 12px rgba(67, 97, 238, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  z-index: 1;
}

.current-page::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #4361ee, #3f37c9);
  border-radius: 12px;
  z-index: -1;
  filter: blur(6px);
  opacity: 0.3;
}

.current-page:hover {
  transform: none !important;
  box-shadow: 
    0 4px 16px rgba(67, 97, 238, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.25) !important;
}

.nav-link::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.nav-link:hover::after {
  transform: translateX(3px) scale(1.1);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
  .site-header {
    padding: 1.5rem 0.5rem;
  }
  
  .nav-table {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .nav-link {
    min-width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
  }
  
  .current-page::after {
    filter: blur(4px);
  }
}

/* Font Awesome Icon Integration */
.nav-link[href*="home"]::after { content: '\f015'; font-family: 'Font Awesome 5 Free'; }
.nav-link[href*="about"]::after { content: '\f129'; font-family: 'Font Awesome 5 Free'; }
.nav-link[href*="services"]::after { content: '\f0c0'; font-family: 'Font Awesome 5 Free'; }
.nav-link[href*="contact"]::after { content: '\f2a0'; font-family: 'Font Awesome 5 Free'; }
