@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&display=swap');

* ,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Familjen Grotesk', sans-serif;
  background: #000;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
}

ul {
  list-style: none;
}

.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  height: 100px;
  padding: 0 30px;
  pointer-events: none;
}

.logo,
.desktop-main-menu {
  pointer-events: auto;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
  opacity: 1;
  visibility: visible;
}

.logo img {
  display: block;
  width: 210px;
  height: auto;
}

.desktop-main-menu {
  margin-right: 50px;
}

.desktop-main-menu ul {
  display: flex;
}

.desktop-main-menu ul li {
  position: relative;
  margin-right: 20px;
  padding-bottom: 2px;
}

.desktop-main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  transform-origin: right center;
}

.desktop-main-menu ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 0.4s;
}

.header-scrolled .logo,
.header-scrolled .desktop-main-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

section {
  position: relative;
  height: 100vh;
  width: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  text-transform: uppercase;
  overflow: hidden;
}

.section-inner {
  position: absolute;
  bottom: 200px;
  left: 150px;
  max-width: 560px;
}

.section-inner h4 {
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: 300;
  animation: fadeInUp 0.5s ease-in-out;
}

.section-inner h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
}

.section-inner a {
  animation: fadeInUp 0.5s ease-in-out 0.4s;
  animation-fill-mode: both;
}

.section-c,
.section-d,
.section-ocean,
.section-air,
.section-command,
.section-id {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 50px;
  width: 100%;
  min-height: 100vh;
  height: auto;
}

[class$="-container"] {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

[class*="-left"] .section-inner {
  position: relative;
  bottom: auto;
  left: auto;
}

[class*="-right"] {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.btn {
  position: relative;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  min-width: 130px;
  padding: 15px 50px;
  margin-top: 10px;
  border: 2px solid #fff;
  text-transform: uppercase;
  font-weight: bold;
  overflow: hidden;
  z-index: 2;
}

.btn:hover span {
  color: #000;
}

.btn .hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #000;
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover .hover {
  transform: translateY(0);
}

.scroll-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeBounce 5s infinite;
}

.vm-box {
  padding: 30px;
}

.vm-box h3 {
  font-size: 28px;
}

.vm-box p {
  font-size: 16px;
}

.section-a, .bg-barney { background-image: url('../img/barney.webp'); }
.bg-hope { background-image: url('../img/sumatra.webp'); }
.section-b, .bg-tory { background-image: url('../img/tory.webp'); }
.section-c, .section-air { background-image: url('../img/vision.webp'); }
.section-d { background-image: url('../img/merapi.webp'); }
.section-e, .bg-command { background-image: url('../img/cockpit.webp'); }
.section-f { background-image: url('../img/section-f.webp'); }
.section-ocean { background-image: url('../img/ocean.webp'); }
.section-id, .bg-id { background-image: url('../img/indonesia.webp'); }
.section-air {
  padding: 100px 50px;
  height: auto; 
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hamburger {
  position: fixed;
  top: 40px;
  right: 20px;
  z-index: 10;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background: none;
  border: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom {
  position: absolute;
  width: 20px;
  height: 2px;
  top: 0;
  left: 0;
  background: #fff;
  transition: all 0.5s;
}

.hamburger-middle {
  transform: translateY(5px);
}

.hamburger-bottom {
  transform: translateY(10px);
}

.open {
  transform: rotate(90deg);
}

.open .hamburger-top {
  transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle {
  display: none;
}

.open .hamburger-bottom {
  transform: rotate(-45deg) translateY(6px) translateX(-6px);
}
.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  text-transform: uppercase;
  max-width: 960px;
  margin: 80px auto;
  padding: 0 20px;
  background: #000;
}

.stats div span {
  font-size: 160px; 
  font-weight: 300;
  display: block;
}

.stats div h4 {
  font-size: 18px;
  font-weight: 500;
  color: #aaa;
}
.section-inner-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-transform: uppercase;
  text-align: center;
  width: 100%;
  z-index: 2;
}
.section-inner-center h3 {
  font-size: 100px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 2px;
  animation: fadeInUp 0.5s ease-in-out;
}
.section-inner-center p {
  font-size: 20px;
  font-weight: 400;
  animation: fadeInUp 0.5s ease-in-out 0.2s;
  animation-fill-mode: both;
}
.section-air {
  padding: 100px 50px;
  height: auto !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #000;
}
.overlay-show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.stop-scrolling {
  overflow: hidden;
}

.mobile-only {
  display: none;
}

.mobile-main-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  height: 100%;
  background: #000;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.show-menu {
  transform: translateX(0);
}

.mobile-main-menu ul {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  padding: 50px;
  width: 100%;
}

.mobile-main-menu ul li {
  margin-bottom: 20px;
  font-size: 18px;
  text-transform: uppercase;
  border-bottom: 1px #555 dotted;
  width: 100%;
  text-align: right;
  padding-bottom: 8px;
}

.mobile-main-menu ul li a {
  color: #fff;
  transition: color 0.6s;
}

.mobile-main-menu ul li a:hover {
  color: #aaa;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(140px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
  40% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .desktop-main-menu {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  [class$="-container"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }
  [class*="-left"] .section-inner {
    position: relative;
    left: 0;
    bottom: 0;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
    text-align: center;
  }
  [class*="-right"] {
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .main-header {
    justify-content: center; 
    padding: 0;
  }
  .logo {
    margin: 0 auto; 
  }
  .logo img {
    width: 150px;
  }
  .section-inner {
    bottom: 75px;
    left: 20px;
  }
  .section-inner h2 {
    font-size: 40px;
  }
  [class$="-container"] {
    gap: 60px;
  }


  .section-a { background-image: url('../img/barney-m.webp'); }
  .section-b { background-image: url('../img/tory-2.webp'); }
  .section-c { background-image: url('../img/vision-2.webp'); }
  .section-d { background-image: url('../img/merapi-2.webp'); }
  .section-e { background-image: url('../img/cockpit-2.webp'); }
}

@media (min-width: 1200px) {
  section {
    background-size: cover;
    background-attachment: fixed;
  }
}
@media (max-width: 700px) {
  .stats {
    flex-direction: column;
    gap: 40px;
    margin: 40px auto;
  }
  
  .stats div span {
    font-size: 60px;
  }

  .section-air {
    padding: 60px 20px;
  }
}
footer {
  position: relative;
  padding: 60px 0;
  background: #000;
  /* border-top: 1px solid #222;  */
  width: 100%;
  z-index: 2;
}

footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px; 
}

footer ul li {
  color: #aaa;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

footer ul li a {
  color: #fff;
  transition: color 0.4s ease;
}

footer ul li a:hover {
  color: #aaa;
}

@media (max-width: 600px) {
  footer {
    padding: 40px 20px;
  }
  
  footer ul {
    flex-direction: column;
    gap: 15px;
  }

  footer ul li {
    margin: 0;
    text-align: center;
  }
}