/* =========================
   FONT (PHẢI ĐẶT ĐẦU TIÊN)
========================= */
@font-face {
    font-family: 'Uncut Sans';
    src: url('font/UncutSans-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}


/* =========================
   KEYFRAMES
========================= */
@keyframes textFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0); /* FIX: translate(0) → translateY(0) */
    }
}

@keyframes toBold {
    0%   { font-variation-settings: 'wght' 100; opacity: 1; } /* FIX: thêm opacity */
    100% { font-variation-settings: 'wght' 800; opacity: 1; }
}


/* =========================
   GRADIENT (CHỈ 1 CỤC)
========================= */
.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    left: -50%;
    top: 50%;

    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: 0;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse at 50% 50%, 
        #6EB0F6 0%, 
        #6EB0F6 60%, 
        #A3C9F1 70%, 
        rgba(163,201,241,0.2) 85%, 
        rgba(163,201,241,0) 100%
    );

    filter: blur(200px);
    opacity: 0.9;
}


/* HERO SECTION */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 60px 0;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 105px);
}


.hero-title {
    font-family: 'Uncut Sans', sans-serif;
    font-size: 120px;
    font-weight: 100;
    font-variation-settings: 'wght' 100;
    margin: 0;
    text-align: left;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(12px);
    animation: textFadeUp 0.5s ease forwards, toBold 2s ease forwards;
    animation-delay: 0.6s, 0.6s;
}

.hero-subtitle {
  font-size: 32px;
  max-width: 900px;
  margin: auto 0 40px auto;
  text-align: right;
  align-self: flex-end;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/* VIDEO SECTION */
.hero-video {
    width: 100%;
    height: auto;
    margin: 0;
    display: block;
}

video {
    width: 100%;
    height: auto;
}

/* WORK TITLE SECTION */
.work-title {
    padding: 20px 60px;
    max-width: 700px;
    margin-right: auto;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    justify-items: left;
}

/* ===========================
   PROJECT LAYOUT WRAPPERS
=========================== */
.project-left {
    padding: 0px 60px;
    display: flex;
    justify-content: left;
    margin-bottom: 80px;
}

.project-right {
    padding: 0px 60px;
    display: flex;
    justify-content: right;
    margin-bottom: 80px;
}

.project-center {
    padding: 0px 60px;
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

/* Riêng project-right cuối cùng (project 6) */
.project-right:last-of-type {
    margin-bottom: 40px;
}

/* ===========================
   PROJECT CONTENT — BASE
=========================== */
.project-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.project-content img {
    width: 100%;
    border-radius: 16px;
    display: block;
    transition: transform 0.35s ease;
}

.project-content img:hover {
    transform: scale(1.03);
}

.project-content h3 {
    margin-top: 20px;
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}

/* ===========================
   HÌNH VUÔNG — project KHÔNG có link
   (Cat, House, Ocean)
=========================== */
.project-content img.img-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    max-width: 480px;
}

/* wrapper của ô vuông cũng thu nhỏ lại theo */
.project-content.content-square {
    max-width: 480px;
}

/* ===========================
   HÌNH CHỮ NHẬT — project CÓ link
   (Alerna, Jalin, ACB One)
=========================== */
.project-content img.img-rect {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

/* ===========================
   XÓA VIỀN / OUTLINE MẶC ĐỊNH CỦA <a>
=========================== */
.project-link {
    display: block;
    text-decoration: none;
    outline: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.project-link img {
    outline: none;
    border: none;
}

/* ===========================
   HOVER TITLE — chỉ project có link
=========================== */
.project-link .project-content h3 {
    transition: color 0.25s ease;
    color: var(--text-main);
}

.project-link:hover .project-content h3 {
    color: #A3C9F1;
}


/* ===========================
   MENU LIST
=========================== */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 60px 60px 60px;
    width: 100%;
    box-sizing: border-box;
}

.menu-list li {
    width: 100%;
    border-bottom: 1px solid #222;
}

.menu-list li a {
    display: block;
    text-align: center;
    padding: 34px 20px;
    font-size: 48px;
    line-height: 1.05;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: transform 0.22s ease, color 0.22s ease;
    transform-origin: center center;
}

.menu-list li a:hover {
    transform: scale(1.5);
    color: #A3C9F1;
}

@media (max-width: 900px) {
    .menu-list li a { font-size: 36px; padding: 28px 16px; }
}

@media (max-width: 480px) {
    .menu-list li a { font-size: 28px; padding: 22px 12px; }
}


/* ===========================
   FOOTER
=========================== */
.main-footer {
    width: 100%;
    height: 250px;
    background-color: #A3C9F1;
    margin-top: 100px;
    position: relative;
}
 
.logo-footer { display: flex; justify-content: left; align-items: center; padding: 40px 60px; }
.footer { display: flex; justify-content: space-between; padding: 60px 60px 0; }
 
.back-to-top {
    position: absolute;
    top: 40px;
    right: 60px;
    background: none;
    font-size: 18px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.2s ease;
}
 
.back-to-top:hover { transform: scale(1.05); }
 
.footer a {
    color: #000;
    text-decoration: none;
}
 
.footer a:hover {
    text-decoration: underline;
}
 
.footer-highlight {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
}