:root {
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --link-color: #065fd4;
    --link-hover: #0039a6;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #eaeaea;
    --highlight-bg: #f0f7ff;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* --transition-speed: all 0.3s ease; */
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --primary-color: #2563eb;
    --site-title: #03276a;
}

/* Step 1: CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Step 2: Body styles */
body {
  font-family: Roboto, Lato, Helvetica, sans-serif;
  background-color: #edeff5;
  color: #333;
  line-height: 1.6;
  padding-top: 110px;
}

/* Step 3: Main container */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 10px;
}

/* Step 4: Headings */
h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 10px;
}

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

/* Step 5: Text */
p {
  margin-bottom: 15px;
}

/* Step 6: Links */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Step 6: Links */
a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* Header & Navigation */
.site-header {
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--site-title);
    margin-bottom: 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: #ffffff;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.site-branding {
    flex: 1;
    min-width: 300px;
}

.site-title {
    font-size: 1.8rem;
    font-family: Lato, "Inter";
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.site-subtitle {
    font-size: 1.3rem;
    /* font-family: Lucida Handwriting, cursive; */
    font-family: "EB Garamond";
    font-weight: 400;
    font-style: normal;
    color: var(--text-secondary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
}


.nav-link:hover {
    color: var(--link-color);
    border: none !important;
    text-decoration: none;
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    /* bottom: -2px; */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--link-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: color var(--transition);
}

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

main {
    margin-top: 4rem;
}

/* Introduction Section */
.intro-section {
    margin-bottom: 0rem;
}

.intro-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .intro-content {
        grid-template-columns: 1fr;
    }
}

.intro-text {
    font-size: 1.0rem;
    line-height: 1.5;
}

.page-photo {
    flex-shrink: 0;
}

.page-photo img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-color);
}

@media (max-width: 700px) {
    .page-layout {
        flex-direction: column-reverse;
        text-align: center;
    }

    .page-photo img {
        width: 140px;
        height: 140px;
    }
}

.contact-info h3 {
    margin-bottom: 3rem;
}

.contact-info p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all var(--transition-speed);
    text-decoration: none;
}

.contact-info a:hover {
    background-color: var(--link-color);
    color: white;
    transform: translateY(-2px);
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    color: var(--link-color);
    font-size: 1.2rem;
    transition: all var(--transition-speed);
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--link-color);
    color: white;
    transform: translateY(-2px);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-speed);
}

.theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(30deg);
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.copyright {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Dark Mode */
body.dark-mode {
    --primary-color: #60a5fa;
    --primary-dark: #3b82f6;
    --secondary-color: #a78bfa;
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --bg-color: #111827;
    --bg-secondary: #1f2937;
    --border-color: #374151;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.interest-tag {
    background-color: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.interest-tag:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}


/* ===== Recent Updates ===== */
.recent-updates {
    padding: 0rem 0 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 3rem;
}

.recent-updates .section-title {
    font-family: Roboto, Lato, Helvetica, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.75rem;
    letter-spacing: 0.3px;
}

.updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 720px;
}

.updates-list li {
    display: flex;
    gap: 1.5rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--border-color);
    align-items: baseline;
    font-family: Roboto, Lato, Helvetica, sans-serif;
}

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

.update-date {
    flex-shrink: 0;
    width: 110px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.update-text {
    font-size: 1.0rem;
    color: var(--text-primary);
    line-height: 1.5;
    font-family: Roboto, Lato, Helvetica, sans-serif;
}