@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
  --primary-color: #261612; /* Primary Color */
  --secondary-color: #0e3623; /* Secondary Color */
  --tertiary-color: #224046; /* Tertiary Color */
  --accent-color: #be6a43; /* Accent Color */
  --background-color: #ccc272; /* Background Color */
  --navbar-color: #ccc7c2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat';
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  padding-top: 100px;
}

section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 100px;
  color: #261612;
  /* margin-top: 100px; */
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* margin-top: 80px; */
}

.main-title {
  font-size: 1.5em;
  color: #261612;
  margin-bottom: 5px;
}

.sub-title {
  display: block;
  font-size: 1em;
  font-style: italic;
  color: #261612;
}

/* Mengatur teks agar justified pada semua ukuran layar */
.content .text p {
  text-align: justify;
}

/* Mengatur judul agar rata kiri */
.main-title,
.sub-title {
  text-align: center;
  margin: 0 auto;
}

.content {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin-top: 30px;
}

.content .image {
  width: 400px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.content .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content .text {
  max-width: 400px;
  color: #261612;
  line-height: 1.5;
}

  .site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 1rem;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Kiri */
  .footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Pastikan semua teks rata kiri */
    text-align: left;
  }
  
  .footer-logo-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
  }
  
  .footer-logo {
    width: 100px;
    height: auto;
  }
  
  .footer-title {
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-color);
  }
  
  .footer-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #eee;
    margin-top: 1rem;
    max-width: 85%; /* Batasi lebar agar tidak terlalu ke kanan */
    font-weight: 200;

  }
  
  /* Tengah */
  .footer-center h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
  }
  
  .social-icons {
    display: flex;
    flex-direction: column; /* Bikin vertikal ke bawah */
    gap: 2rem;
    align-items: flex-start; /* Rata kiri */
    color: var(--accent-color);
    font-weight: 100;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .social-icons a i {
    margin-right: 1rem;
    font-size: 1.5rem;
    font-weight: 100;
  }
  
  .social-icons a:hover {
    color: var(--accent-color);
  }
  
  /* Kanan */
  .footer-right h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #fff;
  }
  
  .footer-right iframe {
    width: 100%;
    height: 200px;
    border: none;
    border-radius: 0.5rem;
  }
  
  /* Bottom */
  .footer-bottom {
    text-align: center;
    margin-top: 2rem;
    border-top: 1px solid #ffffff30;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #ccc;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .footer-left,
    .footer-center,
    .footer-right {
      margin-bottom: 2rem;
    }
  
    .footer-logo-title {
      justify-content: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  }
  

.sec-03 {
  margin-bottom: 100px;
}

.section-divider {
  height: 5rem; /* Tinggi divider */
  background-image: url('/asset/img/storymengeruda.png'); /* Path gambar */
  background-repeat: repeat-x; /* Gambar berulang secara horizontal */
  background-size: auto 100%; /* Sesuaikan tinggi gambar dengan elemen */
  background-position: center;
  opacity: 40%;
  margin-block: 70px;
}

/* Untuk tampilan tablet */
@media (max-width: 1024px) {
  .content {
    flex-direction: column;
  }

  .content .image {
    order: -1; /* Memastikan gambar berada di atas teks */
    width: 100%;
    margin-bottom: 20px;
  }

  .footer .media-icons {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px; /* Menambahkan padding agar konten tidak mepet dengan layar */
  }

  .footer {
    width: 100%;
  }

  .footer .media-icons {
    flex-direction: column; /* Menumpuk ikon media sosial secara vertikal */
    align-items: center;
  }

  section {
    padding: 0 40px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 0 10px; /* Mengurangi padding pada layar yang lebih kecil */
  }

  .footer {
    width: 100%;
  }

  .footer .media-icons {
    flex-direction: column; /* Menumpuk ikon media sosial secara vertikal */
    align-items: center;
  }

  .footer p {
    font-size: 0.5em; /* Mengurangi ukuran font untuk p pada footer */
  }

  section {
    padding: 0 40px;
  }
}
