/* ===== HOME.CSS ===== */

/* ---- HERO ---- */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.65); z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 680px;
}
.hero-logo {
  width: 380px; height: 380px;
  max-width: 55vw; max-height: 55vw;
  margin: 0 auto 28px;
}
.hero-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.hero-title {
  font-size: 48px;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: .05em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-tagline {
  font-style: normal;
  font-size: 24px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}
.btn-cta { font-size: 15px; padding: 14px 40px; }

/* ---- PROJECTS CAROUSEL ---- */
.projects-section { background: #111111; }
.section-subtitle {
  max-width: 560px;
  margin: 0 auto 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
}
.carousel-slide { flex: 0 0 calc(50% - 2px); }
.project-card {
  position: relative;
  background: #1a1a1a;
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid rgba(255,255,255,.08);
  transition: border-color .3s, box-shadow .3s;
}
.project-card:hover {
  border-color: rgba(139,0,0,.55);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.project-card:hover img { transform: scale(1.06); }

.project-status {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', sans-serif;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  color: #fff;
}
.status-released { background: #8B0000; }
.status-dev {
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(2px);
}

.project-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.88) 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.project-card:hover .project-overlay,
.project-card:focus-within .project-overlay {
  opacity: 1;
  transform: translateY(0);
}
.project-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btn-project-view {
  display: inline-flex; align-items: center; gap: 7px;
  width: fit-content;
  font-family: 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', sans-serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: color .2s, border-color .2s;
}
.btn-project-view i { font-size: 11px; transition: transform .2s; }
.btn-project-view:hover {
  color: #ff4d4d;
  border-color: #ff4d4d;
}
.btn-project-view:hover i { transform: translateX(3px); }

/* ---- NEWS GRID ---- */
.news-section { background: #111111; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.news-card {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 4/3;
  display: block;
}
.news-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover img { transform: scale(1.06); }
.news-hover {
  position: absolute; inset: 0;
  background: rgba(139,0,0,.88);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  opacity: 0; transition: opacity .3s;
}
.news-card:hover .news-hover { opacity: 1; }
.news-hover h3 {
  font-family: 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', sans-serif;
  font-size: 15px;
  font-style: normal;
  color: #fff;
  margin-bottom: 6px;
}
.news-hover p {
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}

/* ---- GALLERY ---- */
.gallery-section { background: #111111; }
.gallery-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4px; min-height: 380px; }
.gallery-large { background: #1a1a1a; overflow: hidden; }
.gallery-large img { width: 100%; height: 100%; object-fit: cover; }
.gallery-small-col { display: flex; flex-direction: column; gap: 4px; }
.gallery-small { background: #1a1a1a; flex: 1; overflow: hidden; }
.gallery-small img { width: 100%; height: 100%; object-fit: cover; }

/* ---- CAREERS PREVIEW ---- */
.careers-section { background: #111111; }
.careers-sub {
  font-family: 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', sans-serif;
  font-size: 22px;
  font-style: normal;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .carousel-slide { flex: 0 0 100%; }
  .news-grid { grid-template-columns: repeat(2,1fr); }
  /* touch devices have no hover — keep the info bar visible */
  .project-overlay { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 32px; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-small-col { flex-direction: row; }
  .project-overlay { padding: 16px; gap: 6px; }
  .project-desc { font-size: 12px; }
}

.social-list {
  display: flex;
  flex-direction: column; /* atau row kalau mau sejajar horizontal semua item */
  gap: 12px;
  list-style: none;
}

.social-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.social-icon {
  font-size: 20px;
  width: 24px; /* biar semua icon punya lebar sama, teks jadi rata */
  text-align: center;
}

.social-list a:hover {
  color: #880000; /* opsional, warna hover */
}

.social-list a span {
  font-family: 'Bahnschrift', 'DIN Alternate', 'Arial Narrow', sans-serif;
}