/* FONTS */
@font-face {
    font-family: 'Griffo Classico';
    src: url('assets/font/Griffo Classico.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Accountant Signature';
    src: url('assets/font/aAccountantSignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-serif: 'Griffo Classico', serif;
    --font-sans: 'Griffo Classico', serif;
    --color-text: #F5F5F5;
    --color-bg: #111111;
    --color-overlay: rgba(0, 0, 0, 0.5);
    --color-overlay-dark: rgba(0, 0, 0, 0.7);
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    /* Prevent scroll until opened */
}

html,
body {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* Biar serasa di HP walau dibuka di laptop */
body {
    max-width: 480px;
    margin: 0 0 0 auto;
    position: relative;
    background-color: #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* TYPOGRAPHY UTILITIES */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-italic {
    font-style: italic;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.w-100 {
    width: 100%;
}

.title-group {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    /* space for monogram */
    width: 100%;
}

.subtitle {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 4px;
    position: relative;
    z-index: 1;
}

.title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    letter-spacing: 1px;
    margin: -15px 0 10px 0;
}

.date {
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 2px;
    margin-top: 5px;
}

.title-medium {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 5px 0;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: normal;
}

.monogram {
    font-family: var(--font-serif);
    font-size: 3.7rem;
    position: absolute;
    opacity: 0.15;
    z-index: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.letter-j {
    transform: translateY(-10px);
}

.monogram-small {
    font-family: var(--font-serif);
    font-size: 2.5rem;
}

/* BUTTONS */
.btn-primary {
    background: rgba(255, 255, 255, 0.6);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
    display: inline-block;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

.link-underline {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding-bottom: 2px;
}

/* FLOATING ACTION BUTTONS */
.fab-container,
.fab-bottom-right {
    position: fixed;
    z-index: 999;
}

.fab-container {
    top: 20px;
    right: 20px;
}

.fab-bottom-right {
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* MENU OVERLAY */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    z-index: 9998;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Background blur ketika klik di luar */
.menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active::before {
    opacity: 1;
}

.menu-content {
    position: relative;
    width: 100%;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 70px 30px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -3px 0 20px rgba(0, 0, 0, 0.3);
}

.menu-overlay.active .menu-content {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 18px;
    border-radius: 15px;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    transition: 0.3s;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.close-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.menu-link {
    color: #fff;
    text-decoration: none;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    transition: 0.2s;
    opacity: 0;
    transform: translateX(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-link:last-child {
    border-bottom: none;
}

.menu-overlay.active .menu-link {
    animation: menuLinkSlideRight 0.35s ease forwards;
}

.menu-overlay.active .menu-link:nth-child(1) { animation-delay: 0.05s; }
.menu-overlay.active .menu-link:nth-child(2) { animation-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(3) { animation-delay: 0.15s; }
.menu-overlay.active .menu-link:nth-child(4) { animation-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(5) { animation-delay: 0.25s; }
.menu-overlay.active .menu-link:nth-child(6) { animation-delay: 0.3s; }

@keyframes menuLinkSlideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu-link:hover {
    opacity: 0.6;
}

/* Responsive untuk mobile */
@media (max-width: 480px) {
    .menu-content {
        max-width: 70%;
    }
    
    .menu-link {
        font-size: 1rem;
    }
}

/* SECTIONS STRUCTURE */
.cover-section,
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Background placehodlers (Ganti URL dengan gambar lu sendiri) */
.cover-section {
    background-image: url('assets/preview.jpeg');
}

#intro {
    background-image: url('assets/halaman1-1.jpeg');
    z-index: 0;
}

#intro::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(18, 18, 18, 1) 100%);
}

#intro::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/halaman1-2.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: smoothFade 10s infinite;
}

@keyframes smoothFade {

    0%,
    40% {
        opacity: 0;
    }

    50%,
    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cover-section::before {
    background: rgba(0, 0, 0, 0.35);
}



#short-quote {
    background-image: url('assets/halaman2.jpeg');
}

#bride {
    background-image: url('assets/halaman3-pengantin-wanita.jpeg');
    justify-content: flex-end;
    padding-top: 20vh;
    padding-bottom: 15vh;
}

#groom {
    background-image: url('assets/halaman3-pengantin-pria.jpeg');
    justify-content: flex-end;
    padding-top: 20vh;
    padding-bottom: 15vh;
}

#story {
    background-image: url('assets/halaman4-peak-of-love-bg.jpeg');
}

#save-date {
    background-image: url('assets/halaman5-save-the-date.jpeg');
    padding-top: 40vh;
}

#save-date .content-wrapper {
    text-align: left;
}

#save-date .section-heading {
    margin-bottom: 20px;
}

#save-date .quote {
    margin-top: 20px;
}

#save-date .countdown-container {
    justify-content: flex-start;
}

