* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; color: #1a1a1a; }
.dark body, body.dark { color: #e5e5e5; background: #0a0a0a; }

.hero-section {
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  background: #fafafa;
  background-image: url('../images/home/intro-bg/introduction.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.dark .hero-section, .dark-hero {
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../images/home/intro-bg/introduction.png') center/cover no-repeat;
}

.hero-section h1,
.hero-section p {
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.gallery-grid {
  column-count: 5;
  column-gap: 1rem;
}

.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item .overlay {
  display: none;
}

.gallery-hover-zoom .gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-hover-zoom .gallery-item:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox.hidden {
  display: none;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
}

.lightbox-close:hover {
  opacity: 0.7;
}

.service-card {
  padding: 2.5rem;
  background: #f8f8f8;
  border-radius: 4px;
  transition: all 0.3s;
}
.dark .service-card { background: #1a1a1a; color: #e5e5e5; }
.service-card:hover {
  background: #1a1a1a;
  color: #fff;
}
.dark .service-card:hover { background: #fff; color: #0a0a0a; }

.service-card-alt {
  background: #111;
  border: 1px solid #222;
  transition: border-color 0.3s, transform 0.3s;
}
.service-card-alt:hover {
  border-color: #444;
  transform: translateY(-2px);
}
.service-image {
  overflow: hidden;
}
.service-image img {
  transition: transform 0.5s ease;
}
.service-card-alt:hover .service-image img {
  transform: scale(1.05);
}
.service-content {
  background: #111;
}

.client-logo {
  height: 40px;
  opacity: 0.5;
  transition: opacity 0.3s;
  filter: grayscale(1);
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 2px;
}
.dark .nav-link { color: #e5e5e5; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #1a1a1a;
  transition: width 0.3s;
}
.dark .nav-link::after { background: #e5e5e5; }
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

@media (max-width: 1200px) {
  .gallery-grid { column-count: 3; column-gap: 1rem; }
}
@media (max-width: 1024px) {
  .gallery-grid-home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-section { min-height: 70vh; padding: 5rem 1.5rem 3rem; }
  .gallery-grid { column-count: 2; column-gap: 0.75rem; }
  .gallery-item { margin-bottom: 0.75rem; }
  .gallery-grid-home { grid-template-columns: 1fr; gap: 0.75rem; }
}
