.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.overview-icon-item-top {
    padding-bottom: 24px;
}

.overview-icon-item-bottom {
    padding-top: 24px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #666;
    --accent-color: #000;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-medium: #e8e8e8;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation Bar */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-medium);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* Home Section */
.hero {
    margin-top: 70px;
    padding: 80px 0;
    background: var(--white);
    color: var(--text-color);
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    min-width: 200px;
}

.hero-image {
    margin-bottom: 1.5rem;
}

.hero-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: var(--shadow);
}

.hero-info {
    text-align: center;
    width: 100%;
}

.hero-info .name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: var(--primary-color);
    font-weight: 600;
}

.education-info {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
}

.education-item {
    margin-bottom: 0.4rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
}

.education-item:last-child {
    margin-bottom: 0;
}

.hero-info .contact-info {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    margin-top: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    text-decoration: underline;
}

.hero-info .cv-download {
    margin-top: 1.2rem;
    display: flex;
    justify-content: center;
    text-align: center;
}

.hero-right {
    flex: 1;
    max-width: 600px;
}

.project-overview {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.project-overview .section-title {
    margin-bottom: 2.5rem;
}

#projects.section {
    padding-top: 20px;
}

.project-overview.has-overview .overview-wrapper {
    padding-left: 80px;
}

.project-overview.has-overview .overview-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-100%);
    width: 105px;
    height: 95px;
    background: url('images/me.jpg') center/cover no-repeat;
    border-radius: 0;
    opacity: 0.9;
}

.overview-wrapper {
    position: relative;
}

.overview-category {
    text-align: center;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.overview-category-bottom {
    margin-top: 1.5rem;
}

.overview-grid {
    --overview-columns: 4;
    --overview-gap: 0.75rem;
    position: relative;
    padding: 1.75rem 0;
}

.overview-row {
    display: grid;
    grid-template-columns: repeat(var(--overview-columns), minmax(0, 1fr));
    gap: 2.5rem;
    position: relative;
}

.overview-row-top {
    margin: 0;
    padding-bottom: var(--overview-gap);
}

.overview-row-bottom {
    margin: 0;
    padding-top: var(--overview-gap);
    transform: translateX(calc(var(--bottom-shift, 0) * -1%));
}

.overview-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px dotted var(--text-color);
    height: 1px;
    pointer-events: none;
}

.overview-item {
    position: relative;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.overview-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.overview-item-top {
    padding-bottom: 40px;
}

.overview-item-bottom {
    padding-top: 40px;
}

.overview-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.overview-card img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    background: var(--white);
}

.overview-label-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.overview-line-dot {
    position: absolute;
    top: -3px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-color);
    transform: translateX(-50%);
}

.overview-item {
    grid-column: var(--column, auto);
}

@media (max-width: 768px) {
    .overview-grid {
        --overview-columns: 2;
        padding: 2rem 0;
    }
    
    .overview-card img {
        width: 60px;
        height: 60px;
    }
    
    .overview-label-text {
        font-size: 0.7rem;
    }
}

.hero-right .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.hero-right .about-content {
    text-align: left;
}

.hero-right .about-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hero-right .about-content p strong {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    color: var(--text-color);
}

.about-list {
    list-style: none;
    margin: 0.2rem 0 1.2rem 0;
    padding-left: 1.8rem;
}

.about-list li {
    display: block;
    position: relative;
    padding-left: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.about-bullet {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--black);
    font-weight: 700;
    line-height: 1;
}

.about-bullet::before {
    content: '•';
}

.cv-download {
    margin-top: 2rem;
    text-align: center;
}

.btn-cv {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(26, 26, 26, 0.25);
    cursor: pointer;
}

.btn-cv:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-cv i {
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-5px);
    color: var(--black);
}

/* General Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--black);
}

.bg-light {
    background: var(--bg-light);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Education Section */
.education-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--black);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.4rem;
    top: 0.3rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--black);
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--black);
}

