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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* ===========================================
   NAVIGATION
   =========================================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 2rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-logo {
    height: 40px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.navbar-link:hover {
    color: #dc2626;
}

.navbar-link.active {
    color: #dc2626;
    border-bottom: 2px solid #dc2626;
}

.navbar-link.disabled {
    color: #aaa;
    cursor: not-allowed;
}

.navbar-link.disabled:hover {
    color: #aaa;
}

/* ===========================================
   LAYOUT - Generic page layouts
   =========================================== */

.page-centered {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.container-narrow {
    padding: 2.5rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* ===========================================
   TYPOGRAPHY - Text blocks and titles
   =========================================== */

.text-centered {
    text-align: center;
    margin-bottom: 2rem;
}

.title-large {
    font-size: 2.5rem;
    color: #555;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.title-primary {
    color: #dc2626;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.title-highlight {
    font-size: 3rem;
    color: #dc2626;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.title-secondary {
    font-size: 2.5rem;
    color: #555;
    font-weight: 700;
}

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

.text-muted {
    color: #718096;
    font-style: italic;
}

.text-description {
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===========================================
   COMPONENTS - Reusable UI elements
   =========================================== */

/* Highlighted background box */
.bg-highlight {
    background-color: #fef2f2;
}

/* Info box with accent border */
.info-box {
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #555;
}

.info-box p {
    margin-bottom: 0.5rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Card/Section component */
.card {
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-header {
    background-color: #dc2626;
    color: white;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.card-content {
    padding: 1rem 1.5rem;
}

/* ===========================================
   IMAGES
   =========================================== */

.logo-large {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.image-showcase {
    max-width: 900px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ===========================================
   FORMS
   =========================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2626;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background-color: #dc2626;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* ===========================================
   MESSAGES & STATUS
   =========================================== */

.msg {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.95rem;
}

.msg.ok {
    background-color: #d1fae5;
    color: #065f46;
}

.msg.error {
    background-color: #fee2e2;
    color: #991b1b;
}

.status {
    text-align: center;
    padding: 2rem;
    font-size: 1.5rem;
    color: #666;
}

.status.error {
    color: #991b1b;
}

/* ===========================================
   LISTS - Generic list styles
   =========================================== */

.list-clean {
    list-style: none;
}

.list-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.list-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c5282;
    transition: color 0.2s;
}

.list-link:hover {
    color: #1a365d;
}

.list-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    fill: #e53e3e;
}

.list-text {
    font-size: 0.95rem;
}

/* ===========================================
   LINKS & HELPERS
   =========================================== */

.link-section {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.25rem;
}

.link-section a {
    color: #dc2626;
    text-decoration: none;
    font-weight: 600;
}

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

.link-section p {
    margin-top: 0.5rem;
    color: #666;
    font-size: 1.1rem;
}

.hidden {
    display: none;
}

/* ===========================================
   SCHEDULE/PROGRAM - Uses generic classes
   =========================================== */

.schedule {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.schedule-item.bg-highlight {
    margin: 0 -1rem;
    padding: 1.5rem 1rem;
    border-radius: 4px;
}

.schedule-time {
    min-width: 120px;
    font-weight: 600;
    color: #dc2626;
    font-size: 1.1rem;
}

.schedule-content {
    flex: 1;
}

.schedule-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.schedule-speaker {
    font-weight: 700;
    color: #dc2626;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.schedule-topic {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.schedule-content-with-image {
    display: flex;
    gap: 1.5rem;
}

.schedule-text {
    flex: 1;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .navbar-menu {
        gap: 1rem;
    }

    .navbar-link {
        font-size: 0.85rem;
    }

    .navbar-logo {
        height: 32px;
    }

    .container {
        margin: 1rem auto;
    }

    .title-large,
    .title-secondary {
        font-size: 1.5rem;
    }

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

    .logo-large {
        max-width: 90%;
    }

    .schedule-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .schedule-time {
        min-width: auto;
    }

    .schedule-content-with-image {
        flex-direction: column;
    }

    .image-thumb {
        width: 120px;
        height: 120px;
    }
}