#events {
    background-image: url('assets/halaman6-informasi-tempat-tanggal.jpeg');
    align-items: flex-start;
}

#attire {
    background-image: url('assets/halaman7-A GUIDE TO ATTIRE.jpeg');
}

#streaming {
    background-image: url('assets/halaman8-streaming-bg.jpeg');
    align-items: flex-start;
}

/* OUR MOMENT */
#our-moment {
    background-image: url('assets/halaman10-our-moment-bg.jpeg');
}

.video-caption {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.photo-gallery-container {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.photo-gallery {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 10px 0;
}

.photo-gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.photo-gallery img {
    flex: 0 0 auto;
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    scroll-snap-align: center;
    filter: grayscale(20%);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(5px);
    z-index: 10;
    transition: 0.3s;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.gallery-nav.prev {
    left: -5px;
}

.gallery-nav.next {
    right: -5px;
}

/* RSVP */
#rsvp {
    background-image: url('assets/halaman11-rsvp.jpeg');
    background-attachment: fixed;
}

.rsvp-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.step.active {
    background: rgba(255, 255, 255, 0.8);
}

.step-number {
    color: #000;
    font-weight: bold;
}

.step.active .step-number {
    color: #000;
}

.step-line {
    width: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.rsvp-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.attendance-options {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.attendance-btn {
    flex: 1;
    max-width: 200px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-serif);
    font-size: 1rem;
}

.attendance-btn:hover,
.attendance-btn.selected {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.attendance-btn i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.form-textarea {
    resize: vertical;
}

.ml-2 {
    margin-left: 10px;
}

.rsvp-success {
    text-align: center;
    padding: 40px 20px;
}

.rsvp-success i {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 20px;
}

.rsvp-success h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* WISHES */
#wishes {
    background-image: url('assets/halaman11-rsvp.jpeg');
    background-attachment: fixed;
}

.wishes-list {
    max-width: 600px;
    margin: 0 auto;
    max-height: 60vh;
    overflow-y: auto;
    padding: 10px;
}

.wishes-list::-webkit-scrollbar {
    width: 6px;
}

.wishes-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.wish-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wish-name {
    font-weight: bold;
    font-size: 0.95rem;
}

.wish-name i {
    font-size: 0.8rem;
    margin-left: 5px;
    color: #4CAF50;
}

.wish-time {
    font-size: 0.75rem;
    opacity: 0.7;
}

.wish-message {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* WEDDING GIFT */
#wedding-gift {
    background-image: url('assets/halaman13-wedding-gift-bg.jpeg');
}

.gift-image-frame {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.gift-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.gift-text {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 10px;
}

.gift-section-title {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.bank-item {
    background: none;
    backdrop-filter: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.bank-info {
    flex: 1;
}

.bank-info h4 {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    margin-bottom: 3px;
    letter-spacing: 1px;
    font-weight: bold;
}

.account-number {
    font-size: 0.75rem;
    font-weight: normal;
    margin: 2px 0;
    letter-spacing: 0.5px;
}

.account-name {
    font-size: 0.7rem;
    opacity: 0.8;
    margin: 2px 0;
}

.address {
    font-size: 0.7rem;
    line-height: 1.3;
    margin: 2px 0;
}

.btn-copy {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.btn-copy i {
    margin-right: 5px;
}

.btn-whatsapp {
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

/* CLOSING */
#closing {
    background-image: url('assets/halaman1-1.jpeg');
    z-index: 0;
    justify-content: space-between;
    padding-top: 12vh;
    padding-bottom: 5vh;
}

#closing::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.5) 60%, rgba(18, 18, 18, 1) 100%);
}

#closing::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/halaman1-2.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    animation: smoothFade 10s infinite;
}

.closing-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.closing-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.closing-signature {
    font-family: 'Accountant Signature', cursive;
    font-size: 2.5rem;
    margin-bottom: 0;
}

.closing-footer {
    margin-top: auto;
    padding-top: 180px;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-socials i {
    background: none !important;
    border-radius: 0 !important;
}

.social-link {
    background: none !important;
    border: none !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.3s;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    padding: 0;
    box-shadow: none !important;
}

.social-link i {
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
}

.social-link::before,
.social-link::after {
    display: none !important;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    opacity: 0.8;
    background: none !important;
}

.social-link:hover i {
    background: none !important;
}

.social-link:active,
.social-link:focus {
    background: none !important;
    outline: none;
}

/* OVERLAYS */
.cover-section::before,
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-overlay-dark);
    z-index: 1;
}

#bride::before,
#groom::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
}

.cover-content,
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.cover-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

.guest-info {
    margin-top: 25vh;
    margin-bottom: 30px;
    text-align: center;
    font-family: var(--font-serif);
}

.guest-info h2 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin: 10px 0;
}

.small-text {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.8;
}

/* PROFILE STYLES */
.name-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 10px 0;
}

.parents {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.signature {
    font-family: 'Accountant Signature', cursive;
    font-size: 1.8rem;
}

.quote-intro {
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.85;
}

.verse-ref {
    font-size: 0.75rem;
    font-weight: 300;
    opacity: 0.85;
}

.intro-content {
    margin-top: 35vh;
}

.ig-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none !important;
}

.ig-link::before,
.ig-link::after {
    display: none !important;
}

.ig-link i {
    font-size: 1.2rem;
    background: none !important;
    width: auto;
    height: auto;
    border-radius: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* LOVE STORY */
.image-frame {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.image-frame img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
}

.story-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-top: 15px;
    text-align: justify;
    opacity: 0.9;
}

/* COUNTDOWN */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-box span {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    display: block;
}

.time-box p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* EVENTS */
.divider {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.event-details h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.event-details p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ATTIRE */
.color-palette {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.color-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: inline-block;
}

/* LIVE STREAMING */
.small-image-frame {
    width: 120px;
    height: 120px;
}

.small-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* TRANSITIONS */
#cover-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    transition: opacity 0.8s ease, filter 0.8s ease;
}

.hide-cover {
    opacity: 0;
    pointer-events: none;
    filter: blur(20px);
}

/* COVER PAGE ENTRANCE ANIMATION */
@keyframes coverReveal {
    0% {
        opacity: 0;
        transform: translateY(22px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Terapkan animasi ke setiap elemen cover secara berurutan */
#cover-page .title-group {
    animation: coverReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.3s;
}

#cover-page .title {
    animation: coverReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.65s;
}

#cover-page .date {
    animation: coverReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 0.9s;
}

#cover-page .guest-info {
    animation: coverReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 1.2s;
}

