/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Luxury Color Palette */
    --color-primary: #6b2c3c;        /* Deep Burgundy */
    --color-secondary: #d4af37;      /* Rich Gold */
    --color-accent: #c9a880;         /* Champagne Gold */
    --color-dark: #1a1a1a;           /* Deep Black */
    --color-white: #ffffff;
    --color-cream: #faf7f2;          /* Warm Cream */
    --color-text: #4a4a4a;
    --color-text-light: #8a8a8a;
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-elegant: 'Cormorant', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Lebih cepat untuk performa lebih baik */
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
    overflow: hidden; /* Disable default scroll */
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.7;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f2d 50%, #1a1a1a 100%);
    background-attachment: fixed;
    overflow: hidden; /* Disable body scroll */
    height: 100vh;
    width: 100vw;
    position: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    max-width: 100%;
    padding: 0 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===================================
   PARTICLES BACKGROUND
   =================================== */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* ===================================
   NAVIGATION MENU
   =================================== */
.nav-menu {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 0; /* Dikurangi dari 12px */
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); /* Support iPhone notch - dikurangi */
    opacity: 1;
    transition: opacity 0.5s ease 0.3s;
    border-radius: 30px 30px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    max-width: 100%;
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Dikurangi dari 10px */
    max-width: 500px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Dikurangi dari 5px */
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 8px 12px; /* Dikurangi dari 10px 14px */
    transition: all 0.3s ease;
    position: relative;
    border-radius: 16px;
    min-width: 65px; /* Dikurangi dari 70px */
    flex: 1;
    max-width: 80px; /* Dikurangi dari 85px */
}

.nav-item * {
    pointer-events: none;
    /* Prevent click issues */
}

.nav-item {
    pointer-events: auto;
    /* But allow button clicks */
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; /* Dikurangi dari 42px */
    height: 38px; /* Dikurangi dari 42px */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.nav-icon-img {
    width: 20px; /* Dikurangi dari 22px */
    height: 20px; /* Dikurangi dari 22px */
    object-fit: contain;
    opacity: 1 !important;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.8));
    /* Convert black to white with shadow for visibility */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.nav-item:hover .nav-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.nav-item:hover .nav-icon-img {
    opacity: 1 !important;
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(0.9);
    /* White to gold on hover */
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), rgba(201, 168, 128, 0.4));
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.nav-item.active .nav-icon-img {
    opacity: 1 !important;
    transform: scale(1.15);
    filter: brightness(0) invert(1) sepia(100%) saturate(1000%) hue-rotate(0deg) brightness(0.9);
    /* White to gold when active */
}

.nav-item svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.58rem; /* Dikurangi dari 0.62rem */
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    font-family: var(--font-body);
}

.nav-item:hover .nav-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: translateY(-2px);
}

.nav-item:hover {
    color: var(--color-secondary);
}

.nav-item.active {
    color: var(--color-secondary);
}

.nav-item.active .nav-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(201, 168, 128, 0.3));
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.nav-item.active svg {
    transform: scale(1.1);
}

/* Navigation Arrows - Hidden by default, hanya muncul saat hover di edge */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-secondary);
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.nav-arrow.visible {
    opacity: 0.6;
    pointer-events: auto;
}

.nav-arrow.visible:hover {
    opacity: 1;
    background: rgba(212, 175, 55, 0.4);
    border-color: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow-left {
    left: 30px;
}

.nav-arrow-right {
    right: 30px;
}

/* ===================================
   HORIZONTAL SECTIONS LAYOUT
   =================================== */
.main-wrapper {
    opacity: 0;
    transition: opacity 1s ease 0.5s;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.main-wrapper.visible {
    opacity: 1;
}

.sections-container {
    display: flex;
    height: 100vh;
    width: 500vw; /* 5 sections */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Lebih cepat untuk scroll lebih smooth */
    will-change: transform;
    transform: translateZ(0); /* Hardware acceleration */
    -webkit-transform: translateZ(0);
}

.page-section {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-top: calc(80px + env(safe-area-inset-top, 0px)); /* Ruang dari atas - diperbesar lebih banyak */
    padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px)); /* Space untuk navigasi - diperbesar lebih banyak untuk jarak lebih jauh */
    box-sizing: border-box;
    /* Optimasi scroll performance */
    will-change: scroll-position;
    transform: translateZ(0); /* Force hardware acceleration */
    -webkit-transform: translateZ(0);
}

