/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family: 'Segoe UI', sans-serif;
}

/* BODY BG */
body{
background: radial-gradient(circle at top,#ff9a9e,#fad0c4,#fad0c4);
overflow-x:hidden;
}

/* NAVBAR */
.navbar{
position:fixed;
top:0;
width:100%;
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 60px;
z-index:1000;
background:rgba(255,255,255,0.08);
backdrop-filter:blur(8px);
}

.logo{
color:white;
font-weight:bold;
font-size:22px;
letter-spacing:2px;
}

.menu a{
margin-left:25px;
text-decoration:none;
color:white;
font-size:15px;
position:relative;
}

.menu a::after{
content:"";
position:absolute;
bottom:-5px;
left:0;
width:0;
height:2px;
background:#fff;
transition:.3s;
}

.menu a:hover::after{
width:100%;
}

/* HERO */
.hero{
height:100vh;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
overflow:hidden;
}

/* blur background layer */
.hero::before{
content:"";
position:absolute;
width:100%;
height:100%;
background:
linear-gradient(120deg,#ff512f,#dd2476,#ff512f);
background:url("../img/ngua1.jpg") center;
animation:bgMove 12s infinite alternate;
filter:blur(10px);
z-index:-1;
}

@keyframes bgMove{
0%{background-position:left}
100%{background-position:right}
}

/* HERO TEXT */
.hero-content h1{
font-size:70px;
color:white;
letter-spacing:4px;
text-shadow:0 10px 30px rgba(0,0,0,0.3);
}

.hero-content p{
color:white;
margin-top:10px;
font-size:18px;
opacity:.9;
}

.scroll{
margin-top:40px;
font-size:30px;
color:white;
animation:bounce 1.5s infinite;
}

@keyframes bounce{
0%,100%{transform:translateY(0)}
50%{transform:translateY(12px)}
}

/* FLOATING IMAGES */
.float{
position:absolute;
width:170px;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,0.25);
transition:.5s;
}

.float:hover{
transform:scale(1.1) rotate(2deg);
}

/* positions */
.img1{left:8%; top:25%;}
.img2{left:18%; bottom:15%;}
.img3{right:10%; top:20%;}
.img4{right:18%; bottom:18%;}

/* floating animation */
.float{
animation:float 5s ease-in-out infinite;
}

@keyframes float{
0%,100%{transform:translateY(0)}
50%{transform:translateY(-15px)}
}
html{
scroll-behavior:smooth;
}

.intro{
min-height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
padding:0 15%;
background:white;
}

.intro h2{
font-size:45px;
color:#c62828;
margin-bottom:20px;
}

.intro p{
font-size:20px;
line-height:1.8;
color:#444;
}

/* animation xuất hiện */
.hidden{
opacity:0;
transform:translateY(60px);
transition:1s;
}

.show{
opacity:1;
transform:translateY(0);
}
/* INTRO SECTION */
.intro{
padding:120px 10%;
text-align:center;
background:linear-gradient(to bottom,#fff7e6,#ffe3b3);
position:relative;
overflow:hidden;
}

.title{
font-size:40px;
color:#b30000;
margin-bottom:20px;
animation:fadeDown 1s ease;
}

.intro-text{
max-width:700px;
margin:auto;
font-size:18px;
line-height:1.7;
color:#444;
animation:fadeUp 1.2s ease;
}

/* cards */
.features{
display:flex;
justify-content:center;
gap:30px;
margin-top:60px;
flex-wrap:wrap;
}

.card{
background:white;
padding:30px;
width:220px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
transition:.4s;
position:relative;
}

.card span{
font-size:40px;
display:block;
margin-bottom:15px;
}

.card h3{
color:#c40000;
margin-bottom:10px;
}

.card:hover{
transform:translateY(-10px) scale(1.05);
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* animation */
@keyframes fadeDown{
from{opacity:0;transform:translateY(-40px)}
to{opacity:1;transform:translateY(0)}
}

@keyframes fadeUp{
from{opacity:0;transform:translateY(40px)}
to{opacity:1;transform:translateY(0)}
}
@keyframes fall{
to{
transform:translateY(110vh) rotate(360deg);
opacity:0;
}
}
body::before{
content:"";
position:fixed;
inset:0;
background:radial-gradient(circle at var(--x) var(--y),
rgba(255,220,150,.35),
transparent 40%);
pointer-events:none;
z-index:999;
}
.hero h1{
animation:zoomIn 1.2s ease;
}

.hero p{
animation:fadeUp 1.6s ease;
}

.scroll{
display:inline-block;
margin-top:30px;
font-size:30px;
animation:bounce 1.5s infinite;
}

@keyframes zoomIn{
from{opacity:0; transform:scale(.6)}
to{opacity:1; transform:scale(1)}
}

@keyframes bounce{
0%,100%{transform:translateY(0)}
50%{transform:translateY(12px)}
}
.float{
position:absolute;
width:220px;
border-radius:25px;
transition:.5s;
transform-style:preserve-3d;
}

.float:hover{
transform:rotateY(15deg) rotateX(10deg) scale(1.05);
box-shadow:0 30px 80px rgba(0,0,0,.3);
}
/* ===== FOOTER PRO ===== */
.footer{
background:linear-gradient(45deg,#7f0000,#c62828);
color:white;
margin-top:120px;
padding-top:60px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
width:85%;
margin:auto;
}

.footer-box h3{
margin-bottom:15px;
color:#ffd54f;
}

.footer-box p,
.footer-box a{
display:block;
margin:8px 0;
color:#ffeaea;
text-decoration:none;
font-size:15px;
transition:.3s;
}

.footer-box a:hover{
color:#fff;
transform:translateX(6px);
}

.footer-bottom{
text-align:center;
padding:25px;
margin-top:40px;
border-top:1px solid rgba(255,255,255,.2);
font-size:14px;
background:rgba(0,0,0,.1);
}
/* ===== PAGE HERO (QUEHUONG PAGE) ===== */
.page-hero{
height:65vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:white;
background:
linear-gradient(120deg,#ff512f,#dd2476,#ff512f);
background: url("../img/ngua1.jpg") center/cover no-repeat;
animation:bgMove 15s infinite alternate;
}

.page-hero h1{
font-size:52px;
margin-bottom:10px;
letter-spacing:2px;
}

.subtitle{
font-size:20px;
opacity:.9;
}

/* ===== STORY BLOCK ===== */
.story-block{
display:flex;
align-items:center;
gap:50px;
max-width:1100px;
margin:120px auto;
padding:0 20px;
}

.story-block.reverse{
flex-direction:row-reverse;
}

.story-text{
flex:1;
}

.story-text h2{
font-size:34px;
margin-bottom:15px;
color:#b30000;
}

.story-text p{
font-size:18px;
line-height:1.8;
color:#444;
}

.story-img{
flex:1;
}

.story-img img{
width:100%;
border-radius:18px;
margin-bottom:15px;
box-shadow:0 15px 40px rgba(0,0,0,.2);
transition:.4s;
}

.story-img img:hover{
transform:scale(1.05);
}

/* ===== QUOTE ===== */
.quote{
text-align:center;
font-size:28px;
font-style:italic;
margin:120px auto;
max-width:800px;
color:#7f0000;
}

/* ===== BUTTON ===== */
.center{
text-align:center;
margin-bottom:120px;
}

.btn{
background:#b30000;
color:white;
padding:15px 40px;
border-radius:40px;
font-size:18px;
text-decoration:none;
transition:.3s;
}

.btn:hover{
background:#ff3333;
transform:translateY(-4px);
box-shadow:0 10px 25px rgba(0,0,0,.2);
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){

.story-block{
flex-direction:column !important;
text-align:center;
}

.page-hero h1{
font-size:36px;
}

.subtitle{
font-size:16px;
}

}
/* ===============================
BACKGROUND GIỐNG TRANG INDEX
================================ */

/* nền tối để ảnh nổi */
body{
background:#000;
overflow-x:hidden;
}

/* lớp nền ảnh blur động */
body::after{
content:"";
position:fixed;
inset:0;
background:
linear-gradient(120deg,#ff512f,#dd2476,#ff512f),
url("../img/ngua1.jpg") center/cover no-repeat;
filter:blur(14px) brightness(.8);
z-index:-2;
animation:bgMove 18s infinite alternate;
}

/* ánh sáng chạy theo chuột */
body::before{
content:"";
position:fixed;
inset:0;
background:radial-gradient(circle at var(--x) var(--y),
rgba(255,230,150,.35),
transparent 40%);
pointer-events:none;
z-index:-1;
}

/* animation nền */
@keyframes bgMove{
0%{background-position:left}
100%{background-position:right}
}


/* ===============================
HEADER HERO TRANG CON
================================ */

.page-hero{
height:100vh;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:white;
}

.page-hero h1{
font-size:60px;
letter-spacing:3px;
animation:zoomIn 1.2s ease;
text-shadow:0 10px 40px rgba(0,0,0,.5);
}

.subtitle{
margin-top:15px;
font-size:20px;
opacity:.9;
animation:fadeUp 1.6s ease;
}


/* ===============================
SECTION NỔI TRÊN NỀN BLUR
================================ */

.story-block{
background:rgba(255,255,255,.92);
backdrop-filter:blur(8px);
border-radius:25px;
padding:60px;
margin:120px auto;
width:85%;
display:flex;
align-items:center;
gap:50px;
box-shadow:0 30px 80px rgba(0,0,0,.25);
transition:.4s;
}

.story-block:hover{
transform:translateY(-10px) scale(1.01);
}

.reverse{
flex-direction:row-reverse;
}

.story-text h2{
font-size:35px;
color:#b30000;
margin-bottom:15px;
}

.story-text p{
font-size:18px;
line-height:1.7;
color:#444;
}

.story-img img{
width:260px;
border-radius:20px;
margin:10px;
box-shadow:0 15px 40px rgba(0,0,0,.25);
transition:.4s;
}

.story-img img:hover{
transform:scale(1.05) rotate(1deg);
}


/* ===============================
QUOTE
================================ */

.quote{
text-align:center;
font-size:28px;
color:white;
margin:150px 0;
font-style:italic;
text-shadow:0 5px 25px rgba(0,0,0,.5);
}


/* ===============================
BUTTON
================================ */

.center{
text-align:center;
margin-bottom:150px;
}

.btn{
display:inline-block;
padding:15px 40px;
background:linear-gradient(45deg,#ff512f,#dd2476);
color:white;
text-decoration:none;
border-radius:40px;
font-size:18px;
transition:.3s;
}

.btn:hover{
transform:scale(1.07);
box-shadow:0 15px 40px rgba(0,0,0,.4);
}
/* ===== FOOD SECTION ===== */

.food-section{
padding:140px 8%;
background:linear-gradient(to bottom,#fff6e0,#ffe0b2);
text-align:center;
}

.food-title{
font-size:42px;
color:#b71c1c;
margin-bottom:70px;
}

.food-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:40px;
}

.food-card{
background:white;
border-radius:25px;
overflow:hidden;
box-shadow:0 20px 50px rgba(0,0,0,.15);
transition:.4s;
}

.food-card:hover{
transform:translateY(-12px) scale(1.03);
box-shadow:0 30px 70px rgba(0,0,0,.25);
}

.food-card img{
width:100%;
height:220px;
object-fit:cover;
}

.food-info{
padding:25px;
}

.food-info h3{
color:#c62828;
margin-bottom:10px;
}

.food-info p{
font-size:15px;
color:#555;
}
/* ===== CULTURE PAGE ===== */

.culture-bg{
background:
linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.7)),
url("../img/culture.jpg") center/cover fixed;
}

.small-hero{
height:50vh;
}

.culture{
padding:100px 10%;
color:white;
}

.section-title{
text-align:center;
font-size:38px;
margin-bottom:80px;
background:linear-gradient(45deg,#ffd700,#fff3b0);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
font-weight:bold;
letter-spacing:2px;
}

.timeline{
position:relative;
max-width:800px;
margin:auto;
}

.timeline::before{
content:"";
position:absolute;
left:50%;
top:0;
width:3px;
height:100%;
background:rgba(255,255,255,.3);
}

.timeline-item{
position:relative;
width:50%;
padding:30px 40px;
margin-bottom:50px;
background:rgba(255,255,255,.07);
backdrop-filter:blur(6px);
border-radius:12px;
}

.timeline-item:nth-child(odd){
left:0;
}

.timeline-item:nth-child(even){
left:50%;
}

.timeline-item h3{
margin-bottom:10px;
color:#ffd27a;
}

/* animation */
.hidden{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}
/* ===== GALLERY PAGE ===== */

.gallery-bg{
background:
linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.8)),
url("../img/gallerybg.jpg") center/cover fixed;
}

.gallery{
padding:100px 8%;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.gallery-item{
width:100%;
height:260px;
object-fit:cover;
border-radius:16px;
cursor:pointer;
transition:.5s;
box-shadow:0 10px 25px rgba(0,0,0,.5);
}

.gallery-item:hover{
transform:scale(1.08);
filter:brightness(1.2);
}

/* lightbox */

#lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.9);
display:none;
justify-content:center;
align-items:center;
z-index:999;
}

#lightbox img{
max-width:90%;
max-height:85%;
border-radius:14px;
}

#close{
position:absolute;
top:30px;
right:50px;
font-size:40px;
color:white;
cursor:pointer;
}

/* animation */
.hidden{
opacity:0;
transform:translateY(40px);
transition:.8s;
}

.show{
opacity:1;
transform:translateY(0);
}
.video-box{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
margin-top:80px;
width:100%;
}

.video-box h2{
color:white;
margin-bottom:20px;
font-size:28px;
text-align:center;
}

.video-box video{
width:500px;
max-width:90%;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.6);
transition:.4s;
}

.video-box video:hover{
transform:scale(1.04);
box-shadow:0 25px 60px rgba(0,0,0,.8);
}
/* ===== TIMELINE STORY ===== */

/* ===== TIMELINE FIX FULL ===== */

.timeline{
padding:150px 5%;
background:linear-gradient(to bottom,#fff0f0,#ffe2e2);
position:relative;
max-width:1500px;
margin:auto;
}

.timeline-title{
text-align:center;
font-size:40px;
color:#b30000;
margin-bottom:100px;
}

/* line giữa */
.timeline-line{
position:absolute;
left:50%;
top:0;
width:4px;
height:100%;
background:linear-gradient(#ffb3b3,#ff4d4d);
transform:translateX(-50%);
}

/* item */
.timeline-item{
display:flex;
align-items:center;
justify-content:space-between;
margin:80px 0;
gap:50px;
position:relative;
}

.timeline-item.reverse{
flex-direction:row-reverse;
}

/* ảnh */
.timeline-img{
width:50%;
display:flex;
justify-content:center;
}

.timeline-img img{
width:100%;
max-width:600px;
border-radius:20px;
box-shadow:0 15px 40px rgba(0,0,0,.25);
transition:.4s;
}

.timeline-img img:hover{
transform:scale(1.05);
}

/* text */
.timeline-text{
width:50%;
background:white;
padding:25px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.timeline-text h3{
color:#c40000;
margin-bottom:15px;
font-size:22px;
}

.timeline-text p{
line-height:1.7;
color:#444;
}

/* animation */
.timeline-item{
opacity:0;
transform:translateY(50px);
transition:.8s;
}

.timeline-item.show{
opacity:1;
transform:translateY(0);
}

/* ===== MOBILE ===== */
@media(max-width:900px){

.timeline-line{
left:20px;
}

.timeline-item,
.timeline-item.reverse{
flex-direction:column;
align-items:flex-start;
}

.timeline-img,
.timeline-text{
width:100%;
}

}
}
/* CONTACT PAGE */

.contact-section{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
background:linear-gradient(135deg,#fff0f0,#ffe0e0);
padding-top:120px;
}

.contact-card{
background:white;
padding:50px 40px;
border-radius:25px;
text-align:center;
box-shadow:0 20px 60px rgba(0,0,0,.15);
width:340px;
transition:.4s;
}

.contact-card:hover{
transform:translateY(-10px);
}

.avatar{
width:140px;
height:140px;
border-radius:50%;
object-fit:cover;
margin-bottom:20px;
border:6px solid #ffd54f;
box-shadow:0 10px 30px rgba(0,0,0,.25);
}

.role{
color:#888;
margin-bottom:25px;
}

.info{
text-align:left;
margin:25px 0;
}

.info-item{
display:flex;
align-items:center;
gap:12px;
margin:12px 0;
font-size:15px;
color:#444;
}

.info-item span{
font-size:20px;
}

.contact-btn{
display:inline-block;
margin-top:20px;
padding:14px 30px;
background:linear-gradient(45deg,#c62828,#ff5252);
color:white;
text-decoration:none;
border-radius:30px;
font-weight:bold;
transition:.3s;
}

.contact-btn:hover{
transform:scale(1.07);
box-shadow:0 10px 25px rgba(0,0,0,.2);
}
.timeline-item{
background:white;
color:#222;
padding:25px 30px;
font-style: oblique;
border-radius:18px;
width:45%;
margin:40px 0;
box-shadow:0 10px 30px rgba(0,0,0,0.15);
position:relative;
transition:.4s;
}
.contact-section{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:120px 20px;
}