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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #2c3e2d;
    background: #f5f5f0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #2c3e2d;
    background: white;
    color: #2c3e2d;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: #2c3e2d;
    color: white;
}

.lang-btn.active:hover {
    background: #1a251b;
}

.container {
    max-width: 100%;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

/* Hero Section with Natural Background */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 235, 59, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 195, 74, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 245, 157, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #fff9c4 0%, #f1f8e9 50%, #fffde7 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Invitation Image */
.invitation-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.invitation-image:hover {
    transform: rotate(-2deg) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* Decorative Elements */
.decoration {
    position: absolute;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    --collision-x: 0px;
    --collision-y: 0px;
}

.decoration-lemon {
    width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.decoration-leaf {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.decoration-all {
    width: 140px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.decoration-edelweiss {
    width: 110px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Fade in animation - very smooth and gradual entrance */
@keyframes fadeInFloat {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Lemon positions - well spaced, no clustering */
.lemon-1 {
    top: 5%;
    left: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, float3d-1 8s ease-in-out 0.2s infinite;
}

.lemon-2 {
    top: 8%;
    right: 10%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, float3d-2 9s ease-in-out 0.4s infinite;
}

.lemon-3 {
    top: 45%;
    left: 5%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards, float3d-3 8.5s ease-in-out 0.6s infinite;
}

.lemon-4 {
    bottom: 25%;
    right: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards, float3d-4 9.5s ease-in-out 0.3s infinite;
}

.lemon-5 {
    bottom: 8%;
    left: 12%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards, float3d-5 8.8s ease-in-out 0.5s infinite;
}

/* Leaf positions - well spaced, no clustering */
.leaf-1 {
    top: 3%;
    right: 15%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards, float3d-6 9.2s ease-in-out 0.7s infinite;
}

.leaf-2 {
    top: 20%;
    left: 3%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards, float3d-7 8.7s ease-in-out 1.1s infinite;
}

.leaf-3 {
    top: 35%;
    right: 5%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards, float3d-8 9.3s ease-in-out 0.9s infinite;
}

.leaf-4 {
    top: 70%;
    left: 10%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards, float3d-9 8.9s ease-in-out 0.1s infinite;
}

.leaf-5 {
    bottom: 35%;
    right: 12%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards, float3d-10 9.1s ease-in-out 1.3s infinite;
}

.leaf-6 {
    bottom: 5%;
    right: 18%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards, float3d-11 8.6s ease-in-out 0.5s infinite;
}

/* All positions - well spaced, no clustering */
.all-1 {
    top: 12%;
    left: 15%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards, float3d-12 9.4s ease-in-out 0.8s infinite;
}

.all-2 {
    top: 30%;
    right: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, float3d-13 8.8s ease-in-out 0.2s infinite;
}

.all-3 {
    top: 65%;
    left: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards, float3d-14 9.6s ease-in-out 1.4s infinite;
}

.all-4 {
    bottom: 30%;
    right: 15%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards, float3d-15 9.2s ease-in-out 0.6s infinite;
}

/* Edelweiss positions - well spaced, no clustering */
.edelweiss-1 {
    top: 15%;
    left: 12%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, float3d-16 8.9s ease-in-out 0.4s infinite;
}

.edelweiss-2 {
    top: 25%;
    right: 12%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards, float3d-17 9.3s ease-in-out 1.2s infinite;
}

.edelweiss-3 {
    top: 50%;
    left: 15%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards, float3d-18 9.1s ease-in-out 0.1s infinite;
}

.edelweiss-4 {
    bottom: 15%;
    left: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards, float3d-19 8.7s ease-in-out 0.9s infinite;
}

.edelweiss-5 {
    bottom: 40%;
    right: 10%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 1.5s forwards, float3d-20 9.5s ease-in-out 1.5s infinite;
}

/* RSVP Section Decorative Elements */
.rsvp-lemon-1 {
    top: 10%;
    left: 5%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards, float3d-1 8s ease-in-out 0.3s infinite;
}

.rsvp-lemon-2 {
    top: 15%;
    right: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards, float3d-2 9s ease-in-out 0.5s infinite;
}

.rsvp-leaf-1 {
    top: 25%;
    left: 3%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, float3d-6 9.2s ease-in-out 0.4s infinite;
}

.rsvp-leaf-2 {
    top: 50%;
    right: 5%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards, float3d-7 8.7s ease-in-out 0.6s infinite;
}

.rsvp-all-1 {
    bottom: 20%;
    left: 8%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, float3d-12 9.4s ease-in-out 0.2s infinite;
}

.rsvp-edelweiss-1 {
    bottom: 15%;
    right: 10%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards, float3d-16 8.9s ease-in-out 0.1s infinite;
}

.rsvp-edelweiss-2 {
    top: 60%;
    left: 12%;
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards, float3d-17 9.3s ease-in-out 0.7s infinite;
}

/* Form Container Decorative Elements */
.form-lemon-1 {
    top: -8%;
    left: -5%;
    opacity: 0;
    animation: none;
}

.form-leaf-1 {
    top: -5%;
    right: -3%;
    opacity: 0;
    animation: none;
}

.form-all-1 {
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: none;
}

.form-edelweiss-1 {
    bottom: -8%;
    right: -5%;
    opacity: 0;
    animation: none;
}

/* When form container is visible, trigger animations */
.rsvp-form-container.visible .form-lemon-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, float3d-1 8s ease-in-out 3.2s infinite;
}

.rsvp-form-container.visible .form-leaf-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, float3d-6 9.2s ease-in-out 3.4s infinite;
}

.rsvp-form-container.visible .form-all-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards, float3d-12 9.4s ease-in-out 3.3s infinite;
}

.rsvp-form-container.visible .form-edelweiss-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards, float3d-16 8.9s ease-in-out 3.5s infinite;
}

/* Confirmation Message Decorative Elements */
.conf-lemon-1 {
    top: -15%;
    left: -5%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

.conf-lemon-2 {
    top: -10%;
    right: -8%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

.conf-leaf-1 {
    bottom: -20%;
    left: -3%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

.conf-leaf-2 {
    bottom: -15%;
    right: -5%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

.conf-all-1 {
    top: -5%;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    opacity: 0;
    animation: none;
}

.conf-edelweiss-1 {
    top: 50%;
    left: -8%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

.conf-edelweiss-2 {
    top: 50%;
    right: -10%;
    opacity: 0;
    transform: scale(0.95);
    animation: none;
}

/* When confirmation message is visible, trigger animations */
.confirmation-message.visible .conf-lemon-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards, float3d-1 8s ease-in-out 3.2s infinite;
}

.confirmation-message.visible .conf-lemon-2 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards, float3d-2 9s ease-in-out 3.4s infinite;
}

.confirmation-message.visible .conf-leaf-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards, float3d-6 9.2s ease-in-out 3.6s infinite;
}

.confirmation-message.visible .conf-leaf-2 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards, float3d-7 8.7s ease-in-out 3.8s infinite;
}

.confirmation-message.visible .conf-all-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards, float3d-12 9.4s ease-in-out 3.3s infinite;
}

.confirmation-message.visible .conf-edelweiss-1 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards, float3d-16 8.9s ease-in-out 3.5s infinite;
}

.confirmation-message.visible .conf-edelweiss-2 {
    animation: fadeInFloat 3s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards, float3d-17 9.3s ease-in-out 3.7s infinite;
}

/* Natural floating animations - very gentle up and down movement with minimal rotation */
/* Note: opacity is maintained at 0.9 from fadeInFloat animation */
@keyframes float3d-1 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-12px + var(--collision-y, 0px))) rotate(1deg);
    }
}