.timeline-year {
    font-weight: bold;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content .institution {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.coursework-section {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-medium);
}

/* Projects Section */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.projects-overview-section .overview-wrapper {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.overview-category {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overview-category-title {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: center;
}

.overview-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

.overview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    text-align: center;
}

.overview-item-top .line-wrapper {
    order: 0;
}

.overview-item-top .icon-block {
    order: 1;
}

.overview-item-bottom .line-wrapper {
    order: 1;
}

.overview-item-bottom .icon-block {
    order: 0;
}

.line-wrapper {
    position: relative;
    width: 110px;
    height: 60px;
}

.line-wrapper .dashed {
    position: absolute;
    top: 0;
    width: 100%;
    border-top: 1px dotted var(--black);
}

.line-wrapper .dot {
    position: absolute;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--black);
    transform: translate(-50%, -50%);
}

.line-wrapper .dot.bottom {
    top: 100%;
}

.line-wrapper .connector {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 40px;
    background: var(--black);
    transform: translateX(-50%);
}

.line-wrapper .connector.bottom {
    bottom: 0;
}

.line-wrapper .connector.top {
    top: 0;
}

.icon-block {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.icon-block img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--bg-medium);
    filter: grayscale(100%);
    background: var(--white);
    box-shadow: var(--shadow);
}

.icon-block .title {
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    font-weight: 600;
    color: var(--black);
}

.project-category {
    border-top: 1px solid var(--bg-medium);
    padding-top: 2.5rem;
}

.project-category:first-child {
    border-top: none;
    padding-top: 0;
}

.project-category-title {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.project-category-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    max-width: 780px;
}

.project-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 2.5rem 2rem;
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
    cursor: pointer;
    transition: var(--transition);
}

.project-card-link:hover .project-card {
    opacity: 0.8;
}

.project-image {
    width: 250px;
    height: 250px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-medium);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.project-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.project-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.project-keywords {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    font-size: 0.8rem;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Project Detail Page */
.project-detail-section {
    margin-top: 70px;
    padding: 80px 0;
}

.project-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.back-link:hover {
    color: var(--black);
    transform: translateX(-5px);
}

/* Project Detail Navigation */
.project-detail-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.project-nav-btn {
    background: none;
    border: none;
    color: var(--black);
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    padding: 0;
}

.project-nav-btn:hover:not(:disabled) {
    opacity: 0.6;
}

.project-nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.project-nav-btn:disabled:hover {
    opacity: 0.2;
}

.project-detail-title {
    font-size: 2.1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.project-detail-meta {
    margin-bottom: 2rem;
}

.project-detail-period {
    color: var(--text-light);
    font-size: 1.1rem;
}

.project-detail-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.project-detail-keywords .keyword {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--bg-light);
    color: var(--text-color);
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid var(--bg-medium);
}

.project-detail-links {
    display: none;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-detail-links .project-related-link {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.project-detail-links .project-related-link:hover {
    border-color: var(--primary-color);
}

.project-detail-hero {
    margin: 2rem 0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid var(--bg-medium);
}

.project-detail-hero-image {
    width: 80%;
    height: auto;
    display: block;
    border: none;
    border-radius: 0;
    margin: 0 auto;
}

.project-detail-body {
    margin-top: 2rem;
}

.project-detail-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
    white-space: pre-line;
    margin-bottom: 1.5rem;
}

/* Structured Content Styles */
.project-detail-heading {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-detail-heading:first-child {
    margin-top: 0;
}

.project-detail-heading h2 {
    font-size: 1.8rem;
}

.project-detail-heading h3 {
    font-size: 1.5rem;
}

.project-detail-heading h4 {
    font-size: 1.3rem;
}

/* Image Styles */
.project-detail-image-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.project-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.project-detail-image-caption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Video Styles */
.project-detail-video-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.project-detail-video {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.project-detail-video-caption {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* Image Group Styles */
.project-detail-image-group {
    margin: 2rem 0;
    display: grid;
    gap: 1.5rem;
}

.project-detail-image-group-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.project-detail-image-group-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 1rem 0;
}

.project-detail-image-group-carousel .project-detail-image-wrapper {
    flex: 0 0 80%;
    scroll-snap-align: start;
    margin: 0;
}

/* List Styles */
.project-detail-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-color);
    line-height: 1.8;
}

.project-detail-list li {
    margin-bottom: 0.8rem;
}

/* Quote Styles */
.project-detail-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--black);
    background: var(--bg-light);
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

.project-detail-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

/* Code Styles */
.project-detail-code {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--bg-medium);
    border-radius: 5px;
    overflow-x: auto;
}

