:root {
  --bg: #3d1516;
  --ink: #232523;
  --muted: #6d6f6d;
  --accent: #3d1516;
  --glass: rgba(255, 255, 255, 0.214);
  --line: #F3ECDC;
}

@font-face {
  font-family: 'Kunstler Script Local';
  src: url('/font/KunstlerScript/kunstlerscript.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url("/font/The Seasons Font/fonnts.com-theseasons-reg.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons No Demo';
  src: url("/font/The Seasons Font/The-Season.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'The Seasons';
  src: url("/font/The Seasons Font/fonnts.com-theseasons-it.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  color: #F3ECDC;
  font-family: 'poppins', sans-serif;
  font-weight: 300;
}
a { color: inherit; text-decoration: none; }

/* NAV */
/* Tambahin transisi */
.nav {
  position: absolute;
  width: 100%;
  text-transform: uppercase;
  top: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  width: 100%;
  transition: transform 0.3s ease-in-out; /* animasi hide/show */
}

/* class hidden */
.nav.hidden { transform: translateY(-100%); }
.nav a:hover { opacity: 1; transition: opacity 0.3s; }

.nav-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
}

.brand {
    width: 100%;
    text-align: center;
 }

 .brand img {
    height: 80px; /* Atur tinggi logo sesuai kebutuhan */
    width: auto;
 }

.links { display: none; }

.hamb {
  display: flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: none;
  border-radius: 10px;
  position: absolute;
  z-index: 99;
  text-transform: uppercase;
  color: #F3ECDC;
  cursor: pointer;
    right: 5%;
}
.hamb:hover { background: transparent; }

.hamb span {
  display: block; width: 18px; height: 1px;
  background: #F3ECDC; position: relative;
}
.hamb span::before, .hamb span::after {
  content: ""; position: absolute; left: 0;
  width: 18px; height: 1px; background: #F3ECDC;
  transition: all 0.3s ease;
}
.hamb span::before { top: -6px; }
.hamb span::after { top: 6px; }

.panel {
  display: none;
  width: 100%;
  background: #F3ECDC;
  backdrop-filter: blur(50px);
  color: #3d1516;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  height: 100vh;
  padding: 100px 24px 48px;
  z-index: 99;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border-radius: 0;
  border: none;
  gap: 8px;
}

.panel a {
  display: block;
  padding: 14px 10px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}
.panel a:hover {
    border: 1px solid rgba(243, 236, 220, 0.167);
    transition: border 0.3s ease;
}

.panel.open {
  display: flex;
  flex-direction: column;
  animation: dropIn 0.2s ease-out;
}

.hamb[aria-expanded="true"] {
  display: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 16px;
  font-size: 28px;
  background: none;
  border: none;
  color: #3d1516;
  cursor: pointer;
  z-index: 101;
}

.close-btn:hover {
  color: #3d1516;
  background-color: transparent;
}


@keyframes dropIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* HERO (index) */
header.hero-video {
  position: relative;
  top: 0; height: 92vh; min-height: 520px;
  overflow: hidden;
  text-transform: uppercase;
  display: block;
}

header.hero-video-mobile {
  display: none;
}

@media (max-width: 768px) {
  header.hero-video { display: none !important; }
  header.hero-video-mobile {
    display: block !important;
    position: relative;
    top: 0; height: 75vh; min-height: 320px;
    overflow: hidden;
    text-transform: uppercase;
  }
}

@media (min-width: 769px) {
  header.hero-video { display: block !important; }
  header.hero-video-mobile { display: none !important; }
}


header video {
  position: relative; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.03) saturate(1.05);
}

header .veil {
  position: absolute; inset: 0;
  background: #23252348;
  mix-blend-mode: multiply;
}
.names {
  font-family: Fraunces, serif; font-weight: 600;
  font-size: clamp(28px,6vw,48px); margin: 0;
}
.tag { color: var(--muted); font-size: 14px; margin-top: 4px; }
.date {
  letter-spacing: 3px; font-size: 12px;
  text-transform: uppercase; margin-top: 2px; color: #4b4f4b;
}

/* BODY */
h4, h5, h3, h2 {
    font-weight: 300;
    font-weight: 300;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

h1 {
    font-weight: 300;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

h1.welcome-names {
  font-family: 'Kunstler Script Local', cursive;
  text-transform: capitalize;
  font-size: clamp(48px, 12vw, 90px);
  line-height: 1;
  font-style: italic;
  padding-right: 30px;
}
h1.begin-at {
  font-family: "the-seasons", sans-serif;
    font-style: italic;
  text-transform: capitalize;
  /* font-size:  clamp(42px, 12vw, 72px); */
  font-size:  clamp(28px, 10vw, 48px);
  line-height: 1.5;
}

p {
    font-size: 14px;
    margin: 0 0 20px 0;
    color: #cbb8a0;
    text-transform: uppercase;
}

.btn {
  display: inline-block;
  color: #F3ECDC;
  font-weight: 300;
  font-size: 14px;
  padding: 12px 30px;
  border-bottom: 1px solid var(--line);
  margin: 0 20px;
  text-transform: uppercase;
}
.btn:hover {
  background: #F3ECDC;
  border: none;
  color: #3d1516;
  transition: background 0.3s ease;
}

/* Countdown Container */
.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* gap: 5px; */
  margin: 0 auto;
  margin: 0 0 60px 0;
  width: 100%;
  box-sizing: border-box;
  text-transform: uppercase;
}

.count-box {
    display: flex;
    flex-direction: column;
    align-items: center;
  padding: 10px 10px;
  text-align: center;
}

.count-box span {
  font-size: 26px;
  font-weight: 300;
  color: #F3ECDC;
}

.count-box label {
  font-size: 12px;
  font-weight: 300;
  color: #F3ECDC;
  margin-top: 0.5rem;
  display: block;
}

@media (min-width: 769px) {
  .count-box {
    padding-left: 20px;
    padding-right: 20px;
  }

  .count-box span {
    font-size: 48px;
  }
}


/* WISHES */

/* === WISHES SECTION === */
.wishes-section {
  text-align: center;
  margin: 80px 0 60px;
  padding: 0 10%;
}

.wishes-subtitle {
  margin-bottom: 40px;
}


/* Container yang di-scroll (disembunyiin scrollbarnya) */
/* WRAPPER SCROLLER */
.wishes-scroller {
  width: 100%;
  margin: 0 auto;
  padding: 8px 0 16px;

  overflow: hidden;          /* transform, bukan native scroll */
  cursor: grab;

  scrollbar-width: none;     /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge lama */
}

.wishes-scroller:active {
  cursor: grabbing;
}

.wishes-scroller::-webkit-scrollbar {
  display: none;             /* Chrome/Safari */
}

/* TRACK = A + A (clone) yang digeser dengan transform */
.wishes-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: stretch;
  will-change: transform;
  justify-content: center;
}

/* KARTU WISH */
.wish-card {
  flex: 0 0 auto;
  width: 260px;
  max-width: 260px;
  box-sizing: border-box;

  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.10);
  text-align: left;
}

