
:root {
    --gold: #c5a059; 
    --light-gold: #e2c275;
    --dark: #121212; 
    --white: #f5f5f5;
    --glass-bg: rgba(255, 255, 255, 0.05); 
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-text: rgba(197, 160, 89, 0.9);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark); /* Background gelap total */
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.hero-section {
    position: relative;
    height: 100vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('asset/download (1).jpg') no-repeat center center; /* Ganti foto Anda */
    background-size: cover;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)); /* Efek gelap */
    z-index: 1;
}

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

.mempelai-names {
    font-size: 3.5rem;
    color: var(--light-gold);
    letter-spacing: 2px;
    margin: 10px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    letter-spacing: 5px;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
}

.line-gold {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 25px auto;
}

.guest-box-luxury {
    background: var(--glass-bg);
    backdrop-filter: blur(10px); /* Efek Kaca */
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.guest-box-luxury p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

.guest-name {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.btn-gold {
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    color: #1a1a1a;
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

/* =========================================
   C. MAIN CONTENT & CARD SECTIONS (FULL SCREEN)
========================================== */
.main-container {
    max-width: 1000px;
    margin: 0 auto;
}

.card-section {
    min-height: 100vh; /* Setiap card memenuhi satu layar penuh */
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Konten di tengah secara vertikal */
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

/* Efek Kaca Transparan untuk Card */
.card-section.glass {
    background: linear-gradient(rgba(18,18,18,0.9), rgba(18,18,18,1));
}

.section-title {
    font-size: 2.5rem;
    color: var(--light-gold);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.line-gold-small {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin-top: 40px;
}

/* =========================================
   D. KOMPONEN INDIVIDUAL LUXURY
========================================== */

/* Quote Box */
.quote-box-luxury {
    max-width: 600px;
    margin: 30px auto;
    position: relative;
    color: #aaa;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.quote-icon {
    color: var(--gold);
    opacity: 0.3;
    margin-bottom: 15px;
}

.quote-author {
    color: var(--gold);
    font-weight: bold;
    margin-top: 15px;
    display: block;
    font-style: normal;
}

/* Couple Info */
.couple-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    width: 100%;
    max-width: 800px;
}

.person-card {
    flex: 1;
    text-align: center;
}

.profile-frame {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    padding: 5px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.profile-placeholder {
    color: #444;
}

.person-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 5px;
}

.parent-info {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 300;
}

.ampersand-luxury {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--gold);
    font-style: italic;
}

/* Event Grid Luxury */
.event-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
}

.event-card-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    transition: 0.3s;
}

.event-card-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.icon-wrap {
    color: var(--gold);
    margin-bottom: 20px;
}

.event-card-item h4 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 15px;
}

.event-date {
    font-weight: 600;
    color: #eee;
}

.event-time {
    color: #ccc;
    font-weight: 300;
}

.info-tag-gold {
    background: var(--gold);
    color: #1a1a1a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: -10px;
    right: 20px;
}

/* Countdown */
.countdown-container {
    margin-top: 50px;
}

.label-gold {
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.luxury-countdown {
    display: flex;
    gap: 15px;
}

.time-unit {
    background: linear-gradient(135deg, rgba(197,160,89,0.1), rgba(197,160,89,0.05));
    border: 1px solid var(--gold);
    color: var(--light-gold);
    padding: 15px;
    border-radius: 12px;
    min-width: 80px;
    text-align: center;
}

.time-unit span {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.time-unit p {
    font-size: 0.8rem;
    color: #ccc;
    margin: 0;
}

/* Lokasi Box */
.location-luxury-box, .dresscode-luxury-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    max-width: 600px;
    margin-bottom: 40px;
}

.icon-gold-flat {
    color: var(--gold);
    margin-bottom: 20px;
}

.label-gold-label {
    color: var(--gold);
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.map-wrapper-luxury {
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.map-iframe-glass {
    width: 100%;
    height: 350px;
    filter: invert(90%) hue-rotate(180deg); 
}

.btn-map-gold-luxury {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-map-gold-luxury:hover {
    background: var(--gold);
    color: #1a1a1a;
}

.tag-luxury {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin: 10px 5px;
}

.hint-text {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 15px;
}

/* Penutup */
.closing-luxury h1.mempelai-names-small {
    font-size: 2.5rem;
    color: var(--light-gold);
    margin-top: 20px;
}

.copyright {
    text-align: center;
    color: #555;
    font-size: 0.7rem;
    margin-top: 50px;
}

.rsvp-section { 
    padding: 40px 20px; 
    text-align: center; 
    font-family: 'Serif', sans-serif; 
}
.rsvp-form { 
    max-width: 400px; 
    margin: 0 auto; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
.form-group input, .form-group select {
    width: 100%; 
    padding: 12px; 
    border: 1px solid #d4af37; 
    border-radius: 8px;
    background: transparent; 
    outline: none; 
    transition: 0.3s;
}
.form-group input:focus { 
    box-shadow: 0 0 5px #d4af37; 
}
.btn-submit {
    background: #d4af37; 
    color: white; border: none; 
    padding: 12px;
    border-radius: 8px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s;
}

.btn-submit:hover { 
    background: #b8962e; 
    transform: translateY(-2px); 
}

/* =========================================
   E. RESPONSIVE MEDIA QUERIES
========================================== */
@media (max-width: 768px) {
    .mempelai-names { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .couple-container { flex-direction: column; gap: 20px; }
    .ampersand-luxury { font-size: 3rem; transform: rotate(90deg); margin: 10px 0; }
    .profile-frame { width: 120px; height: 120px; }
    .person-card h3 { font-size: 1.5rem; }
    .time-unit { min-width: 60px; padding: 10px; }
    .time-unit span { font-size: 1.5rem; }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: 0.5s;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    filter: grayscale(30%);
}

.gallery-item:hover {
    border-color: var(--gold);
    transform: scale(1.02);
}

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

/* Membuat variasi grid agar tidak kaku */
@media (min-width: 768px) {
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 2;
    }
}