.project-detail-code code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-color);
    white-space: pre;
}

/* Publications Section */
.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-medium);
    transition: background 0.4s ease;
}

.publication-item.hash-highlight {
    background: rgba(0, 0, 0, 0.03);
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.publication-item .authors {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.publication-item .venue {
    margin-bottom: 0.75rem;
    font-style: italic;
    color: var(--text-light);
}

.publication-summary {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.6;
}

.publication-link-row {
    margin-top: 0.5rem;
}

.publication-project-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.publication-project-link:hover {
    text-decoration: underline;
}

.publication-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-medium);
    color: var(--text-light);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Portfolio Section */
.portfolio-download {
    max-width: 600px;
    margin: 2rem auto 0;
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--bg-medium);
    border-radius: 8px;
    background: var(--bg-light);
}

.portfolio-description {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.btn-portfolio {
    gap: 0.4rem;
    font-size: 0.95rem;
}

.btn-portfolio i {
    font-size: 0.95rem;
}

/* Honors & Awards */
.honors-list {
    max-width: 900px;
    margin: 0 auto;
}

.honor-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid var(--bg-medium);
}

.honor-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.honor-year {
    color: var(--black);
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    min-width: 100px;
}

.honor-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.honor-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--bg-medium);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    color: var(--black);
}

.skill-category p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--bg-medium);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    font-size: 2rem;
    color: var(--black);
    margin-top: 0.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-overview-section .overview-wrapper {
        padding-left: 0;
    }

    .overview-labels {
        position: static;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .overview-label {
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        border-top: 1px solid var(--bg-medium);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-left {
        width: 100%;
        align-items: center;
    }

    .hero-right {
        width: 100%;
        max-width: 100%;
    }

    .hero-right .section-title {
        text-align: center;
        font-size: 1.8rem;
    }

    .hero-info .name {
        font-size: 1.5rem;
    }

    .hero-image img {
        width: 120px;
        height: 120px;
    }

    .section-title {
        font-size: 2rem;
    }

    .projects-grid {
        gap: 2rem;
    }

    .project-category-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex-direction: column;
        gap: 1rem;
    }

    .project-image {
        width: 100%;
        height: 250px;
    }

    .hero-content {
        flex-direction: column;
    }

    .education-timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 2rem;
    }

    .timeline-item::before {
        left: -0.35rem;
        top: 0.3rem;
    }

    .honor-item {
        flex-direction: column;
        gap: 1rem;
    }

    .honor-year {
        min-width: auto;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-navigation {
        margin-bottom: 1.5rem;
    }

    .project-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-detail-title {
        font-size: 1.8rem;
    }

    .project-detail-text {
        font-size: 1rem;
    }

    .project-detail-heading {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .project-detail-image-group-grid {
        grid-template-columns: 1fr;
    }

    .project-detail-image-group-carousel .project-detail-image-wrapper {
        flex: 0 0 90%;
    }

    .project-detail-quote {
        padding: 1rem 1.5rem;
    }

    .overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .btn-nav-side {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .btn-nav-left {
        left: 0.5rem;
    }

    .btn-nav-right {
        right: 0.5rem;
    }

}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Text Selection */
::selection {
    background: var(--black);
    color: var(--white);
}

/* Interests Section Styles */
.interests-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0 3rem;
}

.interest-tab {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    position: relative;
    font-weight: 300;
    letter-spacing: 2px;
}

.interest-tab::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.3s ease;
}