.wish-text {
  font-size: 12px;
  line-height: 1.7;
  margin: 0 0 10px;

  white-space: normal;       /* teks boleh turun baris */
  word-break: break-word;
}

.wish-name {
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Pesan kosong */
.wishes-empty {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 18px;
}

/* Button di bawah wishes – biar center */
.wishes-cta {
  text-align: center;
  margin-top: 12px;
}

.wishes-cta .btn {
  padding: 10px 30px;
  border-bottom: 1px solid #F3ECDC;
  font-weight: 300;
  font-size: 14px;
  cursor: pointer;
  color: #F3ECDC;
  background-color: transparent;
  text-transform: uppercase;
}

.wishes-cta .btn:hover {
  background: #F3ECDC;
  color: #3d1516;
  transition: background 0.3s ease;
}

/* Mobile: 1 card hampir full width, tapi tetep inline di track */
@media (max-width: 640px) {
  .wishes-section {
    margin: 60px 0 40px;
  }

  .wish-card {
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
  }

  .wishes-track {
    gap: 10px;
  }
}




/* Gallery */

/* ====== GALLERY BASE ====== */
.gallery-scroll {
    width: 100%;
    white-space: nowrap;
}

.dual-gallery {
    width: 100%;
    margin: 40px auto 0;
}

.row-slider {
    display: flex;
    gap: 20px;
    /* animation: marquee 22s linear infinite; */
    margin-bottom: 20px;
    overflow-x: auto;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.row-slider:hover {
  animation-play-state: paused;
}
.row-slider::-webkit-scrollbar {
  display: none;
}
.row-slider.dragging {
  cursor: grabbing;
}

.row-slider.reverse {
    animation-direction: reverse;
}

.photo-card img {
    width: 320px;          /* desktop 320px */
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}


/* animasi infinite tanpa putus (konten 2x = 200%) */
/* @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
} */

/* ====== RESPONSIVE ====== */

/* Tablet landscape & ke bawah */
@media (max-width: 1024px) {
    .row-slider {
        gap: 16px;
        animation-duration: 26s;    /* sedikit diperlambat */
    }

    .photo-card img {
        width: 260px;
        border-radius: 18px;
    }
}

/* Tablet portrait / HP besar */
@media (max-width: 768px) {
    .dual-gallery {
        margin-top: 24px;
    }

    .row-slider {
        gap: 12px;
        animation-duration: 30s;
    }

    .photo-card img {
        width: 220px;       /* lebih kecil biar muat */
        border-radius: 16px;
    }
}

/* HP kecil (iPhone SE, dll) */
@media (max-width: 480px) {
    .dual-gallery {
        margin-top: 20px;
    }

    .row-slider {
        gap: 10px;
        animation-duration: 34s;
    }

    .photo-card img {
        width: 180px;       /* aman di layar kecil */
        border-radius: 14px;
    }
}

.button-cont {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.button-cont .btn:hover {
  color: #3d1516;
  background-color: #F3ECDC;
  transition: 300ms;
}


/* DETAILS & RSVP */

section.simple {
    padding: 0 20%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 100px;
}
section.home {
    padding: 0 10%;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 100px;
}

.item {
    margin-bottom: 40px;
    text-transform: uppercase;
}

.foreverkhoury {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
img.gracias {
    margin: -3% auto 40px auto;
    width: 60%;
    height: auto;
    box-sizing: border-box;
    mix-blend-mode: screen;
}
@media (max-width: 800px) {
    section.simple {
        padding: 200px 10% 60px 10%;
        margin: 20px auto 40px auto;
    }
}

form { max-width: 90%; min-width: 90%; margin: 0 auto; display: grid; gap: 14px; }
input, textarea {
  font: inherit; padding: 12px;
  border: none;
  border-bottom: 1px solid var(--line);
  text-transform: unset;
}

.name {
    display: flex;
    gap: 20px;
}

.row-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    text-align: left;
}

.attendance {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

label.radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 20px;
}

input.radio {
    width: 16px; height: 16px;
    border: 1px solid var(--line);
    border-radius: 50%;
    position: relative;
}

input {
    width: 100%;
    text-transform: unset;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 5px 5px;
}

textarea { min-height: 120px; resize: vertical; text-transform: unset; font-size: 12px; }

button {
  border: none;
  padding: 10px 20px;
  border-bottom: 1px solid #F3ECDC;
  font-weight: 300; cursor: pointer;
  color: #F3ECDC;
  background-color: transparent;
  font-size: 14px;
  text-transform: uppercase;
}
button:hover {
    background: #F3ECDC;
    color: #3d1516;
    transition: background 0.3s ease;
}

button.remove {
    width: 100%;
    background-color: #2b0f10;
    color: #F3ECDC;
    border: none;
    padding: 10px 20px;
  }
button.remove:hover {
    width: 100%;
    background-color: #5a2021;
    color: #F3ECDC;
    border: none;
  }



  iframe {
    width: 100%;
    height: 300px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 120px;
  }

footer {
position: relative;
  border-top: 0.5px solid var(--line);
  color: #F3ECDC; font-size: 12px;
  text-transform: none;
  text-align: center; padding: 28px 0; margin-top: 40px;
}


@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to   {opacity: 1; transform: scale(1);}
}



/* DAY AT A GLANCE */
.glance-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 0px;
}

.glance-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
  padding: 22px;
  justify-content: center;
  margin-bottom: -10%;
  /* border: 1px solid rgba(243,236,220,0.24);
  border-radius: 16px;
  background: rgba(0,0,0,0.12); */
}

