/* Import shared variables and navbar/footer styles */
@import url("about.css");

/* ==============================
   Hero Section
============================== */
.gallery-hero {
    height: 48vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../static/uploads/about_hero.webp") center/cover no-repeat;
    position: relative;
    overflow: hidden;
    background-size: auto; /* keeps original image size */
}

.gallery-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.25));
}

.gallery-hero .hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 1rem 1.25rem;
}

.gallery-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.6px;
}

/* Projects List */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.project-card img {
  width: 40%;
  height: 220px;
  object-fit: cover;
}

.project-info {
  flex: 1;
  padding: 1rem 1.5rem;
}

.project-info h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--primary-dark, #222);
}

.project-info p {
  margin: 0;
  font-size: 1rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    flex-direction: column;
  }

  .project-card img {
    width: 100%;
    height: 200px;
  }
}
