:root {
  --primary-color: #0067B2;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  /*min-height: 100vh;*/
  display: flex;
  align-items: center;
}

.hero-splash {
  background-image: url("/css/images/hero-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-splash .container {
  z-index: 2;
}

/* Portfolio Cards */
.portfolio-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.portfolio-card img {
  height: 200px;
  object-fit: cover;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Making navigation sticky and adding distinctive blue bottom border */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 4px solid #0067B2;
}

/* Added navbar link color for light navbar */
.navbar-light .nav-link {
  color: #212529;
}

.navbar-light .nav-link:hover,
.navbar-light .nav-link:focus {
  color: #0067B2;
}

.navbar-light .nav-link.active {
  color: #0067B2;
  font-weight: 600;
}

/* Cards */
.card {
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 1.75rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }
}

/* Footer Links */
footer a:hover {
  opacity: 0.8;
}

/* Added skip link styles for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

/* Enhanced focus visibility for keyboard navigation */
a:focus,
button:focus,
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
  outline: 3px solid #0067B2;
  outline-offset: 2px;
}

/* Ensure sufficient color contrast */
.text-muted {
  color: #6c757d !important;
}

/* Remove outline for mouse users while keeping it for keyboard users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid #0067B2;
  outline-offset: 2px;
}
