/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  --gold-web-golden: hsl(50, 95%, 56%);
  --spanish-orange: hsl(24, 100%, 45%);
  --persian-green: hsl(175, 80%, 33%);
  --granite-gray: hsl(0, 0%, 40%);
  --spring-green: hsl(143, 85%, 58%);
  --ultramarine: hsl(260, 100%, 44%);
  --blue-violet: hsl(272, 76%, 53%);
  --smoky-black: hsl(0, 0%, 7%);
  --dark-orange: hsl(33, 100%, 50%);
  --winter-sky: hsl(332, 100%, 51%);
  --cultured-1: hsl(0, 0%, 98%);
  --cultured-2: hsl(0, 0%, 95%);
  --cultured-3: hsl(0, 0%, 94%);
  --light-gray: hsl(0, 0%, 80%);
  --alice-blue: hsl(206, 89%, 93%);
  --white_50: hsla(0, 0%, 100%, 0.5);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 99%);
  --black: hsl(0, 0%, 0%);

  --blue-main-color: #92B4EC;
  --blue-second-color: #355872;
  --blue-thrid-color: #7AAACE;
  --blue-fourth-color: #7886C7;
  --red-line-color: #ED3500;
  --myWhite-1: #FBFBFB;
  --golden-navbar-color: #FCC61D;


  /**
   * typography
   */

  --ff-spartan: "Tahoma", sans-serif;

  --fs-1: 3rem;
  --fs-2: 2.7rem;
  --fs-3: 2.2rem;
  --fs-4: 1.8rem;
  --fs-5: 1.6rem;

  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * box shadow
   */

  --shadow-1: 0 2px 25px hsla(0, 0%, 0%, 0.1);
  --shadow-2: 0 8px 14px hsla(0, 0%, 0%, 0.1);
  --shadow-3: 0 14px 30px hsla(0, 0%, 0%, 0.05);

  /**
   * border radius
   */

  --radius-6: 6px;
  --radius-12: 12px;

  /**
   * gradient
   */

  --gradient-0: linear-gradient(to right,
      var(--blue-main-color),
      var(--blue-fourth-color));
  --gradient-05: linear-gradient(to right,
      var(--blue-fourth-color),
      var(--blue-main-color));
  --gradient-1: linear-gradient(to right,
      var(--winter-sky),
      var(--dark-orange));
  --gradient-2: linear-gradient(to right,
      var(--ultramarine),
      var(--blue-violet));
  --gradient-3: linear-gradient(to right,
      var(--winter-sky),
      var(--dark-orange));
  --gradient-4: linear-gradient(to right,
      var(--ultramarine),
      var(--blue-violet));
  --gradient-5: linear-gradient(to right,
      var(--persian-green),
      var(--spring-green));
  --gradient-6: linear-gradient(to right,
      var(--spanish-orange),
      var(--gold-web-golden));

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
svg,
input,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input {
  width: 100%;
}

button {
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

html {
  font-family: var(--ff-spartan);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-1);
  color: var(--granite-gray);
  font-size: 1.6rem;
}

:focus-visible {
  outline-offset: 4px;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.section {
  padding-block: var(--section-padding);
}

.w-100 {
  width: 100%;
}

.h1,
.h2,
.h3 {
  color: var(--black);
  font-weight: var(--fw-900);
  line-height: 1.3;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
}

.section-text {
  line-height: 1.7;
}

.btn {
  min-height: 50px;
  color: var(--white-1);
  padding-inline: 25px;
  border-radius: var(--radius-6);
}

.btn-primary {
  background-image: var(--gradient-1);
}

.btn-blue-secondary {
  background-image: var(--gradient-2);
}

.btn-link {
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-1);
}

.btn-link:is(:hover, :focus) {
  letter-spacing: 0.3px;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn {
  display: none;
}

.header {
  background: transparent;
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 20px;
  z-index: 999;
  transition: 0.3s ease;
}

/* tulisan putih saat di hero */
.header .logo,
.header .navbar-link,
.header .nav-toggle-btn {
  color: #fbfbfb;
}

/* saat scroll lewat hero */
.header.active {
  position: fixed;
  top: -75px;
  background: var(--gradient-0);
  border-bottom: 2px groove var(--red-line-color);
  animation: slide-in 0.5s var(--cubic-out) forwards;
}

.header.active::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../texture/rice-paper-3.png");
  mix-blend-mode: overlay;
  pointer-events: none;
  opacity: 0.8;
  /* atur kekasaran di sini */
}

