/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a2a4a;
    --secondary-color: #2d4a7a;
    --accent-color: #a83232;
    --text-dark: #1e2a3a;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-white: #f8f7f4;
    --bg-light: #edf0f5;
    --border-color: #dde2ea;
    --border-dark: #c5ccd7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

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

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.025em;
}

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

.nav-link {
    text-decoration: none;
    color: #b8c9dc;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.2s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 4rem 0 3rem 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: 0.25rem;
    font-weight: 400;
}

.affiliation {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

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

.hero-credentials h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.credentials-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.credentials-list li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.content-card {
    max-width: 800px;
}

.content-card h3 {
    font-size: 1.125rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-card h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.content-card ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-dark);
}

.content-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.content-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.content-card p {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Research Links */
.research-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-profile {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-profile:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-bottom-color: var(--primary-color);
}

.external-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    padding-bottom: 2px;
}

.external-link:hover {
    border-bottom-color: var(--accent-color);
}

/* Teaching Section */
.teaching-grid {
    margin: 1.5rem 0;
}

.course-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.course-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.course-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.course-description {
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.course-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.course-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    padding-bottom: 1px;
    width: fit-content;
}

.course-link:hover {
    border-bottom-color: var(--accent-color);
}

/* Office Hours Section */
.office-hours-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.office-hours-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.office-hours-section p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.office-hours-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    padding-bottom: 2px;
    display: inline-block;
}

.office-hours-link:hover {
    border-bottom-color: var(--accent-color);
}

/* Accounting Issues Grid */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.issue-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.issue-item h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.issue-date {
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.issue-item p:last-child {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact Info */
.contact-info {
    font-size: 0.95rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.contact-info a:hover {
    border-bottom-color: var(--accent-color);
}

/* Ad Placeholder */
.ad-placeholder {
    background-color: var(--bg-light);
    border: 1px dashed var(--border-dark);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    margin-top: 2rem;
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #8aa0bc;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    border-top: 2px solid var(--accent-color);
}

.footer p {
    margin: 0.25rem 0;
}

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

    .subtitle {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

/* Remove emoji styles, keep text clean */
.credentials-list li,
.content-card li {
    font-size: 0.95rem;
}
