* { margin: 0; padding: 0; box-覚え: border-box; }
body { font-family: 'Montserrat', sans-serif; background: #fffcf9; color: #333; overflow-x: hidden; }

h1, h2, h3 { font-family: 'Playfair Display', serif; }

section { padding: 60px 20px; text-align: center; }

/* Hero Section */
.hero { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; color: white; }
.bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero-overlay { background: rgba(0,0,0,0.3); width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 3rem; margin-bottom: 10px; }

/* Gallery 2-column grid */
.grid-container { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.grid-container img { width: 100%; border-radius: 8px; }

/* Dress Code Palette */
.palette { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.color { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Location Side by Side */
.location { display: flex; justify-content: space-around; gap: 10px; }
.loc-card { width: 45%; background: white; padding: 15px; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.qr { width: 80%; margin-top: 10px; }

.rsvp form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsvp input, .rsvp select, .rsvp textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px; /* Prevents iOS auto-zoom on focus */
    background-color: #fff;
}

#sendBtn {
    background: #D4AF37; /* Professional Gold */
    color: white;
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s ease;
    margin-top: 10px;
}

#sendBtn:active {
    transform: scale(0.98);
    background: #b8952e;
}

/* Footer */
footer { padding: 40px; background: #f8f8f8; font-style: italic; font-size: 0.9rem; letter-spacing: 2px; }