/* ==========================================================================
   Glassmorphism (Light Theme) Variables
   ========================================================================== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: rgba(0, 0, 0, 0.05);
    --glass-highlight: #4A90E2; /* Brand / Highlight color */
    
    /* Soft, airy pastel colors for light theme */
    --color-1: #FFB7B2; /* Soft Peach */
    --color-2: #E2F0CB; /* Soft Mint */
    --color-3: #B5EAD7; /* Soft Cyan */
    
    --text-main: #2D3436; /* Dark Grey for readability */
    --text-muted: #636E72;
    
    --font-main: 'Outfit', sans-serif;
    
    --radius: 24px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

body {
    font-family: var(--font-main);
    background-color: #F8F9FA; /* Very light grey fallback */
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--glass-highlight);
}

.container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ==========================================================================
   Animated Background Shapes
   ========================================================================== */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #FDFDFD; /* Clean white base */
    z-index: -2;
}

.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.8;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 500px; height: 500px;
    background: var(--color-1);
    top: -100px; left: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 600px; height: 600px;
    background: var(--color-2);
    bottom: -200px; right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 400px; height: 400px;
    background: var(--color-3);
    top: 30%; left: 30%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ==========================================================================
   Glassmorphism Utilities
   ========================================================================== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

.hero-card {
    padding: 60px 40px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.hero-card .eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--glass-highlight);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-card .names {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-card .tagline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.7);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
    color: var(--text-muted);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* ==========================================================================
   Details Section
   ========================================================================== */
.details-section {
    padding: 100px 0;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.detail-card {
    padding: 40px 30px;
    transition: var(--transition);
}

.detail-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    border: 1px solid var(--glass-border);
    color: var(--glass-highlight);
}

.detail-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.detail-card .time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--glass-highlight);
    margin-bottom: 15px;
}

.detail-card .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

/* ==========================================================================
   Forms & Buttons
   ========================================================================== */
.rsvp-section {
    padding: 100px 0 150px;
}

.rsvp-card {
    padding: 50px;
    max-width: 650px;
    margin: 0 auto;
}

.rsvp-card .subtitle {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.glass-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.glass-form .form-row .input-glass {
    flex: 1;
    margin-bottom: 0;
}

.input-glass {
    position: relative;
    margin-bottom: 20px;
}

.input-glass i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.glass-form input,
.glass-form select {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--glass-border);
    padding: 16px 16px 16px 55px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    appearance: none;
}

.glass-form input::placeholder {
    color: var(--text-muted);
}

.glass-form input:focus,
.glass-form select:focus {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--glass-highlight);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.2);
}

.glass-form select option {
    background: #FFFFFF;
    color: var(--text-main);
}

.glass-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.glass-btn:hover {
    background: var(--glass-highlight);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
    border-color: var(--glass-highlight);
}

.small-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

.form-message {
    margin-top: 20px;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.glass-footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}

.glass-footer p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.brand {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.brand a {
    color: var(--glass-highlight);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .glass-form .form-row { flex-direction: column; gap: 20px; }
    .hero-card { padding: 40px 20px; }
    .hero-card .names { font-size: 2.8rem; }
}

/* ==========================================================================
   Action Buttons (Calendar & Map)
   ========================================================================== */
.action-buttons-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
}
.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    background: rgba(128, 128, 128, 0.1);
    color: inherit;
    border: 1px solid currentColor;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.btn-action:hover {
    background: rgba(128, 128, 128, 0.3);
    transform: translateY(-3px);
}
.btn-action i {
    font-size: 1.3rem;
}

.map-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none !important;
    border: 1px solid currentColor;
    transition: all 0.3s ease;
}
.map-link-inline:hover {
    background: rgba(0,0,0,0.1);
}
