:root {
    --primary: #ffffff;
    --secondary: #f8f9fa;
    --accent: #e94560;
    --text: #1a1a2e;
    --text-muted: #666666;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
}

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

/* Header */
header {
    position: relative;
    text-align: center;
    border-bottom: 3px solid var(--accent);
    overflow: hidden;
}

.header-bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 1;
}

.workshop-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.subtitle {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 25px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.event-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 1rem;
    color: white;
}

.event-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Navigation */
nav {
    background: var(--secondary);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent);
}

/* Sections */
section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--accent);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

/* Topics */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.topic-card {
    background: var(--secondary);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.3);
    border-left-color: var(--accent);
    border-left-width: 6px;
}

.topic-card h3 {
    color: var(--text);
    margin-bottom: 10px;
}

.topic-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.topic-images-grid img,
.topic-images-grid video {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    user-select: none;
    pointer-events: none;
    background-color: white;
    display: block;
}

.topic-images-grid video.topic-video {
    background-color: white;
}

/* Schedule */
.schedule-table {
    margin-top: 25px;
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.schedule-table thead {
    background: var(--secondary);
}

.schedule-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    border-bottom: 2px solid var(--accent);
}

.schedule-table th:first-child {
    width: 110px;
}

.schedule-table th:nth-child(2) {
    width: 25%;
}

.schedule-table th:nth-child(3) {
    width: auto;
}

.schedule-table th:last-child {
    width: 100px;
    text-align: center;
}

.schedule-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s ease;
}

.schedule-table tbody tr:hover {
    background-color: #f8f9fa;
}

.schedule-table tbody tr:last-child {
    border-bottom: none;
}

.schedule-table td {
    padding: 15px 20px;
    vertical-align: top;
    font-size: 0.9rem;
    color: var(--text);
}

.schedule-table td:first-child {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.schedule-table td:last-child {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

.schedule-table .session-title {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
}

.schedule-table .speaker-name {
    color: var(--text);
}

.schedule-table .speaker-name a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.2s ease;
}

.schedule-table .speaker-name a:hover {
    border-bottom-color: var(--accent);
}

.schedule-table .speaker-affiliation {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.schedule-table tr.break-row {
    background-color: #f5f5f5;
}

.schedule-table tr.break-row:hover {
    background-color: #eeeeee;
}

/* Speakers */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.speaker-card {
    text-align: center;
    background: var(--secondary);
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.speaker-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e0e0e0;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent);
}

.speaker-card h3 {
    color: var(--text);
    margin-bottom: 5px;
}

.speaker-card .affiliation {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Organizers */
.organizers-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.organizer {
    text-align: center;
}

.organizer h3 {
    color: var(--text);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.organizer p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.org-affil {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 8px !important;
}

.org-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px !important;
}

.org-email {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 6px;
    margin-bottom: 0 !important;
}

.org-email a {
    color: var(--accent);
    text-decoration: none;
}

.org-email a:hover {
    text-decoration: underline;
}

/* Join Us */
.join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.join-card {
    text-align: center;
    background: var(--secondary);
    padding: 35px 25px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.25);
}

.join-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.join-card h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.join-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Acknowledgement */
#acknowledgement p a.person-link {
    color: var(--text);
    text-decoration: none;
    font-weight: bold;
}

#acknowledgement p a.person-link:hover {
    color: var(--accent);
}

/* Important Dates */
.dates-list {
    margin-top: 20px;
}

.date-item {
    display: flex;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a4a;
    align-items: center;
}

.date-value {
    min-width: 150px;
    color: var(--accent);
    font-weight: 600;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
}

/* Footer */
footer {
    background: var(--secondary);
    padding: 40px 0;
    text-align: center;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

/* Person photo (circular) */
.person-photo-wrap {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--accent);
}

.person-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-card h3 a,
.organizer h3 a {
    color: var(--text);
    text-decoration: none;
    font-style: italic;
}

.speaker-card h3 a:hover,
.organizer h3 a:hover {
    color: var(--accent);
}

.speaker-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .workshop-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    nav ul {
        gap: 15px;
    }

    .organizers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .schedule-table {
        font-size: 0.85rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 12px 15px;
    }

    .schedule-table th:first-child,
    .schedule-table td:first-child {
        width: 90px;
    }

    .schedule-table th:last-child {
        width: 80px;
    }
}
