html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f0f4f1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1, h2, h3, h4 {
    font-family: "Times New Roman", Times, serif;
    color: #000;
    margin-bottom: 0.5em;
    font-weight: bold;
}

h1 { font-size: 2.5rem; margin-top: 0; }
h2 { font-size: 2rem; border-bottom: 2px solid #dde3de; padding-bottom: 10px; margin-top: 0; }
h3 { font-size: 1.5rem; margin-top: 2rem; }
h4 { font-size: 1.2rem; margin-top: 1.5rem; }

p, ul { margin-bottom: 1.5rem; }

a { color: #0056b3; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }
.lead { font-size: 1.25rem; font-weight: 500; }

header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-link {
    display: block;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.hamburger {
    display: none;
    font-size: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #000;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 5px 0;
}

nav a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.content-section {
    padding: 60px 0;
}

#home {
    padding: 80px 0 40px;
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
}

.profile-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
}

.btn:hover {
    background-color: #333;
    color: #fff;
    text-decoration: none;
}

.reference-box {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #e6ece7;
    border-left: 4px solid #000;
}

.reference-box p {
    margin-bottom: 0;
}

.reference-box .btn {
    margin-top: 15px;
}

.info-box {
    background-color: #fff;
    border: 1px solid #dde3de;
    border-radius: 4px;
    padding: 25px;
    margin: 20px 0 30px;
}

.info-box > h3:first-child,
.info-box > h4:first-child {
    margin-top: 0;
}

.info-box p:last-child,
.info-box ul:last-child,
.info-box .reference-box:last-child {
    margin-bottom: 0;
}

.schedule-list {
    list-style: none;
    padding-left: 0;
}

.schedule-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f4f1;
}

.schedule-list li:last-child {
    border-bottom: none;
}

.schedule-list li.break {
    color: #666;
    font-style: italic;
    padding-left: 15px;
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding-top: 20px;
        padding-bottom: 15px;
    }

    .about-grid {
        flex-direction: column-reverse;
    }

    .about-image {
        margin: 0 auto 30px;
        text-align: center;
    }
}