/* Custom overrides for Irina Rodney Portfolio */
/* Built on top of Bootstrap 5.3.2 */

/* ===== Color Scheme ===== */
:root {
  --bs-primary: #1a3a5c;
  --bs-primary-rgb: 26, 58, 92;
}

.bg-primary {
  background-color: #1a3a5c !important;
}

.text-primary {
  color: #1a3a5c !important;
}

.btn-primary {
  background-color: #1a3a5c;
  border-color: #1a3a5c;
}

.btn-primary:hover {
  background-color: #0f2236;
  border-color: #0f2236;
}

a {
  color: #1a3a5c;
}

a:hover {
  color: #0f2236;
}

/* ===== Typography ===== */
body {
  font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding-top: 56px;
  color: #212529;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  color: #343a40;
}

h1 {
  font-size: 5rem;
  line-height: 1;
}

h2 {
  font-size: 3.5rem;
}

h3 {
  font-size: 2rem;
}

.subheading {
  font-family: 'Saira Extra Condensed', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.5rem;
  color: #6c757d;
}

.lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: #495057;
}

/* ===== Sidebar Navigation ===== */
#sideNav {
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #1a3a5c;
}

#sideNav .navbar-brand {
  color: #fff;
  font-family: 'Saira Extra Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 800;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  transition: color 0.2s;
}

#sideNav .navbar-nav .nav-item .nav-link:hover,
#sideNav .navbar-nav .nav-item .nav-link:active {
  color: #fff;
}

#sideNav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}

#sideNav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#sideNav .img-profile {
  max-width: 10rem;
  max-height: 10rem;
  border: 0.5rem solid rgba(255, 255, 255, 0.2);
}

/* ===== Resume Sections ===== */
section.resume-section {
  display: flex;
  align-items: center;
  padding: 5rem 1rem;
  max-width: 75rem;
}

section.resume-section .resume-section-content {
  width: 100%;
}

hr {
  border-color: #dee2e6;
  opacity: 1;
}

/* ===== Social Icons ===== */
.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  background-color: #495057;
  color: #fff;
  border-radius: 100%;
  font-size: 1.5rem;
  margin-right: 1.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.social-icons .social-icon:last-child {
  margin-right: 0;
}

.social-icons .social-icon:hover {
  background-color: #1a3a5c;
}

/* ===== Dev Icons (Tools) ===== */
.dev-icons {
  font-size: 2.5rem;
  color: #6c757d;
}

.dev-icons .list-inline-item {
  margin-right: 1rem;
}

/* ===== Font Awesome List ===== */
.fa-ul {
  margin-left: 1.5em;
}

.fa-li {
  left: -2em;
  width: 2em;
  color: #1a3a5c;
}

/* ===== Card Styling ===== */
.card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* ===== Button ===== */
.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
}

/* ===== Desktop Layout ===== */
@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }

  #sideNav {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }

  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }

  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
  }

  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }

  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }

  section.resume-section {
    padding-left: 3rem;
    padding-right: 3rem;
    min-height: 100vh;
  }
}

/* ===== Mobile Tweaks ===== */
@media (max-width: 991.98px) {
  #sideNav .navbar-brand .img-profile {
    max-width: 2.5rem;
    max-height: 2.5rem;
    border: 0.15rem solid rgba(255, 255, 255, 0.2);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .social-icons .social-icon {
    height: 3rem;
    width: 3rem;
    font-size: 1.25rem;
    margin-right: 1rem;
  }
}

@media (max-width: 767.98px) {
  section.resume-section {
    padding: 3rem 1rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}