/* Custom Scrollbar for sections */
.page-section::-webkit-scrollbar {
    width: 8px;
}

.page-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.page-section::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.page-section::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* ===================================
   GLASSMORPHISM CARD
   =================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; /* Optimasi transition */
    will-change: transform; /* Optimasi performa */
}

.glass-card:hover {
    transform: translateY(-3px); /* Kurangi efek hover untuk performa lebih baik */
    box-shadow: 0 12px 48px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ===================================
   OPENING MODAL
   =================================== */
.opening-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.opening-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6b2c3c 0%, #1a1a1a 100%);
}

.modal-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: 60px 40px;
    max-width: 600px;
    animation: modalFadeIn 1s ease;
}

.modal-ornament {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    color: var(--color-secondary);
}

.ornament-svg {
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.modal-subtitle {
    font-size: 0.95rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.modal-bride,
.modal-groom {
    font-family: var(--font-elegant);
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.modal-ampersand {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin: 25px 0;
    animation: pulse 2s infinite;
}

.modal-date {
    font-size: 1rem;
    letter-spacing: 6px;
    margin: 30px 0 40px;
    opacity: 0.85;
}

.btn-open-invitation {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-dark);
    border: none;
    padding: 18px 50px;
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-open-invitation::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-open-invitation:hover::before {
    width: 300px;
    height: 300px;
}

.btn-open-invitation:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

/* ===================================
   MAIN WRAPPER
   =================================== */
/* Removed - now using horizontal layout */

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* Tambah padding-top lebih besar agar konten tidak kepotong */
    padding-bottom: 80px; /* Tambah padding-bottom juga */
    background: 
        linear-gradient(rgba(26, 26, 26, 0.7), rgba(107, 44, 60, 0.7)),
        url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1920') center/cover no-repeat;
    color: var(--color-white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 26, 26, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
}

.hero-inner {
    animation: heroFadeIn 1.5s ease;
}

.bismillah-text {
    font-size: 1.6rem;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInDown 1s ease 0.3s both;
}

.hero-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 20px auto;
    animation: expandWidth 1s ease 0.6s both;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 300;
    animation: fadeInDown 1s ease 0.5s both;
}

.hero-name {
    font-family: var(--font-elegant);
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-heart {
    margin: 30px 0;
    animation: heartFloat 3s ease-in-out infinite;
}

.hero-heart svg {
    width: 45px;
    height: 45px;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.hero-save-date {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 20px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.9s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-secondary);
    border-radius: 25px;
    position: relative;
    animation: mouseFloat 2s infinite;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-secondary);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

/* ===================================
   OPENING SECTION
   =================================== */
.opening-section {
    padding: 100px 0 80px 0; /* Tambah padding-top dan bottom lebih besar */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 40px); /* Kurangi sedikit tinggi */
}

.opening-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 35px;
    text-align: center;
    width: 100%;
}

.card-ornament {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    text-align: center;
}

.opening-title {
    font-family: var(--font-elegant);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.opening-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    text-align: center;
}

.quran-quote {
    background: rgba(212, 175, 55, 0.1);
    padding: 25px;
    border-radius: 12px;
    border-left: 3px solid var(--color-secondary);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    font-family: Georgia, serif;
    color: var(--color-secondary);
    opacity: 0.3;
    position: absolute;
    top: 15px;
    left: 20px;
}

.quote-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.quote-source {
    color: var(--color-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

/* ===================================
   COUPLE SECTION
   =================================== */
.couple-section {
    padding: 100px 0 80px 0; /* Tambah padding-top dan bottom lebih besar */
    position: relative;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 40px); /* Kurangi sedikit tinggi */
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.ornament-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
}

.ornament-icon {
    color: var(--color-secondary);
    font-size: 1.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.couple-box {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

.couple-box[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.couple-photo-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.photo-frame {
    position: relative;
    width: 240px;
    height: 310px;
    padding: 15px;
}

.photo-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.photo-frame:hover .photo-wrapper img {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 44, 60, 0.3) 100%);
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--color-secondary);
}

.frame-corner.tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.frame-corner.tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.frame-corner.br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.couple-details {
    padding: 0 20px;
}

.couple-name {
    font-family: var(--font-elegant);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.couple-divider {
    width: 50px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 auto 18px;
}

.couple-child-of {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.couple-parents {
    font-size: 1rem;
    color: var(--color-white);
    line-height: 1.7;
    margin-bottom: 20px;
}

.couple-description {
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.couple-description p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.couple-separator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.separator-ornament {
    position: relative;
    width: 90px;
    height: 90px;
}

.ornament-circles {
    width: 100%;
    height: 100%;
    color: var(--color-secondary);
    opacity: 0.6;
    animation: rotate 30s linear infinite;
}

.separator-ampersand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-elegant);
    font-size: 3rem;
    color: var(--color-secondary);
    animation: pulse 2s infinite;
}

/* ===================================
   EVENT SECTION
   =================================== */
.event-section {
    padding: 100px 0 80px 0; /* Tambah padding-top dan bottom lebih besar */
    display: flex;
    align-items: center;
    min-height: calc(100vh - 40px); /* Kurangi sedikit tinggi */
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.event-box {
    padding: 35px 25px;
    text-align: center;
}

.event-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    color: var(--color-secondary);
}

.event-icon svg {
    width: 40px;
    height: 40px;
}

.event-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.event-divider {
    width: 40px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 auto 20px;
}

.event-datetime {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.event-day {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.event-date {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.event-time {
    font-size: 0.95rem;
    color: var(--color-secondary);
}

.event-venue {
    margin-bottom: 25px;
}

.venue-name {
    font-family: var(--font-elegant);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.venue-address {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.btn-maps {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-dark);
    border: none;
    padding: 14px 35px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
}

.btn-maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* Countdown */
.countdown-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 30px;
    text-align: center;
}

.countdown-title {
    font-family: var(--font-elegant);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 35px;
}

.countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 20px 18px;
    min-width: 90px;
    transition: var(--transition-smooth);
}

.countdown-item:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
}

.countdown-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
    display: block;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.countdown-separator {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: 700;
}

/* ===================================
   CLOSING SECTION
   =================================== */
.closing-section {
    padding: 100px 0;
    padding-bottom: calc(220px + env(safe-area-inset-bottom, 0px)); /* Increased bottom padding + support iPhone notch */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 40px); /* Kurangi sedikit tinggi */
}

.closing-card {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 35px;
    text-align: center;
}

.closing-ornament {
    margin-bottom: 30px;
}

.ornament-flourish {
    width: 120px;
    height: 40px;
    color: var(--color-secondary);
}

.closing-message {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.closing-signature {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.signature-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 20px;
}

.signature-divider {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.signature-family {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.signature-family strong {
    font-family: var(--font-elegant);
    font-size: 1.5rem;
    color: var(--color-white);
    display: block;
    margin-top: 12px;
}

/* ===================================
   CREATORS SECTION
   =================================== */
.creators-subsection {
    padding: 50px 0 70px 0;
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
}

.creators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.creator-card {
    padding: 40px;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 1 !important;
}

.creator-card:hover {
    transform: translateY(-10px);
}

.creator-card img {
    opacity: 1 !important;
    visibility: visible !important;
}

.creator-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    border-radius: 15px;
    overflow: visible;
    border: 4px solid var(--color-secondary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    display: block;
    position: relative;
}

.creator-card:hover .creator-photo {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    border-color: var(--color-white);
}

.creator-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.creator-info {
    padding: 0 10px;
}

.creator-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.creator-divider {
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
    margin: 0 auto 15px;
}

.creator-role {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.creator-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

/* ===================================
   FOOTER
   =================================== */
.footer-inline {
    padding: 30px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    margin-top: auto;
}

.footer-ornament-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 0 auto 20px;
}

.footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   ABOUT US BUTTON (Tentang Kita)
   =================================== */
.about-button {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
    color: var(--color-dark);
}

.about-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.about-button svg {
    width: 28px;
    height: 28px;
}

/* About Modal */
.about-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    pointer-events: none;
}

.about-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.about-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.about-modal-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(45, 31, 45, 0.98));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(50px);
    transition: transform 0.4s ease;
}

.about-modal.active .about-modal-content {
    transform: scale(1) translateY(0);
}

.about-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.about-modal-close:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: var(--color-secondary);
    transform: rotate(90deg);
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.about-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-secondary), transparent);
    margin: 0 auto;
}

