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

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header - Blue section (1/8 of viewport height) */
.header {
    background-color: #1B5E83;
    height: 12.5vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 3rem;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #CC9900;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

/* Main content - White section */
.main-content {
    background-color: white;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Home page quote */
.quote {
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    color: black;
    text-align: left;
    max-width: 800px;
    line-height: 1.8;
    font-weight: bold;
}

.quote-line {
    margin-bottom: 0.5rem;
}

.quote-author {
    margin-top: 1rem;
    text-align: right;
}

/* About page content */
.about-content {
    display: none;
    max-width: 1000px;
    width: 100%;
    display: none;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.about-content.active {
    display: grid;
}

.profile-photo {
    width: 300px;
    height: 400px;
    background-color: #f0f0f0;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
}

.about-text {
    color: black;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1rem;
}

/* Blog page content */
.blog-content {
    display: none;
    max-width: 1000px;
    width: 100%;
    text-align: left;
}

.blog-content.active {
    display: block;
}

.blog-content h1 {
    margin-bottom: 2rem;
    font-family: 'Lora', serif;
    font-size: 2rem;
}

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

.post-list li {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
}

.post-list li:first-child {
    padding-top: 0;
}

.post-list a {
    color: #1B5E83;
    font-family: 'Lora', serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
}

.post-list a:hover {
    color: #CC9900;
}

.post-list time,
.post-content time {
    display: block;
    margin: 0.35rem 0 0.7rem;
    color: #666;
    font-size: 0.95rem;
}

.post-list p {
    color: #333;
    line-height: 1.6;
}

.empty-posts {
    color: #666;
    font-size: 1.2rem;
    font-style: italic;
}

.post-content {
    max-width: 760px;
    width: 100%;
    color: #111;
    line-height: 1.75;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    margin: 1.5rem 0 1rem;
    font-family: 'Lora', serif;
    line-height: 1.3;
}

.post-content h1 {
    font-size: 2.2rem;
}

.post-content p,
.post-content ul,
.post-content pre {
    margin-bottom: 1rem;
}

.post-content ul {
    padding-left: 1.5rem;
}

.post-content a,
.back-link {
    color: #1B5E83;
}

.post-content code {
    background-color: #f4f4f4;
    border-radius: 4px;
    padding: 0.1rem 0.3rem;
    font-size: 0.95em;
}

.post-content pre {
    overflow-x: auto;
    background-color: #f4f4f4;
    border-radius: 6px;
    padding: 1rem;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

/* Page content sections */
.page-content {
    display: none;
}

.page-content.active {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
    .header {
        padding: 0 1.5rem;
        height: auto;
        min-height: 12.5vh;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav {
        gap: 1.5rem;
    }

    .nav a {
        font-size: 1rem;
    }

    .quote {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-photo {
        width: 250px;
        height: 300px;
        justify-self: center;
    }

    .main-content {
        padding: 1rem;
    }
}
/* cv */
.cv-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.cv-button a {
    display: inline-block;
    background-color: #1B5E83;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(27, 94, 131, 0.3);
    transition: all 0.3s ease;
}

.cv-button a:hover {
    background-color: #CC9900;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 94, 131, 0.4);
}

@media (max-width: 768px) {
    .cv-button {
        bottom: 1rem;
        right: 1rem;
    }
    
    .cv-button a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
