/* --- Jamie's Elegant Literary Theme --- */
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@400;600&display=swap');

:root {
    --plum: #5e35b1;      /* Deep Purple Primary */
    --lavender: #f3e5f5;  /* Soft Background */
    --gold: #b28900;      /* Elegant Accents */
    --text-dark: #2d3436;
    --white: #ffffff;
    --shadow: 0 15px 35px rgba(94, 53, 177, 0.12);
}

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

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--lavender);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Typography & Script Styling --- */
.cursive, h1 {
    font-family: 'Pinyon Script', cursive;
    font-weight: 400;
}

h1 {
    font-size: 5rem; 
    margin-bottom: 0.5rem;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--plum);
}

/* --- Navigation --- */
.sub-nav { 
    padding: 1.5rem; 
    max-width: 850px; 
    margin: 0 auto; 
}

.sub-nav a { 
    text-decoration: none; 
    color: var(--plum); 
    font-weight: 600; 
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #4527a0, #7e57c2);
    color: var(--white);
    padding: 6.5rem 2rem;
    text-align: center;
    border-bottom: 6px solid var(--gold);
}

.school-tag {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    display: block;
    opacity: 0.9;
}

.degree {
    font-style: italic;
    font-size: 1.4rem;
    opacity: 0.95;
    margin-top: 5px;
}

/* --- Layout Containers --- */
.info-container { 
    max-width: 850px; 
    margin: -3.5rem auto 4rem auto; 
    padding: 0 1.5rem; 
}

.rsvp-banner {
    background: var(--white);
    padding: 3.5rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid rgba(178, 137, 0, 0.15);
}

.btn-rsvp {
    display: inline-block;
    margin-top: 2rem;
    background: var(--plum);
    color: var(--white);
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: 0.3s;
}

/* --- Grid System --- */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.detail-card {
    background: white;
    padding: 2.2rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(178, 137, 0, 0.1);
}

/* --- Timeline Section --- */
.timeline-day {
    color: var(--plum);
    font-family: 'Pinyon Script', cursive;
    font-size: 3.2rem;
    margin-top: 3.5rem;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
    text-align: left;
}

.timeline-item {
    display: flex;
    gap: 20px;
    border-left: 2px solid var(--gold);
    margin-left: 15px;
    padding: 1.5rem 0 1.5rem 35px;
    position: relative;
}

.timeline-item::before {
    content: '❦'; 
    position: absolute;
    left: -11px;
    top: 1.8rem;
    color: var(--gold);
    background: var(--lavender);
    font-size: 1.2rem;
    line-height: 1;
}

.time {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--plum);
    min-width: 85px;
}

/* --- Parking & Navigation --- */
.parking-card {
    background: var(--white);
    border: 1px solid var(--gold);
    padding: 2rem;
    border-radius: 18px;
    margin-top: 3rem;
}

.parking-card ul {
    list-style-type: '❦  ';
    padding-left: 20px;
}

.map-text-link { 
    color: var(--plum); 
    text-decoration: none; 
    font-weight: 700; 
    border-bottom: 1px dashed var(--gold); 
}

/* --- Map & Contacts --- */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    border: 0;
}

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

.contact-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-link {
    display: block;
    margin-top: 1rem;
    color: var(--plum);
    text-decoration: none;
    font-weight: 600;
}

footer { 
    text-align: center; 
    padding: 5rem 2rem; 
    color: #95a5a6; 
    font-size: 0.9rem; 
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    h1 { font-size: 3.5rem; }
    .hero { padding: 4rem 1rem; }
    .timeline-item { flex-direction: column; gap: 5px; }
}