/* Main styles - Header */
.header {
    background: white;
    z-index: 1000;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.23em;
    line-height: 1em;
    color: #1a1f2d;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-menu {
    margin-left: auto;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
    margin: 0;
}

/* Hyperlink Styling (all links except preheader menu) */
a:not(.nav-menu a) {
    color: #ce8464;
    text-decoration: underline;
    transition: color 0.3s ease;
}

a:not(.nav-menu a):hover {
    color: #d69a7a;
}

/* Preheader menu links keep their original styling */
.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: #666;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1rem 2rem 0 2rem;
    margin-top: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 0 2rem;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 350;
    font-style: normal;
    font-size: 54px;
    letter-spacing: 0em;
    line-height: 1.25em;
    color: #1a1f2d; /* Changed to #1a1f2d */
    margin-bottom: 2.5rem; /* Adjusted margin */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #000;
}

.hero-availability {
    font-size: 1.2rem;
    color: #000;
}

/* Hero Image Section */
.hero-image-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 2rem;
}

.image-container {
    width: 100%;
    height: 468px;
    overflow: hidden;
    position: relative;
}

.parallax-image {
    position: absolute;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 120%;
    top: -38%;
    object-fit: cover;
    object-position: center;
}

/* About Section */
.about {
    margin-top: 1rem; /* Adjusted margin */
    padding: 1rem 2rem; /* Adjusted padding */
}
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}
.about-image {
    flex-shrink: 0;
}
.about-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}
.about-text {
    flex: 1;
}
.about-text h2 {
    font-size: 2rem;
    font-weight: 350;
    margin-bottom: 1rem;
    color: #1a1f2d; /* Changed to #1a1f2d */
}
.about-text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 350;
    font-style: normal;
    font-size: 18px;
    letter-spacing: 0.035em;
    line-height: 1.7em;
    text-transform: none;
    color: #1a1f2d; /* Changed to #1a1f2d */
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Featured Works Section */
.featured-works {
    margin-top: 0.5rem;
    padding: 2rem;
}

/* Section Titles */
.section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 350;
    font-style: normal;
    font-size: 54px;
    letter-spacing: 0em;
    line-height: 1.25em;
    text-align: center;
    color: #1a1f2d; /* Changed to #1a1f2d */
    margin: 0.01rem 0 2rem 0; /* Adjusted margin */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.work-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.work-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.learn-more-bubble {
    background: white;
    color: #1a1f2d;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.learn-more-bubble:hover {
    background: #f8f8f8;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Exception for Featured Works bubbles */
.learn-more-bubble {
    color: #1a1f2d !important;
    text-decoration: none !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Override generic hyperlink rule for bubbles */
a.learn-more-bubble {
    color: #1a1f2d !important;
    text-decoration: none !important;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* Resume Section */
.resume {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}
.resume-container {
    max-width: 1200px;
    margin: 0 auto;
}
.resume-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}
.resume-label {
    width: 200px;
    flex-shrink: 0;
    font-family: 'Minion Pro Display', 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.015em;
    line-height: 1.5em;
    text-transform: none;
    color: #1a1f2d;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start; /* Aligned to top */
    justify-content: center;
    text-align: center;
    min-height: 80px;
}
.resume-content {
    flex: 1;
    padding: 1rem;
    border-radius: 8px;
    min-height: 80px;
    display: block; /* Changed from flex to block */
    font-family: 'Minerva Modern', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 350;
    font-style: normal;
    letter-spacing: 0.035em;
    line-height: 1.7em;
    text-transform: none;
    color: #293047;
}

/* Resume Dividers */
.resume-divider {
    width: 66.66%;
    height: 1px;
    background-color: #d1d5db; /* Lighter color for subtle dividers */
    margin: 2rem 0 2rem 220px; /* Left margin to align with second column start (200px label + 20px gap) */
}

/* Featured Blog Section */
.featured-blog {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: left;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-date {
    color: #666;
}

.blog-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    font-size: 0.8rem;
    color: #666;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: #007acc;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: #007acc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #005a99;
}

/* Blog Page Styles */
.blog-header {
    margin-top: 2rem;
    padding: 2rem;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.blog-posts {
    padding: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-post-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.post-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 1rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.post-date {
    color: #666;
}

.post-tags {
    display: flex;
    gap: 0.25rem;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #007acc;
}

.post-excerpt {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

/* Blog Archives */
.blog-archives {
    margin-top: 4rem;
    padding: 2rem;
    text-align: center;
}

.archives-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.year-group {
    margin-bottom: 3rem;
}

.year-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #007acc;
    padding-bottom: 0.5rem;
}

.month-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.month-group {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 1.5rem;
}

.month-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 1rem;
}

.month-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-post {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.archive-post:last-child {
    border-bottom: none;
}

.archive-date {
    font-size: 0.9rem;
    color: #666;
    min-width: 60px;
    margin-right: 1rem;
}

.archive-title {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.archive-title:hover {
    color: #007acc;
}

/* Contact Section */
.contact {
    margin-top: 4rem;
    padding: 2rem 2rem 3.75rem 2rem; /* 3.75rem = 60px for bottom spacing */
    text-align: center;
}
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}
.contact-email {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

/* Add some top margin to the body to account for fixed header */
body {
    margin-top: 0;
}
