* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}

body {
background: #fffaf0;
color: #333;
line-height: 1.6;
cursor: url('img/cursor32.png'), auto;

}


/* Preloader */
#preloader {
position: fixed;
inset: 0;
background: #fffaf0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
z-index: 2000;
transition: opacity 0.1s ease, visibility 0.1s;
}

.loader {
border: 6px solid #f3f3f3;
border-top: 6px solid #27ae60;
border-radius: 50%;
width: 50px;
height: 50px;
animation: spin 1s linear infinite;
margin-bottom: 10px;
}

#preloader p {
font-family: 'Poppins', sans-serif;
color: #27ae60;
font-weight: bold;
}

@keyframes spin {
to {
transform: rotate(360deg);
}
}

/* back to top */
.back-to-top-btn {
position: fixed;
bottom: 30px;
right: 30px;
background-color: white;
color: #003329;
border: 1px solid black;
border-radius: 50%;
width: 50px;
height: 50px;
font-size: 20px;
cursor: pointer;
display: none;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
z-index: 9999;
align-items: center;
justify-content: center;
}

.back-to-top-btn:hover {
background-color: green;
transform: scale(1.1);
color: white;
cursor: url('img/pointer32.png'), pointer;
}

.back-to-top-btn.show {
display: flex;
}

header {
background: #27ae60;
color: #fff;
padding: 15px 30px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
}

header h1 {
font-size: 22px;
}

nav {
display: flex;
gap: 20px;
font-size: 20px;
}

nav a {
color: #fff;
text-decoration: none;
font-weight: bold;
}

nav a:hover {
text-decoration: none;
color: rgb(192, 192, 71);
transition: color 0.3s ease;
cursor: url('img/pointer32.png'), pointer;
}

/* mobile nav */
.mobile-nav {
position: fixed;
top: 0;
right: -250px;
width: 250px;
height: 100%;
background: #fff;
box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
display: flex;
flex-direction: column;
padding: 20px;
transition: right 0.3s ease;
z-index: 1001;
}

.mobile-nav a {
padding: 12px 15px;
text-decoration: none;
color: green;
font-weight: bold;
border-radius: 6px;
font-size: 20px;
}

.mobile-nav a:hover {
background: green;
color: #fff;
cursor: url('img/pointer32.png'), pointer;
}

.mobile-nav.active {
right: 0;
}

.overlay {
display: none;
position: fixed;
inset: 0;
background: transparent;
z-index: 1000;
}

.overlay.active {
display: block;
}

/* Hamburger icon */
.hamburger {
display: none;
flex-direction: column;
justify-content: center;
gap: 6px;
width: 30px;
height: 25px;
cursor: pointer;
z-index: 1200;
position: relative;
}

.hamburger span {
height: 3px;
width: 100%;
background: #fff;
border-radius: 3px;
transition: all 0.3s ease;
}

.hamburger.hide {
display: none !important;
}

.hero {
width: 100%;
height: 70vh;
background: url('img/quan.jpg') no-repeat center center/cover;
background-attachment: fixed;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
text-align: center;
text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
overflow-x: hidden;
}

/* lớp phủ mờ */
.hero::before {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.45);
z-index: 1;
}

.hero h2,
.hero p,
.hero button {
position: relative;
z-index: 2;
color: white;
}

.hero h2 {
font-family: 'Poppins', sans-serif;
font-size: 48px;
margin-bottom: 15px;
color: khaki;
text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
animation: slideInLeft 1s ease-out;
text-transform: uppercase;
letter-spacing: 2px;
position: relative;
z-index: 2;
}

.hero p {
font-family: 'Roboto', sans-serif;
font-size: 22px;
margin-bottom: 25px;
color: #f1f1f1;
letter-spacing: 1px;
position: relative;
z-index: 2;
animation: slideInRight 1.2s ease-out;
}

