/* Custom CSS for Aaron Wood Portfolio */

/* Global Styles */
:root {
  --primary-color: #18939C;
  --text-primary: #4B5662;
  --text-headlines: #2D6496;
  --text-secondary: #56677A;
  --text-muted: #37414C;
  --bg-lightest: #F7F9FB;
  --bg-light: #ECF1F5;
  --border-color: #DEE2E6;
  --bg-beige: #F5F5ED;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #F5F5ED;
}

a {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  transition: ease-in-out 0.2s;
  color: #18939C;
  text-decoration: none;
}

a:hover {
  color: #18939C;
  font-weight: 700;
  text-decoration: none;
}

hr {
border-top: 2px solid #2D6496;
}

h1 {
  font-family: "Noto Sans", sans-serif;
  font-size: 48px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */

}

h2 {
  font-family: "Noto Sans", sans-serif;
  font-size: 42px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */
}

h3 {
  font-family: "Noto Sans", sans-serif;
  font-size: 34px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */
}

h4 {
  font-family: "Noto Sans", sans-serif;
  font-size: 26px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */
}

h5 {
  font-family: "Noto Sans", sans-serif;
  font-size: 20px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */
}

h6 {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  /* Set text color */
}

.feature-card-header-text{
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  line-height:120% !important;
   /* Set text color */
}


p {
  font-family: "Noto Sans", sans-serif;
  color: #4B5662 !important;
}

.p-small {
  font-family: "Noto Sans", sans-serif;
  font-size: 12px;
  /* Adjust font size */
  font-weight: 400;


}

.p-medium {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  /* Adjust font size */
  font-weight: 400;

}

.p-large {
  font-family: "Noto Sans", sans-serif;
  font-size: 16px;
  /* Adjust font size */
  font-weight: 400;
}

.p-xl {
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  /* Adjust font size */
  font-weight: 400;
}

li {
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  /* Adjust font size */
  color: #4B5662;
  margin-bottom: 0.5rem;
}

ul {
  margin-top: 0.5rem;
}


strong {
  font-family: "Noto Sans", sans-serif;
  font-weight: 700;
  color: #4B5662;
}

.semi-bold {
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
}

.headshot {
  width:100%;
  max-width:300px !important;
  height:auto;
}

.card {
  overflow: hidden;
}

.card-header {
  background-color: #F7F9FB !important;
  border-bottom: 1px solid #dee2e6;
}

.card-header-text {
  color: #2D6496;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0rem .5rem 0rem .5rem;
}

.section-icon i {
  font-size: 1.5rem;
}

.section-content {
  padding:.5rem;

}

.section-row {
  padding: .5rem;
}

.section-row:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}

.icon-problem {
  color: #e03748;
}

.icon-solution {
  color: #0a8c4f;
}

.icon-outcome {
  color: #0f8dee;
}

.btn-primary {
  font-weight: 700;
  background-color: #FFFFFF;
  border: 1px solid #18939C !important;
  color: #18939C;
  padding: 4px 4px 4px 4px;

}



/* Navbar Styles */
.navbar {
  transition: all 0.3s ease;
  padding: 0.75rem 0;
  border-bottom: 1px solid #d2d7db;
  background-color: #FFFFFF !important;
}

.navbar-brand {
  transition: color 0.3s ease;
  font-size: 1.25rem;
  color: #2D6496;
  font-weight: 400;
}

.navbar-brand:hover {
  color: #18939C !important;
  font-weight: 700;
}

.navbar-brand:active {
  color: #18939C !important;
  font-weight: 700;
}

.navbar-brand:focus {
  color: #18939C !important;
  font-weight: 700;
}


.nav-link {
  color: #18939C;
  font-weight: 700;
  background-color: #FFFFFF;
  border: 1px solid transparent;
  transition: border 0.2s ease-in-out;
  padding: 4px 8px;
  display: inline-flex;
}

.nav-link:hover {
  font-weight: 700;
  background-color: #FFFFFF;
  border: 1px solid #18939C !important;
  color: #18939C;
  padding: 4px 8px;
  display: inline-flex;
}


.navbar .nav-item .nav-link:focus {
  color: #18939C;
  border: 1px solid transparent;
  box-shadow: none;
  /* In case it's a box-shadow causing the visual effect */
  outline: none;
  padding: 4px 8px;
  display: inline-flex;
}

.navbar .nav-item .nav-link:active {
  color: #18939C;
  border: 1px solid transparent;
  box-shadow: none;
  /* In case it's a box-shadow causing the visual effect */
  outline: none;
  padding: 4px 8px;
  display: inline-flex;
}

.mobile-nav-item {
  display: none;

}

.navbar-collapse {
  text-align: right;
}

