/* GLOBAL STYLES */
:root {
  /* Color */
  --bg-color: #0066ff;
  --color-header-secondary: rgba(255, 255, 255, 0.8);
  --color-paragraph-secondary: lightslategrey;

  /* Fonts */
  --headers-font: ff-tisa-sans-web-pro, sans-serif;
  --paragraph-font: 'proxima-nova', sans-serif;
  --code-font: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: var(--paragraph-font);
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--headers-font);
}

p {
  font-family: var(--paragraph-font);
}

.btn {
  border-radius: 30px;
  padding: 0.375rem 0.75rem;
  border: none;
  min-width: 77px;
}

.btn:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

a {
  font-family: var(--paragraph-font);
  outline: none;
  text-decoration: none;
}

a:hover {
  font-family: var(--paragraph-font);
  text-decoration: none;
  outline: none;
}

textarea {
  resize: vertical;
  max-height: 200px;
}

/* HERO SECTION */
.hero {
  background-image: url('public/Bgs/heroBg3840.svg');
  background-color: white;
  height: 100vh;
  background-size: cover;
}

.hero h1 {
  letter-spacing: 8px;
  font-size: 4rem;
  color: white;
}

.subHeader {
  font-weight: 300;
  color: var(--color-header-secondary);
}

.navLinks a:hover {
  color: rgb(212, 212, 212);
}

.btnWhite {
  background-color: white;
  color: black;
  margin-right: 10px;
  display: inline-block;
}

.btnWhite a {
  color: black;
  text-decoration: none;
}

.btnWhite:hover {
  transform: scale(0.97, 0.97);
  background-color: white;
  color: black;
}

.btnWhite:hover a {
  color: black;
}

.btnWhite:focus {
  background-color: white;
  color: black;
}

.center {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.email {
  cursor: pointer;
  width: fit-content;
}

.linkIcons {
  font-size: 2.5rem;
  color: white;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.linkIcons:hover {
  font-size: 2.5rem;
  color: rgb(209, 209, 209);
}

.customMarginRight {
  margin-right: 20px;
}

/* DEVELOPMENT */
.customDevCardsContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
}

.customFlexContainer {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.customItemContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5px;
  font-size: large;
  text-align: center;
}

.customItemContainer p {
  margin: 0;
}

.customCardSize {
  width: calc(50% - 8px);
}

/* CONTACT (removed but keeping styles for reference if needed) */
.contactSection {
  background-color: var(--bg-color);
  background-image: url('public/Bgs/contactBg3840.svg');
  background-size: cover;
}

#contactForm {
  width: 100%;
  max-width: 500px;
}

/* FOOTER */
.footer {
  text-align: center;
  background-color: var(--bg-color);
}

/* PROJECT CARDS */
.card-body {
  position: relative;
  z-index: 1;
}

.btnProjects {
  background-color: var(--bg-color) !important;
  color: white !important;
  border: none;
  z-index: 2;
  position: relative;
}

.btnProjects a {
  color: white !important;
  text-decoration: none;
  pointer-events: auto;
}

.btnProjects:hover {
  transform: scale(0.97, 0.97);
  background-color: var(--bg-color);
  color: white !important;
}

.btnProjects:hover a {
  color: white !important;
}

.projectButtons {
  position: absolute;
  bottom: 20px;
  margin-right: 20px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 3;
}

.customMarginBottom {
  margin-bottom: 48px;
}

@media (max-width: 332px) {
  .customMarginBottom {
    margin-bottom: 100px;
  }
}

.cardImage {
  max-height: 250px;
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
  object-fit: cover;
}

/* BADGE STYLES */
.badge {
  background-color: #e9ecef;
  color: #212529;
  padding: 0.5em 0.75em;
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
  border-radius: 50rem;
  font-weight: 500;
  display: inline-block;
}

/* NAVBAR */
.navBar {
  background-color: #d1d1d1;
  display: flex;
  justify-content: center;
  padding: 10px 20px;
}

.innerContainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  width: 100%;
}

.navBar .btn:hover {
  transform: scale(0.97, 0.97);
  background-color: var(--bg-color);
}

.logo {
  color: black;
}

.logo h3 {
  margin: 0;
}

.logo:hover {
  color: black;
}

/* FOOTER ALTERNATE */
.footer-alt {
  text-align: center;
  background-color: #d1d1d1;
  padding: 30px 20px;
}

.footer-alt .linkIcons {
  font-size: 2.5rem;
  color: rgb(27, 27, 27);
  padding: 0 10px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.footer-alt .linkIcons:hover {
  font-size: 2.5rem;
  color: rgb(0, 0, 0);
}

/* ARTICLES PAGE PLACEHOLDER */
.articles-placeholder {
  padding: 40px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.articles-placeholder h1 {
  margin-bottom: 20px;
}

.articles-placeholder p {
  color: var(--color-paragraph-secondary);
  line-height: 1.6;
}

/* MEDIA QUERIES */
@media (max-width: 1920px) {
  .hero {
    background-image: url('public/Bgs/heroBg1920.svg');
  }

  .contactSection {
    background-image: url('public/Bgs/contactBg1920.svg');
  }
}

@media (min-width: 992px) {
  .innerCenter {
    padding-left: 6.5rem;
  }
}

.articleButtonNav {
  position: absolute;
  right: 12px;
  top: 8px;
  z-index: 1000;
  display: block !important;
}

.navbar1 {
  z-index: 1;
  background-color: #282d30;
  margin-top: 10px;
}

.navbar1 a {
  padding-left: 15px !important;
  font-weight: 500;
  border-bottom: solid 1px grey;
}

@media (max-width: 576px) {
  .articleButtonNav {
    position: absolute;
    right: 12px;
    top: 8px;
    display: block !important;
  }

  .hero {
    background-image: url('public/Bgs/heroBg576.svg');
  }

  .contactSection {
    background-image: url('public/Bgs/contactBg576.svg');
  }
}