
.project {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
.project-image {
    background-position: center;
    background-size: cover;
}
.text-shadow {
    text-shadow: 1px 1px rgba(0, 0, 0, 0.533);
}
img.small-image {
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated;                 /* Universal support since 2021   */
    image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
}

.tag {
    background-color: gray;
}

.image-container {
    position: relative;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111;
}

.image-container > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.overlay {
    position: absolute;
    bottom: 0;
    width:100%;
    height:100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark semi-transparent background */
    color: white; /* Text color */
}
.blue {
    color:#96c0ff;
}

.nav {
    flex-direction: column;
}

.bg-sight-1 {
    background-color:  #3b5058;
}

.bg-sight-2 {
    background-color: rgba(51, 69, 71, 0.624);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0 25px rgba(51, 69, 71, 0.624);
}

.settings-panel {
  opacity: 0;
  transform: translateY(-10px);
  max-height: 0;
  overflow: hidden;
  transition: all 1s ease;
}

.settings-panel.settings-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}

.bg-sight-3 {
    background-color: #6b7b80;
}

.bg-sight-4 {
    background-color: #1b2629;
}

.card-body {
    min-height: 250px; /* Optional: Ensures consistent height */
}

.gradient-2-3 {
    height: 100px; /* Adjust height for desired gradient effect */
    background: linear-gradient(to bottom, #344648, #6b7b80); /* Blend from .bg-sight-2 to .bg-sight-3 */
    position: relative;
    width: 100%;
}

.gradient-3-2 {
    height: 100px; /* Adjust height for desired gradient effect */
    background: linear-gradient(to bottom, #6b7b80, #344648); /* Blend from .bg-sight-2 to .bg-sight-3 */
    position: relative;
    width: 100%;
}

/* Show dropdown on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}


.gradient-3-4 {
    height: 100px; /* Adjust height for desired gradient effect */
    background: linear-gradient(to bottom, #6b7b80, #1b2629); /* Blend from .bg-sight-2 to .bg-sight-3 */
    position: relative;
    width: 100%;
}

.blend-container {
    display: flex;
    width: 100%;
    height: 300px;
}

.blend-zone {
    width: 100px;
    background: linear-gradient(to right, #ff0000, #0000ff);
}

button {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.image-container-horizontal {
    flex: 1 1 50%;
    overflow: hidden;
    max-height: 100%;
}

.image-container-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
}

.text-container {
    flex: 1 1 50%;
}


.bg-download {
    --bs-btn-color: #fff;
    --bs-btn-bg:#6a714a;
    --bs-btn-border-color: #6a714a;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3d0a91;
    --bs-btn-hover-border-color: #3d0a91;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #520dc2;
    --bs-btn-active-border-color: #520dc2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

.bg-read {
    --bs-btn-color: #fff;
    --bs-btn-bg:#865740;
    --bs-btn-border-color: #865740;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #3d0a91;
    --bs-btn-hover-border-color: #3d0a91;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #520dc2;
    --bs-btn-active-border-color: #520dc2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: #DFCBA6;
}

/* .bg-sight-2 {

}

.bg-sight-3 {

} */


.timeline-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.5rem;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 4rem;
    bottom: 1.5rem;
    width: 3px;
    background: linear-gradient(to bottom, #1f2937, #6b7280);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
}

.timeline-content {
    background: #1f2937;
    padding: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-content:hover {
    background: #374151;
}

.timeline-details {
    display: none;
    margin-top: 0.5rem;
}

.timeline-details.active {
    display: block;
}

.click-indicator::after {
    content: ' (Click to view)';
    color: #3b82f6;
    font-size: 0.9rem;
}

.dot-indicator {
    position: absolute;
    left: 1.9rem;
    width: 10px;
    height: 10px;
    background-color: #3b82f6;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: top 0.3s ease;
    z-index: 10;
}

#boids-canvas {
    image-rendering: pixelated; /* For Chrome, Edge */
    image-rendering: crisp-edges; /* For Firefox */
}

.lg-text {
    font-size: 5rem !important;
}


    .top-left {
      top: 1rem;
      left: 1rem;
    }

    .center {
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    .bottom-right {
      bottom: 1rem;
      right: 1rem;
    }

    .position-box {
      position: relative;
      width: 100%;
      height: 100%;
    }

    .top-left,
    .center,
    .bottom-right {
      position: absolute;
    }


/* Project detail pages */
.project-page {
    min-height: 100vh;
    background-color: #1b2629;
}

.project-page .project-hero {
    margin-bottom: 2.5rem;
}

.project-page .project-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.project-page .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-page .project-meta .badge {
    font-weight: 500;
    font-size: 0.85rem;
}

.project-page section {
    margin-bottom: 3rem;
}

.project-page h2 {
    color: #96c0ff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-page .figure-caption {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
}

.project-page .back-link {
    margin-top: 1rem;
}

.project-page ul.feature-list > li {
    margin-bottom: 0.75rem;
}


/* Lightbox for expandable media */
.lightbox-trigger {
    cursor: zoom-in;
}

.media-thumb,
.project-page figure img.media-thumb {
    max-width: 280px;
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-height: 0;
    object-fit: contain;
}

.project-page figure img:not(.media-thumb) {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.project-page .col-lg-6 figure img:not(.media-thumb),
.project-page .col-lg-5 figure img:not(.media-thumb),
.project-page .col-lg-7 figure img:not(.media-thumb) {
    min-height: 220px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.25);
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: zoom-out;
}

.lightbox-overlay.is-open {
    display: flex;
}

.lightbox-overlay img {
    max-width: 96vw;
    max-height: 94vh;
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: zoom-out;
}