.glance-card.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.glance-card.reverse .glance-photo {
  order: 2;
}

.glance-card.reverse .glance-copy {
  order: 1;
}

.glance-photo {
  width: 100%;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(243,236,220,0.14);
  border: 1px dashed rgba(243, 236, 220, 0.116);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbb8a0;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.glance-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glance-copy {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.glance-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #F3ECDC;
}

.glance-title .accent {
  color: #5a2021;
  font-weight: 600;
}

.glance-title .time {
  color: #F3ECDC;
  font-weight: 600;
  font-size: 24px;
  padding: 0 30px;
  /* border-left:1px solid;
  border-right: 1px solid;
  border-color: #F3ECDC; */
}

.glance-headline {
   font-family: "the-seasons", sans-serif;
  font-size: 20px;
  margin: 6px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

.glance-caption {
  color: #cbb8a0;
  margin: 0;
  text-transform: none;
  font-family: 'the-seasons', sans-serif;
  font-style: italic;
}

.glance-photo.placeholder {
  background: linear-gradient(135deg, rgba(243,236,220,0.16), rgba(243,236,220,0.06));
}

@media (max-width: 800px) {
  .links { display: none; }
  .hamb {
    display: flex;
    cursor: pointer;
    flex-direction: column;
    background-color: transparent;
    border: none;
    color: #F3ECDC;
  }

  .panel {
    width: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    padding-top: 120px;
    border-radius: 0;
    align-items: center;
    text-align: center;
  }

  .brand img {
      height: 60px;
      width: auto;
   }

   .nav {
      padding: 20px 0;
   }

  .nav-inner {
      padding: 20px 16px;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }

  .glance-card,
  .glance-card.reverse {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .glance-photo {
    min-height: 240px;
  }

  .glance-card.reverse .glance-photo,
  .glance-card.reverse .glance-copy {
    order: 0;
  }

}

/* ADD TO CALENDAR BUTTON */

a.cal-link {
    font-size: 14px;
    text-transform: uppercase;
}

a.cal-link:hover {
    opacity: 30%;
    transition: 300ms;
}