@keyframes float3d-2 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-14px + var(--collision-y, 0px))) rotate(-0.5deg);
    }
}

@keyframes float3d-3 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-10px + var(--collision-y, 0px))) rotate(1.5deg);
    }
}

@keyframes float3d-4 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-16px + var(--collision-y, 0px))) rotate(-1deg);
    }
}

@keyframes float3d-5 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-11px + var(--collision-y, 0px))) rotate(0.8deg);
    }
}

@keyframes float3d-6 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-13px + var(--collision-y, 0px))) rotate(-1.2deg);
    }
}

@keyframes float3d-7 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-10px + var(--collision-y, 0px))) rotate(0.6deg);
    }
}

@keyframes float3d-8 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-15px + var(--collision-y, 0px))) rotate(-0.8deg);
    }
}

@keyframes float3d-9 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-9px + var(--collision-y, 0px))) rotate(1.3deg);
    }
}

@keyframes float3d-10 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-14px + var(--collision-y, 0px))) rotate(-0.7deg);
    }
}

@keyframes float3d-11 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-12px + var(--collision-y, 0px))) rotate(0.9deg);
    }
}

@keyframes float3d-12 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-17px + var(--collision-y, 0px))) rotate(-1.1deg);
    }
}

@keyframes float3d-13 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-10px + var(--collision-y, 0px))) rotate(0.5deg);
    }
}

