/* General Reset */
@font-face {
  font-family: "Thertole";
  src: url("/assets/Thertole.otf") format("truetype");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
}

body, html {
    width: 100%;
    height: 100%;
    /* Prevent scrolling */
}

/* Root Container */
.root {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Full Width Section */
.w-full {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Image Container */
.flex{
    justify-content: center;
    align-items: start;
}

img,video{
    width: 100vw  ;
    height: auto;
    display: block;
    object-fit: cover;
}

.section1{
  background-color: black;

}

.section2{
  background-color: #87301C
}

.section3{
  background-color: #FFFFFF;
}

.button-container {
   top: 30px;             
    right: 20px;           
  }

  .link-buttons {
    display: flex;
    gap: 20px;
  }

  .nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
    background-color: black; /* Warna latar belakang merah */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 1000; /* Pastikan navbar berada di atas konten lainnya */
  }

  .nav p {
    color: #D52931; /* Warna teks putih */
    font-size: 5vh;
    font-family: "Thertole", sans-serif;
    font-weight: bold;
    margin: 0;
    margin-left: 1vw;
  }
  .btn {
    font-family: Arial, sans-serif;
    font-size: 2vh;
    font-weight: bold;
    color: #D52931;      
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;        /* default text color */
    text-decoration: none;
    transition: color 0.5s ease, transform 0.3s ease; /* smooth hover effect */
  }

  .btn:hover {
    color: white;            /* changes to white */
    transform: scale(1.1);   /* slight pop-up effect */
  }

  .section2 {
  position: relative;
  display: inline-block;
}

.overlay-text {
  position: absolute;
  top: 15%;
  left: 10%;
  color: white;
  font-size: 5vh;
  font-family: "Thertole", sans-serif; /* fallback to sans-serif */
  line-height: 1.5;
  text-align: center; 
}

.overlay-text p {
  margin: 0;            
  line-height: 1.2;     /* biar teks lebih rapat */
}

.top-paragraph{
  margin-bottom: 10vh;
}

.overlay-text span {
    display: block;
  font-size: 20vh;
  color: white;
  transition: color 0.5s ease, transform 0.3s ease;
  font-family: "Thertole", sans-serif;

}

  .overlay-text span:hover { /* berubah ke oranye saat hover */
    transform: scale(1.1); /* efek pop-up */
  }

  .section3 {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .overlay-quote {
    position: absolute;
    top: 15%;       /* geser ke bawah sesuai kebutuhan */
    right: 5%;      /* posisikan ke kanan */
    max-width: 60%; /* biar teks tidak terlalu lebar */
    text-align: right;
    font-family: "Thertole", sans-serif;
    color: black;
  }

  .overlay-quote p {
    margin: 0;
    font-size: 8vh;
    line-height: 1.6;
    font-weight: bold;
    color: black; /* abu-abu agar terlihat seperti quote */
  }

  .overlay-quote span {
    font-size: 8vh;
    font-weight: bold;
    color: black; /* highlight kata terakhir */
  }

  .footer {
  height: 8vh;
  width: 100%;
  background-color: #D52931;
  margin-top: auto;   /* ini kunci: dorong footer ke paling bawah */
}

.footer p {
  color: white;
  text-align: center;
  line-height: 8vh;
  font-family: "Thertole", sans-serif;
  font-size: 5vh;
}

.overlay-quote span:hover {
    color: #D52931;;
  }
@media only screen and (max-width: 768px) {
  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
  flex-direction: column;
    overflow: hidden; /* Matikan scroll horizontal & vertical */
  }

  .root{
    flex: 1;
  }
.nav{
  height: 3vh;
}

.nav p{
  font-size: 3vh;
}

.btn{
  font-size: 1.5vh;
}

.overlay-text {
  top: 10%;
  left: 5%;
  font-size: 2vh;
}

.overlay-text span {
  font-size: 5vh;
}

.top-paragraph{
  margin-bottom: 2vh;
}

.overlay-quote {
    position: absolute;
    top: 15%;       /* geser ke bawah sesuai kebutuhan */
    right: 5%;      /* posisikan ke kanan */
    max-width: 60%; /* biar teks tidak terlalu lebar */
    text-align: right;
    font-family: "Thertole", sans-serif;
    color: black;
  }
.overlay-quote p{
  font-size: 15px;
}


.overlay-quote span{
  font-size: 15px;
}

.section3{
  margin-bottom: 4vh;
}
.footer{
  height: 3vh;
  margin-top: auto;
}

.footer p{
  font-size: 3vh;
  line-height: 3vh;
}
}