/* =========================
   Hero Section
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  background: url('assets/src/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.hero h1 {
  color: var(--color-white);
  letter-spacing: 2px;
  line-height: 1.2;
  max-width: 860px;
}

/* =========================
   About Section (homepage) 
   ========================= */
.about-us {
  padding: 100px 0;
  background: #ffffff;
}

.about-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text { flex: 1; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; max-width: 520px; }

.about-image { flex: 1; }
.about-image img { width: 100%; height: auto; object-fit: cover; }

/* =========================
   Services Section
   ========================= */
.services {
  background: #000;
  padding: 110px 0;
  color: #fff;
}

.services-inner h2 {
  text-align: center;
  margin-bottom: 70px;
  color: #fff;
}
.services-inner .btn-primary { 
  display: block; 
  width: fit-content; 
  margin: 0 auto; 
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 70px;
}

.service {
  position: relative;
  height: 420px;
  overflow: hidden;
}

.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.service-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
  color: #ffffff;
}

.service-content h3::after {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  margin-top: 10px;
  display: block;
}

.service-content ul {
  list-style: none;
  margin-top: 16px;
  padding: 0;
}

.service-content ul li {
  font-size: 14px;
  line-height: 1.6;
  color: #dddddd;
  margin-bottom: 6px;
}

/* =========================
   Our Work Section
   ========================= */
.our-work {
  background: #fff;
  padding-top: 80px;
  padding-bottom: 120px;
  text-align: center;
}

.our-work h2 {
  margin-bottom: 100px;
  font-size: 32px;
}

.work-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.work-item {
  position: relative;
  flex: 1 1 300px; 
  max-width: 500px;
  cursor: pointer;
}

.work-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.work-item:hover img {
  transform: scale(1.05);
}

.btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* =========================
   Responsive (index)
   ========================= */
@media (max-width: 768px) {
  .hero { height: 400px; }
  .hero h1 { font-size: 20px; }

  .about-inner { flex-direction: column; gap: 40px; }
  .about-text p { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .service { height: 300px; }

  .work-grid { flex-direction: column; gap: 30px; }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .socials {
    justify-content: center;
    gap: 16px;
  }

  .site-header .logo img { width: 140px; }
}
