/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Banner */
.banner {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    max-height: 42vh;
    height: 42vh;
}

.banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* Header and Navigation */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #333;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    background-color: #fff;
}

.hero h1 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.date-location {
    font-size: 1.1rem;
    color: #666;
}

/* Intro Section */
.intro-section {
    padding: 2rem 0;
    background-color: #fff;
}

.intro-section p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.intro-section p:last-child {
    margin-bottom: 0;
}

/* Sections */
.section {
    padding: 3rem 0;
    border-top: 1px solid #e0e0e0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    font-weight: 700;
}

.section h3 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.section p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
    color: #444;
}

.section a {
    color: #0066cc;
    text-decoration: none;
}

.section a:hover {
    text-decoration: underline;
}

/* Schedule Table */
.schedule-table {
    margin: 2rem 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

thead {
    background-color: #f5f5f5;
    border-bottom: 2px solid #e0e0e0;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

td:first-child {
    font-weight: 600;
    white-space: nowrap;
    width: 150px;
    color: #666;
}

tbody tr:hover {
    background-color: #f9f9f9;
}

tbody tr:last-child td {
    border-bottom: none;
}

td em {
    color: #666;
    font-size: 0.9rem;
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
}

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

.person {
    text-align: center;
    padding: 1rem 0;
}

.person-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.person-photo img {
    width: 100%;
    height: 100%;
    max-width: 120px;
    max-height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.person-photo-placeholder::after {
    content: '';
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #b0b0b0;
    position: absolute;
}

.person h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.person p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.speaker-links {
    font-size: 0.85rem;
    color: #666;
    margin: 0.5rem 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.speaker-links a {
    color: #0066cc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.speaker-links a:hover {
    color: #004499;
}

.speaker-links svg {
    display: inline-block;
    vertical-align: middle;
}

.link-separator {
    color: #999;
    margin: 0 0.25rem;
}

.speaker-bio {
    font-size: 0.7rem;
    color: #555;
    margin-top: 0.75rem !important;
    line-height: 1.5;
    text-align: left;
    font-style: normal;
}

.organizer-email {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f5f5f5;
    border-left: 3px solid #333;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .section h2 {
        font-size: 1.6rem;
    }

    .people-grid {
        grid-template-columns: 1fr;
    }

    table {
        font-size: 0.9rem;
    }

    td:first-child {
        width: 100px;
    }
}
