/* ==========================================================================
   Dark Mode Neon Theme Variables
   ========================================================================== */
:root {
    --bg-main: #020202;      /* Purest Black */
    --bg-box: #0A0A0A;       /* Very Dark Grey for cards */
    --border-color: #1A1A1A;
    
    --neon-cyan: #00ffff;
    --neon-magenta: #ff00ff;
    --neon-purple: #9d00ff;
    --text-white: #ffffff;
    --text-muted: #888888;
    
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

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

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

a {
    text-decoration: none;
    color: var(--neon-cyan);
}

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

/* ==========================================================================
   Neon Utilities
   ========================================================================== */
.neon-text {
    font-family: var(--font-heading);
    color: #fff;
}

.neon-text.cyan {
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-cyan),
        0 0 40px var(--neon-cyan),
        0 0 80px var(--neon-cyan);
}

.neon-text.magenta {
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-magenta),
        0 0 40px var(--neon-magenta),
        0 0 80px var(--neon-magenta);
}

.neon-text.purple {
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px var(--neon-purple),
        0 0 40px var(--neon-purple),
        0 0 80px var(--neon-purple);
}

/* Flicker Animations */
@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.1;
    }
}
.flicker-fast { animation: flicker 1.5s infinite alternate; }
.flicker-normal { animation: flicker 3s infinite alternate; }
.flicker-slow { animation: flicker 5s infinite alternate; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-neon {
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Moody club background */
    background: url('https://images.unsplash.com/photo-1545128485-c400e7702796?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(2, 2, 2, 0.85);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 10px;
    color: var(--text-white);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-content .names {
    font-size: clamp(3rem, 8vw, 6rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}

.hero-content .ampersand {
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 10px 0;
    font-family: var(--font-heading);
    opacity: 0.8;
}

.neon-box {
    border: 2px solid var(--neon-cyan);
    padding: 20px 40px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2), inset 0 0 20px rgba(0, 255, 255, 0.2);
    font-family: var(--font-heading);
    font-weight: 700;
}

.neon-box .day { font-size: 2.5rem; color: var(--text-white); }
.neon-box .month { font-size: 1.2rem; letter-spacing: 5px; color: var(--neon-cyan); }
.neon-box .year { font-size: 1.2rem; color: var(--text-muted); }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--text-muted);
}

.neon-arrow {
    font-size: 1.5rem;
    color: var(--neon-magenta);
    animation: bounce 2s infinite;
}

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

/* ==========================================================================
   Details Grid Section
   ========================================================================== */
.event-details-neon {
    padding: 120px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    letter-spacing: 5px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.detail-box {
    background: var(--bg-box);
    padding: 40px 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.detail-box:hover {
    border-color: var(--neon-purple);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 0, 255, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    background: var(--bg-main);
}

.icon-wrapper.magenta-glow {
    color: var(--neon-magenta);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5);
    border: 1px solid var(--neon-magenta);
}

.icon-wrapper.cyan-glow {
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border: 1px solid var(--neon-cyan);
}

.icon-wrapper.purple-glow {
    color: var(--neon-purple);
    box-shadow: 0 0 15px rgba(157, 0, 255, 0.5);
    border: 1px solid var(--neon-purple);
}

.detail-box h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.detail-box p {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.detail-box .sub-text {
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-neon {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
    transition: var(--transition);
}

.btn-neon.cyan-btn {
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0,255,255,0.2), inset 0 0 10px rgba(0,255,255,0.2);
}
.btn-neon.cyan-btn:hover {
    background: var(--neon-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0,255,255,0.6);
}

.btn-neon.magenta-btn {
    color: var(--neon-magenta);
    border: 2px solid var(--neon-magenta);
    box-shadow: 0 0 10px rgba(255,0,255,0.2), inset 0 0 10px rgba(255,0,255,0.2);
}
.btn-neon.magenta-btn:hover {
    background: var(--neon-magenta);
    color: #000;
    box-shadow: 0 0 20px rgba(255,0,255,0.6);
}

/* ==========================================================================
   Dress Code
   ========================================================================== */
.dress-code-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0a0a0a, #020202);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.dress-code-section h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 20px 0;
    letter-spacing: 5px;
}

.dress-code-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==========================================================================
   RSVP Section
   ========================================================================== */
.rsvp-neon {
    padding: 120px 0;
}

.rsvp-box {
    background: var(--bg-box);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-box .subtitle {
    color: var(--text-muted);
    margin: 15px 0 40px;
}

.neon-form .input-row {
    margin-bottom: 25px;
}

.neon-form .split {
    display: flex;
    gap: 20px;
}

.neon-form .split .input-group {
    flex: 1;
}

.input-group {
    position: relative;
}

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

.neon-form input,
.neon-form select {
    width: 100%;
    background: rgba(2, 2, 2, 0.8);
    border: 1px solid var(--border-color);
    padding: 18px 18px 18px 50px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: var(--transition);
    appearance: none;
}

.neon-form input:focus,
.neon-form select:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0,255,255,0.2);
}

.neon-form input:focus + i,
.neon-form select:focus + i {
    color: var(--neon-cyan);
}

.neon-form select option {
    background: var(--bg-box);
}

.full-width {
    width: 100%;
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.neon-footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.neon-footer h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 10px;
    letter-spacing: 5px;
}

.neon-footer p {
    font-size: 0.8rem;
    letter-spacing: 4px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .neon-form .split { flex-direction: column; gap: 25px; }
    .hero-content .names { font-size: 3.5rem; }
    .hero-content .ampersand { font-size: 2.5rem; }
    .neon-box { padding: 15px 20px; flex-direction: column; gap: 5px; }
    .rsvp-box { padding: 30px 20px; }
    .dress-code-section h3 { font-size: 1.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);
}
