* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  }

body {
background: radial-gradient(circle at top, #0a0f1a, #000);
color: #fff;
line-height: 1.6;
}

h1, h2, h3 {
letter-spacing: 1.5px;
}

/* --- HEADER --- */
.header {
display: flex;
justify-content: space-between;
padding: 30px 60px;
border-bottom: 1px solid #222;
}

.header h1 {
font-size: 28px;
}

.subtitle {
color: #f5c518;
font-size: 12px;
margin-top: 5px;
}

/* --- NAVIGATION --- */
.nav-btn {
margin-left: 15px;
padding: 8px 16px;
border: 1px solid #444;
text-decoration: none;
color: #fff;
font-size: 12px;
transition: all 0.3s ease;
}

.nav-btn:hover {
border-color: #f5c518;
color: #f5c518;
}

/* --- LAYOUT --- */
.content {
max-width: 1000px;
margin: auto;
padding: 40px 20px;
}

/* --- ABOUT --- */
.about {
text-align: center;
color: #aaa;
margin-bottom: 50px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}

/* --- FEATURED BANNER */
.featured-banner {
height: 300px;
margin-bottom: 60px;

display: flex;
justify-content: center;
align-items: center;

border: 1px solid #333;
background: linear-gradient(135deg, #111, #1a0f05);

position: relative;
}

.banner-center {
position: relative;
z-index: 2;

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;

padding: 25px 40px;

background: linear-gradient(
135deg,
rgba(20, 20, 20, 0.9),
rgba(40, 20, 5, 0.9)
);

border: 1px solid rgba(255,255,255,0.1);
box-shadow: 0 0 30px rgba(255, 122, 0, 0.2);

text-align: center;
}

.banner-center h2 {
letter-spacing: 4px;
margin-bottom: 10px;
}

.banner-center {
position: relative;
z-index: 2;

padding: 25px 40px;

background: linear-gradient(
135deg,
rgba(20, 20, 20, 0.9),
rgba(40, 20, 5, 0.9)
);

border: 1px solid rgba(255,255,255,0.1);
box-shadow: 0 0 30px rgba(255, 122, 0, 0.2);

text-align: center;
}

/* CTA BUTTON */
.cta-btn {
border: 1px solid #fff;
padding: 10px 20px;
text-decoration: none;
color: #fff;
transition: all 0.3s ease;
}

.cta-btn:hover {
border-color: #f5c518;
color: #f5c518;
}

/* --- HIGHLIGHT VIDEO --- */
.highlight video {
width: 100%;
border: 1px solid #333;
object-fit: cover;
}

/* --- SECTION TITLE --- */
.section-title {
color: #f5c518;
font-size: 14px;
letter-spacing: 2px;
margin-bottom: 20px;
}

/* --- PROJECT CARD --- */
.project-card {
display: flex;
background: linear-gradient(to right, #111, #1a0f05);
border: 1px solid #333;
margin-bottom: 30px;
transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* HOVER: SCALE + GLOW */
.project-card:hover {
transform: scale(1.03);
box-shadow: 0 0 25px rgba(255, 122, 0, 0.25);
border-color: #ff7a00;
}

/* IMAGE CONTAINER */
.project-image {
overflow: hidden;
min-width: 300px;
}

/* IMAGE */
.project-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}

/* IMAGE ZOOM */
.project-card:hover img {
transform: scale(1.08);
}

/* TEXT CONTENT */
.project-info {
padding: 20px;
}

.project-meta {
font-size: 10px;
color: #888;
margin-bottom: 5px;
}

.project-info h3 {
color: #ff7a00;
margin-bottom: 10px;
}

.project-info p {
color: #ccc;
}

.project-link {
display: inline-block;
margin-top: 10px;
color: #ff7a00;
text-decoration: none;
transition: 0.3s;
}

.project-link:hover {
color: #ffa24d;
}

.project-image {
  position: relative;
  overflow: hidden;
  min-width: 300px;
}

/* Thumbnail */
.project-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Video Overlay */
.project-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show Video On Hover */
.project-card .project-video {
  opacity: 1;
}

/* --- CONTACT --- */
#contact {
margin-top: 60px;
}

/* --- MEDIA --- */
@media (max-width: 768px) {

.header {
flex-direction: column;
gap: 15px;
padding: 20px;
}

.featured-banner {
flex-direction: column;
}

.banner-left,
.banner-right,
.banner-center {
width: 100%;
}

.project-card {
flex-direction: column;
}

.project-image {
width: 100%;
}
}

/* --- ABOUT ---*/
#about
{
    padding: 80px 0;
    color: #ffffff;
}

.row
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1
{
    flex-basis: 35%;
}

.about-col-1 img
{
    width: 100%;
    border-radius: 15px;
}

.about-col-2
{
    flex-basis: 60%;
}

.sub-title
{
    font-size: 60px;
    font-weight: 600;
    color: #f5c518;
}

.tab-titles
{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links
{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after
{
    content: '';
    width: 0;
    height: 3px;
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after
{
    width: 50%;
}

.resume-preview
{
    max-width: 100%;
    width: 300px;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.resume-preview:hover
{
    transform: scale(1.05);
}

.external-links a i
{
    font-size: 50px;
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

/* --- SORN --- */
/* Awards Section */
.project-page {
max-width: 1000px;
margin: auto;
padding: 40px 20px;
}

.back-btn {
display: inline-block;
margin-bottom: 20px;
color: #aaa;
text-decoration: none;
}

.project-header h1 {
margin-bottom: 10px;
}

.awards-section {
margin-top: 40px;
}

.awards-section h2 {
color: #f5c518;
margin-bottom: 20px;
}

.awards-grid {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}

.awards-grid img {
width: 200px;
border: 1px solid #333;
transition: transform 0.3s ease;
}

.awards-grid img:hover {
transform: scale(1.05);
}

/* Blueprint Section */
.blueprint-section {
margin-top: 60px;
}

.blueprint-section h2 {
color: #f5c518;
margin-bottom: 20px;
}

.blueprint-block {
display: flex;
justify-content: center;
gap: 30px;
margin-bottom: 40px;
}

/* Blueprint Image */
.blueprint-block img {
width: 50%;
border: 1px solid #333;
}

/* Text */
.blueprint-text {
width: 45%;
color: #ccc;
text-align: left;
}

/* Mobile */
@media (max-width: 768px) {
.blueprint-block {
flex-direction: column;
}

.blueprint-block img,
.blueprint-text {
width: 100%;
}
}

.code-section {
max-width: 1800px;
margin: 60px auto;
padding: 0 20px;
}

/* SIDE-BY-SIDE CONTAINER */
.code-block {
display: flex;
gap: 30px;
align-items: flex-start;
}

/* CODE BOX */
pre {
flex: 1;
background: #0d1117;
border: 1px solid #333;
padding: 20px;
overflow-x: auto;
border-radius: 6px;
}

/* EXPLANATION */
.code-explanation {
flex: 1;
color: #ccc;
}

.code-explanation p {
margin-bottom: 15px;
}

.about-contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.about-section {
    flex: 1;
}

.contact-section {
    flex: 1;
}

/* Make it stack nicely on mobile */
@media (max-width: 768px) {
    .about-contact-wrapper {
        flex-direction: column;
    }
}