/* =====================================================
   BEATRICE PHAN LAW — Estate Planning Webinar
   Landing Page Styles
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600;700&family=Noto+Serif+Display:ital,wght@0,400;0,600;1,400&family=Public+Sans:wght@300;400;500;600&display=swap');

/* =====================================================
   BRAND VARIABLES
   ===================================================== */
:root {
    /* Colors */
    --purple-dark:  #603f6d;
    --purple-mid:   #7a5289;
    --purple-light: #ab90b8;
    --teal:         #3d1f4a;
    --teal-light:   #4a2a5c;
    --yellow:       #FFE58B;
    --white:        #fdfdfd;
    --bg-light:     #f5f3f7;
    --bg-gray:      #eeecf1;
    --border:       #dcd8e3;
    --text-dark:    #1e1428;
    --text-mid:     #4a4055;
    --text-light:   #7a7087;

    /* Typography */
    --font-head:    'Jost', 'Glacial Indifference', sans-serif;
    --font-serif:   'Cormorant Garamond', serif;
    --font-display: 'Noto Serif Display', serif;
    --font-body:    'Public Sans', sans-serif;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 14px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(96, 63, 109, 0.08);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 46px;
    width: auto;
}

.nav-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--teal);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
}

/* =====================================================
   HERO — split layout (image left, info right)
   ===================================================== */
.hero {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 520px;
    background: var(--teal);
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    padding: 56px 52px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    color: var(--white);
}

.event-type-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--teal);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 3px;
    width: fit-content;
}

.event-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.18;
    color: var(--white);
}

.event-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.upcoming-chip {
    background: var(--purple-dark);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 3px;
}

.event-datetime-text {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(253, 253, 253, 0.85);
}

/* Presenter chip in hero */
.presenter-chip {
    display: flex;
    align-items: center;
    gap: 12px;
}

.presenter-chip img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid var(--purple-light);
    flex-shrink: 0;
}

.presenter-chip-info strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.presenter-chip-info span {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(253, 253, 253, 0.72);
}

/* Location row */
.location-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: rgba(253, 253, 253, 0.78);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 18px;
    margin-top: 2px;
}

.location-row svg {
    flex-shrink: 0;
    color: var(--yellow);
}

/* =====================================================
   MAIN LAYOUT — details left, form right
   ===================================================== */
.main-content {
    max-width: 1120px;
    margin: 0 auto;
    padding: 64px 40px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: start;
}

/* =====================================================
   DETAILS COLUMN (left)
   ===================================================== */
.section-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple-dark);
    margin-bottom: 8px;
}

.details-heading {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 6px;
    line-height: 1.2;
}

.details-date {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 28px;
}

.description {
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* "What You'll Learn" */
.learn-heading {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--purple-dark);
    margin: 36px 0 18px;
}

.learn-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.learn-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.96rem;
    color: var(--text-mid);
    line-height: 1.65;
}

.learn-list li::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background-color: var(--purple-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 1px;
}

/* =====================================================
   FORM COLUMN (right, sticky)
   ===================================================== */
.form-column {
    position: sticky;
    top: 90px;
}

.form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: 0 8px 36px rgba(96, 63, 109, 0.13);
    border-top: 4px solid var(--purple-dark);
}

.form-card-heading {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--teal);
    text-align: center;
    margin-bottom: 6px;
}

.form-card-subtext {
    font-family: var(--font-body);
    font-size: 0.86rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Lawmatics form placeholder */
.lawmatics-placeholder {
    border: 2px dashed var(--border);
    border-radius: 8px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    text-align: center;
    gap: 8px;
    background: var(--bg-light);
}

.lawmatics-placeholder .placeholder-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.lawmatics-placeholder p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #aaa;
    line-height: 1.5;
}

.lawmatics-placeholder p strong {
    display: block;
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 4px;
}

/* =====================================================
   PRESENTER SECTION
   ===================================================== */
.presenter-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 64px 40px;
}

.presenter-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.presenter-section-label {
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple-dark);
    margin-bottom: 36px;
    text-align: center;
}

.presenter-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.presenter-card {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    max-width: 620px;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(96, 63, 109, 0.08);
}

.presenter-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 3px solid var(--purple-light);
}

.presenter-name {
    font-family: var(--font-head);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 3px;
}

.presenter-title {
    font-family: var(--font-body);
    font-size: 0.84rem;
    color: var(--purple-dark);
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.presenter-bio {
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--text-mid);
    line-height: 1.75;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--teal);
    padding: 44px 40px;
    text-align: center;
}

.footer-logo {
    height: 38px;
    width: auto;
    margin: 0 auto 12px;
    filter: brightness(0) invert(1);
    opacity: 0.88;
}

.footer-firm {
    font-family: var(--font-head);
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(253, 253, 253, 0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(253, 253, 253, 0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .hero-image {
        height: 340px;
    }

    .hero-image img {
        object-position: center 20%;
    }

    .hero-content {
        padding: 40px 32px;
        gap: 18px;
    }

    .event-title {
        font-size: 2rem;
    }

    .main-content {
        grid-template-columns: 1fr;
        padding: 48px 28px;
        gap: 44px;
    }

    .form-column {
        position: static;
    }

    .navbar {
        padding: 12px 24px;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding: 32px 20px;
        gap: 16px;
    }

    .event-title {
        font-size: 1.65rem;
    }

    .main-content {
        padding: 40px 20px;
    }

    .presenter-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .presenter-section {
        padding: 48px 20px;
    }

    .footer {
        padding: 36px 20px;
    }

    .nav-logo img {
        height: 36px;
    }
}
