/* Define custom properties in :root */
:root {
  --section-1: url('/assets/wedding-couples/febry-rama/febri-rama13.jpeg');
  --cover-image: url('/assets/wedding-couples/febry-rama/febri-rama14.jpeg');
  --background-image: url('/assets/wedding-couples/febry-rama/febry-rama-invitaion-background.jpeg');
  --background-desktop: url('/assets/wedding-couples/febry-rama/share.jpeg');
  --primary-color: #282425;
  --secondary-color: #D4C6C0;
  --overlay-bg: rgba(0, 0, 0, 0.5);
  --white-overlay: rgba(255, 255, 255, 0.5);
  --primary-font: "Dancing Script", cursive;
  --secondary-font: "Roboot Slab", serif;
}

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

body {
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;

}

/* Animasi */
/* Efek awal (sembunyikan elemen) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease-out, transform 2s ease-out;
}

/* Efek saat elemen muncul di layar */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* ............COVER................ */
#cover {
  position: relative;
  background-image: var(--cover-image);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  width: 100%;
  max-width: 450px;
}

#cover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Warna overlay (hitam transparan) */
  z-index: 1; /* Agar overlay tetap di belakang teks */
}

.cover-content {
  position: relative;
  z-index: 2; /* Agar teks muncul di atas overlay */
}

.cover-content h1 {
  font-size: 2.6rem;
  color: #fff;
}

.cover-content p {
  color: white;
}

#guestName {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cover-content button {
  padding: 12px 20px;
  font-size: 0.8rem;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
  transition: transform 0.2s ease-in-out;
  animation: pulse 3s infinite; /* Terapkan animasi */
}

#invitation {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 450px;
}

#invitation.active {
  display: block;
}

#invitation::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 450px;
  left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  background: var(--background-image) center/cover no-repeat;
  z-index: -1;
}

.separator-cover {
  width: 2px;
  height: 60px; /* Sesuaikan tinggi separator */
  margin: 20px auto; /* Agar separator berada di tengah */
  background-color: white;
}

.permakluman {
    font-family: var(--secondary-font);
    font-size: 10px;
    font-style: italic;
    padding: 0 20px;
}

.kepada {
  font-size: 12px;
  margin-bottom: 4px;
}

.couple-cover-image {
  width: 180px;
  border-top-left-radius: 100px;   /* sudut kiri atas */
  border-top-right-radius: 100px;  /* sudut kanan atas */
  margin-bottom: 5px;
}

.couple-name {
  font-family: var(--primary-font);
}

.couple-wrap {
  margin-bottom: 50px;
}


/* NAVIGASI */
nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f3f3f3;
  z-index: 1000;
}

nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 10px; /* Jarak antar ikon */
  justify-content: center;
  margin: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 20px; /* Ukuran ikon */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color); /* Warna teks saat hover */
}

/* Tambahan untuk ikon play/pause */
#playPauseButton {
  cursor: pointer;
}
/* Style for other sections */
.section {
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid #ccc;
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: flex;
  flex-direction: column;
}

.section p {
  max-width: 600px;
}

.hidden {
  display: none;
}

/* Section 1 with background image and overlay */

.invitation-container {
  width: 100%;
  max-width: 450px;
}

#section1 {
  position: relative;
  background-image: var(--section-1); /* Use the custom property */
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: flex-end;
  text-align: center;
  z-index: 2;
}

#section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Warna overlay hitam dengan transparansi */
  z-index: -1;
}

#section1 > * {
  position: relative;
  z-index: 2;
}

#section1 h2 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

#section1 h1 {
  font-size: 3.5rem;
  font-weight: bold;
  font-family: var(--primary-font);
}

.section1-content {
  margin-bottom: 80px;
}


/* ...................................SECTION 2.............................. */
#section2 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: auto;
  color: white;
  padding: 40px 20px
}

.invitation-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 30px 20px;
  border-radius: 10px;
  border-top: 2px solid white; /* Border atas */
  border-bottom: 2px solid white; /* Border bawah */
  box-sizing: border-box;
}

