/* Wedding Invitation Website Styles */
/* Esm Gaida & Ali - Romantic Pink & Beige Theme */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Playfair+Display:wght@400;600;700&family=Lora:wght@400;700&display=swap');

/* Perfect Pink Vintage Color Palette */
:root {
    --primary-pink: #f8e8ea;
    --secondary-beige: #fefcfb;
    --accent-rose: #e8b4b8;
    --accent-pink: #f2d7d5;
    --text-dark: #5a4a42;
    --text-light: #7a6a62;
    --text-muted: #9a8a82;
    --shadow-light: rgba(232, 180, 184, 0.15);
    --shadow-medium: rgba(232, 180, 184, 0.25);
    --shadow-strong: rgba(232, 180, 184, 0.35);
    --gradient-bg: linear-gradient(135deg, #fefcfb 0%, #f8e8ea 50%, #f2d7d5 100%);
    --gradient-card: linear-gradient(135deg, #ffffff 0%, #fefcfb 50%, #f8e8ea 100%);
    --vintage-rose: #e8b4b8;
    --vintage-pink: #f2d7d5;
    --vintage-cream: #fefcfb;
    --vintage-soft: #f8e8ea;
    --success-green: #a8d5a8;
    --error-red: #f5a5a5;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--primary-pink);
    border-radius: 10px;
    box-shadow: inset 0 0 5px var(--shadow-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 100%);
    border-radius: 10px;
    border: 2px solid var(--primary-pink);
    box-shadow: 0 2px 5px var(--shadow-medium);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--vintage-rose) 100%);
    box-shadow: 0 4px 10px var(--shadow-strong);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-light) 100%);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--vintage-rose) var(--primary-pink);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Body Scrollbar Enhancement */
body {
    scrollbar-gutter: stable;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 100%);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer-text {
    color: var(--text-dark);
    font-family: 'Lora', serif;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 1px 2px var(--shadow-light);
}

.footer-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-dark);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateY(-1px);
    text-shadow: 0 2px 4px var(--shadow-medium);
}

.footer-link:hover::after {
    width: 100%;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.5rem 0;
        margin-top: 2rem;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1rem 0;
    }
    
    .footer-text {
        font-size: 0.85rem;
    }
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', serif;
   background: url('N.jpg') center center / cover no-repeat;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    min-height: 100vh;
    position: relative;
}



@keyframes floatFlower {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-15px) rotate(1deg);
    }
}

/* Fixed Watercolor Flowers Header */
.floating-flowers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 900px;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.flower {
    position: absolute;
    opacity: 0.8;
}

.flower-1 {
    width: 500px;
    height: 400px;
    top: 90px;
    left: -100px;

}

.flower-2 {
    width: 500px;
    height: 400px;
    top: 90px;

    right: -100px;
}

.flower-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.9;
}

/* Main Content Layout */
.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    padding: 2rem 1rem;
    position: relative;
}

/* Watercolor Floral Wedding Invitation */
.watercolor-invitation {
    max-width: 90%;
    width: 900px;
    margin: 2rem auto;
    background: transparent;
    position: relative;
    padding: 4rem 3rem;
    z-index: 2;
    text-align: center;
}

/* Floral Corner Decorations */
.floral-corner {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: fadeInCorner 2s ease-out;
}


@keyframes fadeInCorner {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    100% {
        opacity: 0.9;
        transform: scale(1) rotate(-5deg);
    }
}

