/* ==========================================================================
   现代化学术个人网站 - 橙色主题设计
   ========================================================================== */

/* 全局变量定义 */
:root {
    /* 主色调 */
    --primary-orange: #ff6b35;
    --secondary-orange: #ff8c42;
    --light-orange: #ffb084;
    --dark-orange: #e55a2b;
    --accent-orange: #ff9a6b;
    
    /* 背景色系 */
    --pure-white: #ffffff;
    --warm-white: #fefcfb;
    --light-gray: #f8f9fa;
    --soft-gray: #e9ecef;
    --medium-gray: #6c757d;
    
    /* 文字色系 */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #adb5bd;
    --text-muted: #8d9298;
    
    /* 玻璃效果 */
    --glass-white: rgba(255, 255, 255, 0.9);
    --glass-light: rgba(255, 255, 255, 0.7);
    --glass-orange: rgba(255, 107, 53, 0.1);
    
    /* 阴影系统 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-orange: 0 8px 32px rgba(255, 107, 53, 0.2);
    
    /* 动画和过渡 */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* 布局 */
    --max-width: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    /* 字体 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* 基础重置和全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--pure-white) 100%);
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 进度条 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    z-index: 9999;
    transition: width var(--transition-fast);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
}

/* ==========================================================================
   导航栏
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 53, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange), var(--dark-orange));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-orange);
    background: var(--glass-orange);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-orange);
    background: var(--glass-orange);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero 区域
   ========================================================================== */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-text {
    max-width: 600px;
}

.hero-greeting {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-orange);
    font-weight: 500;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero-name {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero-title {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: var(--pure-white);
    color: var(--text-primary);
    border: 2px solid var(--soft-gray);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero 图片区域 */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--pure-white);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.image-container:hover .profile-img {
    transform: scale(1.05);
}

/* 浮动元素 */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    animation: float 4s ease-in-out infinite;
}

.floating-card:nth-child(1) {
    top: 15%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    bottom: 20%;
    left: -15%;
    animation-delay: 1s;
}

.floating-card i {
    color: var(--primary-orange);
    font-size: 1rem;
}

/* ==========================================================================
   About 区域
   ========================================================================== */

.about-section {
    padding: 100px 0;
    background: var(--pure-white);
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 3px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* 卡片通用样式 */
.info-card,
.education-card,
.interests-card,
.advisor-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 107, 53, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.info-card:hover,
.education-card:hover,
.interests-card:hover,
.advisor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.card-header i {
    font-size: 1.25rem;
    color: var(--primary-orange);
    width: 24px;
    text-align: center;
}

.card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 个人信息卡片 */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.info-item:hover {
    background: var(--glass-orange);
}

.info-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.info-item .label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.info-item a:hover {
    color: var(--primary-orange);
}

/* 教育背景卡片 */
.education-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-orange);
}

.edu-period {
    background: var(--primary-orange);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: fit-content;
    white-space: nowrap;
}

.edu-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.edu-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.gpa {
    background: var(--glass-orange);
    color: var(--primary-orange);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* 研究兴趣卡片 */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.interest-item:hover {
    background: var(--glass-orange);
    transform: translateY(-2px);
}

.interest-item i {
    color: var(--primary-orange);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.interest-item span {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* 导师信息卡片 */
.advisor-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.advisor-info p {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   Research 区域
   ========================================================================== */

.research-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.filter-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    background: var(--pure-white);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--glass-orange);
    color: var(--primary-orange);
}

.filter-btn.active {
    background: var(--primary-orange);
    color: white;
    box-shadow: var(--shadow-sm);
}

.projects-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-card {
    background: var(--pure-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 107, 53, 0.08);
    width: 100%;
    max-width: 500px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

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

.tag {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.project-content {
    padding: 2rem;
}

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

.project-date {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.project-status {
    background: var(--glass-orange);
    color: var(--primary-orange);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.project-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-highlights {
    list-style: none;
    padding: 0;
}

.project-highlights li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.project-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* ==========================================================================
   Contact 区域
   ========================================================================== */

.contact-section {
    padding: 100px 0;
    background: var(--pure-white);
}

.contact-grid {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 107, 53, 0.08);
}

.contact-card:hover {
    background: var(--glass-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-orange);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.contact-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-btn:hover {
    background: var(--dark-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* ==========================================================================
   返回顶部按钮
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-orange);
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.4);
}

/* ==========================================================================
   动画定义
   ========================================================================== */

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

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   滚动条样式
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary-orange), var(--secondary-orange));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--dark-orange), var(--primary-orange));
}

/* 选择文本样式 */
::selection {
    background: rgba(255, 107, 53, 0.2);
    color: var(--text-primary);
}

/* ==========================================================================
   响应式设计
   ========================================================================== */

@media (max-width: 768px) {
    html {
        scroll-padding-top: 100px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--glass-white);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: var(--transition-smooth);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .image-container {
        width: 250px;
        height: 250px;
    }
    
    .floating-card {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .image-container {
        width: 200px;
        height: 200px;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}