/* tulisan jadi hitam */
.header.active .logo,
.header.active .navbar-link,
.header.active .nav-toggle-btn {
  color: var(--white-1);
}

.header.active .navbar-link {
  color: var(--white-1);
  font-weight: 700;
  transition: color 0.3s ease;
}

/* hover / focus saat scroll */
.header.active .navbar-link:hover,
.header.active .navbar-link:focus {
  color: var(--golden-navbar-color);
}

.header.active .navbar-link {
  font-weight: 700;
  /* atau var(--fw-700) */
}

@keyframes slide-in {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(75px);
  }
}

.header>.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  /* jarak gambar dan teks */
  color: var(--smoky-black);
  font-size: 3.5rem;
  font-weight: var(--fw-700);
  line-height: 1;

  text-decoration: none;
}

.logo-img {
  height: 70px;
  /* atur ukuran logo */
  width: auto;
}

.nav-toggle-btn {
  font-size: 30px;
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
  display: none;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
  display: block;
}

.navbar {
  position: absolute;
  top: 100%;
  left: 50%;
  width: calc(100% - 30px);
  transform: translateX(-50%);
  background-color: var(--blue-main-color);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  visibility: hidden;
  max-height: 0;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  visibility: visible;
  max-height: 300px;
  transition-duration: 0.35s;
}

.navbar-item:not(:last-child) {
  border-block-end: 1px solid var(--alice-blue);
}

.navbar-link {
  color: var(--black);
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  padding: 16px;
  transition: var(--transition-1);
}


.navbar-link:is(:hover, :focus) {
  color: var(--blue-main-color);
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  height: 100vh;
  /* pakai height, bukan min-height */
  padding: 0;
  /* hapus padding tambahan */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

/* CONTAINER FIX CENTER */
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* VIDEO BACKGROUND */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 2;
}


/* TITLE */
.hero-title {
  margin-block: 30px 15px;
  color: white;
}

.hero-title span {
  display: block;        /* pindah ke baris baru */
  font-size: 0.55em;     /* lebih kecil dari judul */
  font-weight: 400;      /* lebih ringan */
  letter-spacing: 2px;   /* jarak huruf */
  margin-top: 10px;      /* jarak dari judul */
  color: white;          /* tetap putih */
  opacity: 0.9;          /* sedikit lembut */
}

/* TEXT */
.hero .section-text {
  color: rgba(255, 255, 255, 0.85);
}

/* FORM */
.hero-form {
  margin-block: 20px 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Botoom BAR */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  backdrop-filter: blur(12px);
  z-index: 5;
}

.hero-bottom-bar.dot-purple {
  background: rgba(128, 0, 128, 0.2);
}

.hero-bottom-bar.dot-green {
  background: rgba(0, 128, 0, 0.2);
}

.hero-bottom-bar.dot-red {
  background: rgba(180, 0, 0, 0.2);
}

.hero-bottom-bar.dot-white {
  background: rgba(255, 255, 255, 0.2);
}

/* LEFT */

.hero-bottom-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* DOT */
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-purple {
  background: purple;
}

.dot-green {
  background: green;
}

.dot-red {
  background: red;
}

.dot-white {
  background: white;
}


