/* --- BAUHAUS RESET & DESIGN SYSTEM --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-cream: #f4f1ea;     /* Classic vintage paper backdrop */
    --bh-black: #1a1a1a;     /* Stark modernist ink */
    --bh-red: #d63c2e;       /* Deep primary red */
    --bh-blue: #2b5c8f;      /* Slate Bauhaus blue */
    --bh-yellow: #e4a834;    /* Ochre yellow accent */
    --border-thick: 4px solid #1a1a1a;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-cream);
    color: var(--bh-black);
    overflow-x: hidden;
}

/* --- HERO BLOCK (Asymmetric & Grid-Based) --- */
.hero {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: var(--border-thick);
}

/* Left side of screen holding text */
.hero-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-right: var(--border-thick);
    background-color: var(--bg-cream);
    position: relative;
}

/* Large Bauhaus watermark text hidden in background overlay */
.hero-content::before {
    content: "P + B";
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Syne', sans-serif;
    font-size: 12rem;
    font-weight: 800;
    color: rgba(26, 26, 26, 0.03); 
    line-height: 0.8;
    pointer-events: none;
}

.hero-content h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--bh-black);
    margin-bottom: 20px;
    word-break: break-word;
    z-index: 2;
}

.subtitle {
    font-family: 'Syne', sans-serif; /* Applied bold hero accent font */
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    z-index: 2;
}

.date {
    font-family: 'Syne', sans-serif; /* Applied bold hero accent font */
    font-size: 1.2rem;
    padding: 10px 15px;
    border: 2px solid var(--bh-black);
    display: inline-block;
    width: max-content;
    margin-bottom: 40px;
    font-weight: 700;
    z-index: 2;
}

/* Right side of screen containing geometric composition */
.hero-graphic {
    display: grid;
    grid-template-rows: 1fr 1fr;
    background-color: var(--bh-black);
}

.graphic-top {
    background-color: var(--bh-red);
    border-bottom: var(--border-thick);
    position: relative;
}

/* Large Bauhaus circle icon layer */
.graphic-top::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 40px;
    width: 150px;
    height: 150px;
    background-color: var(--bh-yellow);
    border-radius: 50%;
    border: var(--border-thick);
    z-index: 2;
}

.graphic-bottom {
    background-color: var(--bh-blue);
}

/* --- COUNTDOWN & INTERACTIVE ELEMENTS --- */
.countdown-box {
    border-top: var(--border-thick);
    padding-top: 20px;
    margin-bottom: 30px;
    z-index: 2;
}

#countdown {
    font-family: 'Syne', sans-serif; /* Shifted countdown tracker to bold layout */
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--bh-red);
}

.btn {
    display: inline-block;
    text-align: center;
    padding: 15px 40px;
    background-color: var(--bh-black);
    color: var(--bg-cream);
    text-decoration: none;
    font-family: 'Syne', sans-serif; /* Swapped button label font */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--bh-black);
    transition: all 0.2s ease;
    z-index: 2;
}

.btn:hover {
    background-color: var(--bh-red);
    color: white;
}

/* --- DETAILS SECTION --- */
.details {
    padding: 100px 60px;
    border-bottom: var(--border-thick);
}

h2 {
    font-family: 'Syne', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 60px;
    position: relative;
    font-weight: 800;
    letter-spacing: -1px;
}

/* --- BAUHAUS STRIKETHROUGH STYLE --- */
del {
    color: var(--bh-black);              /* Keeps the word "Day" stark black */
    text-decoration: line-through;       /* Activates the strikethrough line */
    text-decoration-color: var(--bh-yellow); /* Uses your exact Ochre yellow accent variable */
    text-decoration-thickness: 6px;      /* Thick line to match your bold typography */
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Forces exactly two columns side-by-side */
    gap: 0;
    border: var(--border-thick);
}

/* Forces the third card (What) to take up both columns on the second row */
.card:nth-child(3) {
    grid-column: span 2;
}
/* --- FIXED BAUHAUS CARD BORDERS --- */
.card {
    background: var(--bg-cream);
    padding: 40px;
    text-align: left;
    display: flex;         
    flex-direction: column; 
    height: 100%;          
}

/* 1. Left card (When) gets a right border to cleanly divide the column */
.card:first-child {
    border-right: var(--border-thick);
}

/* 2. Top row cards (When & Where) get a clean bottom border to divide rows */
.card:nth-child(1), .card:nth-child(2) {
    border-bottom: var(--border-thick);
}

}
.card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--bh-blue);
    font-weight: 800;
}