#section2 h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: var(--primary-font);
}

#section2 p {
  font-size: 1rem;
  margin-bottom: 40px;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-box span:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--primary-color);
  padding: 10px;
  margin-bottom: 10px;
  width: 50px;
  height: 50px;
}

.time-box span:last-child {
  font-size: 1rem;
  color: white;
}

/* Section 3: The Bride and The Groom Profile */
#section3 {
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  color: white;
  background-color: var(--overlay-bg);
  max-width: 350px;
  width: 100%;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 10px;
  border-top: 2px solid white; /* Border atas */
  border-bottom: 2px solid white; /* Border bawah */
}
.lottie-container-profile {
  width: 50px; /* Ukuran animasi lebih kecil */
  height: auto;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#section3 h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
  font-family: var(--primary-font);
}

.profile-container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Penataan elemen secara vertikal */
  flex-wrap: wrap; /* Mengizinkan elemen untuk membungkus ke baris berikutnya */
  gap: 100px; /* Jarak antar profile */
}

.profile {
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center; /* Memusatkan teks */
  color: white;
  border-top: 2px solid white; /* Border atas */
  border-bottom: 2px solid white; /* Border bawah */
}

.profile-photo {
  width: 100%; /* Mengisi lebar kontainer */
  border-radius: 8px; /* Sudut membulat untuk foto */
}

.name {
  font-size: 1.7rem; /* Ukuran huruf untuk nama */
  margin: 10px 0; /* Jarak antara nama dan informasi orang tua */
}

.parents {
  display: flex;
  justify-content: space-between; /* Memisahkan nama bapak dan ibu */
  align-items: center;
  font-size: 1rem; /* Ukuran huruf untuk nama orang tua */
  margin: 10px 0; /* Jarak antara orang tua dan tombol */
  z-index: 2;
  box-sizing: border-box;
}

.father-name, .mother-name {
  width: 100%;
  max-width: 150px;
}

.separator-parents {
  width: 1px; /* Lebar separator */
  height: 30px; /* Tinggi separator yang lebih panjang */
  background-color: white; /* Warna separator */
  margin: 20px 0; /* Jarak horizontal di kedua sisi separator */
}

.instagram-button {
  display: inline-block;
  margin-top: 10px; /* Jarak antara nama orang tua dan tombol */
  padding: 10px 20px; /* Padding tombol */
  background-color: var(--primary-color); /* Warna latar belakang tombol Instagram */
  color: var(--secondary-color); /* Warna teks tombol */
  text-decoration: none; /* Menghilangkan garis bawah */
  border-radius: 5px; /* Sudut membulat */
  font-size: 1rem; /* Ukuran huruf tombol */
  transition: transform 0.2s ease-in-out;
  animation: pulse 3s infinite; /* Terapkan animasi */
}

.instagram-button:hover {
  background-color: #f3f3f3; /* Warna saat hover */
  color: var(--primary-color);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
}


/* Section 4: Akad dan Resepsi */
#section4 {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  text-align: center;
}

#section4 .lottie-container-ceremony,
#section4 .lottie-container-reception {
  width: 100px; /* Ukuran animasi lebih kecil */
  height: 100px;
  margin: 0 auto 10px; /* Jarak animasi ke judul */
}

.section-title h2 {
  font-family: var(--primary-font);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
}

.event-details {
  margin-bottom: 40px;
  width: 100%;
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center; /* Memusatkan teks */
  color: white;
  border-top: 2px solid white; /* Border atas */
  border-bottom: 2px solid white; /* Border bawah */
}

.event-details h2 {
  font-size: 2.5rem;
  font-weight: 400;
}

.day {
  font-size: 1.4rem; /* Ukuran huruf untuk hari */
  margin-top: 20px;
}

.month-date-time {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
}

.month-date {
  font-size: 1.5rem; /* Ukuran huruf untuk bulan dan tanggal */
  margin-right: 25px; /* Jarak antara bulan/tanggal dan separator */
}

