body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #3f2a1c;
}
.text {
    background-color: #ffffff;
    margin: 1rem;
    color: #3f2a1c;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.text:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease;
}

.herobanner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    border-radius: 12px;
    background-color: #fff8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    margin: 2rem auto;

}
.herobanner img{
        width: 280px;
        height: 420px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.section-title {
  font-size: 1.5rem;    
  color: #3f2a1c;
  margin-bottom: 1rem;
  border-left: 4px solid #3b82f6; 
  padding-left: 0.75rem;   
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.nav-container {
    display:  flex;
    flex-flow: column;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    margin: 1rem;
    background-color: #fff8f0;
}
.nav-items {
    padding: 0.5rem 1.2rem;
    background-color: #fffaf5; 
    border: 1px solid #f2e8dc;
    color: #3f2a1c;
    border-radius: 6px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    display: block;
    
}
.nav-items:hover {
    border-radius: 4px;
    background-color: #ffedd5;
    border-color: #e7d8c9;
    text-align: center;
    color: #000000;
    flex-grow: 1;
    text-decoration: none;
    
}
.projects-section {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    row-gap: 1.5rem;
    justify-items: stretch;
    
}
.projects-category {
    background-color: #fff7ed;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
    border: 1px solid #ffffff;
    border-radius: 20px;
    
}
.project-category {
    background-color: #fff7ed; 
    border: 1px solid #f2e8dc;
    border-radius: 9999px;
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    padding: 1rem 0.5rem 1rem 0.5rem;
    justify-self: center;
    margin: 0.5rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #3f2a1c;
    align-items: center;
    flex: 1 1 0;
    transition: background 0.2s ease, border-color 0.2s ease;  
}
.project-category-current {
    background-color: #f2fadf; 
    border: 1px solid #0000ff;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}
.project-category:hover {
    box-shadow: 0 2px 12px #4b5563;
    cursor: pointer;
    background-color: peachpuff;
}
.project-category.active {
  border-color: #d97706;       
  box-shadow: inset 0 0 0 2px #ffedd5;
  font-weight: 600;
}
.spotlight { display: none; }
.spotlight.active {
  display: block;
  width: 95%;
  background: #fff7ed;
  border: 1px solid #f2e8dc;
  border-radius: 12px;
  padding: 1rem;
  justify-self: center;
  overflow: hidden;
  margin: 0px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.showcase {
  display: flex;
  flex-direction: row;
  border: 2px solid gold;
  padding: 10px;
  align-items: center; 
  width: 95%;
  justify-self: center;
  border-radius: 12px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.showcase_media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  padding: 10px;
  align-content: center;
  justify-self: center;
  text-align: center;
}
.showcase_media_title {
    font-size: 1.6rem;
  font-weight: 600;
  color: #d97706;
  position: relative;
  margin: 0.75rem 0; 
}
.showcase_media_title::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  margin: 0.25rem auto 0;
  border-radius: 2px;
}
.showcase_media_title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  margin: 0.25rem auto 0;
  border-radius: 2px;
}

.showcase_media img {
  max-width: 260px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}
.showcase_description {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3f2a1c;
}
.showcase_media_title:hover::before,
.showcase_media_title:hover::after {
  transform: scaleX(1.1);
  transition: transform 0.25s ease;
}

.showcase-viewport {
  width: 100%;
  overflow-y: auto;                 
  max-height: 75vh;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;   
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;     
}
.showcase-track {
  display: flex;
  flex-direction: column;           
  gap: 1rem;
  padding: 0.5rem 0;
}




@media (max-width: 768px) {
  .herobanner {
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
    }

  .herobanner img {
    height: 240px;
    width: auto;
  }
   .nav-container{
        flex-flow: row;
        justify-content: space-between;
        gap: 1.5rem;
    }

  .fun-intro-text {
    padding: 1rem;
  }
  .showcase{
    flex-direction: column;
  }
  .showcase_media img {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

}
@media (min-width: 768px) {
  .showcase-viewport {
    overflow-x: auto;               
    overflow-y: hidden;
    scroll-snap-type: x mandatory;  
    scroll-padding-inline: 1rem;    
  }

  .showcase-track {
    flex-direction: row;           
  }

  .showcase {
    flex: 0 0 100%;            
  }
}