:root {
    --primary-pink: #FFC0CB;
    --dark-pink: #DB7093;
    --light-pink: #FFF0F5;
    --text-color: #4A4A4A;
    --accent-gold: #D4AF37;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-pink);
}

h1.names {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--dark-pink);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url('hero_bg.jpeg');
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.hero-content {
    z-index: 2;
    animation: fadeInUp 1.5s ease-out;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

.date {
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-color);
    font-weight: bold;
}

.date-detail {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-pink);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
    border: 2px solid var(--white);
}

.cta-button:hover {
    background-color: var(--dark-pink);
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 20px;
    text-align: center;
}

.alt-bg {
    background-color: var(--light-pink);
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '❀';
    display: block;
    font-size: 1.5rem;
    color: var(--primary-pink);
    margin-top: 10px;
}

.flower-divider {
    font-size: 2rem;
    color: var(--primary-pink);
    margin: 20px 0;
}

/* Location */
.location-details {
    margin-bottom: 30px;
}

.map-placeholder iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#rsvp {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin: 40px auto;
    max-width: 900px;
    padding: 60px 20px;
    border: 1px solid rgba(219, 112, 147, 0.2);
}

#rsvp h2 {
    color: var(--dark-pink);
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

#rsvp p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* RSVP Form */
#rsvp-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--primary-pink);
    max-width: 500px;
    margin: 0 auto;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--dark-pink);
}

input,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    border-color: var(--dark-pink);
    outline: none;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-pink);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #C71585;
}

/* Photos */
.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background-color: var(--white);
    color: var(--dark-pink);
    text-decoration: none;
    border: 2px solid var(--dark-pink);
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s;
}

.upload-button:hover {
    background-color: var(--dark-pink);
    color: var(--white);
}

.icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--dark-pink);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.hashtag {
    margin-top: 10px;
    font-style: italic;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Petals (Simple CSS implementation) */
#petals-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.petal {
    position: absolute;
    background-color: #FFC0CB;
    border-radius: 150% 0 150% 0;
    animation: fall linear infinite;
    opacity: 0.6;
}

@keyframes fall {
    0% {
        transform: translate(0, -10vh) rotate(0deg);
    }

    100% {
        transform: translate(100px, 110vh) rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    h1.names {
        font-size: 3rem;
    }

    .section {
        padding: 60px 15px;
    }

    /* Mobile hero adjustment if needed, but 'cover' should work with the new image */
    .hero {
        height: 100vh;
    }
}

/* Calendar Button */
/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

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

.btn-primary {
    background: linear-gradient(45deg, var(--dark-pink), #C71585);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #C71585, #A0106A);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-pink);
    border: 2px solid var(--dark-pink);
}

.btn-secondary:hover {
    background-color: var(--dark-pink);
    color: var(--white);
}

/* Calendar Button Container */
.calendar-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Intro Text */
.intro-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark-pink);
    margin-bottom: 15px;
    font-style: italic;
}