/* TEXT */
.hero-season {
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-bottom-right {
  opacity: 0.9;
}

.hero-bottom-bar {
  backdrop-filter: blur(10px);
}

/* INPUT */
.input-field {
  background-color: rgba(255, 255, 255, 0.9);

  padding: 15px 20px;

  border-radius: var(--radius-6);

  margin-block-end: 0;

  min-width: 250px;
}

.input-field::placeholder {
  transition: var(--transition-1);
}

.input-field:focus::placeholder {
  opacity: 0;
}

/* LIST */

.hero-list {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: center;

  gap: 20px;
}

.hero-item {
  display: flex;

  align-items: center;

  gap: 5px;

  color: white;
}

/* ANIMATION */


@keyframes fadeIn {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/* TABLET */

@media (max-width: 992px) {
  .hero {
    min-height: 800px;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .hero-bottom-bar {
    flex-direction: column;
    /* ubah jadi vertikal */
    align-items: center;
    /* rata tengah */
    text-align: center;
    gap: 6px;
    /* jarak antar baris */
    padding: 12px 20px;
  }

  .hero-bottom-left {
    justify-content: center;
  }

  .hero-bottom-right {
    opacity: 0.85;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }
}

/* FORCE CENTER HERO DESKTOP */

.hero .container {
  display: flex !important;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  text-align: center;

  min-height: 100vh;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  width: 100%;
  animation: fadeIn 1.2s ease;
}

.hero {
  display: flex;

  justify-content: center;

  align-items: center;
}

/*-----------------------------------*\
  #JADWAL MISA
\*-----------------------------------*/

.jadwal-misa {
  padding-block: var(--section-padding);
}

.jadwal-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}


/* LEFT CONTENT */
.jadwal-content {
  flex: 1;
  min-width: 320px;
}

.jadwal-content .section-text {
  margin-block: 5px 20px;
}

/* GRID CARD */
.jadwal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* CARD */
.jadwal-card {
  background: var(--white-2);
  padding: 22px 24px;
  border-radius: 18px;
  /* shadow lebih lembut */
  box-shadow: 0 10px 10px var(--blue-main-color);
  /* sedikit garis transparan supaya tidak flat */
  border: 2px dashed var(--blue-main-color);
  transition: all 0.3s ease;
}

.jadwal-card {
  background: var(--white);
  padding: 26px 28px;
  border-radius: 16px;
  border: 3px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 3px 8px var(--blue-main-color);
}

/* Hover lebih halus */
/* TEXT */
.jadwal-card p {
  font-size: 2rem;
  margin-block: 4px;
  color: var(--granite-gray);
}

.jadwal-card span {
  font-weight: var(--fw-600);
  font-size: 1.5rem;
}

/* HIGHLIGHT CARD */
.jadwal-card.highlight {
  border: 1px solid var(--alice-blue);
}

.jadwal-times {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: var(--fw-600);
}

.time-row {
  display: flex;
  justify-content: space-between;
  /* bikin rata kiri & kanan */
}

/* RIGHT IMAGE */
.jadwal-banner {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* kondisi awal (sebelum muncul) */
.jadwal-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

  opacity: 0;
  transform: translateX(80px);
  /* mulai dari kanan */

  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.3s ease;
}

/* saat masuk viewport */
.jadwal-banner img.show {
  opacity: 1;
  transform: translateX(0);
  /* kembali ke posisi normal */
}

/* efek hover */
.jadwal-banner img:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.bacaan-wrapper {
  margin-top: 20px;
}

.bacaan-card {
  background: var(--white);
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--blue-main-color);
  transition: 0.25s ease;
}

.bacaan-card:hover {
  transform: translateY(-3px);
}

.bacaan-tanggal {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 8px;
}

.bacaan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bacaan-list li {
  padding: 4px 0;
  border-bottom: 1px dashed #eee;
  font-weight: 500;
  font-size: 14px;
}

.bacaan-list li:last-child {
  border-bottom: none;
}

@media (max-width: 992px) {
  .jadwal-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .jadwal-banner {
    margin-top: 40px;
  }

}

/* RESPONSIVE MOBILE */
@media (max-width: 600px) {

  /* Section jadi center */
  .jadwal-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .jadwal-content {
    width: 100%;
  }

  /* Grid jadi 1 kolom */
  .jadwal-grid {
    grid-template-columns: 1fr;
  }

  /* Banner tetap center */
  .jadwal-banner {
    margin-top: 40px;
    text-align: center;
  }

  .time-row {
    flex-direction: column;
    /* menurun */
    justify-content: center;
    align-items: center;
    /* center horizontal */
    gap: 4px;
    /* jarak antar jam */
  }
}

/*-----------------------------------*\
  #pengumuman
\*-----------------------------------*/
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.pengumuman-swiper-button-prev,
.pengumuman-swiper-button-next {
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pengumuman-swiper-button-prev ion-icon,
.pengumuman-swiper-button-next ion-icon {
  font-size: 20px;
  color: var(--ultramarine);
}

.pengumuman {
  background-color: var(--cultured-1);
}

.pengumuman :is(.section-title, .section-text) {
  text-align: center;
}

.pengumuman .section-text {
  margin-block: 10px 35px;
}

.pengumuman-list {
  display: grid;
  gap: 25px;
}

.pengumuman-card {
  border-radius: var(--radius-6);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pengumuman-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pengumuman-card .card-banner {
  background-color: var(--light-gray);
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.pengumuman-card .card-content {
  padding: 20px;
}

.pengumuman-card .card-title {
  transition: var(--transition-1);
}

.pengumuman-card .card-title:is(:hover, :focus) {
  color: var(--winter-sky);
}

.pengumuman-card .card-text {
  margin-block: 10px 20px;
  line-height: 1.8;
}

.pengumuman-card .btn-link {
  color: var(--ultramarine);
}

.pengumuman-action {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.semua-pengumuman {
  display: inline-flex;
  /* ganti dari inline-block */
  align-items: center;
  /* sejajarkan vertikal */
  gap: 8px;
  /* jarak teks & icon */
  padding: 12px 30px;
  background: var(--gradient-0);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
}


.semua-pengumuman ion-icon {
  font-size: 18px;
}

.semua-pengumuman:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-popup img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}


/*-----------------------------------*\
  #berita
\*-----------------------------------*/

.berita-swiper-button-prev,
.berita-swiper-button-next {
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.berita-swiper-button-prev ion-icon,
.berita-swiper-button-next ion-icon {
  font-size: 20px;
  color: var(--ultramarine);
}

.berita {
  background-color: var(--cultured-1);
}

.berita :is(.section-title, .section-text) {
  text-align: center;
}

.berita .section-text {
  margin-block: 10px 35px;
}

.berita-list {
  display: grid;
  gap: 25px;
}

.berita-card {
  border-radius: var(--radius-6);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.berita-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.berita-card .card-banner {
  background-color: var(--light-gray);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.berita-card .card-content {
  padding: 20px;
}

.berita-card .card-title {
  transition: var(--transition-1);
}

.berita-card .card-title:is(:hover, :focus) {
  color: var(--golden-navbar-color);
}

.berita-card .card-text {
  margin-block: 10px 20px;
  line-height: 1.8;
}

.berita-card .btn-link {
  color: var(--blue-main-color);
}

.berita-action {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.semua-berita {
  display: inline-flex;
  /* ganti dari inline-block */
  align-items: center;
  /* sejajarkan vertikal */
  gap: 8px;
  /* jarak teks & icon */
  padding: 12px 30px;
  background: var(--gradient-0);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
}


.semua-berita ion-icon {
  font-size: 18px;
}

.semua-berita:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}


/*-----------------------------------*\
  #Menu
\*-----------------------------------*/

.menu {
  background-color: var(--white-1);
  padding-block: 80px;
}

.menu :is(.section-title, .section-subtitle) {
  text-align: center;
}

.menu .section-subtitle {
  margin-bottom: 10px;
}

.menu .section-title {
  margin-bottom: 35px;
  max-width: 600px;
  margin-inline: auto;
}

/* ===== GRID 3 x 3 ===== */
.menu .grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-block: 40px 52px;
  list-style: none;
}

/* ===== CARD STYLE ===== */

.menu-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

/* Hover Modern Effect */
.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--blue-main-color);
  border-color: transparent;
}

/* Glow accent line kiri */
.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 4px;
  background: var(--gradient-0);
  opacity: 0;
  transition: 0.35s ease;
}

.menu-card:hover::before {
  opacity: 1;
}

/* Icon sedikit floating */
.menu-card .card-icon {
  background: rgba(0, 0, 0, 0.03);
  padding: 14px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.menu-card:hover .card-icon {
  transform: scale(1.08);
}

.menu-card .title-lg {
  margin-bottom: 4px;
}

.menu-card .title-sm {
  color: var(--gray);
}

/* clickable layer */
.menu-card .layer-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===== BUTTON ===== */
.menu .btn {
  margin-inline: auto;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .menu .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .menu .grid-list {
    grid-template-columns: 1fr;
  }
}


/*-----------------------------------*\
  #SUPPORT
\*-----------------------------------*/

.support {
  background-image: var(--gradient-05);
  color: var(--white-1);
}

.support .section-title {
  color: var(--white-1);
}

.support .section-text {
  margin-block: 10px 15px;
}

.support .btn {
  max-width: max-content;
  display: grid;
  place-items: center;
}

.support-img-btn img {
  width: 300px;
}

.support-img-btn img {
  height: auto;
  transform-origin: bottom center;
  /* titik putar di bawah */
  animation: confused 1.6s cubic-bezier(.4, 0, .2, 1) infinite alternate;
}

@keyframes confused {
  from {
    transform: rotate(-12deg);
    /* arah jam 11 */
  }

  to {
    transform: rotate(12deg);
    /* arah jam 1 */
  }
}

/*-----------------------------------*\
  #FEATURES
\*-----------------------------------*/

.features {
  background-color: var(--white-2);
}

.features .section-text {
  margin-block: 10px 15px;
}

.features-content {
  margin-block-end: 25px;
}

.features-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--white-1);
  padding: 15px;
  box-shadow: var(--shadow-3);
  border-radius: var(--radius-6);
}

.features-item:not(:last-child) {
  margin-block-end: 15px;
}

.features-item .item-title {
  color: var(--black);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
}

.features-banner {
  max-width: max-content;
  background-color: var(--light-gray);
  border-radius: var(--radius-12);
  overflow: hidden;
}

.features-banner.one {
  aspect-ratio: 1 / 0.83;
  margin-block-end: 25px;
}

.features-banner.two {
  margin-inline: auto;
  aspect-ratio: 1 / 0.71;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  text-align: center;
}

.about .section-text:first-of-type {
  margin-block: 5px 30px;
}

.about-list {
  display: grid;
  gap: 25px;
}

.about-card {
  color: var(--white-1);
  padding: 20px;
  border-radius: var(--radius-12);
}

.about-card-1 {
  background-image: var(--gradient-3);
}

.about-card-2 {
  background-image: var(--gradient-4);
}

.about-card-3 {
  background-image: var(--gradient-5);
}

.about-card-4 {
  background-image: var(--gradient-6);
}

.about-card .card-banner {
  min-width: 150px;
  height: 150px;
  aspect-ratio: 1 / 1;
  background-color: var(--white_50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  transition: var(--transition-2);
}

.about-card:is(:hover, :focus-within) .card-banner {
  background-color: var(--white-1);
}

.about-card .card-title {
  color: var(--white-1);
  margin-block: 20px 10px;
}

.about-card .card-text {
  line-height: 1.8;
  margin-block-end: 15px;
}

.about .btn-link {
  justify-content: center;
}

.about .section-text:last-of-type {
  max-width: 50ch;
  margin-inline: auto;
  margin-block-start: 25px;
}

.about .section-text:last-of-type .btn-link {
  color: var(--blue-violet);
  display: inline-flex;
}

.about .section-text:last-of-type .btn-link:is(:hover, :focus) {
  color: var(--winter-sky);
  letter-spacing: 0;
}

/*-----------------------------------*\
  #STATS
\*-----------------------------------*/

.stats {
  background-color: var(--cultured-2);
}

.stats-banner {
  max-width: max-content;
  margin-inline: auto;
  aspect-ratio: 1 / 0.78;
  margin-block-end: 25px;
}

.stats-list {
  display: grid;
  gap: 25px;
}

.stats-item {
  position: relative;
  padding-block: 5px;
  padding-inline-start: 15px;
}

.stats-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  border-radius: 5px;
}

.stats-item.purple::before {
  background-color: var(--ultramarine);
}

.stats-item.red::before {
  background-color: var(--winter-sky);
}

.stats-item.green::before {
  background-color: var(--spring-green);
}

.stats-item.yellow::before {
  background-color: var(--dark-orange);
}

.stats-item .item-title {
  color: var(--black);
  font-size: 3.5rem;
  font-weight: var(--fw-900);
  margin-block-end: 5px;
}

.stats-item .item-title .span {
  color: var(--granite-gray);
  font-weight: var(--fw-400);
  display: inline-block;
  font-size: var(--fs-4);
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  background-color: var(--cultured-1);
}

.footer-top .container {
  display: grid;
  gap: 25px;
}

.footer .logo {
  margin-block-end: 25px;
}

.footer-img {
  max-width: max-content;
}

.footer-list-title {
  color: var(--black);
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  margin-block-end: 20px;
}

.footer-list>li:not(:last-child) {
  margin-block-end: 15px;
}

.footer-link {
  position: relative;
  display: inline-flex;
  /* supaya icon dan teks sejajar */
  align-items: center;
  /* center vertical */
  gap: 6px;
  /* jarak icon dan teks */
  max-width: max-content;
  transition: var(--transition-1);
}

.footer-link ion-icon {
  font-size: 18px;
  /* ukuran icon */
}

.footer-link::after {
  content: "";
  position: absolute;
  top: 50%;
  /* lebih presisi di tengah */
  transform: translateY(-50%);
  left: calc(100% + 10px);
  background-color: var(--ultramarine);
  width: 20px;
  height: 2px;
  transition: var(--transition-1);
  opacity: 0;
}

.footer-link:is(:hover, :focus) {
  color: var(--ultramarine);
}

.footer-link:is(:hover, :focus)::after {
  opacity: 1;
}

.footer-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.footer-item .span {
  color: var(--black);
}

.footer-item-link {
  display: inline-block;
  color: var(--granite-gray);
  transition: var(--transition-1);
}

.footer-item-link:is(:hover, :focus) {
  color: var(--ultramarine);
}


.footer-bottom {
  background-image: var(--gradient-0), url("/assets/texture/rice-paper-3.png");
  background-blend-mode: overlay;
  background-size: cover, auto;
  background-repeat: no-repeat, repeat;
  border-top: 2px solid var(--red-line-color);
  /* garis atas */
  padding-block: 25px;
  text-align: center;
  line-height: 1.3;
}

.copyright {
  margin-block-end: 15px;
  text-align: center;
  font-size: 16px;
  line-height: 1.7;
  color: var(--white-1);
  font-weight: var(--fw-500);
}

.copyright p {
  margin: 0;
}

.copyright p:first-child {
  margin-block-end: 5px;
}

.copyright .span {
  display: inline-block;
  color: var(--gold-web-golden);
  font-weight: var(--fw-700);
}

.footer-bottom-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 20px;
}

.footer-bottom-link {
  transition: var(--transition-1);
}

.footer-bottom-link:is(:hover, :focus) {
  color: var(--ultramarine);
}

.footer-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-logo {
  height: 100px;
  width: auto;
}

/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  background-color: var(--white-1);
  color: var(--black);
  position: fixed;
  bottom: 10px;
  right: 20px;
  border: 1px solid var(--light-gray);
  font-size: 2.2rem;
  padding: 12px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-1);
  z-index: 4;
}