@keyframes float3d-14 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-15px + var(--collision-y, 0px))) rotate(-0.9deg);
    }
}

@keyframes float3d-15 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-11px + var(--collision-y, 0px))) rotate(1.2deg);
    }
}

@keyframes float3d-16 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-13px + var(--collision-y, 0px))) rotate(-0.6deg);
    }
}

@keyframes float3d-17 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-9px + var(--collision-y, 0px))) rotate(0.7deg);
    }
}

@keyframes float3d-18 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-16px + var(--collision-y, 0px))) rotate(-1.3deg);
    }
}

@keyframes float3d-19 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-12px + var(--collision-y, 0px))) rotate(0.4deg);
    }
}

@keyframes float3d-20 {
    0%, 100% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(0px + var(--collision-y, 0px))) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1) translate(calc(0px + var(--collision-x, 0px)), calc(-14px + var(--collision-y, 0px))) rotate(-0.8deg);
    }
}

/* RSVP Section */
.rsvp-section {
    background: #a8b89a;
    padding: 80px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.rsvp-content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.couple-names-large {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 600;
    color: #2c3e2d;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.rsvp-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.rsvp-btn {
    background: white;
    border: none;
    border-radius: 6px;
    padding: 15px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e2d;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    min-width: 180px;
}

.rsvp-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.rsvp-btn:active {
    transform: translateY(0);
}

/* RSVP Form */
.rsvp-form-container {
    background: white;
    padding: 40px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.rsvp-form-detailed {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c3e2d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #4a4a4a;
    transition: border-color 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e2d;
    background: white;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #2c3e2d;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #1a251b;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.back-button {
    background: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.rsvp-form-container .back-button {
    margin-bottom: 30px;
}

.confirmation-content .back-button {
    margin-top: 30px;
}

.accommodation-note {
    margin-top: 20px;
    padding: 15px;
    background: #f5f5f0;
    border-left: 3px solid #2c3e2d;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
    border-radius: 4px;
}

/* Guests Details Container */
.guests-details-container {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.guests-details-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #2c3e2d;
    margin-bottom: 20px;
    font-weight: 600;
}

.guests-details-container + .form-group {
    margin-top: 50px;
}

.guests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-person-section {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 2px solid #e0e0e0;
}

.main-person-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #2c3e2d;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
}

.guest-entry {
    background: #fafafa;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.guest-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.guest-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #2c3e2d;
    font-weight: 600;
    margin: 0;
}

.remove-guest-btn {
    background: #d32f2f;
    color: white;
    border: none;
    padding: 0;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: relative;
}

.remove-guest-btn:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}

.remove-guest-btn::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.guest-entry-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #2c3e2d;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    flex-wrap: nowrap;
}

.sleep-preference-group {
    margin-top: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #2c3e2d;
}

.radio-label input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2c3e2d;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2c3e2d;
}

.checkbox-label span {
    user-select: none;
}

/* Confirmation Message */
.confirmation-message {
    background: white;
    padding: 50px 40px;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: visible;
}

.confirmation-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #2c3e2d;
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirmation-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #2c3e2d;
    margin-bottom: 15px;
}

.confirmation-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Event Details */
.event-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.detail-block {
    text-align: center;
}

.detail-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e2d;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.detail-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #2c3e2d;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.venue-link {
    color: #2c3e2d;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.venue-link:hover {
    color: #1a251b;
    border-bottom-color: #2c3e2d;
}

/* Footer */
footer {
    background: #2c3e2d;
    color: #f5f5f0;
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.8;
    font-style: italic;
}

