.hero {
    height: 75vh;
  }
  .hero-content {
    margin-top: 10vh;
    align-items: center;
    width: 100%;
  }

  :root {
    --bg-warm: #F7F5F0; /* Off-white warm background matching screenshot */
    --text-dark: #111827;
    /* --text-muted: #71717A; */
    --border-color: #E4E4E7;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
  }

  .gallery-section {
    padding: 100px 5vw;
    background-color: var(--bg-warm);
    font-family: var(--font-body);
    color: var(--text-dark);
  }

  .gallery-container {
    max-width: 1320px;
    margin: 0 auto;
  }

  /* Section Title Block */
  .gallery-header-block {
    text-align: center;
    margin-bottom: 40px;
  }

  .gallery-header-block h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    margin-top: 8px;
  }

  .gallery-header-block h2 em {
    font-style: italic;
  }

  /* Navigation Filter Tabs */
  .filter-tabs-wrapper {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
    overflow-x: auto;
  }

  .filter-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 32px;
    padding: 0;
    margin: 0;
    min-width: max-content;
  }

  .tab-item {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-bottom: 16px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
  }

  .tab-item:hover {
    color: var(--text-dark);
  }

  .tab-item.active {
    color: var(--text-dark);
  }

  .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
  }

  /* 3-Column Projects Grid */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  /* Individual Card Styling */
  .gallery-card {
    position: relative;
    height: 480px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background-color: #000;
  }

  .gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
  }

  .gallery-card:hover img {
    transform: scale(1.05);
    opacity: 0.8;
  }

  /* Card Dark Gradient & Overlay Text (Matching Image) */
  .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
    pointer-events: none;
  }

  .card-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 6px;
  }

  .card-title {
    font-family: var(--font-body);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  /* Lightbox Modal Structure */
  .lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.92);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
  }

  .lightbox-content {
    max-width: 700px;
    width: 90%;
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  }

  .lightbox-content img {
    width: 100%;
    max-height: 60vh;
    object-fit: cover;
    display: block;
  }

  .lightbox-caption {
    padding: 24px 30px;
  }

  .lightbox-caption span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #4D70FF;
    font-weight: 600;
  }

  .lightbox-caption h3 {
    font-size: 1.5rem;
    margin: 4px 0 8px 0;
  }

  .lightbox-caption p {
    color: var(--text-muted);
    font-size: 0.9rem;
  }

  .lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2.5rem;
    color: #FFFFFF;
    cursor: pointer;
    line-height: 1;
  }

  /* Responsive Rules */
  @media (max-width: 992px) {
    .projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 640px) {
    .projects-grid {
      grid-template-columns: 1fr;
    }
    
    .gallery-card {
      height: 380px;
    }
    .filter-tabs-wrapper {
      overflow-x: visible;
      margin-bottom: 30px;
      padding-bottom: 0;
    }

    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0;
      min-width: 0;
      width: 100%;
    }
  
    .tab-item {
      font-size: 0.68rem;
      letter-spacing: 1px;
      padding: 10px 12px;
      margin: 3px;
      white-space: nowrap;
      border: 1px solid var(--border-color);
      border-radius: 3px;
    }
  
    .tab-item.active {
      background-color: var(--text-dark);
      color: #fff;
    }
  
    .tab-item.active::after {
      display: none;
    }
    .lightbox-content {
      width: 90%;
      height: 70vh;
    }
    .lightbox-content img {
      width: 100%;
      height: 100vh;
    }
  }