/* --- CORE VARIABLES --- */
:root {
    --bg-color: #0f0f0f;
    --text-main: #f0f0f0;
    --text-muted: #888;
    --accent: #ff4d00; /* Grove Orange */
    --font-head: 'Oswald', sans-serif;
    --font-body: 'Inter', 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);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- DRAG & DROP UTILS --- */
.droppable-area {
    position: relative;
    background-color: #1a1a1a;
    border: 2px dashed #333;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.droppable-area:hover {
    border-color: var(--accent);
    background-color: #222;
}

.droppable-area.drag-over {
    border-color: #fff;
    background-color: #333;
}

.droppable-area picture {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.droppable-area img.uploaded-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.drop-instruction {
    z-index: 0;
    text-align: center;
    padding: 20px;
    color: #555;
    pointer-events: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.highlight { 
    color: var(--accent); 
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 1.2rem;
    text-transform: uppercase;
    border: 2px solid var(--accent);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.btn:hover { 
    background: transparent; 
    color: var(--accent); 
}

section { 
    padding: 80px 0; 
}

/* --- SECTIONS --- */
/* HERO */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
}

/* The specific droppable area for Hero needs to be full screen */
#hero-drop {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; 
    left: 0;
    border: none;
    background: #111;
}

/* Overlay to darken image so text pops */
.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    z-index: 2;
    pointer-events: none; /* Let clicks pass through to drop area */
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none; /* To allow dropping on bg */
}

.hero-content * { 
    pointer-events: auto; 
} /* Re-enable buttons/text select */

.hero-content p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.hero-content h1 {
    font-size: 8.5rem;
    line-height: 1;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.time-val {
    font-size: 4rem;
    font-family: var(--font-head);
    color: var(--accent);
    display: block;
}

.time-label { 
    font-size: 1rem; 
    text-transform: uppercase; 
}

/* VIBE */
.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.vibe-img-container {
    height: 400px;
    width: 100%;
}

.vibe-text ul {
    list-style: none;
    margin-top: 20px;
}

.vibe-text li {
    padding: 8px 0;
    color: var(--text-main);
}

/* HOSTS */
.hosts { 
    background: #151515; 
    text-align: center; 
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 60px auto 0;
}

.host-card .droppable-area {
    height: 400px;
    width: 100%;
    margin-bottom: 20px;
}

/* FUEL & SOUND */
.split-section { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
}

.split-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-img-container { 
    height: 600px; 
    width: 100%; 
}

/* RSVP */
.rsvp { 
    text-align: center; 
    background: #000; 
}

.rsvp-subtitle {
    margin-bottom: 30px;
    color: #888;
}

.rsvp-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input, select, textarea {
    padding: 15px;
    background: #222;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-body);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Consent Checkbox */
.consent-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1.3;
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--accent);
}

.consent-checkbox span {
    flex: 1;
}

@media (max-width: 768px) {
    .consent-checkbox {
        font-size: 0.75rem;
    }
}

.info-icon {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    cursor: help;
    margin-left: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.info-icon:hover {
    opacity: 1;
}

/* FOOTER */
.site-footer {
    background: #000;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.site-footer a {
    color: var(--accent);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-date {
    margin-top: 10px;
    font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-content h1 { 
        font-size: 4rem; 
    }
    
    .time-val {
        font-size: 2.5rem;
    }
    
    .countdown {
        gap: 25px;
    }
    
    .vibe-grid, 
    .hosts-grid, 
    .split-section { 
        grid-template-columns: 1fr; 
    }
    
    .split-content { 
        padding: 40px 20px; 
    }
    
    .split-img-container { 
        height: 300px; 
    }
}

