.main-content {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 0 40px var(--shadow-dark);

  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* HEADER */
.header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.header-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.header-text p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}


.glass-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-strong);
  border-radius: 1rem;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 25px var(--shadow-dark);
  width: 100%;
  margin-top: 20px;
}

.glass-card img {
  width: 500px;
  border-radius: 12px;
  object-fit: cover;
}

@media (max-width: 768px)  {
  .glass-card img {
    width: 100%;
  }
}

/* FEATURES */
.info_row {
  margin-top: 40px;
}

.info_row h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-glass-strong);
  padding-bottom: 5px;
}

.info_row p {
  font-weight: 500;
  opacity: 0.8;
}

    /* FEATURE LIST */
.feature-panel-wrapper {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.feature-buttons {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.feature-buttons li {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-strong);
  border-radius: 12px;
  padding: 0.6rem 1rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-weight: 500;
}

.feature-buttons li:hover,
.feature-buttons li.active {
  background: var(--color-accent-soft);
  transform: translateY(-2px);
}

.feature-content {
  flex: 1;
  background: var(--color-glass);
  backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 30px var(--shadow-dark);
  
  max-height: 400px; 
  overflow-y: auto; 
}
.feature-content img {
  max-width: 100%;
  max-height: 300px;
  object-fit: contain;
  margin-top: 10px;
  border-radius: 12px;
}

.feature-detail {
  display: none;
  color: var(--color-text);
  animation: fadeIn 0.3s ease;
}

.feature-detail.active {
  display: block;
}

.feature-detail p {
  margin: 0 0 10px 0;
}

.feature-detail img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  margin-top: 10px;
  border-radius: 12px;
}

@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
@media (max-width: 768px) {
  .feature-panel-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .feature-buttons {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 8px 12px;
    margin: 0 -12px; 
  }

  .feature-buttons li {
    flex: 0 0 auto;
    white-space: nowrap;
    scroll-snap-align: start;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-strong);
    border-radius: 12px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--color-text);
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .feature-buttons li:hover,
  .feature-buttons li.active {
    background: var(--color-accent-soft);
    transform: translateY(-1px);
  }

  .feature-content {
    max-height: none;
    padding: 15px;
  }
}





    /* TECH TAGS */
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tags span {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-strong);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--color-text);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.tech-tags span:hover {
  background: var(--color-glass-strong);
  transform: translateY(-2px);
}

  /* --- GALLERY --- */
.gallery {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.gallery img {
  width: 90%;
  height: 30%;
  border-radius: 12px;
  object-fit: cover;
}



/* BG */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('resources/.jpg') center center / cover no-repeat;
  filter: grayscale(100%) blur(20px) brightness(0.4);
  z-index: -2;
  pointer-events: none;
}

.bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-glass);
}