* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  color: #f5f5f5;
}

.active-lang {
  background: #000;
  color: #fff;
}

@font-face {
  font-family: 'ginger';
  /* Nama font yang akan Anda gunakan di CSS */
  src: url('assets/fonts/Ginger.otf') format('otf'),
    /* Path ke file font .woff2 */
    url('assets/fonts/Ginger.woff') format('woff'),
    /* Path ke file font .woff */
    url('assets/fonts/Ginger.ttf') format('truetype');
  /* Path ke file font .ttf */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'PerfectoCalligraphy';
  src: url('assets/fonts/PerfectoCalligraphy.ttf') format('truetype');
}

/* COVER */
#cover {
  width: 100%;
  /* Lebar 100% agar responsif */
  max-width: 600px;
  /* Lebar maksimum 600px */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  bottom: 0;
  position: absolute;
  left: 50%;
  /* Posisikan di tengah horizontal */
  transform: translateX(-50%);
  /* Koreksi posisi agar benar-benar di tengah */
}

#cover.cover-animate {
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(.77, 0, .18, 1);
}

#cover.cover-fade {
  opacity: 0;
  pointer-events: none;
}

#cover .cover-content h1 {
  font-size: 3rem;
}

#cover button {
  background: #BB8F76;
  color: #f5f5f5;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s;
}

.PerfectoCalligraphy{
  font-family: 'PerfectoCalligraphy';
  color:#E7CCBD;
}

#cover button:hover {
  background: #444;
  color: #fff;
}

.hidden {
  display: none;
}

.fade-in-animate {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.77, 0, .18, 1);
}

.fade-in-show {
  opacity: 1;
}

/* HEADER */
#hero {
  text-align: center;
}

#hero h1 {
  font-size: 3.5rem;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

.brown {
  color: #7A7979;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.pages {
  max-width: 600px;
  width: 100%;
  margin: auto;
}

.card {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

/* MAP */
.map-container iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 8px;
  margin-top: 1rem;
}

/* GALLERY */

.gallery-wrapper {
  background: #181818;
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  filter: grayscale(100%);
}

.gallery-grid img:hover {
  transform: scale(1.07);
  box-shadow: 0 4px 16px rgba(201, 169, 59, 0.25);
  filter: grayscale(0%);
}

/* LIGHTBOX */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2000;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-bottom: 1rem;
}

#lightbox .close,
#lightbox .prev,
#lightbox .next {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
}

#lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
}

#lightbox .prev {
  position: absolute;
  left: 30px;
  top: 50%;
}

#lightbox .next {
  position: absolute;
  right: 30px;
  top: 50%;
}

/* BUTTON */
.btn {
  display: inline-block;
  background: #222;
  color: #f5f5f5;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #444;
  color: #fff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1rem;
  background: #1a1a1a;
}

/* ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* FONT FAMILY SECTION */
.alex-brush {
  font-family: 'Alex Brush';
  color: #E7CCBD;
}

.shadow-black{
  text-shadow: 0 0 black;
}

.ginger {
  font-family: 'Ginger';
  font-style: normal;
  /* Menambahkan font-style: normal */
}

.shadow-welcome{
  font-weight: bold;                /* warna teks */
  text-shadow:
    2px 2px 5px rgba(0,0,0,1),
    3px 3px 8px rgba(0,0,0,0.9),
    4px 4px 12px rgba(0,0,0,0.8);
}

.gilda-display {
  font-family: 'Gilda Display', serif;
}

/* FONT FAMILY SECTION */


/* COUPLE SECTION */
.couple-section {
  background: #181818;
  padding: 2rem 1rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10);
}

.first-view {
  position: absolute;
  bottom: 0;
  margin-bottom: 50px;
}

.bg-img-1stview {
  background-size: cover !important;
  background-position: center !important;
  background: url('./assets/img/1stview.svg');
}

/* COUNTDOWN TIMER */
#countdown-section {
  border-radius: 12px;
  margin-bottom: 2.5rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.align-center {
  align-items: center;
}

.countdown-wrapper {
  font-size: 1.5rem;
  color: #bbb;
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: inherit;
}

.countdown-wrapper span {
  font-size: 2.2rem;
  font-weight: bold;
  color: #111;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0.3em 0.7em;
  margin: 0 0.2em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.couple-wrapper {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.person {
  text-align: center;
  flex: 1 1 200px;
}

.profile-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #f5f5f5;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
  filter: grayscale(100%);
}

.person h3 {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  color: #f5f5f5;
}

.section-first {
  width: 100%;
  padding: 30px 30px;
  min-height: 1000px;
  z-index: 2;
  position: relative;
}

.mt--2{
  margin-top: -2px;
}

.section-page {
  position: relative;
}

.cream-color {
  color: #BB8F76;
}

.bg-cream-color {
  background-color: #BB8F76;
}

.section-name {
  width: 100%;
  padding: 60px 30px;
  min-height: 800px;
  z-index: 2;
  position: relative;
}

.section-name h4 {
  font-family: "Edensor";
  font-size: 30pt;
  color: #fff;
}

.ornamen-1stview-left
{
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
}

.ornamen-1stview-right
{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
}

.ornament1sthome-bottom-left{
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 75%;
}

.ornament1sthome-bottom-right{
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 75%;
}

.ornament-top-left{
  position: absolute;
  top: 0;
  left: 0;
  opacity: 75%;
  z-index: -1;
}

.ornament-top-right{
  position: absolute;
  top: 0;
  right: 0;
  opacity: 75%;
  z-index: -1;
}

.ornament-bottom-left{
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 75%;
  z-index: -1;
}

.ornament-bottom-right{
  position: absolute;
  bottom: 0;
  right: 0;
  opacity: 75%;
  z-index: -1;
}

.bg-img-hero {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
}

.bg-img {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background: url("./assets/img/homepage.jpg");
}

@media(max-width:800px) {
  .section-first {
    width: 100%;
    min-height: 800px;
    z-index: 2;
    position: relative;
  }
}

/* RESPONSIVE */
@media(max-width:600px) {
  #hero h1 {
    font-size: 2.2rem;
  }

  #cover .cover-content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 420px) {
  .countdown-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
  }
}

@media (min-width: 401px) and (max-width: 680px) {
  .countdown-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    justify-items: center;
  }
}