/* Gallery & Lightbox styles (separate file to avoid touching main stylesheet) */
:root{}
.gallery-row { display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 0.75rem; }
.gallery-thumb { width: calc(33.333% - 0.43rem); border-radius: 0.75rem; overflow: hidden; cursor: pointer; border: 1px solid rgba(229,231,235,1); box-shadow: 0 12px 30px rgba(0,0,0,0.06); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-actions { margin-top: 1rem; display:flex; gap:0.5rem; align-items:center; }
.btn.ghost { background: transparent; color: #111827; border: 1px solid rgba(229,231,235,1); box-shadow:none; }
.btn.ghost:hover { background: rgba(0,0,0,0.04); }

.lightbox { position: fixed; inset: 0; background: rgba(3,7,18,0.75); display: none; align-items: center; justify-content: center; z-index: 60; padding: 2rem; }
.lightbox.open { display: flex; }
.lightbox-content { max-width: 1100px; width: 100%; background: transparent; position: relative; display:flex; align-items:center; justify-content:center; }
.lightbox-img { max-width: 100%; max-height: 80vh; border-radius: 0.6rem; box-shadow: 0 30px 60px rgba(0,0,0,0.6); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.06); border: 0; color: #fff; width:44px; height:44px; border-radius: 8px; display: grid; place-items:center; cursor:pointer; }
.lightbox-close { right: 8px; top: 16px; transform: none; }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-caption { position: absolute; bottom: 12px; left: 12px; color: #e6eef8; background: rgba(0,0,0,0.25); padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.95rem; }

@media (max-width: 720px) {
  .gallery-thumb { width: calc(50% - 0.43rem); }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
  .lightbox-close { right: 12px; }
}

/* project hero image styles to allow full-image display */
.project-hero { height: 320px; display:block; overflow: hidden; border-radius: 0.75rem; }
.project-hero-img { width: 100%; height: 100%; object-fit: contain; display: block; background: #fff; }

/* Contact form styles */
.contact-form label { display: block; margin: 0.5rem 0; color: #000; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.5rem; border-radius: 0.5rem; border: 1px solid rgba(0,0,0,0.12); font-size: 1rem; }
.contact-form h3 { margin-bottom: 0.5rem; }