.about-creators {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.about-creator-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.about-creator-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.about-creator-photo {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--color-secondary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.about-creator-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
    position: relative;
    z-index: 1;
}

.about-creator-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(212, 175, 55, 0.3);
}

.photo-placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    text-align: center;
    font-style: italic;
}

.about-creator-info {
    flex: 1;
}

.about-creator-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
}

.about-creator-role {
    font-family: var(--font-elegant);
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.about-creator-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.about-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-footer-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.about-footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Custom Scrollbar for Modal */
.about-modal-content::-webkit-scrollbar {
    width: 8px;
}

.about-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.about-modal-content::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.about-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* ===================================
   MUSIC PLAYER
   =================================== */
.music-player {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: var(--transition-smooth);
}

.music-player:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.bar {
    width: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.bar:nth-child(1) {
    height: 8px;
}

.bar:nth-child(2) {
    height: 15px;
}

.bar:nth-child(3) {
    height: 12px;
}

.bar:nth-child(4) {
    height: 18px;
}

.music-player.playing .bar {
    animation: musicBars 0.8s ease-in-out infinite;
}

.music-player.playing .bar:nth-child(1) {
    animation-delay: 0s;
}

.music-player.playing .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.music-player.playing .bar:nth-child(3) {
    animation-delay: 0.4s;
}

.music-player.playing .bar:nth-child(4) {
    animation-delay: 0.6s;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mouseFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

@keyframes musicBars {
    0%, 100% {
        height: 8px;
    }
    50% {
        height: 18px;
    }
}

/* AOS - Animate On Scroll */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Force show images in creator cards */
.creator-card[data-aos].aos-animate img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

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

/* Desktop Large */
@media (min-width: 1440px) {
    .nav-arrow {
        width: 60px;
        height: 60px;
    }
    
    .nav-arrow-left {
        left: 50px;
    }
    
    .nav-arrow-right {
        right: 50px;
    }
}

/* Tablet & Mobile Portrait */
@media (max-width: 1024px) {
    .nav-arrow {
        width: 45px;
        height: 45px;
    }
    
    .nav-arrow svg {
        width: 25px;
        height: 25px;
    }
    
    .nav-arrow-left {
        left: 20px;
    }
    
    .nav-arrow-right {
        right: 20px;
    }
    
    .nav-menu {
        padding: 12px 0;
    }
    
    .nav-item svg {
        width: 22px;
        height: 22px;
    }
    
    .nav-item span {
        font-size: 0.65rem;
    }
    
    .couple-grid {
        gap: 60px;
    }
    
    .event-grid {
        gap: 30px;
    }
    
    /* Ensure content doesn't get cut by navigation on tablet */
    .page-section {
        padding-top: calc(70px + env(safe-area-inset-top, 0px)); /* Ruang dari atas tablet */
        padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); /* Space untuk navigasi tablet - diperbesar */
    }
    
    .opening-section,
    .couple-section,
    .event-section {
        padding: 90px 0 70px 0; /* Tambah padding untuk tablet */
    }
    
    .closing-section {
        padding: 90px 0;
        padding-bottom: calc(240px + env(safe-area-inset-bottom, 0px)); /* Increased for tablet */
    }
    
    .hero-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    /* About Button */
    .about-button {
        width: 50px;
        height: 50px;
        top: 30px;
        right: 30px;
    }
    
    .about-button svg {
        width: 24px;
        height: 24px;
    }
    
    /* About Modal */
    .about-modal-content {
        padding: 40px 25px;
        width: 95%;
        max-height: 95vh;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-creator-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .about-creator-photo {
        width: 130px;
        height: 130px;
    }
    
    .about-creator-name {
        font-size: 1.6rem;
    }
    
    .about-modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    /* Navigation */
    /* Navigation - Mobile App Style */
    .nav-menu {
        border-radius: 25px 25px 0 0;
        padding: 7px 0; /* Dikurangi dari 10px */
        padding-bottom: calc(7px + env(safe-area-inset-bottom, 0px)); /* Support iPhone notch - dikurangi */
    }
    
    .nav-container {
        gap: 4px;
        padding: 0 10px;
    }
    
    .nav-item {
        padding: 8px 10px; /* Dikurangi dari 10px 12px */
        gap: 4px; /* Dikurangi dari 5px */
        min-width: 60px; /* Dikurangi dari 65px */
        max-width: 75px; /* Dikurangi dari 80px */
    }
    
    .nav-icon {
        width: 35px; /* Dikurangi dari 38px */
        height: 35px; /* Dikurangi dari 38px */
    }
    
    .nav-icon-img {
        width: 18px; /* Dikurangi dari 20px */
        height: 18px; /* Dikurangi dari 20px */
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-item svg {
        width: 22px;
        height: 22px;
    }
    
    .nav-item span {
        font-size: 0.62rem;
    }
    
    /* Arrow buttons smaller on mobile */
    .nav-arrow {
        width: 40px;
        height: 40px;
        opacity: 0.4;
    }
    
    .nav-arrow.visible:hover {
        opacity: 0.8;
    }
    
    .nav-arrow svg {
        width: 22px;
        height: 22px;
    }
    
    .nav-arrow-left {
        left: 15px;
    }
    
    .nav-arrow-right {
        right: 15px;
    }
    
    /* Opening section - ensure center alignment */
    .opening-section {
        padding: 60px 20px;
    }
    
    .opening-card {
        padding: 40px 25px;
    }
    
    .opening-title {
        font-size: 1.5rem;
    }
    
    .opening-text {
        font-size: 0.95rem;
    }
    
    /* Sections padding adjustment */
    .opening-section,
    .couple-section,
    .event-section {
        padding: 80px 0 60px 0; /* Tambah padding-top dan bottom lebih besar untuk mobile */
    }
    
    .closing-section {
        padding: 80px 0;
        padding-bottom: calc(260px + env(safe-area-inset-bottom, 0px)); /* Increased to account for navigation + support iPhone notch */
    }
    
    /* Ensure content doesn't get cut by navigation */
    .page-section {
        padding-top: calc(60px + env(safe-area-inset-top, 0px)); /* Ruang dari atas mobile - diperbesar lebih banyak */
        padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px)); /* Increased for mobile - diperbesar untuk jarak lebih jauh */
    }
    
    .creators-subsection {
        padding: 40px 0 60px 0;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-name {
        font-size: 2.8rem;
    }
    
    .bismillah-text {
        font-size: 1.3rem;
    }
    
    .hero-heart svg {
        width: 35px;
        height: 35px;
    }
    
    .modal-bride,
    .modal-groom {
        font-size: 2.2rem;
    }
    
    .couple-section,
    .event-section,
    .opening-section,
    .closing-section {
        min-height: 100vh;
    }
    
    .couple-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .couple-separator {
        order: -1;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .countdown-grid {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .countdown-item {
        min-width: 75px;
        padding: 18px 12px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .opening-card,
    .closing-card {
        padding: 40px 25px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .creators-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .creator-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    /* About Button */
    .about-button {
        width: 45px;
        height: 45px;
        top: 20px;
        right: 20px;
    }
    
    .about-button svg {
        width: 20px;
        height: 20px;
    }
    
    /* About Modal */
    .about-modal-content {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-creator-photo {
        width: 120px;
        height: 120px;
    }
    
    .about-creator-name {
        font-size: 1.4rem;
    }
    
    .about-creator-role {
        font-size: 1rem;
    }
    
    .about-creator-desc {
        font-size: 0.9rem;
    }
    
    /* Navigation */
    /* Navigation for small mobile - App-like */
    .nav-menu {
        border-radius: 20px 20px 0 0;
        padding: 6px 0; /* Dikurangi dari 8px */
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px)); /* Support iPhone notch - dikurangi */
    }
    
    .nav-container {
        gap: 2px;
        padding: 0 5px;
    }
    
    .nav-item {
        padding: 6px 6px; /* Dikurangi dari 8px 8px */
        gap: 3px; /* Dikurangi dari 4px */
        min-width: 55px; /* Dikurangi dari 58px */
        max-width: 65px; /* Dikurangi dari 70px */
    }
    
    .nav-icon {
        width: 32px; /* Dikurangi dari 36px */
        height: 32px; /* Dikurangi dari 36px */
    }
    
    .nav-icon-img {
        width: 16px; /* Dikurangi dari 18px */
        height: 16px; /* Dikurangi dari 18px */
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-item svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-item span {
        font-size: 0.58rem;
    }
    
    /* Arrow buttons very subtle on small screens */
    .nav-arrow {
        width: 35px;
        height: 35px;
        opacity: 0.3;
    }
    
    .nav-arrow svg {
        width: 20px;
        height: 20px;
    }
    
    .nav-arrow-left {
        left: 10px;
    }
    
    .nav-arrow-right {
        right: 10px;
    }
    
    /* Opening section text center */
    .opening-card {
        padding: 30px 20px;
    }
    
    .opening-title {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .opening-text {
        font-size: 0.9rem;
        text-align: center;
    }
    
    /* Sections */
    .opening-section,
    .couple-section,
    .event-section {
        padding: 70px 0 50px 0; /* Tambah padding-top dan bottom lebih besar untuk small mobile */
    }
    
    .closing-section {
        padding: 70px 0;
        padding-bottom: calc(250px + env(safe-area-inset-bottom, 0px)); /* Increased to account for navigation + support iPhone notch */
    }
    
    /* Ensure content doesn't get cut by navigation on small mobile */
    .page-section {
        padding-top: calc(55px + env(safe-area-inset-top, 0px)); /* Ruang dari atas small mobile - diperbesar lebih banyak */
        padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); /* Increased for small mobile - diperbesar untuk jarak lebih jauh */
    }
    
    .creators-subsection {
        padding: 30px 0 50px 0;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-name {
        font-size: 2.2rem;
    }
    
    .bismillah-text {
        font-size: 1.1rem;
    }
    
    .photo-frame {
        width: 200px;
        height: 260px;
        padding: 12px;
    }
    
    .couple-name {
        font-size: 1.5rem;
    }
    
    .event-box {
        padding: 30px 20px;
    }
    
    .event-icon {
        width: 60px;
        height: 60px;
    }
    
    .event-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .music-player {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
    }
    
    .btn-open-invitation {
        padding: 14px 30px;
        font-size: 0.85rem;
    }
    
    .opening-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 15px 10px;
    }
    
    .countdown-value {
        font-size: 1.8rem;
    }
    
    .creators-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .creator-card {
        padding: 30px 20px;
    }
    
    .creator-photo {
        width: 120px;
        height: 120px;
    }
    
    .creator-name {
        font-size: 1.6rem;
    }
    
    .creator-role {
        font-size: 1rem;
    }
    
    .creator-description {
        font-size: 0.9rem;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: 150vh;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    
    .opening-section,
    .couple-section,
    .event-section {
        min-height: 150vh;
        padding: 60px 0 50px 0; /* Padding untuk landscape */
    }
    
    .closing-section {
        padding: 60px 0;
        padding-bottom: calc(200px + env(safe-area-inset-bottom, 0px));
    }
    
    .nav-menu {
        padding: 8px 0;
    }
    
    .nav-item svg {
        width: 16px;
        height: 16px;
    }
    
    .nav-item span {
        font-size: 0.5rem;
    }
    
    /* Ensure content doesn't get cut in landscape */
    .page-section {
        padding-top: calc(50px + env(safe-area-inset-top, 0px));
        padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
    }
}
