/* =========================================
   GARAGE OVERLAY SPECIFIC STYLES
   ========================================= */

/* Ensure the overlay background matches the 3D scene */
.project-detail-overlay {
    background-color: #151620 !important; /* Overrides the previous white bg */
    color: #fff;
}

/* Make the existing close button white for this dark page */
.project-detail-overlay .close-btn {
    color: #fff !important;
    border-color: #fff !important;
    z-index: 100 !important; /* Ensure it stays on top of canvas */
}
.project-detail-overlay .close-btn:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Garage Container - Full Screen behind nav */
.garage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Behind nav/footer */
}

/* Typography specifics for the Garage section */
.project-detail-overlay a,
.project-detail-overlay p {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    /* Use your specific font if imported, otherwise fall back to main font */
    font-family: "ITC Franklin Gothic Std", "Inter", sans-serif; 
}

/* Navigation inside the overlay */
.project-detail-overlay nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10; /* Above the 3D canvas */
    pointer-events: none; /* Allows clicking through empty spaces */
}

/* Re-enable pointer events for links */
.project-detail-overlay nav a,
.logo {
    pointer-events: auto;
}

.nav-items {
    display: flex;
    gap: 2em;
}

/* Logo Box */
.logo {
    background-color: #ffe940;
    padding: 0.5em 0.5em 0 0.5em;
    border-radius: 4px;
    display: inline-block;
}

.logo a {
    font-size: 18px;
    font-weight: bolder;
    color: black;
}

/* Footer inside the overlay */
.project-detail-overlay footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5em;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 10;
    pointer-events: none;
}

.project-detail-overlay footer p:nth-child(1) {
    width: 360px;
    max-width: 100%;
}

/* Responsive fix for mobile */
@media (max-width: 768px) {
    .project-detail-overlay nav,
    .project-detail-overlay footer {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .nav-items {
        gap: 1rem;
        font-size: 0.8rem;
    }

    .project-detail-overlay footer {
        flex-direction: column-reverse;
    }
}


















/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "ITC Franklin Gothic Std";
  background-color: #151620;
}

a,
p {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  color: #fff;
}

.garage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}


nav{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 2.5em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.nav-items{
    display: flex;
    gap: 2em;
}

.logo{
    background-color: #ffe940;
    padding: 0.5em 0.5em 0 0.5em;
    border-radius: 4px;
}

.logo a{
    font-size: 18px;
    font-weight: bolder;
    color: black;
}

footer{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    padding: 2.5em;
    display: flex;
    justify-content: space-between;
}


footer p:nth-child(1){
    width: 360px;
}






 */
