* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    padding: 2rem;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.invitation-card {
    flex: 1;
    display: flex;
    justify-content: center;
}

.invitation-image {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.invitation-image:hover {
    transform: scale(1.05);
}

.hero-text {
    flex: 1;
    text-align: center;
    color: white;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.couple-names span {
    font-size: 3rem;
    opacity: 0.8;
}

.wedding-date {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.wedding-message {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.8;
    max-width: 400px;
    margin: 0 auto;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Wedding Details Section */
.wedding-details {
    padding: 5rem 2rem;
    background: white;
}

.details-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.detail-card {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.detail-card p {
    font-size: 1.2rem;
    font-weight: 500;
}

.detail-sub {
    font-size: 1rem !important;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* Families Section */
.families {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.families-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.family-card {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.family-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #764ba2;
    margin-bottom: 1rem;
}

.family-names {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
}

.heart-divider {
    font-size: 2rem;
    color: #f5576c;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Location Section */
.location {
    padding: 5rem 2rem;
    background: white;
}

.location-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.location h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #764ba2;
    margin-bottom: 3rem;
}

.location-details h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.address i {
    color: #f5576c;
}

.map-container {
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.map-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* RSVP Section */
.rsvp {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.rsvp h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #764ba2;
    margin-bottom: 1rem;
}

.rsvp p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.rsvp-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.rsvp-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rsvp-btn.accept {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.rsvp-btn.decline {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.rsvp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.footer-message {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.footer-names {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-hearts {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: #f5576c;
}

.footer-hearts i {
    animation: heartbeat 1.5s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.2s);
}

.footer-hearts i:nth-child(1) { --i: 0; }
.footer-hearts i:nth-child(2) { --i: 1; }
.footer-hearts i:nth-child(3) { --i: 2; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .couple-names {
        font-size: 3rem;
    }
    
    .couple-names span {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.5rem;
    }
    
    .scroll-indicator {
        bottom: 1rem;
        position: fixed;
        z-index: 10;
    }
    
    .families-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .heart-divider {
        order: 2;
        margin: 1rem 0;
    }
    
    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .rsvp-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem;
    }
    
    .couple-names {
        font-size: 2.5rem;
    }
    
    .wedding-date {
        font-size: 1.3rem;
    }
    
    .wedding-message {
        font-size: 1rem;
    }
    
    .scroll-indicator {
        bottom: 0.5rem;
        font-size: 1.2rem;
    }
    
    .details-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location h2,
    .rsvp h2 {
        font-size: 2rem;
    }
}