:root {
    --rose-gold: #b76e79;
    --rose-gold-light: #e6c5c8;
    --rose-gold-dark: #944b55;
    --gold: #d4af37;
    --text-main: #5a5a5a;
    --text-light: #888888;
    --bg-color: #fdfdfd;
    --font-cursive: 'Pinyon Script', cursive;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.invitation-container {
    max-width: 480px;
    margin: 0 auto;
    background: transparent;
    position: relative;
    z-index: 2;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-height: 100vh;
    overflow: hidden;
}

.section-relative {
    position: relative;
}

.section-relative > *:not(.floral) {
    position: relative;
    z-index: 2;
}

.floral {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
    height: auto;
}

.floral-header {
    top: -95px;
    left: -40px;
    width: 280px;
}

.floral-side-right {
    top: 50px;
    right: -35px;
    width: 170px;
}

.floral-side-left {
    top: 30px;
    left: -35px;
    width: 140px;
}

.floral-footer {
    bottom: -60px;
    left: -20px;
    width: calc(100% + 40px);
}

.footer-section {
    padding-bottom: 180px !important;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px;
    flex-shrink: 0;
}

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

/* Header */
header.section {
    padding-top: 90px;
}

.monogram {
    width: 100px;
    height: 100px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background: radial-gradient(circle, var(--rose-gold-dark) 0%, var(--rose-gold) 100%);
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.4);
    position: relative;
}
.monogram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 90px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold), var(--gold) 4px, transparent 4px, transparent 8px);
}
.monogram::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 90px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--gold), var(--gold) 4px, transparent 4px, transparent 8px);
}

.monogram span {
    font-family: var(--font-cursive);
    font-size: 3rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.logo {
    font-family: var(--font-cursive);
    font-size: 3.2rem;
    color: var(--rose-gold-dark);
    margin-bottom: 15px;
    line-height: 1;
}

.subtitle {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 10px;
}

.names {
    font-family: var(--font-cursive);
    font-size: 3.5rem;
    color: var(--rose-gold-dark);
    font-weight: normal;
    margin-bottom: 20px;
    line-height: 1;
}

/* Typography */
.description {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.primary-btn {
    background-color: var(--rose-gold);
    color: white;
    box-shadow: 0 4px 10px rgba(183, 110, 121, 0.3);
    border: 2px solid var(--rose-gold);
}

.primary-btn:hover {
    background-color: transparent;
    color: var(--rose-gold);
}

.btn-caption {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--rose-gold);
}

.divider h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.2rem;
    color: var(--text-main);
}

/* Date Section */
.date-section {
    gap: 15px;
}

.date-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--rose-gold-dark);
}

.date-large .day {
    font-size: 4rem;
    font-family: var(--font-heading);
    line-height: 1;
}

.date-large .month {
    font-family: var(--font-cursive);
    font-size: 2.5rem;
    margin-top: -15px;
    z-index: 1;
}

.date-large .year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.time {
    font-weight: 500;
    color: var(--text-main);
    border-top: 1px solid var(--rose-gold-light);
    border-bottom: 1px solid var(--rose-gold-light);
    padding: 5px 0;
    width: 60%;
    margin: 10px auto;
}

.locations {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.location-item h4 {
    font-family: var(--font-heading);
    color: var(--rose-gold-dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.location-item p {
    font-size: 0.85rem;
}

/* Action Buttons Grid */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 5px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.icon-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--rose-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--rose-gold);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    background-color: var(--rose-gold);
    color: white;
}

.action-item span {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* Godparents */
.cursive-title {
    font-family: var(--font-cursive);
    font-size: 2.8rem;
    color: var(--rose-gold-dark);
    font-weight: normal;
    margin-bottom: 15px;
    text-align: center;
}

.color-palette {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 2px solid white;
}

.inspire-title {
    font-family: var(--font-cursive);
    font-size: 2rem;
    color: var(--rose-gold);
    font-weight: normal;
    margin: 20px 0 10px;
}

.inspire-image img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Instagram Filter */
.large-icon-btn {
    width: 70px;
    height: 70px;
    font-size: 2rem;
    margin: 0 auto 10px;
}

.instagram-filter {
    text-align: center;
    margin-top: 10px;
}

/* Footer */
.signature-intro {
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.final-names {
    font-size: 2.5rem;
    line-height: 1.3;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    body {
        background-color: #f5f5f5;
        display: flex;
        justify-content: center;
    }
    
    .invitation-container {
        background-color: var(--bg-color);
        box-shadow: 0 0 30px rgba(0,0,0,0.05);
        min-height: auto;
        overflow: hidden;
    }
}