.back-top-btn.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-10px);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 480px screen
 */

@media (min-width: 480px) {
  /**
   * REUSED STYLE
   */

  .header .btn {
    display: block;
    margin-inline-start: auto;
    min-height: 40px;
    padding-inline: 15px;
  }
}

/**
 * responsive for large than 575px screen
 */

@media (min-width: 575px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    margin-inline: auto;
  }

  /**
   * HERO
   */

  .hero-form {
    position: relative;
  }

  .hero-form .btn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
  }

  /**
   * berita, ABOUT, STATS, FOOTER
   */

  .berita-list,
  .pengumuman-list,
  .about-list,
  .stats-list,
  .footer-top .container {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * ABOUT
   */

  .about-card {
    min-height: 100%;
  }

  /**
   * jadwalMisa
   */

  .jadwalMisa .btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-inline: 25px;
  }

  .jadwalMisa .btn img {
    margin-block-end: 0;
  }
}

/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {
  /**
   * RESET
   */

  body {
    font-size: 2rem;
  }

  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 3.5rem;
    --fs-3: 2.5rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 720px;
  }

  /**
   * HEADER
   */

  .header .btn {
    font-size: 1.7rem;
    font-weight: var(--fw-500);
    min-height: 45px;
    padding-inline: 25px;
  }

  /**
   * berita
   */

  .berita-card {
    --radius-6: 16px;
  }

  .berita-card .card-content {
    padding: 30px;
  }

  .pengumuman-card {
    --radius-6: 16px;
  }

  .pengumuman-card .card-content {
    padding: 30px;
  }


  /**
   * FEATURES
   */

  .features-item .item-title {
    --fs-5: 2rem;
  }

  .features-banner.two {
    margin-inline: auto 0;
    margin-block-start: -180px;
  }

  /**
   * STATS
   */

  .stats-list {
    padding-inline: 60px;
  }

  .stats-item {
    padding-inline-start: 20px;
  }

  .stats-item .item-title {
    font-size: 4rem;
  }

  /**
   * jadwalMisa
   */

  .jadwalMisa .btn {
    padding: 20px 30px;
  }

  .jadwalMisa-content .span {
    font-size: 1.5rem;
  }

  .jadwalMisa-content .strong {
    font-size: 2rem;
  }
}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-2: 4rem;
    --fs-3: 2.9rem;

    /**
     * spacing
     */

    --section-padding: 100px;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

  :is(.berita, .about, .jadwalMisa, .pengumuman) .section-text {
    max-width: 55ch;
    margin-inline: auto;
  }

  /**
   * HEADER
   */


  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    display: flex;
    gap: 5px;
  }

  .navbar-item:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    --fs-4: 2rem;
  }

  .header .btn {
    margin-inline-start: 0;
    min-height: 50px;
    padding-inline: 40px;
  }

  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
  }

  .hero-title {
    margin-block-start: 0;
  }

  /**
   * berita
   */

  .berita-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .pengumuman-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }


  /**
   * FEATURES
   */

  .features .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 25px;
  }

  .features-content {
    margin-block-end: 0;
  }

  .features-item {
    padding: 20px;
  }

  .features-item:not(:last-child) {
    margin-block-end: 20px;
  }

  .features-item .item-title {
    --fs-5: 2.4rem;
  }

  /**
   * ABOUT
   */

  .about-list {
    gap: 30px;
  }

  .about-card {
    padding: 40px;
  }

  /**
   * STATS
   */

  .stats .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  .stats-banner {
    margin-block-end: 0;
  }

  .stats-list {
    grid-template-columns: 1fr;
  }

  .stats-item:nth-child(even) {
    margin-inline-start: auto;
  }

  .stats-item .item-title {
    font-size: 4.5rem;
  }

  .stats-text {
    font-size: 2.2rem;
  }

  /**
   * jadwalMisa
   */

  .jadwalMisa :is(.section-title, .section-text) {
    text-align: center;
  }

  .jadwalMisa .btn-group {
    justify-content: center;
  }

  /**
   * SUPPORT
   */

  .support .container {
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    justify-items: self-end;
    align-items: center;
  }

  /**
   * FOOTER
   */

  .footer .container {
    grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
  }

  .footer-list-title {
    margin-block-end: 30px;
  }

  .footer-list>li:not(:last-child) {
    margin-block-end: 25px;
  }

  .footer-bottom {
    padding-block: 30px;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }
}

/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 6rem;
    --fs-2: 5rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1140px;
  }

  /**
   * FEATURES
   */

  .features .container {
    grid-template-columns: 1fr max-content;
    gap: 70px;
  }

  /**
   * ABOUT
   */

  .about-card {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
  }

  .about-card .card-title {
    margin-block-start: 0;
  }

  .about .btn-link {
    justify-content: flex-start;
  }

  /**
   * jadwalMisa
   */

  .jadwalMisa .container {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    align-items: center;
    gap: 25px;
  }

  .jadwalMisa-content {
    margin-block-end: 0;
  }

  .jadwalMisa :is(.section-title, .section-text) {
    text-align: left;
  }

  .jadwalMisa .section-title {
    --fs-2: 4rem;
  }

  .jadwalMisa .btn-group {
    justify-content: flex-start;
  }
}