.separator {
  width: 1px; /* Lebar separator */
  height: 80px; /* Tinggi separator yang lebih panjang */
  background-color: white; /* Warna separator */
  margin: 20px 0; /* Jarak horizontal di kedua sisi separator */
}

.time {
  font-size: 0.95rem; /* Ukuran huruf untuk jam */
  margin-left: 20px;
}

.month-date,.time {
  width: 100%;
  max-width: 150px;
}

.location {
  font-size: 1.2rem; /* Ukuran huruf untuk lokasi */
  color: white; /* Warna teks lokasi */
  margin-bottom: 15px;
}

.address {
  font-size: 0.9rem;
}

/* Tombol Akses Peta */
.map-button {
  display: inline-block;
  margin-top: 20px; /* Jarak antara lokasi dan tombol */
  padding: 10px 20px; /* Padding tombol */
  background-color: var(--primary-color); /* Warna latar belakang tombol */
  color: var(--secondary-color); /* Warna teks tombol */
  text-decoration: none; /* Menghilangkan garis bawah */
  border-radius: 5px; /* Sudut membulat */
  font-size: 1rem; /* Ukuran huruf tombol */
  transition: transform 0.2s ease-in-out;
  animation: pulse 3s infinite; /* Terapkan animasi */
}

.map-button:hover {
  color: var(--primary-color); /* Warna saat hover */
  background-color: #f3f3f3;
}

/* Section 5: Ayat Al-Qur'an and Translation */
#section5 {
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

#section5 .lottie-container-quran {
  width: 250px; /* Ukuran animasi lebih kecil */
  height: auto;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#section5 h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.quran-content {
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center; /* Memusatkan teks */
  color: white;
  border-top: 2px solid white; /* Border atas */
  border-bottom: 2px solid white; /* Border bawah */
}

.arabic-text {
  font-size: 1.8em;
  margin-bottom: 20px;
  font-family: "Lateef", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
}

.translation-text {
  font-size: 0.7rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.surah {
  background-color: var(--primary-color);
  border-radius: 10px;
  color: var(--secondary-color);
  padding: 6px;
}

/* Section 6: Gallery like Pinterest */
#gallery-section {
  text-align: center;
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#gallery-section .lottie-container-gallery {
  width: 140px; /* Ukuran animasi lebih kecil */
  height: 140px;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#gallery-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-gap: 15px;
  justify-items: center;
}

.gallery-item {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6),
.gallery-grid img:nth-child(11) {
  grid-column: span 2;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

#caption {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translate(-50%);
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 0;
}

.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    z-index: 1000;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    font-weight: bold;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Section 7: RSVP and Messages */
#section7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px;
  text-align: center;
}

#section7 .lottie-container-rsvp {
  width: 80px; /* Ukuran animasi lebih kecil */
  height: 80px;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#section7 h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: white;
}

#rsvpForm {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

#rsvpForm .form-group {
  margin-bottom: 20px;
}

#rsvpForm input, #rsvpForm textarea, #rsvpForm select {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: var(--overlay-bg);
  color: white;
}

/* Gaya placeholder pada input dan textarea */
input::placeholder,
textarea::placeholder {
    color: white; /* Warna teks */
}

label {
  font-weight: bold;
  color: white; /* Warna teks */
  display: block; /* Biar tidak sejajar dengan input */
  margin-bottom: 15px;
}

#rsvpForm button {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: transform 0.2s ease-in-out;
  animation: pulse 3s infinite; /* Terapkan animasi */
}

#rsvpForm button:hover {
  background-color: #f3f3f3;
  color: var(--primary-color);
}


/* Tampilan Pesan */
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.message-box{
    width: 100%;
    max-width: 350px;
    max-height: 400px;
    padding: 2px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.1);
    overflow-y: auto; /* Tambahkan scroll vertikal */
}

.message-item {
  width: 100%;
  max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--nav-color);
    border-radius: 5px;
    background-color: var(--overlay-bg);
    box-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

.message-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.message-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.attendance-status {
    font-size: 10px;
    font-style: italic;
    color: #b8b8b8;
    margin: 0;
}

