front end xong giai đoạn 1 phần mainpage

This commit is contained in:
NAS\NASPC
2026-05-24 16:46:13 +07:00
parent 75a146669b
commit e740f440f8
16 changed files with 2094 additions and 143 deletions
+392 -92
View File
@@ -37,14 +37,37 @@ img {
}
/* Colors */
.text-red { color: #881c1c; }
.text-black { color: #000; }
.text-grey { color: #666; }
.text-light { color: #fff; }
.bg-red { background: #881c1c; }
.bg-black { background: #111; }
.bg-grey { background: #f4f4f4; }
.bg-light-grey { background: #e5e5e5; }
.text-red {
color: #881c1c;
}
.text-black {
color: #000;
}
.text-grey {
color: #666;
}
.text-light {
color: #fff;
}
.bg-red {
background: #881c1c;
}
.bg-black {
background: #111;
}
.bg-grey {
background: #f4f4f4;
}
.bg-light-grey {
background: #e5e5e5;
}
/* Buttons */
.btn {
@@ -56,22 +79,27 @@ img {
transition: all 0.2s;
cursor: pointer;
}
.btn-red {
background: #881c1c;
color: #fff;
}
.btn-red:hover {
background: #6b1515;
}
.btn-red-outline {
border: 2px solid #881c1c;
color: #881c1c;
background: transparent;
}
.btn-red-outline:hover {
background: #881c1c;
color: #fff;
}
.btn-red-fill {
background: #881c1c;
color: #fff;
@@ -89,44 +117,54 @@ img {
/* ================= HEADER ================= */
.header {
position: absolute;
top: 0; left: 0; width: 100%;
top: 0;
left: 0;
width: 100%;
z-index: 100;
padding: 30px 0;
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: flex-start;
}
.logo {
color: #fff;
line-height: 1.2;
}
.logo-light {
font-size: 16px;
font-weight: 400;
}
.logo-bold {
font-size: 24px;
font-weight: 800;
}
.nav-right {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.top-nav {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 10px;
}
.top-nav a {
color: #fff;
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
}
.search-btn {
background: #881c1c;
color: #fff;
@@ -138,10 +176,12 @@ img {
justify-content: center;
cursor: pointer;
}
.main-nav {
display: flex;
gap: 24px;
}
.main-nav a {
color: #fff;
font-size: 13px;
@@ -149,8 +189,13 @@ img {
text-transform: uppercase;
}
.mobile-only { display: none; }
.desktop-only { display: flex; }
.mobile-only {
display: none;
}
.desktop-only {
display: flex;
}
/* ================= HERO ================= */
.hero {
@@ -159,29 +204,38 @@ img {
min-height: 600px;
background: #000;
}
.hero-bg {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-overlay {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.8) 100%);
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 30%, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
}
.hero-content {
position: absolute;
bottom: 60px;
left: 0; right: 0;
left: 0;
right: 0;
color: #fff;
padding-left: 20px;
}
.hero-title {
font-size: 56px;
font-weight: 800;
line-height: 1;
margin-bottom: 15px;
}
.hero-desc {
font-size: 16px;
font-weight: 400;
@@ -193,25 +247,30 @@ img {
padding: 60px 0;
background: #fff;
}
.step-into-inner {
align-items: center;
justify-content: flex-start;
gap: 80px;
}
.step-into-title {
font-size: 32px;
font-weight: 800;
line-height: 1.1;
}
.step-into-links {
display: flex;
gap: 80px;
}
.link-col {
display: flex;
flex-direction: column;
gap: 15px;
}
.link-col a {
font-weight: 700;
font-size: 14px;
@@ -223,6 +282,7 @@ img {
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.link-col a .arrow {
color: #881c1c;
font-size: 10px;
@@ -233,13 +293,16 @@ img {
background: #111;
color: #fff;
}
.whats-life-inner {
align-items: stretch;
}
.whats-life-text {
flex: 1;
padding: 80px 60px 80px 0;
}
.tabs {
display: flex;
gap: 20px;
@@ -247,41 +310,50 @@ img {
border-bottom: 1px solid #333;
padding-bottom: 10px;
}
.tab {
font-size: 14px;
font-weight: 600;
color: #888;
}
.tab.active {
color: #fff;
border-bottom: 2px solid #fff;
padding-bottom: 11px;
margin-bottom: -12px;
}
.whats-life-text .subtitle {
font-size: 24px;
font-weight: 700;
margin-bottom: 15px;
}
.whats-life-text .desc {
font-size: 15px;
color: #ccc;
margin-bottom: 30px;
}
.whats-life-media {
flex: 1;
position: relative;
}
.whats-life-media img {
width: 100%;
height: 100%;
object-fit: cover;
}
.play-icon {
position: absolute;
top: 50%; left: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px; height: 60px;
width: 60px;
height: 60px;
background: #881c1c;
color: #fff;
border: none;
@@ -291,24 +363,28 @@ img {
align-items: center;
justify-content: center;
cursor: pointer;
padding-left: 5px; /* center play triangle */
padding-left: 5px;
/* center play triangle */
}
/* ================= STATS ================= */
.stats {
padding: 60px 0;
background: #fff;
background: #E9E9E9;
text-align: center;
}
.stats-inner {
justify-content: center;
gap: 100px;
}
.stat-number {
font-size: 48px;
font-weight: 800;
margin-bottom: 10px;
}
.stat-text {
font-size: 13px;
font-weight: 600;
@@ -320,32 +396,42 @@ img {
padding: 80px 0;
background: #fff;
}
.excellence-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
}
.exc-col-left .desc {
font-size: 15px;
margin-bottom: 30px;
}
.mt-large { margin-top: 60px; }
.mt-large {
margin-top: 60px;
}
.story-card {
position: relative;
overflow: hidden;
}
.story-card img {
width: 100%;
display: block;
}
.story-card.has-bg .story-content {
position: absolute;
bottom: 0; left: 0; width: 100%;
background: linear-gradient(transparent, rgba(0,0,0,0.8));
bottom: 0;
left: 0;
width: 100%;
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
padding: 40px 30px 20px;
color: #fff;
}
.tag {
display: block;
font-size: 11px;
@@ -353,19 +439,23 @@ img {
text-transform: uppercase;
margin-bottom: 8px;
}
.story-content h3 {
font-size: 22px;
font-weight: 700;
margin-bottom: 10px;
line-height: 1.2;
}
.story-content p {
font-size: 13px;
opacity: 0.9;
}
.story-card.large h3 {
font-size: 28px;
}
.sub-grid {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -373,12 +463,44 @@ img {
gap: 0;
height: 300px;
}
.box-black { background: #000; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.box-red { background: #881c1c; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.box-grey { background: #444; padding: 30px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.play-box { background: #f4f4f4; display: flex; align-items: center; justify-content: center; }
.box-black {
background: #000;
padding: 30px;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
}
.box-red {
background: #881c1c;
padding: 30px;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
}
.box-grey {
background: #444;
padding: 30px;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
}
.play-box {
background: #f4f4f4;
display: flex;
align-items: center;
justify-content: center;
}
.play-icon-large {
width: 80px; height: 80px;
width: 80px;
height: 80px;
background: #881c1c;
color: #fff;
border-radius: 50%;
@@ -390,28 +512,43 @@ img {
/* ================= BLAZE YOUR OWN TRAIL ================= */
.blaze-trail {
color: #fff;
padding: 80px 0;
background: #fff;
background: #151515;
}
.max-w-800 { max-width: 800px; margin-bottom: 40px; font-size: 15px; }
.blaze-trail .card-body p {
color: #fff;
}
.max-w-800 {
max-width: 800px;
margin-bottom: 40px;
font-size: 15px;
}
.card-grid-3 {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}
.card-img img {
width: 100%;
aspect-ratio: 3/2;
object-fit: cover;
}
.card-body {
padding: 20px 0;
}
.card-body h3 {
font-size: 20px;
font-weight: 700;
margin-bottom: 10px;
}
.card-body p {
font-size: 14px;
color: #555;
@@ -422,28 +559,38 @@ img {
padding: 60px 0;
background: #fff;
}
.text-center { text-align: center; }
.text-center {
text-align: center;
}
.apply-buttons {
display: flex;
justify-content: center;
gap: 20px;
}
.apply-buttons .btn { width: 180px; }
.apply-buttons .btn {
width: 180px;
}
/* ================= I'M LOOKING FOR ================= */
.looking-for {
padding: 80px 0;
background: #e5e5e5;
}
.looking-grid {
display: flex;
gap: 60px;
}
.looking-grid .col {
flex: 1;
display: flex;
flex-direction: column;
}
.looking-grid .col a {
display: flex;
justify-content: space-between;
@@ -454,54 +601,70 @@ img {
font-size: 14px;
color: #000;
}
.looking-grid .col a .arrow { font-size: 10px; color: #881c1c; }
.looking-grid .col a .arrow {
font-size: 10px;
color: #881c1c;
}
/* ================= NEWS & EVENTS ================= */
.news-events {
padding: 80px 0;
background: #fff;
}
.news-layout {
display: grid;
grid-template-columns: 60% 35%;
gap: 5%;
}
.news-main img {
width: 100%;
aspect-ratio: 16/9;
object-fit: cover;
}
.mt-small { margin-top: 20px; }
.mt-small {
margin-top: 20px;
}
.news-main-title {
font-size: 28px;
font-weight: 800;
margin: 10px 0;
line-height: 1.2;
}
.news-main-desc {
font-size: 15px;
color: #444;
}
.news-sidebar {
display: flex;
flex-direction: column;
gap: 30px;
}
.news-small {
display: flex;
gap: 15px;
}
.news-small img {
width: 140px;
height: 100px;
object-fit: cover;
}
.news-info h4 {
font-size: 15px;
font-weight: 700;
margin: 5px 0;
line-height: 1.3;
}
.news-info p {
font-size: 12px;
color: #666;
@@ -513,17 +676,31 @@ img {
gap: 20px;
margin-top: 60px;
}
.event-card img {
width: 100%;
aspect-ratio: 3/2;
object-fit: cover;
}
.event-info {
padding: 15px 0;
}
.event-info .date { font-weight: 800; font-size: 12px; }
.event-info h4 { font-size: 16px; font-weight: 700; margin: 5px 0; }
.event-info .type { font-size: 13px; }
.event-info .date {
font-weight: 800;
font-size: 12px;
}
.event-info h4 {
font-size: 16px;
font-weight: 700;
margin: 5px 0;
}
.event-info .type {
font-size: 13px;
}
/* ================= FOOTER ================= */
.footer {
@@ -531,22 +708,27 @@ img {
color: #fff;
padding: 60px 0 30px;
}
.footer-top {
display: flex;
justify-content: space-between;
margin-bottom: 40px;
}
.footer-brand {
flex: 1;
}
.footer-logo {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}
.m-box {
width: 50px; height: 50px;
width: 50px;
height: 50px;
background: #881c1c;
color: #fff;
font-size: 24px;
@@ -555,17 +737,21 @@ img {
align-items: center;
justify-content: center;
}
.footer-logo .logo-text {
font-size: 14px;
line-height: 1.2;
}
.social-icons {
display: flex;
gap: 15px;
}
.social-icons a {
color: #fff;
width: 20px; height: 20px;
width: 20px;
height: 20px;
}
.footer-links-grid {
@@ -574,18 +760,21 @@ img {
justify-content: flex-end;
gap: 80px;
}
.footer-col h4 {
font-size: 12px;
font-weight: 700;
color: #888;
margin-bottom: 15px;
}
.footer-col a {
display: block;
font-size: 13px;
color: #ccc;
margin-bottom: 10px;
}
.footer-bottom {
display: flex;
justify-content: space-between;
@@ -594,102 +783,213 @@ img {
font-size: 12px;
color: #888;
}
.bottom-links {
display: flex;
gap: 20px;
}
.bottom-links a { color: #888; }
.bottom-links a {
color: #888;
}
/* ================= RESPONSIVE TABLET (768px) ================= */
@media (max-width: 1024px) {
.desktop-only { display: none; }
.mobile-only { display: flex; }
.desktop-only {
display: none;
}
.mobile-only {
display: flex;
}
.header {
background: #111;
padding: 15px 0;
}
.mobile-actions {
display: flex;
align-items: center;
}
.search-btn-mobile {
background: #881c1c;
color: #fff;
border: none;
width: 40px; height: 40px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.hamburger-btn {
background: transparent;
color: #fff;
border: none;
width: 40px; height: 40px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.hero {
height: auto;
padding: 150px 0 80px;
}
.hero-title { font-size: 40px; }
.hero-title {
font-size: 40px;
}
.step-into-inner {
flex-direction: column;
align-items: flex-start;
gap: 30px;
}
.step-into-links { width: 100%; justify-content: space-between; gap: 20px; }
.link-col { width: 48%; }
.link-col a { width: 100%; }
.whats-life-inner { flex-direction: column; }
.whats-life-text { padding: 40px 0; }
.whats-life-media { height: 400px; width: 100%; }
.stats-inner { gap: 30px; }
.excellence-grid { grid-template-columns: 1fr; }
.sub-grid { height: auto; grid-template-columns: 1fr 1fr; }
.card-grid-3 { grid-template-columns: 1fr; }
.card-img img { aspect-ratio: 16/9; }
.apply-buttons { flex-wrap: wrap; }
.news-layout { grid-template-columns: 1fr; gap: 40px; }
.events-grid { grid-template-columns: 1fr 1fr; }
.footer-top { flex-direction: column; gap: 40px; }
.footer-links-grid { justify-content: space-between; gap: 20px; }
.step-into-links {
width: 100%;
justify-content: space-between;
gap: 20px;
}
.link-col {
width: 48%;
}
.link-col a {
width: 100%;
}
.whats-life-inner {
flex-direction: column;
}
.whats-life-text {
padding: 40px 0;
}
.whats-life-media {
height: 400px;
width: 100%;
}
.stats-inner {
gap: 30px;
}
.excellence-grid {
grid-template-columns: 1fr;
}
.sub-grid {
height: auto;
grid-template-columns: 1fr 1fr;
}
.card-grid-3 {
grid-template-columns: 1fr;
}
.card-img img {
aspect-ratio: 16/9;
}
.apply-buttons {
flex-wrap: wrap;
}
.news-layout {
grid-template-columns: 1fr;
gap: 40px;
}
.events-grid {
grid-template-columns: 1fr 1fr;
}
.footer-top {
flex-direction: column;
gap: 40px;
}
.footer-links-grid {
justify-content: space-between;
gap: 20px;
}
}
/* ================= RESPONSIVE MOBILE (390px) ================= */
@media (max-width: 767px) {
.hero-title { font-size: 32px; }
.hero-desc { font-size: 14px; }
.step-into-links { flex-direction: column; }
.link-col { width: 100%; }
.stats-inner { flex-direction: column; gap: 40px; }
.sub-grid { grid-template-columns: 1fr; }
.apply-buttons { flex-direction: column; align-items: center; }
.apply-buttons .btn { width: 100%; max-width: 300px; }
.looking-grid { flex-direction: column; gap: 0; }
.events-grid { grid-template-columns: 1fr; }
.news-small { flex-direction: column; }
.news-small img { width: 100%; height: auto; aspect-ratio: 16/9; }
.footer-links-grid { flex-direction: column; }
.footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
.bottom-links { flex-direction: column; gap: 10px; }
}
.hero-title {
font-size: 32px;
}
.hero-desc {
font-size: 14px;
}
.step-into-links {
flex-direction: column;
}
.link-col {
width: 100%;
}
.stats-inner {
flex-direction: column;
gap: 40px;
}
.sub-grid {
grid-template-columns: 1fr;
}
.apply-buttons {
flex-direction: column;
align-items: center;
}
.apply-buttons .btn {
width: 100%;
max-width: 300px;
}
.looking-grid {
flex-direction: column;
gap: 0;
}
.events-grid {
grid-template-columns: 1fr;
}
.news-small {
flex-direction: column;
}
.news-small img {
width: 100%;
height: auto;
aspect-ratio: 16/9;
}
.footer-links-grid {
flex-direction: column;
}
.footer-bottom {
flex-direction: column;
gap: 20px;
align-items: flex-start;
}
.bottom-links {
flex-direction: column;
gap: 10px;
}
}