/* =========================================
   GLOBAL & RESET
   ========================================= */
body, html {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth; /* Membuat animasi scroll ke bawah lebih halus */
}

/* =========================================
   BUTTON GLOBAL STYLES (Seragam & Rapi)
   ========================================= */
.btn, .button, .read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #8b0000;
  color: #ffffff;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 8px; 
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn:hover, .button:hover, .read-more:hover {
  transform: translateY(-3px); /* Efek melayang elegan, tidak membesar lebay */
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.3);
  background-color: #a50000;
}

/* =========================================
   SECTION 1 : HERO
   ========================================= */
.main-content1 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 140px 20px 80px; 
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  gap: 60px; /* Jarak aman antara teks dan gambar */
  margin: 0 auto;
}

.text-content {
  max-width: 500px;
}

.text-content h1 {
  font-size: 42px;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-content h1 span {
  color: #d32f2f;
}

.text-content p {
  font-size: 16px;
  color: #444444; 
  margin: 10px 0 30px;
  line-height: 1.6;
  text-align: justify;
}

.image-content {
  max-width: 450px;
}

.image-content img {
  width: 100%;
  border-radius: 10px;
}

/* =========================================
   SECTION 2 : FITUR KOTAK
   ========================================= */
.main-content2 {
  background-color: #6b0d0d;
  color: white;
  padding: 60px 20px;
}

.container2 {
  display: grid;
  grid-template-columns: 1fr 2fr; 
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.left {
  font-size: 38px; 
  font-weight: 700;
  line-height: 1.3;
}

.right {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.box {
  background-color: #5d0a0a;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 30px 20px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 130px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.4s ease;
  cursor: pointer;
}

/* Efek kilap pada kotak */
.box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-45deg);
  transition: all 0.5s ease;
  z-index: -1;
}

.box:hover::before {
  left: 100%;
}

.box:hover {
  transform: translateY(-5px);
  background-color: #8c1c1c;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* =========================================
   SECTION 3 : INFO TAMBAHAN
   ========================================= */
.main-content3 {
  padding: 80px 20px;
  background-color: #fdfdfd;
}

.container3 {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image img {
  max-width: 90%;
  height: auto;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content h2 {
  font-size: 32px;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.content p {
  color: #555555;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 30px;
  text-align: justify;
}

/* =========================================
   SECTION 4 : CALL TO ACTION
   ========================================= */
.main-content4 {
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff;
}

.container4 {
  max-width: 850px;
  margin: 0 auto;
}

.container4 .title {
  font-size: 32px;
  color: #333333;
  margin-bottom: 20px;
}

.container4 .description {
  font-size: 17px;
  color: #555555;
  margin-bottom: 40px;
  line-height: 1.7;
}

/* =========================================
   ANIMASI NAVBAR LINKS
   ========================================= */
.nav-links a {
  position: relative;
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  font-weight: 500;
}

.nav-links a:hover {
  color: #6b0d0d;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #6b0d0d;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover::after {
  width: 100%;
}