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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #333;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

/* Header and Navigation - Simple style like target */
.header {
    background: #ffffff;
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: normal;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #f5f5f5;
    text-decoration: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Simple and clean */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.7)), url('photos/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 3rem 0;
    text-align: left;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
    color: #333;
}

.hero-date {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: normal;
    color: #666;
}

.hero-description {
    margin-top: 2rem;
}

.hero-description p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
}

/* Section Styling */
section {
    padding: 1rem 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: normal;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

/* Program Section - Table style like target */
.program {
    background-color: #ffffff;
}



/* Resources Section */
.resources {
    background-color: #ffffff;
}

.description {
    background-color: #ffffff;
}

.tutorial-description {
    padding: 0;
}

.tutorial-description p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: justify;
    margin: 0;
    color: #333;
}

.slide-viewer,
.video-placeholder {
    background-color: #f8f9fa;
    padding: 2rem;
    margin: 1rem 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

/* Notebook Links */
.notebook-links {
    margin: 2rem 0;
    width: 40%;
}

.notebook-item {
    /* padding: 1.5rem; */
    margin-bottom: 1.5rem;
}



.notebook-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.notebook-item p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.colab-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #f57c00;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 0.5px solid #f57c00;
    border-radius: 5px;
    background-color: white;
    transition: all 0.3s ease;
    margin-right: 0;
    margin-bottom: 0.25rem;
}

.colab-link:hover {
    background-color: #f57c00;
    color: white;
    transform: translateY(-1px);
}

.colab-link img {
    height: 20px;
    width: auto;
}

/* Speakers Section */
.speakers {
    background-color: #ffffff;
}

.speaker-list {
    margin-bottom: 0rem;
}

.speaker-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.speaker-item:last-child {
    border-bottom: none;
}

.speaker-photo-transparent {
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 8px;
    border: none;
}

.speaker-photo {
    flex-shrink: 0;
}

.speaker-photo img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
}

.speaker-details {
    flex: 1;
}

.speaker-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.speaker-affiliation {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.speaker-details h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.speaker-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
}

/* Venue Section */
.venue {
    background-color: #ffffff;
}

.venue-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.venue-text {
    flex: 1;
}

.venue-logo {
    flex-shrink: 0;
}

.mlsp-logo {
    height: 120px;
    max-width: 200px;
    object-fit: contain;
}

.funding-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.funding-section h4 {
    margin-bottom: 1rem;
    color: #333;
}

.funding-logos {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.logo-placeholder {
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #666;
}

.logo {
    height: 60px;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.logo:hover {
    filter: grayscale(0%);
}

/* Footer */
.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

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

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .speaker-item {
        flex-direction: column;
        gap: 1rem;
    }

    .speaker-photo img {
        width: 120px;
        height: 120px;
    }



    .funding-logos {
        flex-direction: column;
        align-items: center;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 1.2rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }


}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Format links */
.format-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.format-link:hover {
    color: #0052a3;
    border-bottom-color: #0052a3;
}

/* PDF Controls */
.pdf-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0.75rem 0 0.5rem 0;
    padding: 0.6rem 0.75rem;
    background-color: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.pdf-nav-btn {
    padding: 0.4rem 0.8rem;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.pdf-nav-btn:hover {
    background-color: #0052a3;
}

.pdf-nav-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.pdf-page-info {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #495057;
    font-weight: 500;
}

.page-input {
    width: 50px;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
}

.page-separator {
    color: #6c757d;
}

/* Slide viewer */
.slide-viewer {
    /* margin: 0 auto; */
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    /* max-width: 900px; */
    width: 100%;
}

#pdfContainer {
    position: relative;
    background-color: transparent;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#pdfCanvas {
    max-width: 100%;
    max-height: 700px;
    box-shadow: none;
    background-color: transparent;
    border-radius: 0;
    border: none;
}

.pdf-loading, .pdf-error {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #6c757d;
}

.pdf-error {
    color: #dc3545;
}

.pdf-loading {
    font-size: 1.1rem;
    font-weight: 500;
}

.fallback-btn {
    padding: 0.5rem 1rem;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.fallback-btn:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .pdf-controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
        margin: 0.5rem 0 0.25rem 0;
    }
    
    .pdf-page-info {
        margin-left: 0;
        order: -1;
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .page-input {
        width: 40px;
    }
    
    #pdfContainer {
        min-height: auto;
        padding: 0;
    }
    
    #pdfCanvas {
        max-height: 480px;
        max-width: 100%;
    }
} 