﻿body {
}
/* Đã gộp 2 khối 'body' lại */
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background-image: url(../img/br-min.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
}

header {
    background-color: #7a4b21;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
}

    header h1 {
        font-family: "Times New Roman", serif;
        font-size: 26px;
        letter-spacing: 1px;
    }

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

    nav a:hover {
        text-decoration: underline;
    }

.menu-header {
    background-image: url("https://images.unsplash.com/photo-1625944230943-0c8384b6d6f7");
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 2px 2px 4px #000;
}

    .menu-header h2 {
        font-size: 38px;
        margin: 0;
    }

.menu-section {
    padding: 50px 80px;
    text-align: center;
}

    .menu-section h3 {
        color: #7a4b21;
        font-size: 28px;
        margin-bottom: 20px;
    }

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.menu-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 250px;
    padding: 15px;
}

    .menu-item img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 10px;
    }

    .menu-item h4 {
        color: #7a4b21;
        margin-top: 10px;
        font-size: 18px;
    }

    .menu-item p {
        margin: 5px 0;
        color: #666;
    }

    .menu-item .price {
        color: #b85c38;
        font-weight: bold;
    }

footer {
    background-color: #7a4b21;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}
/* === Hiệu ứng khi rê chuột vào món ăn === */
.menu-item {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.menu-item .rating {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu-item:hover .rating {
  opacity: 1;
}


/* Khi hover thì hiện đánh giá lên */
.dish:hover .rating {
  opacity: 1;
}
.banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
  text-align: center;
}

.banner-text h2 {
  font-size: 36px;
  margin: 0;
}

.banner-text p {
  font-size: 18px;
}
