/* ===========================
   GLOBAL STYLES
   =========================== */
body {
  margin: 0;
  font-family: 'Pacifico', cursive, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background: #ffffff; /* background putih untuk semua halaman */
  color: #333;
}

/* Navbar */
.navbar {
  background-color: #fcd7d7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
}

.navbar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.navbar .menu {
  display: flex;
  gap: 25px;
}

.navbar a {
  text-decoration: none;
  font-weight: bold;
  color: #b66f6f;
  padding: 8px 15px;
  border-radius: 20px;
  transition: 0.3s;
}

.navbar a.active,
.navbar a:hover {
  background: white;
  color: #b66f6f;
}

/* Main content wrapper */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
}
/* Pacifico classes for targeted use */
.pacifico-heading {
  font-family: 'Pacifico', cursive;
  font-size: 2.5em;
  font-weight: normal;
  color: #333;
  text-align: center;
}

.pacifico-text {
  font-family: 'Pacifico', cursive;
  font-size: 1.2em;
  font-style: normal;
}

/* Apply Pacifico globally to body (LAST, to override any earlier rules) */
body {
  margin: 0;
  font-family: 'Pacifico', cursive !important;  /* !important ensures it sticks; fallback: cursive */
  font-size: 18px;
  line-height: 1.6;
  background: #ffffff;
  color: #333;
}

/* Footer */
footer {
  width: 100%; /* penuh lebar */
  padding: 15px 20px;
  background-color: #f8e0e6;
  text-align: center;
  border-top: 1px solid #ccc;
  font-weight: bold;
  color: #b66f6f;
  box-sizing: border-box; /* agar padding tidak membuat overflow */
  position: relative;
  bottom: 0;
  left: 0;
}

/* ===========================
   HOMEPAGE STYLES
   =========================== */
.home-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  padding: 40px 0;
  align-items: start;
}

.picture-box img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.banner {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 350px;
}

.banner img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: none;
  border-radius: 25px;
  position: absolute;
  top: 0;
  left: 0;
}

.banner img.active {
  display: block;
}

.banner button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.banner button:hover {
  color: #ddd;
}

.banner .prev {
  left: 10px;
}

.banner .next {
  right: 10px;
}

.purpose {
  background-color: rgba(201, 124, 124, 0.9);
  border-radius: 100px;
  padding: 40px;
  margin: 40px auto;
  max-width: 900px;
  text-align: center;
  font-size: 20px;
  color: #fff;
}

/* ===========================
   ABOUT PAGE STYLES
   =========================== */
.about-page {
  background: url('3.png') no-repeat center center fixed;
  background-size: cover;
}

.about-section {
  margin: 40px auto;
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 20px;
}

.about-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  padding: 30px;
  border-radius: 30px;
}

.about-box.aqilla {
  background-color: #f5b5b5;
  color: #ffffff;
}

.about-box.fara {
  background-color: #c2dc80;
  color: #fff;
  flex-direction: row-reverse;
}

.about-text {
  flex: 2;
  font-family: 'Olivre', serif;
  font-size: 18px;
  color: #fff9df;
}

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

.about-pic img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #fff0f0;
}

/* ===========================
   AQILLA PAGE STYLES
   =========================== */
.aqilla-section {
  display: flex;
  justify-content: center;
  padding: 30px;
  gap: 20px;
  flex-wrap: wrap;
  background: #ffffff; /* putih */
}

.picture-box, .content-box {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 20px;
  min-height: 250px;
  text-align: center;
}

.picture-box img {
  width: 300px;
  height: 350px;
  border-radius: 15px;
  object-fit: cover;
}

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: auto;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
}

/* Carousel track sebagai flex container */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Set lebar tiap gambar 100% dari carousel */
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 20px;
  object-fit: cover;
  height: 350px; /* sesuaikan tinggi */
}

/* Tombol carousel */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #fff;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10;
}

.carousel button:hover {
  color: #b66f6f;
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

/* Intro text */
.intro-text {
  margin-top: 15px;
  background: #dfe7ff;
  padding: 20px;
  border-radius: 15px;
  font-weight: bold;
  color: #b85c5c;
  text-align: center;
}

/* Journal Section (Interest Cards) */
.journal {
  margin: 50px auto;
  width: 80%;
  background-color: #c97c7c;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  color: #fff;
  gap: 40px;
}

.journal .carousel {
  width: 400px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff; /* putih */
}

.journal .carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.journal .text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #fff9df;
}

/* ===========================
   FARA PAGE STYLES
   =========================== */
.fara-page {
  background-color: #ffffff; /* putih */
}

.fara-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
}

.fara-interests {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.fara-interests figure {
  margin: 0;
  text-align: center;
}

.fara-interests img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.fara-interests figcaption {
  margin-top: 8px;
  font-weight: bold;
  font-size: 16px;
  color: #5a3c2d;
}

.fara-textbox {
  margin-top: 30px;
  background: #5a3c2d;
  color: #f8c9c9;
  border-radius: 20px;
  padding: 30px;
  font-size: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ===========================
   FIND US PAGE STYLES
   =========================== */
.findus-page {
  background: url('3.png') no-repeat center center fixed;
  background-size: cover;
}

.contact-section {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  margin: 50px auto;
  width: 90%;
  gap: 40px;
}

.contact-box {
  background-color: #f3bebe;
  flex: 1;
  padding: 30px;
  border-radius: 20px;
}

.contact-box h2 {
  font-family: 'Olivre', serif;
  color: #a44b4b;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-family: 'Olivre', serif;
  font-size: 18px;
  color: #fff9df;
}

.contact-item img {
  width: 40px;
  height: 40px;
}

.contact-item a {
  text-decoration: none;
  color: #fff9df;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #a44b4b;
}