/* รีเซ็ตค่า CSS พื้นฐาน */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #111;
    color: #fff;
}

header {
    background-color: #000;
    padding: 15px 0;
    text-align: left;
    padding-left: 20px;
    font-size: 24px;
    font-weight: bold;
}

.menu a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-size: 14px;
    position: relative;
    transition: color 0.3s ease-in-out;
}
.menu a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #3BA9FF;
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out;
}
.menu a:hover {
    color: #3BA9FF;
}
.menu a:hover::after {
    width: 100%;
}
.menu a.active {
    color: #3BA9FF;
    font-weight: bold;
}
.menu a.active::after {
    width: 100%;
}

.contact-info {
    text-align: center;
    padding: 50px 20px;
    transition: 0.3s ease-in-out;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    user-select: none; /* ป้องกันการคัดลอก */
    transition: 0.3s ease-in-out;
}

.contact-info a {
    font-size: 18px;
    color: white;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transition: 0.3s ease-in-out;
}

.contact-info h2:hover,
.contact-info a:hover {
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #222;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    width: 120px;
    box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.5);
}

.social-links a:hover {
    background-color: rgba(139, 59, 59, 0.315);
}

.social-links img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

footer {
    text-align: center;
    padding: 10px;
    background: #000;
    color: white;
    margin-top: 20px;
}
