/* Shared navigation styles that can be imported by all pages */

/* Shared styles for all pages - matches index.html styling */

/* Define CSS variables */
:root {
  --theme-header-bg: hsl(216, 10%, 18%);
  --theme-header-text: hsl(0, 0%, 95%);
  --theme-header-hover-text: hsl(210, 94%, 41%);
  --theme-header-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

body {
  background-color: hsl(214, 9%, 15%);
  color: hsl(240, 3%, 75%);
}

/* Enhanced Header Styling */
.navbar-sticky {
  background: linear-gradient(135deg, var(--theme-header-bg) 0%, hsl(216, 12%, 20%) 100%) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar-sticky:hover {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Enhanced navigation link animations */
.nav-link {
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  font-size: 1.05rem !important;
  font-weight: 500;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-header-hover-text), #f7c32e);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::before {
  width: 100%;
}

/* Enhanced button styling */
.btn-primary {
  background: linear-gradient(135deg, #066ac9 0%, #0b7fd6 100%);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 106, 201, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 106, 201, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, #f7c32e 0%, #ffd93d 100%);
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 195, 46, 0.3);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(247, 195, 46, 0.4);
}

/* Improved typography */
.display-6 {
  background: linear-gradient(135deg, #ffffff 0%, #e0e6ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 2.5rem;
}

/* Increase size for section headers */
h1, h2.fs-1 {
  font-size: 2.2rem !important;
  background: linear-gradient(135deg, #ffffff 0%, #e0e6ed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Article specific styling */
.article-header {
  background: linear-gradient(135deg, hsl(214, 9%, 15%) 0%, hsl(216, 10%, 18%) 50%, hsl(214, 9%, 15%) 100%);
  position: relative;
  padding: 3rem 0;
}

.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(6, 106, 201, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.article-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--theme-header-hover-text) 0%, #f7c32e 50%, var(--theme-header-hover-text) 100%);
}

/* Loading animation for images */
img {
  transition: all 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}
