44
55/* --- BỔ SUNG: Wrapper cho trang con --- */
66.page-wrapper {
7- padding-top : 10 rem ; /* Tạo khoảng trống ở trên để không bị header che */
7+ padding-top : 0 ;
88}
99
1010.text-primary {
1414.text-gradient {
1515 background : linear-gradient (to right, var (--gradient-purple ), var (--gradient-pink ));
1616 -webkit-background-clip : text;
17+ background-clip : text;
1718 -webkit-text-fill-color : transparent;
1819}
1920
@@ -391,7 +392,7 @@ footer a {
391392
392393/* --- BỔ SUNG: Wrapper cho trang con --- */
393394.page-wrapper {
394- padding-top : 10 rem ;
395+ padding-top : 5 rem ; /* Reduced padding since we have a hero now */
395396}
396397
397398/* --- [MỚI] BỔ SUNG: Style cho tiêu đề phân loại dự án --- */
@@ -451,4 +452,90 @@ body.light-mode .back-to-home-btn:hover {
451452/* Điều chỉnh lại max-width của container project cho rộng hơn một chút */
452453# projects .container {
453454 max-width : 1400px ;
455+ }
456+
457+ /* --- PROJECTS HERO SECTION --- */
458+ .projects-hero {
459+ position : relative;
460+ padding : 12rem 0 6rem 0 ;
461+ background : var (--bg-primary );
462+ overflow : hidden;
463+ text-align : center;
464+ }
465+
466+ .projects-hero .hero-background {
467+ position : absolute;
468+ top : 0 ;
469+ left : 0 ;
470+ width : 100% ;
471+ height : 100% ;
472+ background :
473+ radial-gradient (circle at 20% 30% , rgba (192 , 132 , 252 , 0.1 ) 0% , transparent 40% ),
474+ radial-gradient (circle at 80% 70% , rgba (244 , 114 , 182 , 0.1 ) 0% , transparent 40% );
475+ z-index : 1 ;
476+ }
477+
478+ .projects-hero .container {
479+ position : relative;
480+ z-index : 2 ;
481+ }
482+
483+ .projects-hero .welcome-badge {
484+ display : inline-block;
485+ padding : 0.5rem 1.25rem ;
486+ background : rgba (255 , 255 , 255 , 0.05 );
487+ border : 1px solid var (--border-color );
488+ border-radius : 9999px ;
489+ color : var (--gradient-purple );
490+ font-weight : 600 ;
491+ font-size : 0.875rem ;
492+ margin-bottom : 2rem ;
493+ text-transform : uppercase;
494+ letter-spacing : 0.1em ;
495+ }
496+
497+ .projects-hero h1 {
498+ font-size : clamp (3rem , 8vw , 5rem );
499+ font-weight : 800 ;
500+ line-height : 1.1 ;
501+ margin-bottom : 1.5rem ;
502+ color : var (--text-primary );
503+ }
504+
505+ .projects-hero h1 .gradient-text {
506+ background : linear-gradient (to right, var (--gradient-purple ), var (--gradient-pink ));
507+ -webkit-background-clip : text;
508+ background-clip : text;
509+ -webkit-text-fill-color : transparent;
510+ }
511+
512+ .projects-hero p {
513+ max-width : 700px ;
514+ margin : 0 auto 2.5rem ;
515+ font-size : 1.1rem ;
516+ color : var (--text-secondary );
517+ line-height : 1.6 ;
518+ }
519+
520+ .projects-hero .hero-buttons ,
521+ .hero-buttons {
522+ display : flex;
523+ justify-content : center;
524+ gap : 1.5rem ;
525+ margin-top : 3rem ; /* Add some space above the button at the bottom */
526+ }
527+
528+ /* Adjust projects grid alignment */
529+ # projects .content-section {
530+ padding-top : 2rem ;
531+ }
532+
533+ @media (max-width : 768px ) {
534+ .projects-hero {
535+ padding : 8rem 0 4rem 0 ;
536+ }
537+
538+ .projects-hero h1 {
539+ font-size : 2.5rem ;
540+ }
454541}
0 commit comments