/* --- Cài đặt font chữ và các thiết lập chung --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Lato:ital,wght@0,400;0,700;1,400&display=swap');
@font-face {
  font-family: 'ArcadeAmong';
  src: url('/fonts/arcade-among-2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* --- Bảng màu Dark Mode --- */
:root {
    --dark-bg: #282c34;
    --dark-bg-alt: #21252b;
    --light-text: #abb2bf;
    --title-text: #ffffff;
    --link-color: #61afef;
    --border-color: #3e4451;
}

body {
    font-family: 'ArcadeAmong', sans-serif;
    line-height: 1.7;
    background-color: var(--dark-bg);
    color: var(--light-text);
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-family: 'ArcadeAmong', sans-serif;
    font-weight: 700;
    color: var(--title-text);
}

.container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

/* --- Phần Header (Đầu trang) --- */
.site-header {
    background-color: #343a40;
    color: white;
    padding: 0.5rem 0;
    text-align: center;
}

.highlight-name {
    background: linear-gradient(90deg, #61afef, #56d0c4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-style: normal;
}

.site-header h1 {
    margin: 0;
    font-size: 100px !important;
}

.site-header p {
    font-size: 1.1rem;
    font-style: italic;
    font-size: 36px !important;
    margin-top: 0.1rem;
    margin-bottom: 0;
    line-height: 1.2;
}

/* --- Phần Navigation (Menu) --- */
/* Bố cục nav: avatar trái, menu phải */
.site-nav .container,
.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Avatar nhỏ */
.nav-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.2s ease;
    margin-top: 0.6rem;
}

.nav-avatar:hover img {
    transform: scale(1.1);
}

/* Link menu bên phải */
.nav-links a {
    color: white;
    padding: 0.5rem 1rem;
    font-family: 'ArcadeAmong', sans-serif;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    background-color: #56d0c4;
    color: black;
    box-shadow: 2px 2px 0 #000;
    border-radius: 0;
}

.site-nav {
    background-color: #495057;
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

/* --- Phần Nội dung chính của trang About --- */
.about-section {
    background-color: var(--dark-bg-alt);
    padding: 2.5rem;
    margin: 2rem auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1.5rem;
}

.about-section h2 {
    font-size: 3.2rem;
    border-bottom: 2px solid var(--link-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* === CSS ĐÃ ĐƯỢC SỬA LỖI === */
.contact-list {
    display: flex;
    flex-direction: column; /* Xếp các phần tử con theo chiều dọc */
    align-items: center;    /* Căn giữa các dòng theo chiều ngang */
    gap: 1rem;              /* Tạo khoảng cách giữa dòng icon và dòng email */
    margin-top: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 2rem; /* Khoảng cách giữa các icon */
    font-size: 2.8rem; /* Tăng kích thước icon mạng xã hội */
}

.social-icons a {
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.15); /* Hiệu ứng phóng to khi hover */
}

.email-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem; /* Khoảng cách giữa icon và chữ */
    font-size: 1.5rem;
}

.email-contact i {
    font-size: 1.5rem; /* Điều chỉnh kích thước icon email cho phù hợp */
}

.styled-hr {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0;
}

.signature {
    text-align: center;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--title-text);
}

/* --- Footer (Chân trang) --- */
.site-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    background-color: var(--dark-bg-alt);
    color: var(--light-text);
    border-top: 1px solid var(--border-color);
}