<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联系我 - 我的个人博客</title>
    <link rel="stylesheet" href="css/style.css">
    <!-- 引入一个图标库，用于显示社交图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    <script defer src="js/script.js"></script>
</head>
<body>
    <header>
        <div class="container">
            <a href="index.php" class="logo">MyBlog</a>
            <nav class="main-nav">
                <ul>
                    <li><a href="index.php">首页</a></li>
                    <li><a href="about.php">关于我</a></li>
                    <li><a href="portfolio.php">作品集</a></li>
                    <li><a href="contact.php" class="active">联系我</a></li>
                </ul>
            </nav>
            <div class="header-controls">
                <button id="theme-switcher" class="control-btn">☀️</button>
                <button class="hamburger control-btn" id="hamburger-menu">
                    <span></span>
                    <span></span>
                    <span></span>
                </button>
            </div>
        </div>
    </header>

    <main>
        <div class="container">
            <!-- 标题居中 -->
            <h1 style="text-align: center;">与我联系</h1>
            
            <!-- 新的社交链接区域 -->
            <div class="social-links-container">
                <!-- 1. QQ -->
                <a href="https://qm.qq.com/q/jRXYZ123ABC" target="_blank" class="social-link-card">
                    <i class="fab fa-qq social-icon"></i>
                    <span class="social-text">QQ</span>
                </a>
                
                <!-- 2. 电话 -->
                <a href="tel:13800138000" class="social-link-card">
                    <i class="fas fa-phone social-icon"></i>
                    <span class="social-text">电话</span>
                </a>
                
                <!-- 3. GitHub -->
                <a href="https://github.com/your-username" target="_blank" class="social-link-card">
                    <i class="fab fa-github social-icon"></i>
                    <span class="social-text">GitHub</span>
                </a>
                
                <!-- 4. 邮箱 -->
                <a href="mailto:your-email@example.com" class="social-link-card">
                    <i class="fas fa-envelope social-icon"></i>
                    <span class="social-text">邮箱</span>
                </a>
            </div>
            
        </div>
    </main>

    <footer>
        <div class="container">
            <p>&copy; <?php echo date('Y'); ?> 我的个人博客. All Rights Reserved.</p>
            <p>服务器时间: <?php date_default_timezone_set('Asia/Shanghai'); echo date('Y-m-d H:i:s'); ?></p>
        </div>
    </footer>
</body>
</html>