/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d4a373;
    --secondary-color: #8b7355;
    --accent-color: #c9a589;
    --dark-color: #2c2c2c;
    --light-color: #f8f8f8;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    --font-heading: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.music-toggle:hover {
    transform: scale(1.1);
}

.music-toggle.paused {
    animation: none;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Opening Section */
.opening-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('25SM430_foto-cover-depan-1-e1759386034152.jpg') center/cover no-repeat;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.8s ease;
}

.opening-section.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.opening-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 163, 115, 0.8), rgba(139, 115, 85, 0.8));
}

.opening-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.opening-text .pre-title {
    font-family: var(--font-serif);
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.opening-text .couple-name {
    font-family: var(--font-heading);
    font-size: 80px;
    margin-bottom: 30px;
    font-weight: 400;
}

.opening-date {
    font-size: 18px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.open-invitation {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 18px 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.open-invitation:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Main Content */
.main-content {
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
}

.main-content.visible {
    opacity: 1;
    visibility: visible;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 1000;
    background: var(--white);
    padding: 15px 8px;
    border-radius: 50px;
    box-shadow: var(--shadow);
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.navbar a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.navbar a:hover {
    color: var(--primary-color);
    background: rgba(212, 163, 115, 0.1);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('25SM430_foto-cover-belakang-e1759386463168.jpg') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.6), rgba(212, 163, 115, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 120px;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-date .date-box {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 20px);
    }
}

/* Bismillah Section */
.bismillah-section {
    padding: 80px 0;
    background: var(--white);
}

.bismillah-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.bismillah-content .arabic {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.8;
}

.bismillah-content .translation {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--text-light);
    font-style: italic;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 400;
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 0 auto 30px;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Couple Section */
.couple-section {
    background: var(--light-color);
}

.couple-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.bride-card, .groom-card {
    text-align: center;
}

.couple-photo {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 30px;
}

.couple-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid var(--white);
    box-shadow: var(--shadow);
}

.photo-frame {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.couple-info {
    padding: 0 20px;
}

.couple-name-title {
    font-family: var(--font-heading);
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 400;
}

.couple-fullname {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.couple-parents {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.couple-parents p {
    margin: 5px 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    background: var(--secondary-color);
}

.couple-divider {
    position: relative;
}

.heart-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: var(--shadow);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

/* Quote Section */
.quote-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 80px 0;
}

.quote-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.quote-icon {
    font-size: 50px;
    opacity: 0.5;
    margin-bottom: 30px;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.quote-source {
    font-size: 18px;
    font-weight: 600;
}

/* Event Section */
.event-section {
    background: var(--white);
}

.countdown-container {
    text-align: center;
    margin-bottom: 60px;
}

.countdown-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.countdown-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.countdown-label {
    font-size: 16px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.event-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 25px;
}

.event-title {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.event-details {
    margin-bottom: 25px;
}

.event-detail-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.event-detail-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-location:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.save-date {
    text-align: center;
    margin-top: 50px;
}

.btn-calendar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-calendar:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--primary-color);
}

/* Gallery Section */
.gallery-section {
    background: var(--light-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 163, 115, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 40px;
    color: var(--white);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: var(--white);
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: var(--primary-color);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

/* Wishes Section */
.wishes-section {
    background: var(--white);
}

.wishes-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.wish-form-container {
    background: var(--light-color);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.wish-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.wishes-list {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
}

.wishes-list-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.wishes-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wish-item {
    background: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.wish-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.wish-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wish-info {
    flex: 1;
}

.wish-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.wish-attendance {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.wish-attendance.hadir {
    background: #d4edda;
    color: #155724;
}

.wish-attendance.tidak-hadir {
    background: #f8d7da;
    color: #721c24;
}

.wish-attendance.masih-ragu {
    background: #fff3cd;
    color: #856404;
}

.wish-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 10px;
}

.wish-date {
    font-size: 12px;
    color: #999;
}

/* Custom Scrollbar */
.wishes-list::-webkit-scrollbar {
    width: 8px;
}

.wishes-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.wishes-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Gift Section */
.gift-section {
    background: var(--light-color);
}

.gift-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.gift-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.bank-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    margin: 0 auto 20px;
}

.bank-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.account-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.account-name {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.btn-copy {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 50px;
    margin-bottom: 20px;
    font-weight: 400;
}

.footer-text {
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-couple-name {
    font-family: var(--font-heading);
    font-size: 40px;
    margin: 30px 0;
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    font-size: 20px;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

.footer-copyright i {
    color: #ff6b6b;
}

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        right: 20px;
    }
    
    .couple-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .couple-divider {
        transform: rotate(90deg);
    }
    
    .wishes-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        bottom: 20px;
        top: auto;
        right: 50%;
        transform: translateX(50%);
    }
    
    .navbar ul {
        flex-direction: row;
    }
    
    .hero-title {
        font-size: 70px;
    }
    
    .opening-text .couple-name {
        font-size: 50px;
    }
    
    .section-title {
        font-size: 45px;
    }
    
    .couple-photo {
        width: 250px;
        height: 250px;
    }
    
    .couple-name-title {
        font-size: 40px;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-number {
        width: 80px;
        height: 80px;
        font-size: 28px;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 50px;
    }
    
    .hero-date .date-box {
        font-size: 20px;
        padding: 15px 40px;
    }
    
    .section-title {
        font-size: 35px;
    }
    
    .couple-photo {
        width: 200px;
        height: 200px;
    }
    
    .countdown-number {
        width: 70px;
        height: 70px;
        font-size: 24px;
    }
    
    .event-card {
        padding: 30px 20px;
    }
    
    .wish-form-container {
        padding: 25px;
    }
    
    .gift-card {
        padding: 30px 20px;
    }
}