.card p {
    font-family: 'Syne', sans-serif; /* Upgraded detail content paragraphs to Syne font */
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase; /* Looks dramatically stronger in block capitals */
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.card p strong {
    color: var(--bh-red); /* Highlights event labels in stark primary red */
}

.card p em {
    font-style: normal;
    color: var(--bh-yellow);
    background-color: var(--bh-black);
    padding: 3px 8px;
    display: inline-block;
    margin-top: 10px;
}

/* --- RSVP SECTIONS --- */
.rsvp-section {
    padding: 100px 60px;
    background-color: var(--bh-yellow);
}

.rsvp-section h2 {
    font-family: 'Syne', sans-serif;
}

.rsvp-section p {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.rsvp-form {
    max-width: 600px;
    margin-top: 40px;
    background: var(--bg-cream);
    padding: 50px;
    border: var(--border-thick);
    box-shadow: 15px 15px 0px var(--bh-black); 
}

label {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    display: block;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    border: 2px solid var(--bh-black);
    background-color: var(--bg-cream);
    font-family: 'Syne', sans-serif; /* Changed from Space Grotesk */
    font-weight: 700;                /* Makes user input look bold */
    text-transform: uppercase;       /* Keeps input in block capitals */
    font-size: 1rem;
    border-radius: 0; 
}

input:focus, select:focus, textarea:focus {
    outline: none;
    background-color: white;
    border-color: var(--bh-red);
}

.submit-btn {
    width: 100%;
    background-color: var(--bh-black);
    color: white;
    font-size: 1.1rem;
}

/* --- RESPONSIVE LAYOUT (Mobile adjustments) --- */
@media (max-width: 768px) {
    /* 1. Fix Hero section collapsing and text overflow */
    .hero {
        height: auto; /* Allows the container to expand naturally with the text */
        grid-template-columns: 1fr; /* Stacks layout elements vertically */
    }

    .hero-content {
        padding: 40px 20px;
        border-right: none;
        border-bottom: var(--border-thick); /* Creates a crisp boundary line above graphic */
    }

    /* 2. Scale the geometric artwork cleanly on small screens */
    .hero-graphic {
        height: 400px; /* Gives the graphic container a fixed structural home on mobile */
        grid-template-rows: 1fr 1fr;
    }

    /* Adjust the overlapping Bauhaus circle position for mobile proportions */
    .graphic-top::before {
        width: 100px; /* Slightly smaller circle radius for mobile viewports */
        height: 100px;
        bottom: -35px; /* Re-centers overlapping point over the grid divider */
        left: 30px;
    }

    /* 3. Grid Details System */
    .grid {
        grid-template-columns: 1fr; /* Drops info cards down to a single vertical column */
    }
    
    .card:nth-child(3) {
        grid-column: span 1; /* Prevents stretching layout errors on narrow viewports */
    }

    /* Standardizes clean horizontal line dividers between all stacked mobile cards */
    .card:first-child {
        border-right: none;
    }
    
    .card:not(:last-child) {
        border-bottom: var(--border-thick);
    }
}

/* ==========================================================================
   RESTORED DESIGN SYSTEM & TEXT STYLES (Paste at the very bottom)
   ========================================================================== */

/* 1. Bauhaus Link Styling */
.card a {
    color: var(--bh-blue); 
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--bh-blue);
    transition: all 0.15s ease-in-out;
}

.card a:hover {
    color: var(--bg-cream);
    background-color: var(--bh-blue);
}

/* 2. Main Card Headers (When, Where, What) */
.card h3 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--bh-blue);
    font-weight: 800;
}

/* 3. Card Paragraph Texts */
.card p {
    font-family: 'Syne', sans-serif; 
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.card p strong {
    color: var(--bh-red); 
}

.card p em {
    font-style: normal;
    color: var(--bh-yellow);
    background-color: var(--bh-black);
    padding: 3px 8px;
    display: inline-block;
    margin-top: 10px;
}

/* 4. What Box Internal Layout & Sub-Headers */
.card-section {
    margin-bottom: 30px;
}

.card-section:last-child {
    margin-bottom: 0;
}

/* Large, uppercase section subheaders styled in Ochre Yellow */
.card h4 {
    font-family: 'Syne', sans-serif;
    font-size: 22px; 
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
    color: var(--bh-yellow);
}

/* High-contrast list/shoutout text */
.card .emphasis {
    font-weight: 800;
    color: var(--bh-red); 
    margin: 12px 0;
}

/* Centered performance text container styling */
.card .emphasis.centered {
    text-align: center;
    padding: 12px 0;
    border-top: 2px solid var(--bh-black);
    border-bottom: 2px solid var(--bh-black);
    margin: 20px 0;
}