.navbar-nav {
  margin-left: auto;
}

.navbar-toggler {
  color: #18939C;
  background-color: #F5F5ED;
  padding: .25rem;
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  /* In case a border is still present */
}

.navbar-toggler-icon {
  background-color: #F5F5ED;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
  /* In case a border is still present */
}


/* Hero Section */
.hero-section {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.profile-image-container {
  max-width: 95%;
  height: auto;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image {
  max-width: 95%;
  height: auto;
  overflow: visible;
}

.featured-projects {
  background-color: #FFFFFF;
}

.project-link {
  transition: all 0.3s ease-in-out;

}

.project-link:hover {
  background-color: #FFFFFF;
  box-shadow: 0 0.25rem 1rem #C4CBD2;
}


.project-heading {
  font-family: "Noto Sans", sans-serif;
  font-size: 18px;
  /* Adjust font size */
  font-weight: 800;
  color: #2D6496;
  margin-bottom: .25rem;

}


/* Project Sections */
.project-section {
  padding: 1rem 0;

}


.caption {
  color: #37414C;
  font-family: "Noto Sans", sans-serif;
  font-style: italic;
  font-size: 14px !important;
  /* Adjust font size */
  text-align: left;
  margin-bottom: 0px;
}

.proto-link {
  color: #18939C;
  font-family: "Noto Sans", sans-serif;
  font-size: 14px !important;
  /* Adjust font size */
  text-align: left;
}


/* Project Images */

.momnt-logo {
  height: 32px;

}

.bps-logo {
  height: 64px;
  margin-right: 16px;

}

.cabelas-logo {
  height: 48px;
  margin-left: 16px;
}

.cfa-logo {
  height: 64px;
  margin-right: 16px;
}

.project-image-container {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 100%;
  overflow-x: hidden;
  overflow: hidden;
}


.project-image {
  max-width: 100%;
  height: auto;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

/* Lazy loading styles */
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

img.lazy-loaded {
  opacity: 1;
}

div.lazy-loading-wrapper {
  position: relative;
  height: 200px;
  background-color: var(--bg-lightest);
}

/* Loading spinner styles */
.lazy-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--bg-lightest);
  border-top: 4px solid var(--text-headlines);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.lazy-loading-spinner.active {
  opacity: 1;
}

.lazy-loading-spinner.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Actual spinner animation */
@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.project-image-container:hover .project-image {
  transform: scale(1.01);

}

/* Image Popup Overlay */

.image-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.image-popup-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}


.popup-image-content {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: 8px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes popupZoom {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* Accomplishments List */
.accomplishments-list li {
  color: var(--text-primary);
  font-size: 1rem;
}


/* Responsive Design mobile */


@media (max-width: 768px) {
  .hero-section {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .profile-image-container {
    padding-top: 1rem;
    max-width: 90%;
    height: auto;
    margin: 1 1 1 1;
  }

  .featured-projects {
    margin-top: 2rem;
  }

  .project-section {
    padding: 3rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }



}



@media (max-width: 991px) {
  .mobile-and-tab-margin-bottom {
    margin-bottom: 2rem !important;
  }

  .mobile-nav-item {
    display: block;
    float: right;
  }

  .navbar-collapse {
    text-align: right;
  }

  .navbar-nav {
    margin-left: auto;
  }

}




/* Utility Classes */
.max-w-2xl {
  max-width: 42rem;
}

.hover-primary:hover {
  color: var(--primary-color) !important;
}


/* Animation for smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Expanded Content Styles */
.expanded-content {
  transition: all 0.3s ease;
}

.expanded-content.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.read-more-btn {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 12px;
  transition: ease-in-out 0.2s;
  text-decoration: none;
}


.close-btn {
  font-family: "Noto Sans", sans-serif;
  font-weight: 400;
  font-size: 12px;
  transition: ease-in-out 0.2s;
  text-decoration: none;
}

.read-more-btn.d-none {
  display: none !important;
}

.read-more-btn:hover {
  font-weight: 700;
  text-decoration: none;
}

.close-btn:hover {
  font-weight: 700;
  text-decoration: none;
}

/* Print styles */
@media print {

  .navbar,
  .modal {
    display: none !important;
  }

  .hero-section,
  .project-section {
    break-inside: avoid;
  }
}

@media (max-width: 576px) {
  body {
    overflow-x: hidden;
  }
}



/* Layout & overflow safety (mobile-friendly) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal scrolling on small screens from stray wide elements */
html,
body {
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow-x: hidden !important;
  max-width: 100% !important;
}

/* --- Pixel / Android Overflow Fix (STRUCTURE ONLY, NO STYLE CHANGES) --- */



.hero-section .container {
  overflow-x: hidden;
}