/* Typography Styles */
.save-the-date {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.couple-names {
    font-family: 'Dancing Script', cursive;
    font-size: 5.5rem;
    color: var(--text-dark);
    margin: 1rem 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.bride-name, .groom-name {
    display: block;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.and-symbol {
    font-size: 3rem;
    margin: 0.8rem 0;
    color: var(--accent-red);
    font-weight: 600;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.ring-icon {
    color: var(--accent-red);
    width: 50px;
    height: 50px;
    margin: 2rem auto;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.wedding-details {
    animation: fadeInUp 1s ease-out 1.4s both;
}

.invitation-message {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.date-time {
    margin-bottom: 2.5rem;
}

.month {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.day-time-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.day-of-week {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.day {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent-red);
    line-height: 1;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.time {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.location {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1.5rem;
    font-style: italic;
}

/* RSVP Invitation Section */
.rsvp-invitation {
    margin-top: 4rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px var(--shadow-strong);
    backdrop-filter: blur(15px);
    border: 3px solid var(--vintage-rose);
    animation: rsvpPulse 2s infinite;
    z-index: 10;
    position: relative;
}

@keyframes rsvpPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px var(--shadow-strong);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px var(--shadow-strong);
    }
}

.rsvp-text {
    font-family: 'Dancing Script', cursive;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px var(--shadow-light);
}

.rsvp-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 100%);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.rsvp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.rsvp-button:hover::before {
    left: 100%;
}

.rsvp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--shadow-strong);
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--vintage-rose) 100%);
}

.button-text {
    position: relative;
    z-index: 1;
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.rsvp-button:hover .button-icon {
    transform: translateY(2px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Vintage Multi-Step RSVP Modal */
.rsvp-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    overflow-y: auto;
    animation: modalFadeIn 0.4s ease-out;
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(12px);
    }
}

.vintage-modal {
    background: var(--gradient-card);
    margin: 3% auto;
    padding: 0;
    border-radius: 25px;
    width: 95%;
    max-width: 650px;
    position: relative;
    box-shadow: 
        0 30px 60px rgba(74, 60, 60, 0.3),
        0 15px 30px rgba(74, 60, 60, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.5),
        inset 0 -2px 0 rgba(212, 165, 165, 0.2);
    border: 4px solid var(--vintage-rose);
    animation: vintageSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    transform: translateY(0);
}

@keyframes vintageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.8) rotateX(15deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) scale(0.95) rotateX(5deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

.vintage-header {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 30%, #f0d0d0 70%, #f5e0e0 100%);
    color: var(--text-dark);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 25px 25px 0 0;
    box-shadow: 
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        0 4px 15px rgba(232, 180, 184, 0.2);
}

.vintage-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: vintageShimmer 4s ease-in-out infinite;
}

@keyframes vintageShimmer {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

.vintage-header h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    margin: 0;
    text-shadow: 
        0 2px 4px rgba(232, 180, 184, 0.3),
        0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    color: var(--text-dark);
}

.close-modal {
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(232, 180, 184, 0.3);
    box-shadow: 
        0 4px 15px rgba(232, 180, 184, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.close-modal:hover {
    transform: scale(1.15) rotate(90deg);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--vintage-rose);
    box-shadow: 
        0 6px 20px rgba(232, 180, 184, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Progress Container */
.progress-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 245, 240, 0.9) 100%);
    padding: 2rem 2.5rem;
    border-bottom: 3px solid var(--primary-pink);
    position: relative;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-pink) 0%, rgba(212, 165, 165, 0.3) 100%);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--vintage-rose) 0%, var(--accent-pink) 50%, #f0d0d0 100%);
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 25%;
    box-shadow: 
        0 1px 3px rgba(232, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step.completed {
    opacity: 0.8;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink) 0%, rgba(255, 255, 255, 0.8) 100%);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid var(--vintage-rose);
    box-shadow: 
        0 3px 10px rgba(212, 165, 165, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 100%);
    color: white;
    transform: scale(1.15);
    border-color: var(--accent-pink);
    box-shadow: 
        0 5px 15px rgba(232, 180, 184, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.step.completed .step-number {
    background: linear-gradient(135deg, var(--accent-pink) 0%, #f0d0d0 100%);
    color: var(--text-dark);
    border-color: var(--vintage-rose);
    box-shadow: 
        0 3px 10px rgba(232, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.step-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-top: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Vintage Form */
.vintage-form {
    padding: 0;
    position: relative;
}

.form-step {
    display: none;
    padding: 2.5rem;
    min-height: 450px;
    animation: fadeInStep 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.form-step.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure inputs are visible */
.form-step.active .form-group {
    display: block !important;
    visibility: visible !important;
}

.form-step.active .form-group input,
.form-step.active .form-group textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
}

/* Ensure step content is visible */
.form-step.active .step-content {
    display: block !important;
    visibility: visible !important;
}

/* Make sure form groups are properly spaced */
.form-step.active .form-group {
    margin-bottom: 1.5rem;
    display: block;
}

@keyframes fadeInStep {
    0% {
        opacity: 0;
        transform: translateX(30px) translateY(10px);
    }
    50% {
        opacity: 0.7;
        transform: translateX(10px) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

.step-content {
    margin-bottom: 2rem;
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--vintage-rose) 0%, var(--accent-pink) 50%, #f0d0d0 100%);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(232, 180, 184, 0.3);
}

.step-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

.vintage-btn {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 50%, #f0d0d0 100%);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 6px 20px rgba(232, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.vintage-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.vintage-btn:hover::before {
    left: 100%;
}

.vintage-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(232, 180, 184, 0.5),
        0 4px 15px rgba(232, 180, 184, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
}

.vintage-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 
        0 4px 15px rgba(232, 180, 184, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.prev-btn {
    background: linear-gradient(135deg, var(--text-light) 0%, var(--text-muted) 50%, #8b7d7d 100%);
    box-shadow: 
        0 4px 15px rgba(107, 91, 91, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.next-btn, .submit-btn {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 50%, #f0d0d0 100%);
}

.submit-btn {
    background: linear-gradient(135deg, var(--vintage-rose) 0%, var(--accent-pink) 50%, #f0d0d0 100%);
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 
        0 8px 25px rgba(232, 180, 184, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Vintage Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.5rem;
}

.form-group label::before {
    content: '❦';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--vintage-rose);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--primary-pink);
    border-radius: 12px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.9);
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px var(--shadow-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--vintage-rose);
    box-shadow: 
        0 0 0 3px var(--shadow-light),
        inset 0 2px 4px var(--shadow-light);
    background: white;
}

/* Vintage Radio Buttons */
.vintage-radio {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vintage-radio input[type="radio"] {
    display: none;
}

.vintage-radio label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-pink);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vintage-radio label::before {
    display: none;
}

.vintage-radio label:hover {
    border-color: var(--vintage-rose);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-pink);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vintage-rose);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vintage-radio input[type="radio"]:checked + label {
    border-color: var(--vintage-rose);
    background: linear-gradient(135deg, rgba(212, 165, 165, 0.1), rgba(196, 165, 165, 0.05));
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.vintage-radio input[type="radio"]:checked + label .radio-custom {
    border-color: var(--vintage-rose);
}

.vintage-radio input[type="radio"]:checked + label .radio-custom::after {
    opacity: 1;
}

.radio-text {
    font-weight: 500;
    color: var(--text-dark);
}

/* Confirmation Summary */
.confirmation-summary {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-pink);
    margin-bottom: 1rem;
}

.confirmation-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--primary-pink);
}

.confirmation-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.confirmation-label {
    font-weight: 600;
    color: var(--text-dark);
}

.confirmation-value {
    color: var(--vintage-rose);
    font-weight: 500;
}

/* Vintage Success Message */
.vintage-success {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 3px solid #a3d9a3;
    border-radius: 15px;
    color: #155724;
    margin: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.vintage-success h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #155724;
}

.vintage-success p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Vintage Multi-Step Responsive Design */
@media (max-width: 768px) {
    .vintage-modal {
        margin: 3% auto;
        width: 98%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .vintage-header {
        padding: 1.5rem;
    }
    
    .vintage-header h2 {
        font-size: 2rem;
    }
    
    .progress-container {
        padding: 1rem 1.5rem;
    }
    
    .step-indicators {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
    }
    
    .step-label {
        font-size: 0.7rem;
    }
    
    .form-step {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .vintage-btn {
        width: 100%;
        padding: 1rem 2rem;
    }
    
    .vintage-radio {
        gap: 0.8rem;
    }
    
    .vintage-radio label {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .confirmation-summary {
        padding: 1rem;
    }
    
    .confirmation-item {
        flex-direction: column;
        gap: 0.3rem;
        text-align: left;
    }
    
    .confirmation-label {
        font-size: 0.9rem;
    }
    
    .confirmation-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .vintage-modal {
        margin: 2% auto;
        width: 98%;
        border-radius: 12px;
    }
    
    .vintage-header {
        padding: 1rem;
    }
    
    .vintage-header h2 {
        font-size: 1.8rem;
    }
    
    .progress-container {
        padding: 1rem;
    }
    
    .step-indicators {
        gap: 0.5rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.6rem;
    }
    
    .form-step {
        padding: 1rem;
        min-height: 300px;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .vintage-radio label {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
    }
    
    .radio-custom::after {
        width: 6px;
        height: 6px;
    }
    
    .vintage-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .confirmation-summary {
        padding: 0.8rem;
    }
    
    .vintage-success {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .vintage-success h3 {
        font-size: 2rem;
    }
    
    .success-icon {
        font-size: 3rem;
    }
}

.rsvp-section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-shadow: 0 2px 4px var(--shadow-light);
}

/* Simple & Perfect Form Styling */
.rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e8b4b8;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    background: white;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
}

.form-group input[type="radio"] {
    margin-right: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-group label {
    font-weight: normal;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: #f8f5f0;
    border: 2px solid #e8b4b8;
}

.radio-group input[type="radio"]:checked + label {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

.submit-button {
    background: var(--accent-red);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.submit-button:hover {
    background: #a05252;
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 1.5rem;
    font-family: 'Lora', serif;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.success-message {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #a3d9a3;
    border-radius: 15px;
    color: #155724;
    animation: fadeInUp 0.5s ease-out;
}

.success-message h3 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #155724;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .watercolor-invitation {
        width: 95%;
        padding: 3.5rem 2.5rem;
    }
    .rsvp-section {
        width: 95%;
        padding: 3rem 2.5rem;
    }
    .couple-names {
        font-size: 5rem;
    }
    .and-symbol {
        font-size: 2.8rem;
    }
    .subtitle {
        font-size: 1.8rem;
    }
    .day {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .watercolor-invitation {
        padding: 3rem 2rem;
    }
    .couple-names {
        font-size: 4.5rem;
    }
    .and-symbol {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.7rem;
    }
    .day {
        font-size: 4rem;
    }
    .floral-corner {
        width: 150px;
        height: 150px;
    }
    .floral-corner.top-left, .floral-corner.top-right,
    .floral-corner.bottom-left, .floral-corner.bottom-right {
        top: -20px;
        left: -20px;
        right: -20px;
        bottom: -20px;
    }
}

/* Perfect Responsive Design */
@media (max-width: 768px) {
    .watercolor-invitation {
        margin: 1.5rem auto;
        padding: 2.5rem 1.5rem;
        border-radius: 10px;
    }
    .couple-names {
        font-size: 4rem;
    }
    .and-symbol {
        font-size: 2.2rem;
    }
    .subtitle {
        font-size: 1.5rem;
    }
    .save-the-date {
        font-size: 1.5rem;
    }
    .invitation-message, .month, .day-of-week, .time, .location {
        font-size: 1.1rem;
    }
    .day {
        font-size: 3.5rem;
    }
    .day-time-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Mobile RSVP Modal */
    .rsvp-modal .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.8rem;
    }
    
    .rsvp-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .radio-group label {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .submit-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-modal .modal-content {
        margin: 3% auto;
        width: 98%;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .rsvp-form {
        padding: 1rem;
    }
    
    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="number"],
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .radio-group label {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .submit-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .watercolor-invitation {
        padding: 2rem 1rem;
    }
    .rsvp-section {
        padding: 2rem 1rem;
    }
    .couple-names {
        font-size: 3.5rem;
    }
    .and-symbol {
        font-size: 2rem;
    }
    .subtitle {
        font-size: 1.3rem;
    }
    .save-the-date {
        font-size: 1.3rem;
    }
    .invitation-message {
        font-size: 1.1rem;
    }
    .month, .day-of-week, .time, .location {
        font-size: 1rem;
    }
    .day {
        font-size: 3rem;
    }
    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
    .submit-button {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    .floral-corner {
        width: 100px;
        height: 100px;
    }
    .floral-corner.top-left, .floral-corner.top-right,
    .floral-corner.bottom-left, .floral-corner.bottom-right {
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
    }
}

/* Print Styles */
@media print {
    .clouds, .floating-flowers, .arrow-down {
        display: none;
    }
    
    .watercolor-invitation {
        box-shadow: none;
        border: 2px solid var(--accent-red);
    }
    
    .rsvp-section {
        display: none;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .cloud, .flower, .arrow-down, .ring-icon {
        animation: none;
    }
    
    .couple-names, .save-the-date, .subtitle, .wedding-details {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-pink: #d4a5a5;
        --accent-red: #8b0000;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* RSVP Responsive Design */
@media (max-width: 768px) {
    .rsvp-invitation {
        margin-top: 2rem;
        padding: 1.5rem 2rem;
    }
    
    .rsvp-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .rsvp-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .rsvp-invitation {
        margin-top: 1.5rem;
        padding: 1rem 1.5rem;
    }
    
    .rsvp-text {
        font-size: 1.1rem;
    }
    
    .rsvp-button {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}


#petals-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.petal {
    position: absolute;
    top: -10vh;
    background-image: url("2.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.2 !important;
    width: 20px !important;
    height: 20px !important;
    filter: brightness(0.9) !important;
    transform: translateX(0) rotate(var(--rot, 0deg));
    animation: petal-fall 8s linear forwards !important;
    will-change: transform, opacity;
}

@keyframes petal-fall {
    0%   { transform: translate3d(0, -10vh, 0) rotate(var(--rot, 0deg)); }
    25%  { transform: translate3d(10px, 25vh, 0) rotate(calc(var(--rot, 0deg) + 90deg)); }
    50%  { transform: translate3d(-10px, 55vh, 0) rotate(calc(var(--rot, 0deg) + 180deg)); }
    75%  { transform: translate3d(12px, 85vh, 0) rotate(calc(var(--rot, 0deg) + 270deg)); }
    100% { transform: translate3d(-8px, 110vh, 0) rotate(calc(var(--rot, 0deg) + 360deg)); opacity: 0; }
}