:root {
    --primary-color: #f8e1e4;
    --secondary-color: #d4a5a5;
    --accent-color: #b76e79;
    --text-color: #5a3e36;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('wedding-bg.jpg');
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .date {
    font-size: 1.5rem;
    margin-top: 10px;
}

.heart {
    font-size: 3rem;
    margin-top: -15px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

section {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 40px 0;
}
.hero .invitation{
    color: var(--text-color);
}
.hero .invitation {
    text-align: center;
    max-width: 800px;
    margin: 15px auto;
    padding: 20px 40px;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero .invitation h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

.signature {
    font-style: italic;
    margin-top: 30px;
    font-size: 1.2rem;
}

.details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.detail-card:hover {
    transform: translateY(-10px);
}

.detail-card h3 {
    color: var(--accent-color);
    font-family: 'Playfair Display', serif;
}

.rsvp {
    max-width: 600px;
    margin: 40px auto;
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rsvp h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 30px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
}

button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #9c5d66;
}

.gallery {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}

.gallery h2 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.photos img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.photos img:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 30px;
    background-color: var(--text-color);
    color: white;
}
.greeting {
            font-size: 24px;
            margin-bottom: 30px;
            color: #2c3e50;
        }

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .date {
        font-size: 1.2rem;
    }
    
    .details {
        flex-direction: column;
    }
}