/* Import Font Langsung di Sini untuk Memastikan Terbaca */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

.navbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background-color: var(--background-color);
}

.navbar .navbar-container {
  max-width: var(--max-screen);
  margin: auto;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.navbar .navbar-brand h2 {
  font-size: var(--small-size);
}

.navbar .navbar-links {
  display: flex;
  column-gap: 50px;
}

.navbar .navbar-links a {
  text-decoration: none;
  font-size: var(--small-size);
}

.navbar-mobile {
  position: sticky;
  top: 0;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  display: none;
  align-items: center;
  justify-content: space-between;
  background-color: var(--background-color);
  z-index: 30;
}

.navbar-mobile h2 {
  font-size: 24px;
}

.navbar-mobile .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.navbar-mobile .hamburger>div {
  width: 35px;
  height: 4px;
  background-color: black;
  transition: all 0.3s ease;
}

.navbar-mobile .hamburger.active>div:nth-child(1) {
  transform: translateY(-1px) rotate(45deg);
}

.navbar-mobile .hamburger.active>div:nth-child(2) {
  transform: translateY(-10px) rotate(-45deg);
}

.navbar-mobile-links {
  position: fixed;
  width: 100%;
  left: 0;
  top: 70px;
  transform: translateY(-100%);
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  background-color: var(--background-color);
  display: none;
  flex-direction: column;
  gap: 20px;
  transition: .3s;
  z-index: 10;
}

.navbar-mobile-links.active {
  transform: translateY(0);
}

.navbar-mobile-links a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .navbar-mobile {
    display: flex;
  }

  .navbar-mobile-links {
    display: flex;
  }
}

/* Container untuk membungkus konten di dalam section */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  box-sizing: border-box;
}

/* Header and Navigation */
.main-header {
  position: absolute;
  width: 100%;
  z-index: 10;
  padding-top: 40px;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -1px;
}

.main-nav ul {
  list-style: none;
  display: flex;
}

.main-nav li {
  margin-left: 40px;
}

.main-nav a {
  text-decoration: none;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-screen);
  margin: auto;
}

.hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  display: flex;
  justify-content: center;
}

.hero .container>div:nth-child(1) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 140px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -5px;
  margin-bottom: 24px;
  color: #111111;
}

.hero p {
  max-width: 400px;
  color: #6b7280;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
}

.hero-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111111;
  padding: 2rem 0;
  box-sizing: border-box;
}

.scroll-down {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
}

.scroll-down img {
  height: 14px;
}

/* Projects Section */
.projects-section {
  padding: 80px 0;
}

.section-title {
  font-family: "Inter", sans-serif;
  font-size: 140px;
  font-weight: 800;
  margin-bottom: 60px;
  line-height: 0.9;
  letter-spacing: -5px;
  color: #111111;
}

.projects-section .section-title {
  text-align: right;
}

.project-grid {
  margin: var(--large-size) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--normal-size);
  max-width: var(--max-screen);
  justify-content: center;
  align-items: center;
}

.project-item {
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-1 {
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.item-2 {
  grid-column: 4 / 7;
  grid-row: 1 / 2;
}

.item-3 {
  grid-column: 1 / 4;
  grid-row: 3 / 5;
}

.item-4 {
  grid-column: 4 / 7;
  grid-row: 2 / 5;
}

.item-5 {
  grid-column: 1 / 3;
  grid-row: 5 / 6;
}

.item-6 {
  grid-column: 3 / 5;
  grid-row: 5 / 6;
}

.item-7 {
  grid-column: 5 / 7;
  grid-row: 5 / 6;
}

.item-8 {
  grid-column: 1 / 3;
  grid-row: 6 / 7;
}

.item-9 {
  grid-column: 3 / 7;
  grid-row: 6 / 7;
}

.project-item.featured {
  grid-column: 1 / span 4;
  height: calc(var(--extra-size) * 5);
  margin-bottom: var(--normal-size);
}

.project-item.medium {
  grid-column: span 2;
  height: calc(var(--extra-size) * 3);
}

.project-item.small {
  grid-column: span 1;
  height: calc(var(--extra-size) * 2.5);
}

/* Team Section */
.team-section {
  padding: 80px 0;
}

.team-section .container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.next-page-link {
  text-decoration: none;
  color: #111111;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  gap: 20px;
}

.next-page-link .arrow {
  transition: transform 0.3s ease;
}

.next-page-link .arrow img {
  height: 3rem;
}

.next-page-link:hover .arrow {
  transform: translateX(10px);
}

.team-info-wrapper {
  text-align: left;
  width: 50%;
}

.team-info-wrapper .section-title {
  margin-bottom: 24px;
  text-align: left;
}

.contact-info {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.7;
  font-weight: 400;
}

.contact-info p {
  margin: 0;
}

/* Footer */
.main-footer {
  padding: 40px 0;
  text-align: center;
}

.main-footer p {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {

  .hero h1,
  .section-title {
    font-size: 10vw;
    letter-spacing: -3px;
  }
}

/* =========================
   Our Projects Section
========================= */
.projects-section {
  padding: 100px 0;
  position: relative;
}

.projects-section .container {
  position: relative;
}

.projects-section .section-title {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  text-align: right;
  color: #111;
}

/* ===== GRID STRUCTURE ===== */
.project-grid {
  display: grid;
  grid-template-areas:
    "item1 item1"
    "item2 item3"
    "item4 item5 item6 item7";
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 160px;
}

/* ===== PROJECT ITEM ===== */
.project-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background-color: #e5e5e5;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-item:hover img {
  transform: scale(1.08);
}

.project-info {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 6px;
}

/* ===== ITEM SIZE ===== */
.item-1 {
  grid-column: span 2;
  height: 300px;
}

.item-2,
.item-3 {
  height: 240px;
}

.item-4,
.item-5,
.item-6,
.item-7 {
  height: 180px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .projects-section .section-title {
    position: static;
    text-align: center;
    margin-bottom: 50px;
    font-size: 48px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  .project-item {
    height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-footer {
    display: none;
  }

  .hero h1,
  .section-title {
    font-size: 15vw;
    letter-spacing: -2px;
  }

  .project-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .project-item {
    grid-column: auto;
    grid-row: auto;
  }

  .team-section .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .team-info-wrapper {
    text-align: left;
    width: 100%;
  }

  .section-title {
    text-align: left;
    margin-bottom: 15px;
  }
}