.attendance-status {
    font-size: 10px;
    font-style: italic;
    color: #cdcccc;
    margin: 0;
}

.message-time {
    font-size: 10px;
    font-style: italic;
    color: #cdcccc;
    margin: 0;
}

.message-item h4 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 14px;
}

.message-content {
    font-size: 12px;
    text-align: left;
    margin: 10px 0;
    color: white;
}


.profile-icon {
    font-size: 20px;
    color: white;
}

/* Section 8: Gift */
#section8 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.section8-content {
  width: 100%;
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 20px;
  border-radius: 10px;
}

#section8 .lottie-container-gift {
  width: 120px; /* Ukuran animasi lebih kecil */
  height: 120px;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#section8 h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.gift-opening {
  color: white;
}

.bank-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 50px;
    margin-top: 30px; 
}

.bank-item {
    background-image: url('/assets/bank-card/card.jpeg');
    background-size: cover;
    background-position: center;
    box-shadow: 2px 2px 4px #d0d0d0, -2px -2px 4px #ffffff;
    border-radius: 20px;
    padding: 20px;
    min-width: 300px;
    min-height: 180px;
    box-sizing: border-box;
    position: relative;
}

.bank-logo1 {
    width: 120px;
    height: auto;
    position: absolute;
    top: 10px;
    right: 20px;
}

.bank-logo2 {
    width: 100px;
    height: auto;
    position: absolute;
    top: 20px;
    right: 20px;
}

.chip {
    width: 35px;
    position: absolute;
    top: 48px;
    left: 20px;
}

.account-name {
    color: black;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    position: absolute;
    top: 85px;
    left: 20px;
}

.bank-number {
    color: black;
    font-size: 12px;
    letter-spacing: 2px;
    position: absolute;
    top: 100px;
    left: 20px;
}

.copyButton {
    font-size: 12px;
    padding: 8px 18px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: absolute;
    bottom: 10px;
    right: 20px;
}

.copyButton:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Section 9: Thank You */
#section9 {
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.section9-content {
  width: 100%;
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 20px;
  border-radius: 10px;
}

#section9 .lottie-container-thankyou {
  width: 150px; /* Ukuran animasi lebih kecil */
  height: 150px;
  margin: 0 auto 20px; /* Jarak animasi ke judul */
}

#section9 h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#section9 p {
  font-size: 1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin: 0 auto; /* Center the paragraph */
}

/* Love Story Section */
#section-love-story {
  color: white;
  padding: 100px 20px;
  text-align: center;
}

#section-love-story .section-love-content {
  width: 100%;
  max-width: 350px;
  background-color: var(--overlay-bg);
  padding: 20px;
  border-radius: 10px;
  margin: 0 auto;
}

#section-love-story h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

#section-love-story ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#section-love-story li {
  font-size: 1rem;
  margin-bottom: 15px;
  color: white;
}

.timeline-content {
  margin: 10px 0;
}

.timeline-content h4 {
  font-size: 1.6em;
  font-family: var(--primary-font);
  margin-bottom: 2px;
}


/* Footer */
footer {
    background-color: white;
    padding-bottom: 70px;
    padding-top: 15px;
}
  
.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 20px;
}
  
.logo img {
    height: 70px;
}
  
.social-media-ncp {
    display: flex;
    gap: 20px;
    background-color: #F9F7F2;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #E8A6A6;
}
  
.social-icon {
    color: #2C3E50; /* Warna ikon */
    font-size: 24px; /* Ukuran ikon */
    margin: 0 10px;
    text-decoration: none; /* Menghilangkan garis bawah */
}
  
.social-icon:hover {
    color: #E8A6A6; /* Warna saat hover */
}


/* Media Query for Mobile (Max Width 768px) */
@media (max-width: 768px) {

  #section4 {
    flex-direction: column;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 kolom di perangkat mobile */
  }
  
  .gallery-item {
    width: 100%; /* Pastikan gambar tetap 100% dari kolom yang tersedia */
  }

  .corner-image {
    width: 220px;
  }
}
