:root {
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(12px);
    --primary-text: #ffffff;
    --accent: #f8c8dc; /* Pastel pink */
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-text);
    overflow-x: hidden;
    background: #0f0c29;
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    z-index: -1;
}

/* Glassmorphism elements */
.glass-nav, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px;
}

.glass-nav {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 50px;
    padding: 10px 30px;
}

.glass-nav ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.glass-nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    transition: color 0.3s;
}

.glass-nav a:hover {
    color: var(--accent);
}

/* Typography */
h1, h2 {
    font-family: 'Playfair Display', serif;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Sections */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.glass-card {
    padding: 50px;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    animation: fadeIn 1s ease-out;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.time {
    font-weight: 600;
    color: var(--accent);
}

/* Form */
#rsvp-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, textarea {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea {
    height: 100px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #302b63;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
}

/* Footer */
.glass-footer {
    padding: 20px;
    text-align: center;
    margin-top: 50px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .glass-nav ul { font-size: 0.9rem; }
    .glass-card { padding: 30px; }
}
