@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');

:root {
    --primary-color: #a58e52;      /* Elegant Gold */
    --primary-dark: #8c7844;
    --secondary-color: #828c73;    /* Olive green */
    --secondary-dark: #666e5a;
    --bg-color: #f7f6f2;           /* Textured off-white */
    --text-color: #4a4a4a;         /* Dark grey */
    --text-light: #7a7a7a;
    --card-bg: rgba(255, 255, 255, 0.95);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Simulate the paper texture */
    background-image: url('data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h40v40H0V0zm20 20h20v20H20V20zM0 20h20v20H0V20z" fill="%23efece3" fill-opacity="0.4" fill-rule="evenodd"/%3E%3C/svg%3E');
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(165, 142, 82, 0.2);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    max-width: 500px;
    margin: 2rem auto;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Optional: top and bottom floral accents */
.glass-card::before, .glass-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.glass-card::before {
    top: -20px;
    left: -20px;
    /* Floral svg placeholder if needed */
}
.glass-card > * {
    position: relative;
    z-index: 1;
}

.event-title {
    color: var(--primary-color);
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0;
    text-align: center;
    line-height: 1;
}

.event-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

.guest-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: center;
}

/* Custom Buttons */
.btn-gold {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-gold:hover, .btn-gold:focus {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}
.btn-outline-gold:hover {
    background-color: rgba(165, 142, 82, 0.05);
    color: var(--primary-dark);
}

.btn-decline {
    background-color: #f8f9fa;
    color: var(--text-light);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}
.btn-decline:hover {
    background-color: #e9ecef;
    color: var(--text-color);
}

.btn-map {
    background-color: #f1f3f4;
    color: var(--text-color);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}
.btn-map:hover {
    background-color: #e2e6ea;
    color: var(--text-color);
}

.map-icon {
    width: 16px;
    height: 16px;
}

/* Animations */
.slide-up-anim {
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.info-icon {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Status Badges */
.badge-status {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.badge-confirmed {
    background-color: rgba(165, 142, 82, 0.15);
    color: var(--primary-dark);
    border: 1px solid var(--primary-color);
}
.badge-declined {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--primary-color);
    margin: 1.5rem 0;
}
.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(165, 142, 82, 0.3);
}
.separator:not(:empty)::before {
    margin-right: .5em;
}
.separator:not(:empty)::after {
    margin-left: .5em;
}

/* Button stack container */
.rsvp-buttons-stack {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