.footer-note .email-link {
    color: #f5f5f0;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-note .email-link:hover {
    opacity: 1;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .invitation-image {
        transform: rotate(0deg);
        max-width: 100%;
    }

    .decoration-lemon {
        width: 70px;
    }

    .decoration-leaf {
        width: 85px;
    }

    .decoration-all {
        width: 100px;
    }

    .decoration-edelweiss {
        width: 80px;
    }

    .lemon-1 {
        top: 8%;
        left: 8%;
    }

    .lemon-2 {
        top: 12%;
        right: 10%;
    }

    .lemon-3 {
        top: 48%;
        left: 5%;
    }

    .lemon-4 {
        bottom: 18%;
        right: 8%;
    }

    .lemon-5 {
        bottom: 12%;
        left: 12%;
    }

    .leaf-1 {
        top: 5%;
        right: 12%;
    }

    .leaf-2 {
        top: 22%;
        left: 3%;
    }

    .leaf-3 {
        top: 38%;
        right: 5%;
    }

    .leaf-4 {
        top: 62%;
        left: 10%;
    }

    .leaf-5 {
        bottom: 28%;
        right: 10%;
    }

    .leaf-6 {
        bottom: 10%;
        right: 14%;
    }

    .all-1 {
        top: 10%;
        left: 14%;
    }

    .all-2 {
        top: 32%;
        right: 8%;
    }

    .all-3 {
        top: 58%;
        left: 8%;
    }

    .all-4 {
        bottom: 22%;
        right: 12%;
    }

    .edelweiss-1 {
        top: 18%;
        left: 10%;
    }

    .edelweiss-2 {
        top: 28%;
        right: 10%;
    }

    .edelweiss-3 {
        top: 52%;
        left: 12%;
    }

    .edelweiss-4 {
        bottom: 15%;
        left: 8%;
    }

    .edelweiss-5 {
        bottom: 32%;
        right: 9%;
    }

    .couple-names-large {
        font-size: 2.5rem;
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rsvp-btn {
        width: 100%;
        max-width: 300px;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rsvp-form-container {
        padding: 30px 20px;
    }

}

/* Image Modal Styles */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    color: #2c3e2d;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-image-container {
    width: 100%;
    height: calc(100% - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: default;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform-origin: center center;
    user-select: none;
    -webkit-user-select: none;
}

.modal-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10001;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.zoom-btn {
    background: #2c3e2d;
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
}

.zoom-btn:hover {
    background: #1a251b;
    transform: scale(1.1);
}

.zoom-btn:active {
    transform: scale(0.95);
}

.zoom-reset {
    font-size: 1.2rem;
}

@media (max-width: 480px) {
    .invitation-image {
        max-width: 100%;
    }

    .couple-names-large {
        font-size: 2rem;
    }

    .hero {
        padding: 40px 15px;
    }

    .language-selector {
        top: 10px;
        right: 10px;
        padding: 6px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .decoration-lemon {
        width: 60px;
    }

    .decoration-leaf {
        width: 70px;
    }

    .decoration-all {
        width: 80px;
    }

    .decoration-edelweiss {
        width: 70px;
    }

    .lemon-1 {
        top: 7%;
        left: 6%;
    }

    .lemon-2 {
        top: 11%;
        right: 8%;
    }

    .lemon-3 {
        top: 46%;
        left: 4%;
    }

    .lemon-4 {
        bottom: 16%;
        right: 6%;
    }

    .lemon-5 {
        bottom: 10%;
        left: 10%;
    }

    .leaf-1 {
        top: 4%;
        right: 10%;
    }

    .leaf-2 {
        top: 20%;
        left: 2%;
    }

    .leaf-3 {
        top: 36%;
        right: 4%;
    }

    .leaf-4 {
        top: 60%;
        left: 8%;
    }

    .leaf-5 {
        bottom: 26%;
        right: 8%;
    }

    .leaf-6 {
        bottom: 8%;
        right: 12%;
    }

    .all-1 {
        top: 9%;
        left: 12%;
    }

    .all-2 {
        top: 30%;
        right: 6%;
    }

    .all-3 {
        top: 56%;
        left: 6%;
    }

    .all-4 {
        bottom: 20%;
        right: 10%;
    }

    .edelweiss-1 {
        top: 16%;
        left: 8%;
    }

    .edelweiss-2 {
        top: 26%;
        right: 8%;
    }

    .edelweiss-3 {
        top: 50%;
        left: 10%;
    }

    .edelweiss-4 {
        bottom: 13%;
        left: 6%;
    }

    .edelweiss-5 {
        bottom: 30%;
        right: 7%;
    }
}
