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

body {
    margin: 0;
    padding: 40px 20px;
    background: #f4f2ef;
    font-family: 'Montserrat', sans-serif;
    color: #2c2c2c;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invitation-container {
    display: flex;
    max-width: 1350px;
    width: 100%;
    background: #f7efe6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.panel {
    flex: 1;
    padding: 60px 50px;
    position: relative;
    background: #f7efe6;
    min-height: 600px;
}

.panel-left {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    background-image: url('../images/cover_bgr.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Save the Date Text */
.save-the-date {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Monsieur La Doulaise", cursive;
    font-size: 60px;
    font-weight: 500;
    color: #f7efe6;
    letter-spacing: 3px;
    text-align: center;
    z-index: 2;
    opacity: 0.9;
    white-space: nowrap;
}

/* Floral decorations */
.floral-decoration {
    position: absolute;
    opacity: 0.6;
    z-index: 1;
}

.floral-top-left {
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.4) 0%, rgba(255, 218, 185, 0.3) 50%, transparent 70%);
    border-radius: 50%;
}

.floral-bottom-right {
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.4) 0%, rgba(255, 218, 185, 0.3) 50%, transparent 70%);
    border-radius: 50%;
}

.floral-left-middle {
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.3) 0%, transparent 60%);
    border-radius: 50%;
}

/* Content */
.content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5a5a5a;
    margin-bottom: 12px;
}

.names-container {
    margin: 30px 0 40px;
}

.name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.2;
    color: #2c2c2c;
    margin: 8px 0;
}

.ampersand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 400;
    color: #2c2c2c;
    margin: 10px 0;
    font-style: italic;
}

.invitation-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 50px;
    letter-spacing: 0.5px;
}

.date-section {
    margin-bottom: 40px;
}

.date-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.time-value {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #2c2c2c;
}

.venue-section {
    margin-top: 40px;
}

.venue-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 6px;
}

.venue-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.6;
    color: #5a5a5a;
}

/* Save as Image Button */
.save-image-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 12px 24px;
    border: 1px solid rgba(44, 38, 30, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #2c2c2c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    letter-spacing: 0.5px;
}

.save-image-btn:hover {
    background: #f0e2d3;
    border-color: rgba(44, 38, 30, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.save-image-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.save-image-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.save-image-btn .material-symbols-outlined {
    font-size: 18px;
}

/* Dress Code Panel */
.panel-dress {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    background: #f9f2ea;
}

.dress-header {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    margin-bottom: 18px;
    color: #2c2c2c;
}

.dress-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #7a6b5a;
    margin-bottom: 24px;
}

.dress-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 28px;
}

.dress-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    font-size: 11px;
    color: #4a3f35;
}

.dress-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.dress-dot.white-main { background: #FFFFFF; }
.dress-dot.white-ivory { background: #EFE6D4; }
.dress-dot.sage-green { background: #CAD18D; }
.dress-dot.pink-light { background: #FFB6C1; }
.dress-dot.pink-blush { background: #F4C2C2; }
.dress-dot.blue-light { background: #ADD8E6; }
.dress-dot.blue-powder { background: #E6F2FA; }
.dress-dot.blue-dusty { background: #839EC1; }
.dress-dot.navy-soft { background: #1F2A44; }

.dress-note {
    font-size: 12px;
    line-height: 1.7;
    color: #5a5a5a;
    margin-bottom: 22px;
}

.dress-note strong {
    font-weight: 500;
}

.dress-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.dress-qr-box {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dress-qr-box img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

.dress-qr-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7a6b5a;
}

.dress-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(44, 38, 30, 0.15);
    font-size: 11px;
    text-decoration: none;
    color: #2c2620;
    background: rgba(255, 255, 255, 0.9);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 30px;
}

.dress-link:hover {
    background: #f0e2d3;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.dress-link span.material-symbols-outlined {
    font-size: 14px;
}

/* Right Panel - Monogram */
.monogram-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.monogram-frame {
    position: relative;
    width: 200px;
    height: 280px;
    border: 2px solid #d4af37;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.monogram {
    font-family: 'Cormorant Garamond', serif;
    font-size: 72px;
    font-weight: 500;
    color: #2c2c2c;
    line-height: 1;
    text-align: center;
}

.monogram .letter-b {
    font-size: 80px;
    display: inline-block;
}

.monogram .ampersand-monogram {
    font-size: 32px;
    font-style: italic;
    margin: 0 8px;
    vertical-align: middle;
}

.monogram .letter-a {
    font-size: 48px;
    font-style: italic;
    display: inline-block;
    vertical-align: middle;
}

.floral-monogram-top {
    top: -40px;
    left: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.5) 0%, rgba(255, 218, 185, 0.4) 50%, transparent 70%);
    border-radius: 50%;
}

.floral-monogram-left {
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.4) 0%, transparent 60%);
    border-radius: 50%;
}

.floral-monogram-bottom {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 80px;
    background: linear-gradient(to top, rgba(255, 182, 193, 0.3) 0%, transparent 100%);
    border-radius: 50% 50% 0 0;
}

.floral-monogram-top-right {
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .invitation-container {
        flex-direction: column;
        max-width: 100%;
    }

    .panel {
        min-height: 600px;
        padding: 40px 30px;
    }

    .panel-left {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0;
        background-size: cover;
        background-position: center center;
    }

    .panel-right,
    .panel-dress {
        min-height: 600px;
    }

    .save-the-date {
        font-size: 40px;
        top: 12%;
        letter-spacing: 2px;
    }

    .save-image-btn {
        margin-top: 30px;
        padding: 10px 20px;
        font-size: 12px;
    }

    .name {
        font-size: 42px;
    }

    .monogram-frame {
        width: 160px;
        height: 220px;
    }

    .monogram {
        font-size: 56px;
    }

    .monogram .letter-b {
        font-size: 64px;
    }

    .monogram .letter-a {
        font-size: 38px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 10px;
    }

    .panel {
        padding: 30px 20px;
        min-height: 600px;
    }

    .panel-left {
        padding: 0;
        background-size: cover;
        background-position: center center;
    }

    .panel-right,
    .panel-dress {
        min-height: 600px;
    }

    .save-the-date {
        font-size: 40px;
        letter-spacing: 1.5px;
        top: 10%;
    }

    .save-image-btn {
        margin-top: 25px;
        padding: 10px 18px;
        font-size: 11px;
    }

    .name {
        font-size: 36px;
    }

    .monogram-frame {
        width: 140px;
        height: 200px;
    }

    .monogram {
        font-size: 48px;
    }
}

