/* Main Text */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}
     
          
/* Top Bar */
nav {
    text-align: center;
    margin-top: 20px;
    padding: 5px 10px;
    margin-bottom: 5px;
}

/* Top Bar Buttons */
nav a {
    text-decoration: none;
    color: #fff;
    background-color: #afafaf;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 0 10px;
}


/* Hide the image by default */
.responsive-image {
    display: none;
}

/* Media query for screens wider than 800px */
@media (min-width: 800px) {
    .responsive-image {
        display: block; /* Show the image when the condition is met */
    }
}


/* Profile Image Options */
.profile-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    border: 5px solid #103c60;
}

/* Image styles */
.images {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    border: 5px solid #103c60;
    height: 400px;
    margin-right: 10px;
    width: 50%;
    height: auto;
    margin: 20px;
}

.links {
    text-align: center;
    margin-top: 10px;
}

.link-style {
    color: black;
    text-decoration: none;
    font-size: 60px;
    font-family: 'Ubuntu', sans-serif;
}

section {
    overflow: auto; /* Clears float */
    padding: 20px;
}

/* Styles for main content on pages */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin: 20px auto;
    padding: 10px;
    background-color: #afafaf;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


.btn-solid {
    background-color: #1f1f1f;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: box-shadow 0.3s ease;
}
.btn-solid:hover {
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.8);
}

/* -------------------------------
   Bootstrap Navbar Customization
   ------------------------------- */

/* Use Ubuntu font globally with Bootstrap navbar */
body {
    font-family: 'Ubuntu', sans-serif;
}

/* Bootstrap Navbar Background */
.navbar {
    padding-top: 0.4rem;   /* smaller top padding */
    padding-bottom: 0.4rem; /* smaller bottom padding */
    background-color: #103c60; /* match your header color CHANGES HEADER COLOR*/
}


/* Default (mobile/small screens) */
.navbar-brand img {
  height: 25px;
}
.navbar-brand span {
  font-size: 1rem;
}

/* Larger screens (lg and up, ≥992px) */
@media (min-width: 992px) {
  .navbar-brand img {
    height: 50px;
  }
  .navbar-brand span {
    font-size: 1.5rem;
  }
}

/* Adjusts padding on sides of header*/
.navbar .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
}


/* Navbar Links */
.navbar-nav .nav-link {
    color: #fff; /* white text like your old nav */
    font-weight: 500;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    border-radius: 5px;
    padding: 8px 16px;
}

/* Hover state */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    background-color: #142340; /* your hover color */
    color: #fff;
}

/* Make hover highlight taller/wider */
.navbar-nav .dropdown-item {
    padding: 5px 15px;
    margin: 0;
    border-radius: 7px; /* vertical | horizontal */
    line-height: 1.5;   /* increases vertical space */
}

/* Ensure dropdown items stay inside the menu */
.navbar-nav .dropdown-menu {
    padding: 0;              /* remove extra padding in menu */
    width: auto;             /* fit the content if you want, or set a fixed width */
}

/* Active link */
.navbar-nav .nav-link.active {
    background-color: #142340;
    font-weight: 600;
}

/* Dropdown menu styling */
.dropdown-menu {
    border-radius: 0.5rem;
    border: 1px solid #ffffff;
    background-color: #2f4f66; /* match header */
}

.dropdown-item {
    color: #fff;
}

.dropdown-item:hover {
    background-color: #000000;
    color: #ffffff;
}


/* Override Bootstrap default blue links */
a {
  color: rgb(0, 0, 0);
  text-decoration: none !important;
}

a:hover,
a:focus {
  color: rgb(255, 255, 255) !important; /* subtle hover/focus effect */
  text-decoration: underline; /* optional: adds underline on hover */
}


/* Projects page */

.project-page-title {
  color: #c5c5c5; /* deep purple */
}


.project-card h5 {
  color: #103c60; /* deep purple */
}

.projects-page #footer {
  color: #000000; /* purple text only on projects page */
}

/* specific project pages */

/* Scope everything to .project-page so it won’t affect global styles */
.project-page {
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Reusable main text color class */
.project-text {
  color: #e0e0e0;
}

/* Card styling */
.project-page .project-card {
  background-color: #1e1e1e;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

.project-page .project-card img {
  border-radius: 12px 12px 0 0;
}

.project-page .card-title {
  color: #fff;
}

/* Images */
.project-page .project-image {
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  max-width: 100%;
  height: auto;

}

/* Links */
.project-page a {
  color: #66b2ff;
  text-decoration: none;
}
.project-page a:hover {
  color: #99ccff;
  text-decoration: underline;
}

.project-list {
  list-style-position: outside; /* or 'inside' if you prefer */
  padding-left: 1em;           /* sets consistent spacing */
  margin: 1;                   /* remove browser defaults */
  
}

