/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* 添加完整的字体回退链，确保跨平台一致性 */
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    overflow-y: auto; /* Allow scrolling when overlay is hidden */
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    max-width: 80%;
}

.loading-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #000;
    letter-spacing: -0.02em;
}

.loading-bar {
    width: 100%;
    height: 2px;
    background-color: #e0e0e0;
    border-radius: 1px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    width: 0;
    background-color: #000;
    animation: loadingAnimation 1.5s ease-in-out infinite;
    transition: width 0.4s ease;
}

@keyframes loadingAnimation {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

/* Additional CSS continues below... */

/* Typography */
h1, h2, h3, h4 {
    /* 添加完整的字体回退链，确保跨平台一致性 */
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #000;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #444;
}

/* Additional typography elements */
.text-large {
    font-size: 1.3rem;
    line-height: 1.7;
}

.text-small {
    font-size: 0.9rem;
}

.text-bold {
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Visual hierarchy adjustments */
.hero-content h1 {
    font-size: 5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-text h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

.thought-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.date {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.filter-btn {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.thought-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 140px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

/* Subtle animations */
.thought-card, .gallery-item, .about-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.thought-card {
    animation-delay: 0.2s;
}

.gallery-item {
    animation-delay: 0.1s;
}

/* Enhanced hover effects */
.nav-menu a::after,
.filter-btn::before {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img img,
.thought-img img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Border adjustments */
.about-image .image-container,
.thought-card,
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.nav-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo h2 {
    font-size: 1.8rem;
    /* 添加完整的字体回退链 */
    font-family: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    transition: color 0.3s ease;
    letter-spacing: -0.02em;
}

.logo h2:hover {
    color: #000;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 0.01em;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 低对比度渐变背景 - 采用同色系的2种相近色调 */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    /* 添加极细微的纹理效果 */
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-size: 
        40px 40px, /* 纹理大小 */
        100% 100%; /* 渐变大小 */
    background-position: center;
    color: #333;
    position: relative;
    /* 微妙的动态效果 - 缓慢的背景平移 */
    animation: subtleBackgroundMove 20s ease-in-out infinite alternate;
}

/* 微妙的背景平移动画 */
@keyframes subtleBackgroundMove {
    0% {
        background-position: 0% 0%, center;
    }
    100% {
        background-position: 50% 50%, center;
    }
}

/* 增强前景内容的对比度和层次感 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    position: relative;
    z-index: 2; /* 确保内容在叠加层之上 */
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
    /* 移除深色文本阴影，改为轻微的模糊效果 */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.03em;
    /* 增强文本与背景的对比度 */
    color: #222;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.8rem;
    animation: fadeInUp 1s ease 0.2s both;
    margin-bottom: 2.5rem;
    /* 移除深色文本阴影，改为轻微的模糊效果 */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-weight: 300;
    letter-spacing: 0.02em;
    /* 增强文本与背景的对比度 */
    color: #444;
}

/* 个人介绍 Section */
.about-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 400px;
    height: 500px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
}

/* 时间轴样式 */
.timeline-container {
    margin-top: 80px;
    padding: 0 20px;
}

.timeline-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #000;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #222;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
    display: inline-block;
}

.timeline-section {
    margin-bottom: 3.5rem;
}

.timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.6s;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #000;
    border-radius: 50%;
    margin-right: 20px;
    position: relative;
    top: 0.7rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    flex: 1;
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 3px solid transparent;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    border-left-color: #000;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
}

.timeline-institution,
.timeline-institution {
    font-size: 1.2rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.timeline-degree,
.timeline-position {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1rem;
    font-style: italic;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

/* 特殊文本样式 - 用于QS、54、985等数字和字母 */
.special-text {
    font-family: 'Montserrat', sans-serif;
    font-size: inherit;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.02em;
}

/* 响应式时间轴 */
@media screen and (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-container {
        max-width: 100%;
        height: 400px;
    }
    
    .timeline-container {
        margin-top: 60px;
        padding: 0;
    }
    
    .timeline-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-date {
        font-size: 0.85rem;
    }
    
    .timeline-institution {
        font-size: 1.1rem;
    }
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* 统一关于我部分的字体样式 */
.about-text p,
.bio-details p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1rem;
}

.bio-details {
    margin: 1.5rem 0;
}

.skills h4 {
    font-size: 1.3rem;
    margin: 2rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.skill-item h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: #000;
    transition: width 1s ease-in-out;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    max-width: 350px;
    height: 450px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* 摄影分享 Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    gap: 10px;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background-color: transparent;
    border: 1px solid #333;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #000;
    transition: all 0.3s ease;
    z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 350px;
}

.gallery-img {
    width: 100%;
    height: 100%;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-img img {
    transform: scale(1.05);
}

.gallery-info h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* 天马行空 Section */
.thoughts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.thought-card {
    background-color: #fff;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: 5px;
}

.thought-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.thought-img {
    height: 200px;
    overflow: hidden;
}

.thought-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thought-card:hover .thought-img img {
    transform: scale(1.1);
}

.thought-content {
    padding: 1.8rem;
}

.thought-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: #f8f8f8;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.thought-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.thought-card p {
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.7;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: padding-left 0.3s ease;
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 3rem 0 2rem;
}

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

.footer-contact {
    order: 1;
}

.footer-copyright {
    order: 2;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: center;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 0;
    text-align: center;
}

.footer-email {
    color: white;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.footer-email:hover {
    color: white;
}

.footer-email:hover::after {
    width: 100%;
}

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

/* 全屏图片查看器样式 */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fullscreen-viewer.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fullscreen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.fullscreen-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1400px;
    max-height: 800px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    transform: scale(0);
    animation: scaleIn 0.3s ease forwards;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.fullscreen-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background-color: transparent;
    color: white;
    border: none;
    font-size: 40px;
    cursor: pointer;
    padding: 10px;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.fullscreen-close:hover {
    color: #ccc;
    transform: rotate(90deg);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 20px 15px;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 2;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-prev {
    left: -80px;
}

.fullscreen-next {
    right: -80px;
}

.fullscreen-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .fullscreen-content {
        width: 95%;
        height: 95%;
        max-height: none;
    }
    
    .fullscreen-close {
        top: -30px;
        right: -30px;
        font-size: 30px;
    }
    
    .fullscreen-nav {
        font-size: 24px;
        width: 50px;
        height: 50px;
        padding: 15px 10px;
    }
    
    .fullscreen-prev {
        left: -60px;
    }
    
    .fullscreen-next {
        right: -60px;
    }
}

@media screen and (max-width: 480px) {
    .fullscreen-close {
        top: -25px;
        right: -25px;
        font-size: 25px;
    }
    
    .fullscreen-nav {
        font-size: 20px;
        width: 45px;
        height: 45px;
        padding: 12px 8px;
    }
    
    .fullscreen-prev {
        left: -50px;
    }
    
    .fullscreen-next {
        right: -50px;
    }
}

/* 确保图片点击区域可点击 */
.gallery-img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
    
    .nav-menu li {
        margin-left: 1.8rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .image-container {
        max-width: 100%;
        height: 350px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-item {
        height: 300px;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
    
    .thoughts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .thought-content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu li {
        margin: 1.2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
}