/* Base styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --link-color: #3498db;
    --link-hover-color: #2980b9;
    --header-bg: #2c3e50;
    --header-text: #ffffff;
    --nav-bg: #34495e;
    --nav-text: #ffffff;
    --footer-bg: #2c3e50;
    --footer-text: #ecf0f1;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Header */
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: var(--header-text);
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: var(--nav-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 1rem;
    margin-bottom: 0;
}

nav a {
    color: var(--nav-text);
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
}

nav a:hover {
    text-decoration: none;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--light-color);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main content */
main {
    padding: 2rem 0;
}

#content {
    background-color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Session styling */
.session {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.session:last-child {
    border-bottom: none;
}

.session-header {
    margin-bottom: 1rem;
}

.session-title {
    color: var(--primary-color);
}

.session-time {
    font-style: italic;
    color: #666;
}

.session-theme {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Lists styling */
.learning-objectives, .key-concepts {
    background-color: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.learning-objectives h4, .key-concepts h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Horizontal rule */
hr {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    #menu-toggle {
        display: block;
        margin: 0 auto;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        text-align: center;
        padding-top: 1rem;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        margin: 0.5rem 0;
    }
    
    #content {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .container {
        width: 95%;
    }
    
    #content {
        padding: 1rem;
    }
}

/* Add IDs for navigation */
#overview, #day1, #day2, #day3, #day4, #materials, #delivery, #conclusion {
    scroll-margin-top: 70px;
}

/* Add some animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#content {
    animation: fadeIn 0.5s ease-in;
}

/* Print styles */
@media print {
    nav, footer, #menu-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    #content {
        box-shadow: none;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .session {
        page-break-inside: avoid;
    }
}