.hero button {
background: linear-gradient(90deg, #e74c3c, #c0392b);
border: none;
padding: 14px 32px;
font-size: 18px;
font-weight: bold;
color: white;
cursor: pointer;
border-radius: 8px;
position: relative;
z-index: 2;
box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
animation: slideInUp 1.4s ease-out;
}

.hero button:hover {
transform: scale(1.08);
background: #9b59b6;
box-shadow: 0 6px 20px rgba(155, 89, 182, 0.6);
cursor: url('img/pointer32.png'), pointer;
}

@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-100px);
}

to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(100px);
}

to {
opacity: 1;
transform: translateX(0);
}
}

@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(50px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

section {
padding: 60px 20px;
text-align: center;
}

h2 {
margin-bottom: 20px;
color: brown;
font-size: 30px;
text-transform: uppercase;
}

.brand {
display: flex;
align-items: center;
gap: 10px;
font-size: 22px;
color: white;
cursor: url('img/cursor32.png'), auto;
}

.call-wrapper {
position: fixed;
left: 30px;
bottom: 20px;
z-index: 9999;
}

.call-button {
width: 60px;
height: 60px;
background-color: #28a745;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
text-decoration: none;
overflow: visible;
}

.call-button i {
font-size: 22px;
position: relative;
z-index: 2;
animation: shake 1.5s infinite ease-in-out;
}

.call-wrapper a:hover {
cursor: url('img/pointer32.png'), auto;
}

.wave {
position: absolute;
width: 100px;
height: 100px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(40, 167, 69, 0.5);
border-radius: 50%;
z-index: 1;
animation: ripple 1.5s infinite ease-out;
}

@keyframes ripple {
0% {
transform: translate(-50%, -50%) scale(1);
opacity: 0.6;
}

100% {
transform: translate(-50%, -50%) scale(2.5);
opacity: 0;
}
}

@keyframes shake {

0%,
100% {
transform: rotate(0deg);
}

20% {
transform: rotate(25deg);
}

40% {
transform: rotate(-25deg);
}

60% {
transform: rotate(20deg);
}

80% {
transform: rotate(-20deg);
}
}


a {
text-decoration: none;
}

.menu {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 30px;
margin-bottom: 60px;
}

.menu-item {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
position: relative;
overflow: hidden;
cursor: pointer;
}

.menu-item .best-seller {
position: absolute;
top: 10px;
right: 10px;
background-color: #ff4d4f;
color: white;
font-size: 16px;
font-weight: bold;
padding: 8px 12px;
border-radius: 4px;
z-index: 2;
}


.menu-category {
font-size: 24px;
color: green;
margin: 50px 0 30px;
text-transform: uppercase;
text-align: center;
border-bottom: 2px solid lightgreen;
padding-bottom: 5px;
}


.menu-item:hover {
transform: translateY(-6px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
cursor: url('img/pointer32.png'), pointer;
}

.menu-item img {
width: 100%;
height: 320px;
object-fit: cover;
transition: transform 0.5s ease;
}

.menu-item:hover img {
transform: scale(1.05);
cursor: url('img/pointer32.png'), pointer;
}

.menu-item h3 {
margin: 5px 0 10px;
color: #2ecc71;
font-size: 25px;
transition: color 0.3s ease;
}

.menu-item:hover h3 {
color: #27ae60;
}


.menu-item:hover p {
color: #27ae60;
}

.gallery-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 30px;
}

.gallery-card img {
width: 100%;
height: 550px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}

.gallery-card img:hover {
transform: scale(1.05);
cursor: url('img/pointer32.png'), pointer;
}

@media (min-width: 1200px) {
.gallery-cards {
grid-template-columns: repeat(3, 1fr);
}

.menu {
grid-template-columns: repeat(4, 1fr);
}
}

/* Section & tiêu đề */
.timeline-section {
padding: 80px 20px;
background-color: #fff8f0;
text-align: center;
}

.timeline-section h2 {
font-size: 36px;
color: #d9534f;
margin-bottom: 60px;
text-transform: uppercase;
}

/* Timeline container */
.timeline {
position: relative;
width: 70%;
margin: 0 auto;
}

/* Đường timeline */
.timeline::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 50%;
width: 4px;
background: #d9534f;
transform: translateX(-50%);
}