.interest-tab.active {
    color: var(--black);
}

.interest-tab.active::after {
    width: 100%;
}

.interest-tab:hover {
    color: var(--black);
}

.interest-tab-content {
    display: none;
}

.interest-tab-content.active {
    display: block;
}

.interest-category {
    margin-bottom: 4rem;
}

.interest-category-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.photography-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.photography-city-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.photography-city-card:hover {
    transform: translateY(-5px);
}

.photography-city-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--bg-light);
    margin-bottom: 1rem;
}


.photography-city-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Community images - fixed 4:3 aspect ratio */
.community-city-image {
    aspect-ratio: 4 / 3;
}

.community-city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photography-city-card:hover .photography-city-image img {
    transform: scale(1.05);
}

.photography-city-info {
    text-align: left;
}

.photography-city-name {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-weight: 300;
    letter-spacing: normal;
}

.photography-city-date {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: normal;
}

/* Community Section Styles */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.community-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    border: 1px solid var(--bg-medium);
    transition: var(--transition);
}

.community-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.community-placeholder {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    padding: 3rem 0;
}

/* Photography Detail Page Styles */
.photography-detail-section {
    padding-top: 100px;
}

.photography-detail-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.photography-detail-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-medium);
}

.photography-detail-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.photography-detail-date {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Photography Viewer Styles - Split layout with description and image */
.photography-viewer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    align-items: start;
}

.photography-viewer-description {
    padding-right: 2rem;
}

.photography-viewer-description-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
    white-space: pre-line;
}

.photography-viewer {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 80px 50px;
}

.photography-viewer-image-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photography-viewer-image {
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Image sizing: portrait images larger, landscape long edge = portrait short edge */
.photography-viewer-image[data-orientation="portrait"] {
    max-height: 80vh;
    max-width: 60vh;
    width: auto;
    height: auto;
}

.photography-viewer-image[data-orientation="landscape"] {
    max-width: 60vh;
    max-height: 80vh;
    width: auto;
    height: auto;
}

/* Venice images - larger size */
.photography-viewer-image.venice-image[data-orientation="portrait"] {
    max-height: 90vh;
    max-width: 70vh;
}

.photography-viewer-image.venice-image[data-orientation="landscape"] {
    max-width: 80vh;
    max-height: 90vh;
}

.photography-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-light);
    border: 1px solid var(--bg-medium);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.photography-viewer-nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.95);
    color: var(--black);
    border-color: var(--black);
}

.photography-viewer-nav.prev {
    left: -50px;
}

.photography-viewer-nav.next {
    right: -50px;
}

.photography-viewer-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.5);
}

.photography-viewer-nav:disabled:hover {
    opacity: 0.3;
    background: rgba(255, 255, 255, 0.5);
}

.photography-viewer-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    z-index: 10;
}

/* Lightbox Styles */
.photography-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
}

.photography-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.photography-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 10001;
    transition: opacity 0.3s ease;
}

.photography-lightbox-close:hover {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .photography-cities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .photography-city-image {
        max-width: 100%;
    }
    
    .photography-city-name,
    .photography-city-date {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    
    .interest-tab {
        font-size: 0.9rem;
    }
    
    .photography-detail-title {
        font-size: 2rem;
    }
    
    .photography-viewer-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .photography-viewer-description {
        padding-right: 0;
    }
    
    .photography-viewer {
        min-height: 60vh;
        padding: 0 60px 40px;
    }
    
    .photography-viewer-image[data-orientation="portrait"] {
        max-height: 60vh;
        max-width: 100%;
    }
    
    .photography-viewer-image[data-orientation="landscape"] {
        max-width: 100%;
        max-height: 60vh;
    }
    
    .photography-viewer-nav {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .photography-viewer-nav.prev {
        left: -40px;
    }
    
    .photography-viewer-nav.next {
        right: -40px;
    }
    
    .photography-viewer-counter {
        bottom: -35px;
        font-size: 0.8rem;
        padding: 0;
    }
}