#cover-page .btn-primary {
    animation: coverReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 1.6s;
}

/* Monogram C & S di cover — muncul TERAKHIR, menyatu dari kiri & kanan */
@keyframes coverLetterFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-55px) translateY(-10px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(-10px);
        filter: blur(0);
    }
}

@keyframes coverLetterFromRight {
    0% {
        opacity: 0;
        transform: translateX(55px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Monogram container: tersembunyi lalu fade in ke opacity 0.15 (semi-transparan by design) */
@keyframes coverMonogramFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.15;
    }
}

#cover-page .monogram {
    opacity: 0;
    animation: coverMonogramFade 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 1.5s;
}

/* Huruf C — meluncur dari kiri */
#cover-page .letter-j {
    animation: coverLetterFromLeft 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 2s;
}

/* Huruf S — meluncur dari kanan */
#cover-page .letter-r {
    animation: coverLetterFromRight 1.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-delay: 2s;
}

/* LETTER SLIDE-IN ANIMATION untuk halaman #intro */
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-60px) translateY(-10px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) translateY(-10px);
        filter: blur(0);
    }
}

@keyframes slideFromRight {
    0% {
        opacity: 0;
        transform: translateX(60px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* Animasi monogram container di #intro: fade in ke opacity 0.15 */
@keyframes introMonogramFade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 0.15;
    }
}

/* Monogram di #intro mulai hidden, akan dianimasikan via JS */
#intro .monogram {
    opacity: 0;
}

#intro .monogram.animate {
    animation: introMonogramFade 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Huruf C di #intro — meluncur dari kiri */
#intro .letter-j {
    opacity: 0;
}

#intro .letter-j.animate {
    animation: slideFromLeft 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Huruf S di #intro — meluncur dari kanan */
#intro .letter-r {
    opacity: 0;
}

#intro .letter-r.animate {
    animation: slideFromRight 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Lazy load YouTube thumbnail & play button */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.video-play-btn:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

/* SCROLL REVEAL BLUR FADE-IN */
.reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Quote Ecclesiastes di halaman pertama — transisi lebih panjang & lembut */
#intro .quote-intro.reveal {
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#intro .verse-ref.reveal {
    transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* RESPONSIVE UNTUK MOBILE */
@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
        margin: -10px 0 5px 0;
    }

    .subtitle {
        font-size: 0.8rem;
    }

    .monogram {
        font-size: 2.8rem;
    }

    .letter-j {
        transform: translateY(-8px);
    }

    .title-group {
        min-height: 80px;
    }

    .guest-info {
        margin-top: 15vh;
    }

    .date {
        font-size: 0.85rem;
    }

    #cover-page {
        height: 100dvh;
        /* better for mobile Safari */
    }
}