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

:root {
    --primary-color: #d4a373;
    --secondary-color: #8b4513;
    --accent-color: #f7e7ce;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --pink: #FFB6C1;
    --blue: #87CEEB;
    --gold: #FFD700;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== FALLING STARS BACKGROUND ===== */
.falling-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.falling-stars .star {
    position: absolute;
    top: -10px;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px 2px rgba(255, 200, 150, 0.6),
                0 0 12px 4px rgba(255, 180, 130, 0.3);
    animation: fallingStar linear infinite;
}

.falling-stars .star:nth-child(1)  { left: 5%;   animation-duration: 6s;  animation-delay: 0s;   width: 2px; height: 2px; }
.falling-stars .star:nth-child(2)  { left: 12%;  animation-duration: 8s;  animation-delay: 1s;   width: 3px; height: 3px; }
.falling-stars .star:nth-child(3)  { left: 20%;  animation-duration: 7s;  animation-delay: 0.5s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(4)  { left: 30%;  animation-duration: 9s;  animation-delay: 2s;   width: 4px; height: 4px; }
.falling-stars .star:nth-child(5)  { left: 38%;  animation-duration: 6.5s;animation-delay: 1.5s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(6)  { left: 45%;  animation-duration: 7.5s;animation-delay: 0.8s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(7)  { left: 55%;  animation-duration: 8.5s;animation-delay: 3s;   width: 2px; height: 2px; }
.falling-stars .star:nth-child(8)  { left: 62%;  animation-duration: 6s;  animation-delay: 2.5s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(9)  { left: 70%;  animation-duration: 7s;  animation-delay: 1.2s; width: 4px; height: 4px; }
.falling-stars .star:nth-child(10) { left: 78%;  animation-duration: 9.5s;animation-delay: 0.3s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(11) { left: 85%;  animation-duration: 6.8s;animation-delay: 2.2s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(12) { left: 92%;  animation-duration: 8s;  animation-delay: 1.8s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(13) { left: 8%;   animation-duration: 10s; animation-delay: 3.5s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(14) { left: 25%;  animation-duration: 7.2s;animation-delay: 0.7s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(15) { left: 50%;  animation-duration: 8.8s;animation-delay: 2.8s; width: 4px; height: 4px; }
.falling-stars .star:nth-child(16) { left: 68%;  animation-duration: 6.3s;animation-delay: 1.3s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(17) { left: 95%;  animation-duration: 9s;  animation-delay: 0.2s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(18) { left: 35%;  animation-duration: 7.8s;animation-delay: 3.2s; width: 2px; height: 2px; }
.falling-stars .star:nth-child(19) { left: 82%;  animation-duration: 6.5s;animation-delay: 1.7s; width: 3px; height: 3px; }
.falling-stars .star:nth-child(20) { left: 15%;  animation-duration: 8.3s;animation-delay: 2.6s; width: 2px; height: 2px; }

@keyframes fallingStar {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(30px) rotate(360deg);
        opacity: 0;
    }
}

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

/* ===== MUSIC CONTROL ===== */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.music-control i {
    color: var(--white);
    font-size: 24px;
}

/* ===== NAVIGATION ===== */
/* Desktop Sidebar Navigation */
.navbar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 80px;
    background: rgba(255, 182, 193, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 20px 0;
    transition: width 0.3s ease;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.navbar:hover {
    width: 350px;
}

.navbar .logo {
    display: none;
}

.menu-toggle {
    display: none;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    display: block;
    margin: 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
    padding-left: 30px;
}

.nav-menu a i {
    font-size: 1.8rem;
    min-width: 40px;
    text-align: center;
}

.nav-menu a span {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover .nav-menu a span {
    opacity: 1;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.navbar::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1519741497674-611481863552?w=1200') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.invitation-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.invitation-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.event-info {
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    padding: 40px;
    border-radius: 15px;
    margin-top: 30px;
    animation: fadeInUp 1s ease 0.6s both;
}

.event-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 10px 0;
}

.event-time {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.event-location {
    font-size: 1.2rem;
    font-weight: 600;
}

.venue-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    position: relative;
    padding: 4px 8px;
    border-bottom: 2px dashed var(--primary-color);
    animation: venuePulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.venue-link i {
    font-size: 0.85rem;
    margin-left: 4px;
    animation: tapHint 1.5s ease-in-out infinite;
}

.venue-link:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    transform: scale(1.05);
}

@keyframes venuePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes tapHint {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

.event-address {
    color: var(--text-light);
    margin-top: 5px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down i {
    font-size: 2rem;
    color: var(--white);
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffeef8 0%, #fff4e6 100%);
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-align: center;
}

.countdown-subtitle {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--white);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.countdown-value {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    display: block;
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
    letter-spacing: 2px;
}

/* ===== COUPLE SECTION ===== */
.couple-section {
    padding: 80px 0;
    background: var(--white);
}

.couple-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap;
    flex-direction: row;
    padding: 0 20px;
}

.couple-box {
    text-align: center;
    animation: fadeIn 1s ease;
    flex: 0 0 auto;
    max-width: 300px;
}

.couple-image {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.couple-image:hover {
    transform: scale(1.05);
}

.couple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.couple-name {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.couple-title {
    font-size: 1.1rem;
    color: var(--text-light);
}

.heart-divider {
    font-size: 3rem;
    color: var(--pink);
    animation: heartbeat 1.5s infinite;
    /* width: 100%; */
    text-align: center;
    min-width: 60px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 3 / 4;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* ===== RSVP SECTION ===== */
.rsvp-section {
    padding: 80px 0;
    background: var(--white);
}

.rsvp-section .section-title {
    text-align: center;
}

.rsvp-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
    font-size: 1.1rem;
}

.rsvp-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.rsvp-form-container h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.attendance-choice {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.radio-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-btn:hover {
    border-color: var(--primary-color);
    background: var(--accent-color);
}

.radio-btn input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.rsvp-form h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    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);
}

.radio-group {
    display: flex;
    gap: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    flex: 1;
    font-weight: 400;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.radio-group label:hover {
    border-color: var(--primary-color);
}

.radio-group label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(193, 154, 132, 0.08);
}

.radio-group input[type="radio"] {
    width: auto;
    padding: 0;
    border: none;
    flex-shrink: 0;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ddd;
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #ccc;
}

/* ===== GIFT SECTION ===== */
.gift-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffeef8 0%, #fff4e6 100%);
    text-align: center;
}

.gift-subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.qr-container-main {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.qr-box-main {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 280px;
    max-width: 350px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-box-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.qr-icon {
    font-size: 3rem;
    text-align: center;
    animation: bounceIcon 2s infinite;
    width: 100%;
}

.qr-box-main h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
}

.qr-image-wrapper {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    min-height: 390px;
}

.qr-image-wrapper img {
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
    border-radius: 10px;
    border: 3px solid var(--primary-color);
    object-fit: contain;
}

.qr-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.btn-download-qr {
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-download-qr:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.qr-divider {
    font-size: 2.5rem;
    color: var(--pink);
    animation: heartbeat 1.5s infinite;
}

/* Old button - keep for backward compatibility but hide */
.btn-gift {
    display: none;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close-modal:hover {
    color: #000;
}

.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.qr-container {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.qr-box {
    text-align: center;
}

.qr-box h4 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.qr-box img {
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    margin-bottom: 10px;
}

.qr-box p {
    color: var(--text-light);
}

/* ===== WISHES SECTION ===== */
.wishes-section {
    padding: 80px 0;
    background: var(--white);
}

.wishes-section .section-title {
    text-align: center;
}

.wish-form {
    max-width: 600px;
    margin: 0 auto 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wish-form input,
.wish-form textarea {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.wish-form input:focus,
.wish-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.wishes-admin {
    max-width: 800px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-download {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.wish-count {
    color: var(--text-dark);
    font-size: 1rem;
}

.wish-count strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.wishes-list {
    max-width: 800px;
    margin: 0 auto;
}

.wishes-loading,
.wishes-error {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.wishes-loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.wishes-error {
    background: #fff3cd;
    border-radius: 10px;
    border: 2px solid #ffc107;
}

.wishes-error i {
    font-size: 3rem;
    color: #ff9800;
    margin-bottom: 15px;
    display: block;
}

.wishes-error p {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.wishes-error .btn-primary {
    margin-top: 10px;
}

.wish-item {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s ease;
}

/* Wish hover effect */
.wish-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.wish-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.wish-content {
    flex: 1;
}

.wish-content h5 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.wish-content p {
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
    word-wrap: break-word;
}

.wish-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.map-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.map-tab-btn {
    padding: 15px 40px;
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-tab-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.3);
}

.map-tab-btn i {
    font-size: 1.3rem;
}

.map-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.map-content.active {
    display: block;
}

.map-container {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-info {
    text-align: center;
    margin-top: 30px;
}

.map-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.map-info p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.map-info .parking-note {
    display: inline-block;
    background: linear-gradient(135deg, #fff3e0, #ffe0cc);
    color: #b5651d;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 10px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 20px;
}

.map-info .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px 0 30px;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.footer-content p {
    margin-bottom: 20px;
}

.footer-social {
    margin: 30px 0;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin: 0 10px;
    line-height: 40px;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@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 bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes bounceIcon {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

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

@keyframes zoom {
    from {
        transform: scale(0.8);
    }
    to {
        transform: scale(1);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 768px) {
    /* Mobile: Reset navbar to top horizontal style */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        padding: 15px 0;
        border-radius: 0;
    }
    
    .navbar:hover {
        width: 100%;
    }
    
    .navbar .logo {
        display: block;
        font-family: 'Great Vibes', cursive;
        font-size: 2rem;
        color: var(--primary-color);
        float: left;
        padding-left: 20px;
    }
    
    .menu-toggle {
        display: block;
        float: right;
        padding-right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        color: var(--text-dark);
        padding: 15px 10px;
    }
    
    .nav-menu a:hover {
        background: #f8f9fa;
        padding-left: 20px;
    }
    
    .nav-menu a i {
        font-size: 1.3rem;
        min-width: 30px;
    }
    
    .nav-menu a span {
        opacity: 1;
        font-size: 0.9rem;
    }
    
    .navbar::after {
        content: "";
        display: table;
        clear: both;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 50px;
    }
    
    .invitation-text {
        font-size: 2rem;
    }
    
    .event-info {
        padding: 25px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 15px;
    }
    
    .countdown-item {
        padding: 20px 25px;
        min-width: 120px;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .couple-container {
        gap: 20px;
        flex-direction: column;
        padding: 0 20px;
    }
    
    .couple-box {
        width: 100%;
        max-width: 280px;
    }
    
    .couple-image {
        width: 200px;
        height: 200px;
    }
    
    .couple-name {
        font-size: 2rem;
    }
    
    .heart-divider {
        font-size: 2.5rem;
        transform: rotate(0deg);
        margin: 10px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .rsvp-form-container {
        padding: 25px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .qr-container-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .qr-box-main {
        min-width: 100%;
        max-width: 100%;
    }
    
    .qr-image-wrapper {
        max-width: 350px;
        min-height: 350px;
    }
    
    .qr-image-wrapper img {
        width: 100%;
        height: 100%;
        max-width: 300px;
        max-height: 300px;
    }
    
    .qr-divider {
        transform: rotate(90deg);
    }
    
    .qr-container {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        width: 95%;
        padding: 25px;
        margin: 10% auto;
    }
    
    .music-control {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .music-control i {
        font-size: 20px;
    }
    
    /* Wishes responsive */
}

@media screen and (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5rem;
        padding-left: 20px;
    }
    
    .invitation-text {
        font-size: 1.5rem;
    }
    
    .invitation-subtitle {
        font-size: 1rem;
    }
    
    .event-info {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .countdown-item {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .countdown-value {
        font-size: 2rem;
    }
    
    .couple-image {
        width: 180px;
        height: 180px;
    }
}

