
/* === GRID KONTEINERS === */
.projects-section {
  padding: 50px 20px;
  background: #f9f9f9;
}

.projects-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.projects-section h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #222;
}

/* === GRID === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* === PROJEKTU KARTIŅAS === */
.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
  transition: transform .3s, box-shadow .3s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 6px 18px rgba(0,0,0,0.15);
}

/* === ATTĒLS === */
.project-image {
  width: 100%;
  height: 0;
  padding-bottom: 66.66%; /* 3:2 aspect ratio */
  position: relative;
  overflow: hidden;
}

.project-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === TEKSTS === */
.project-info {
  padding: 14px 18px;
}

.project-info h3 {
  font-size: 1.1em;
  margin: 0 0 6px 0;
  color: #0a0a0a;
}

.project-date {
  font-size: 0.9em;
  color: #666;
}
####Galerijai####
 /* ===== GRID ===== */
  .gallery {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 6px;
  }

  .gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
  }

  .gallery-item:hover img {
    transform: scale(1.08);
  }

  /* ===== LIGHTBOX ===== */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .lightbox.active {
    display: flex;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 85%;
  }

  /* ===== CONTROLS ===== */
  .lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    padding: 20px;
    opacity: .8;
  }

  .lightbox-btn:hover { opacity: 1; }

  .prev { left: 10px; }
  .next { right: 10px; }

  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: #fff;
    cursor: pointer;
  }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1024px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 640px) {
    .gallery-grid { grid-template-columns: 1fr; }
  }

