/* Variables */
:root {
    --gold: #c9657b; /* Solid Rose */ /* Black */
    --gold-light: #e89caf; /* Soft Rose */ /* Grey */
    --navy-blue: #ffffff; /* White */
    --navy-blue-light: #f8f8f8; /* Off White */
    --text-light: #555555; /* Medium Grey */
    --text-dark: #333333;
    --font-serif: 'Helvetica Neue', Arial, sans-serif;
    --font-sans: 'Lato', sans-serif;
    --font-script: 'Great Vibes', cursive; font-weight: normal; letter-spacing: 1px; text-transform: none;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: var(--navy-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

body.locked {
    overflow: hidden;
    height: 100vh;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: normal;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

/* Typography Helpers */
.section-title {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--gold);
}
.bismillah {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
}
.icon-gold {
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    margin-top: 15px;
}
.btn i { margin-right: 8px; }

.btn-primary {
    background-color: var(--gold);
    color: var(--navy-blue);
}
.btn-primary:hover {
    background-color: #111;
    color: var(--navy-blue);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--navy-blue);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.9)), url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero-content {
    animation: fadeIn 2s ease-in;
}
.wedding-of {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}
.couple-name {
    font-family: var(--font-script);
    font-size: 4rem;
    line-height: 1.1;
    margin: 1rem 0;
    color: var(--gold);
}
.date {
    font-size: 1.2rem;
    letter-spacing: 5px;
    color: var(--gold);
    border-top: 1px solid rgba(212, 175, 55, 0.5);
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    display: inline-block;
    padding: 10px 0;
}

/* Invitation Msg */
.invitation-msg p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Couple Section */
.couple .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
.couple-card {
    text-align: center;
    max-width: 300px;
}
.img-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.couple-card h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.couple-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}
.ampersand {
    font-family: var(--font-script);
    font-size: 4rem;
    color: var(--gold);
}

@media (min-width: 768px) {
    .couple .container {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 4rem;
    }
    .ampersand { margin-top: 80px; }
}

/* Event Section */
.event {
    background-color: var(--navy-blue-light);
}
.intimate-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 0px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid var(--gold);
}
.event-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}
@media (min-width: 768px) {
    .event-cards {
        flex-direction: row;
        justify-content: center;
    }
}
.card {
    background-color: var(--navy-blue);
    padding: 2.5rem 2rem;
    border-radius: 0px;
    flex: 1;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}
.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.event-date {
    font-weight: bold;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.event-time, .event-loc {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.map-container iframe {
    border-radius: 0px;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-grid img {
    width: 100%;
    max-width: 600px;
    border-radius: 0px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

/* Gift Section */
.bank-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .bank-cards {
        flex-direction: row;
        justify-content: center;
    }
}
.bank-card {
    background: var(--navy-blue-light);
    padding: 2rem;
    border-radius: 0px;
    flex: 1;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.bank-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gold);
}
.account-number {
    font-size: 1.5rem;
    font-family: monospace;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}
.account-name {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* RSVP Section */
.rsvp {
    background-color: var(--navy-blue-light);
}
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--gold-light);
}
.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 0px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: var(--navy-blue);
    color: #111;
    font-family: var(--font-sans);
}
.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* Wishes Section */
.wishes-section {
    margin-top: 4rem;
    text-align: left !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    width: 100%;
}
.wishes-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: var(--font-serif);
}
.wishes-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
/* Scrollbar styling for wishes container */
.wishes-container::-webkit-scrollbar {
    width: 6px;
}
.wishes-container::-webkit-scrollbar-track {
    background: var(--navy-blue);
    border-radius: 0px;
}
.wishes-container::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.5);
    border-radius: 0px;
}
.wish-card {
    background-color: var(--navy-blue);
    padding: 1.2rem;
    border-radius: 0px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
}
.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.wish-name {
    font-weight: bold;
    color: var(--text-light);
    font-size: 1.1rem;
    word-break: break-word;
}
.wish-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 0px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.badge-hadir {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}
.badge-tidak-hadir {
    background-color: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}
.wish-message {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e2e8f0;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.wish-time {
    font-size: 0.75rem;
    color: #888;
    align-self: flex-start;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--navy-blue);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.footer-names {
    font-family: var(--font-script);
    font-size: 2.5rem;
    color: var(--gold);
    margin: 1.5rem 0;
}
.footer-credits {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cover Section */
.cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)), url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
.cover.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.cover-content {
    text-align: center;
    animation: fadeIn 2s ease-in;
}
.guest-info {
    margin: 30px 0;
    padding: 20px;
    border: 1px solid rgba(201, 101, 123, 0.5);
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 0px;
}
.guest-info h2 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-top: 10px;
}

/* Music Toggle Button */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--gold);
    color: var(--navy-blue);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}
.music-toggle:hover {
    transform: scale(1.1);
}
.fa-spin-paused {
    animation-play-state: paused;
}