.timeline-item::before {
content: attr(data-year);
position: absolute;
top: 20px;
font-weight: bold;
font-size: 24px;
color: #d9534f;
}

/* Vị trí chữ năm cho lẻ/chẵn - chuẩn và đều */
.timeline-item:nth-child(odd)::before {
right: -160px;
}

.timeline-item:nth-child(even)::before {
left: -160px;
}

.timeline-item {
position: relative;
width: 50%;
padding: 20px 40px;
box-sizing: border-box;
opacity: 0;
transform: translateY(50px);
transition: all 0.6s ease-out;
}

.timeline-item:nth-child(odd) {
left: 0;
text-align: right;
}

.timeline-item:nth-child(even) {
left: 50%;
text-align: left;
}

.timeline-content {
display: flex;
align-items: center;
gap: 20px;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content img {
width: 150px;
height: 150px;
object-fit: cover;
border-radius: 8px;
}

.timeline-content .text {
flex: 1;
text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
flex-direction: row-reverse;
text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
flex-direction: row;
text-align: left;
}

.timeline-content .text h3 {
margin: 0;
font-size: 24px;
line-height: 1.2;
color: green;
padding: 10px;
text-align: center;
}

.timeline-content .text p {
margin: 0;
}

.timeline-item.visible {
opacity: 1;
transform: translateY(0);
}

#promotions {
padding: 50px 20px;
background: #f5f5f5;
text-align: center;
}

#promotions h2 {
font-size: 32px;
color: brown;
margin-bottom: 50px;
}

.promo-cards {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: center;
}

.promo-card {
background: #fff;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
transition: transform 0.3s ease;
flex: 1 1 30%;
}

.promo-card:hover {
transform: translateY(-5px);
cursor: url('img/pointer32.png'), pointer;
}

.promo-card img {
width: 100%;
height: 500px;
object-fit: cover;
}

.promo-card h3 {
font-size: 24px;
color: #27ae60;
margin: 15px 0 10px;
}

.promo-card p {
font-size: 20px;
color: #333;
margin-bottom: 20px;
padding: 0 10px;
}

.promo-card strong {
color: red;
}
.status {
  margin-top: 12px;
  font-size: 20px;
  font-weight: bold;
  padding: 6px 14px;
  border-radius: 8px;
  display: inline-block;
}

.status.open {
  background: #d4f8d4;
  color: #2e8b57;
  border: 2px solid #2e8b57;
}

.status.close {
  background: #fbdada;
  color: #b22222;
  border: 2px solid #b22222;
}
.opening-hours {
  padding: 50px 0;
  text-align: center;
}

.opening-hours h2 {
margin-bottom: 20px;
color: brown;
font-size: 30px;
text-transform: uppercase;
}

.hours-box {
  display: inline-block;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 20px 35px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-clip: padding-box;
}

.hours-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 2px; 
  background: linear-gradient(45deg, #ff9966, #ff5e62);
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

.hours-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
}

.hours-box .icon {
  font-size: 32px;
  margin-bottom: 10px;
  color: #ff5e62;
}

.hours-box p {
  font-size: 18px;
  margin: 0;
  color: #444;
}

.hours-box .hours {
  display: block;
  font-size: 24px;
  font-weight: bold;
  margin-top: 8px;
  color: #b22222;
  letter-spacing: 1px;
}
/* Container chính */
.contact-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-start;
margin-top: 5px;
}

/* Bảng thông tin */
.contact-info table {
width: 100%;
border-collapse: collapse;
font-family: 'Arial', sans-serif;
background-color: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 8px;
overflow: hidden;
}

.contact-info th {
background-color: green;
color: #fff;
padding: 12px;
font-size: 20px;
text-align: center;
}

.contact-info td {
padding: 12px;
border-bottom: 1px solid #eee;
font-size: 18px;
}

.contact-info td a {
display: block;
width: 100%;
height: 100%;
color: green;
text-decoration: none;
padding: 12px 0;
}

.contact-info td a:hover {
text-decoration: none;
cursor: url('img/pointer32.png'), pointer;
}

.contact-map iframe {
width: 100%;
height: 370px;
border: none;
border-radius: 8px;

}

footer {
background: #2c3e50;
color: #fff;
text-align: center;
padding: 15px 10px;
margin-top: 30px;
}

body,
html {
overflow-x: hidden !important;
}

#payment-methods {
padding: 40px 20px;
text-align: center;
}

#payment-methods h2 {
margin-bottom: 20px;
color: brown;
font-size: 30px;
text-transform: uppercase;
}

.payment-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
gap: 20px;
max-width: 800px;
margin: 0 auto;
}

.payment-item {
background: #fff;
border: 1px solid #eee;
border-radius: 12px;
padding: 15px;
transition: transform 0.3s, box-shadow 0.3s;
}

.payment-item a {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none;
color: inherit;
}
.payment-item a {
cursor: url('img/pointer32.png'), pointer;
}

.payment-item img {
max-width: 60px;
margin-bottom: 10px;
}

.payment-item p {
margin: 0;
font-weight: 600;
color: #444;
}

.payment-item:hover {
transform: translateY(-5px);
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
cursor: url('img/pointer32.png'), pointer;
}
@media (max-width: 1024px) {
.container {
width: 100%;
margin: 10px auto;
}

.timeline {
width: 100%;
}

.timeline-item,
.timeline-item:nth-child(odd),
.timeline-item:nth-child(even) {
left: 0 !important;
width: 100%;
text-align: center;
padding: 10px 0;
}

.timeline-item::before {
left: 50% !important;
transform: translateX(-50%);
font-size: 24px;
margin: 0px;
top: 10px;
}

.timeline-content {
flex-direction: column !important;
align-items: center;
text-align: center;
padding: 15px;
}

.timeline-content img {
width: 300px;
height: 300px;
margin: 30px 0px 0px;
border-radius: 12px;
object-fit: cover;
}

.timeline-content .text h3 {
font-size: 27px;
margin-bottom: 8px;
text-align: center;
color: green;
}

.timeline-content .text p {
font-size: 24px;
line-height: 1.5;
margin: 20px;
text-align: justify;
}

nav {
display: none;
}

html,
body {
overflow-x: hidden !important;
}

.hero {
height: 400px;
background-attachment: scroll;
background-size: cover;
background-position: center;
}

.hamburger {
display: flex;
}

.hero h2 {
font-size: 30px !important;
}

.hero p {
font-size: 22px !important;
}

.contact-container {
flex-direction: column;
}

.contact-map {
min-width: 100%;
width: 100%;
}

.contact-map iframe {
width: 100%;
height: 300px;
}

.menu {
grid-template-columns: repeat(2, 1fr);
gap: 5px;
}

.menu-item img {
width: 200px;
height: 200px;
object-fit: cover;
transition: transform 0.5s ease;
}

.menu-item h3 {
font-size: 20px;
}

.promo-cards img {
width: 300px;
height: 300px;
border-radius: 12px;
margin: 10px;
object-fit: cover;
}

.promo-card h3 {
font-size: 24px;
color: #27ae60;
margin: 5px 0 10px;
}

}

@media (max-width: 900px) {
.promo-card {
flex: 1 1 45%;
}
}

@media (max-width: 600px) {
.promo-card {
flex: 1 1 100%;
}

} 
.footer {
    background-color: black;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin: 0;
  }



